/* Home sections: designer's mirrored product rows, using shared WooCommerce cards. */
/* Campaign teaser: Figma 432:19719 / 19680 / 19641 / 19621. */
/* Decorative artwork follows the shared content edges; the inset panel stays narrower. */
body.home { --dudette-home-edge: 8px; }
/* Scale the artwork proportionally; add space only at its sides. */
body.home .dudette-hero-bg { width: 90%; margin-inline: auto; }
@media(min-width:768px) { body.home { --dudette-home-edge: 24px; } }
@media(min-width:1024px) { body.home { --dudette-home-edge: 32px; } }
@media(min-width:1440px) { body.home { --dudette-home-edge: 40px; } }
body.home .dudette-home-campaign { box-sizing: border-box; padding: 96px 24px; background: var(--dudette-moody-grey); color: var(--dudette-pearly-white); }
body.home .dudette-home-campaign-frame { box-sizing: border-box; width: 100%; margin: auto; border: 2px solid var(--dudette-pearly-white); padding: 4px; box-shadow: var(--dudette-shadow-down-strong); }
body.home .dudette-home-campaign-inner { display: grid; gap: 40px; padding: 40px 24px; border: 2px solid var(--dudette-pearly-white); }
body.home .dudette-home-campaign-column { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
body.home .dudette-home-campaign-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
body.home .dudette-home-campaign h2 { margin: 0; color: inherit; font: 400 28px/38px 'Futura Condensed PT',sans-serif; overflow-wrap: anywhere; }
body.home .dudette-home-campaign p { margin: 0; color: inherit; font: 400 16px/24px Jost,sans-serif; }
body.home .dudette-home-campaign-copy p + p { margin-top: 24px; }
body.home .dudette-home-campaign-story { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; order: -1; }
body.home .dudette-home-campaign-story p + p { margin-top: 40px; }
body.home .dudette-home-campaign .dudette-home-link { margin: 0; background: var(--dudette-pearly-white); color: var(--dudette-jazzy-black); max-width: 100%; text-align: center; }
body.home .dudette-home-campaign .dudette-home-link:hover { background: var(--dudette-light-green); }
body.home .dudette-home-campaign-image { position: relative; flex: none; width: 100%; min-height: 0; margin: 0; aspect-ratio: 3 / 4; box-shadow: 0 8px 16px 0 rgb(0 0 0 / 28%); }
body.home .dudette-home-campaign-image--wide { aspect-ratio: 3 / 2; }
body.home .dudette-home-campaign-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* Decorative corners sit behind a fully opaque panel, never over content. */
body.home .dudette-home-campaign.has-art { position: relative; isolation: isolate; overflow: hidden; background: var(--dudette-jazzy-black); }
body.home .has-art .dudette-home-campaign-frame { position: relative; z-index: 1; background: var(--dudette-moody-grey); }
body.home .dudette-home-campaign-art { position: absolute; z-index: 0; pointer-events: none; width: min(68%,800px); height: 460px; }
body.home .dudette-home-campaign-art--top { left: 0; top: 0; }
body.home .dudette-home-campaign-art--bottom { right: 0; bottom: 0; }
body.home .dudette-home-campaign-art picture { display: block; width: 100%; height: 100%; }
body.home .dudette-home-campaign-art img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: left top; }
body.home .dudette-home-campaign-art--bottom img { object-position: right bottom; }
body.home .dudette-home-campaign-art.is-mirrored img { transform: scaleX(-1); object-position: left bottom; }
@media(max-width:767px) {
 body.home .dudette-home-campaign-art { width: 100%; height: auto; }
 body.home .dudette-home-campaign-art picture,
 body.home .dudette-home-campaign-art img { height: auto; }
 /* Turn the mobile top frame into a matching lower border. */
 body.home .dudette-home-campaign-art--bottom img { transform: scaleY(-1); }
 body.home .dudette-home-campaign-art--bottom.is-mirrored img { transform: scale(-1,-1); }
}
@media(min-width:1024px) {
 body.home .dudette-home-campaign.has-art { padding-block: 144px; }
 body.home .dudette-home-campaign-art { height: 640px; }
}
@media(min-width:768px) {
 body.home .dudette-home-campaign { padding-inline: 19.270833%; }
 body.home .dudette-home-campaign-frame { padding: 8px; }
 body.home .dudette-home-campaign-inner { padding: 40px; }
}
@media(min-width:1024px) {
 body.home .dudette-home-campaign { padding-inline: 11.1328125%; }
 body.home .dudette-home-campaign-inner { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; padding: 80px 40px; }
 body.home .dudette-home-campaign-story { order: 0; }
 body.home .dudette-home-campaign h2 { font-size: 32px; line-height: 40px; }
}
@media(min-width:1440px) {
 body.home .dudette-home-campaign { padding-inline: 40px; }
 body.home .dudette-home-campaign-frame { max-width: 1126px; }
 body.home .dudette-home-campaign-inner { gap: 40px; padding: 80px; }
}
/* Each homepage section owns its responsive inset; do not add Savoy's 15px again. */
body.home .nm-page-default > .nm-page-default-col { padding-inline: 0; }
body.home .dudette-home-section-row { margin: 0; }
body.home .dudette-home-section-row > .nm_column { padding: 0; }
body.home .dudette-home-products { margin: 40px 0; background: var(--dudette-jazzy-black); color: var(--dudette-pearly-white); }
body.home .dudette-home-products-inner { box-sizing: border-box; display: grid; gap: 32px; max-width: 1440px; margin: auto; padding: 40px 8px; }
body.home .dudette-home-copy { min-width: 0; align-self: center; }
body.home .dudette-home-copy h2,
body.home .dudette-home-instagram h2 { margin: 0 0 24px; color: var(--dudette-pearly-white); font: 400 28px/38px 'Futura Condensed PT',sans-serif; }
body.home .dudette-home-intro,
body.home .dudette-home-instagram p { color: var(--dudette-pearly-white); font: 400 16px/24px Jost,sans-serif; }
body.home .dudette-home-intro p { margin: 0 0 16px; }
body.home .dudette-home-link { display: inline-flex; box-sizing: border-box; align-items: center; justify-content: center; min-width: 120px; min-height: 40px; margin-top: 16px; padding: 8px 24px; border: 1px solid var(--dudette-pearly-white); border-radius: 4px; color: var(--dudette-pearly-white); font: 400 16px/24px Jost,sans-serif; text-decoration: none; }
body.home .dudette-home-link:hover { color: var(--dudette-jazzy-black); background: var(--dudette-light-green); }
body.home .dudette-home-carousel { min-width: 0; }
body.home .dudette-home-track { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: none; padding: 4px 0 16px; }
body.home .dudette-home-track::-webkit-scrollbar { display: none; }
body.home .dudette-home-track .woocommerce { overflow: visible; }
body.theme-savoy.home .dudette-home-track ul.nm-products { display: flex; flex-wrap: nowrap; gap: 16px; margin: 0; padding: 0; width: 100%; }
body.theme-savoy.home .dudette-home-track ul.nm-products::before,
body.theme-savoy.home .dudette-home-track ul.nm-products::after { content: none; }
body.theme-savoy.home .dudette-home-track ul.nm-products > li.dudette-product-card { display: flex; flex: 0 0 calc((100% - 16px)/2); float: none; clear: none; width: calc((100% - 16px)/2); min-width: 0; margin: 0; padding: 0; scroll-snap-align: start; }
body.theme-savoy.home .dudette-home-track .nm-shop-loop-product-wrap { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid var(--dudette-pearly-white); box-shadow: none; }
body.theme-savoy.home .dudette-home-track .nm-shop-loop-details { padding: 8px 0 0; }
body.home .dudette-home-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 8px; }
body.home .dudette-home-controls[hidden] { display: none; }
body.home .dudette-home-controls button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 8px; border: 0; background: transparent; color: var(--dudette-pearly-white); cursor: pointer; }
body.home .dudette-home-controls button:disabled { opacity: .35; cursor: default; }
body.home .dudette-home-controls img { width: 24px; height: 24px; }
body.home .dudette-home-controls [data-direction="-1"] img { transform: rotate(90deg); }
body.home .dudette-home-controls [data-direction="1"] img { transform: rotate(-90deg); }
body.home .dudette-home-dots { display: flex; flex-wrap: wrap; justify-content: center; }
body.home .dudette-home-dots button { width: 24px; padding: 0; }
body.home .dudette-home-dots button::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--dudette-light-green); }
body.home .dudette-home-dots button[aria-current=true]::before { width: 7px; height: 7px; background: var(--dudette-pearly-white); }
body.home .dudette-home-link:focus-visible,
body.home .dudette-home-controls button:focus-visible,
body.home .dudette-home-track:focus-visible { outline: 2px solid var(--dudette-pearly-white); outline-offset: -2px; }
body.theme-savoy.home .nm-row.dudette-home-instagram { box-sizing: border-box; max-width: 1440px; margin: 10px auto; padding: 0 8px; }
body.home .dudette-home-instagram > .nm_column { padding: 0; }
body.home .dudette-home-instagram h2 { text-align: center; }
body.home .dudette-home-instagram .wpb_text_column { max-width: 760px; margin: 0 auto 32px; text-align: center; }
body.home .dudette-home-instagram #sb_instagram { background: transparent; color: var(--dudette-pearly-white); }
body.home .dudette-home-instagram #sb_instagram .sbi_photo { border: 1px solid var(--dudette-green); box-shadow: var(--dudette-shadow-down-medium); }
body.home .dudette-ig-mockup { text-align: center; }
body.home .dudette-ig-mockup-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
body.home .dudette-ig-mockup-photo { aspect-ratio: 3 / 4; border: 1px solid var(--dudette-green); box-shadow: var(--dudette-shadow-down-medium); }
body.home .dudette-ig-mockup-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media(min-width:768px) { body.home .dudette-ig-mockup-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; } }
body.home .dudette-home-instagram #sb_instagram #sbi_load .sbi_load_btn,
body.home .dudette-home-instagram #sb_instagram #sbi_load .sbi_follow_btn a { padding: 8px 24px; min-height: 40px; box-sizing: border-box; border-radius: 4px; background: var(--dudette-green) !important; color: var(--dudette-jazzy-black); font: 400 16px/24px Jost,sans-serif; box-shadow: none; }
body.home .dudette-home-instagram #sb_instagram #sbi_load { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 12px; }
body.home .dudette-home-instagram #sb_instagram #sbi_load > .sbi-screenreader { position: absolute; }
body.home .dudette-home-instagram #sb_instagram #sbi_load > .sbi_load_btn,
body.home .dudette-home-instagram #sb_instagram #sbi_load > .sbi_follow_btn { flex: 0 1 220px; width: 220px; max-width: 100%; margin: 0; }
body.home .dudette-home-instagram #sb_instagram #sbi_load .sbi_load_btn,
body.home .dudette-home-instagram #sb_instagram #sbi_load .sbi_follow_btn a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; }
body.home .dudette-home-instagram #sb_instagram #sbi_load .sbi_follow_btn a { width: 100%; height: 100%; }
/* Feed settings emit inline backgrounds. Override those only in this section. */
body.home .dudette-home-instagram #sb_instagram #sbi_load a:hover,
body.home .dudette-home-instagram #sb_instagram #sbi_load button:hover { background: var(--dudette-light-green) !important; }
@media(min-width:768px) {
 body.home .dudette-home-products-inner { padding: 48px 24px; }
 body.theme-savoy.home .nm-row.dudette-home-instagram { padding-inline: 24px; }
 body.theme-savoy.home .dudette-home-track ul.nm-products { gap: 24px; }
 body.theme-savoy.home .dudette-home-track ul.nm-products > li.dudette-product-card { flex-basis: calc((100% - 48px)/3); width: calc((100% - 48px)/3); }
}
@media(min-width:1024px) {
 body.home .dudette-home-copy { align-self: start; padding-top: 4px; }
 body.home .dudette-home-products-inner { grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 32px; padding: 40px 32px; }
 body.home .dudette-home-products--right .dudette-home-products-inner { grid-template-columns: minmax(0,3fr) minmax(0,1fr); }
 body.home .dudette-home-products--right .dudette-home-copy { grid-column: 2; grid-row: 1; text-align: right; }
 body.home .dudette-home-products--right .dudette-home-carousel { grid-column: 1; grid-row: 1; }
 body.home .dudette-home-copy h2, body.home .dudette-home-instagram h2 { font-size: 32px; line-height: 40px; }
 body.theme-savoy.home .nm-row.dudette-home-instagram { padding-inline: 32px; }
}
@media(min-width:1440px) {
 /* Six equal slots: one text column and five product cards. */
 body.home .dudette-home-products-inner { grid-template-columns: minmax(0,calc((100% - 200px)/6)) minmax(0,1fr); gap: 40px; padding-inline: 40px; }
 body.home .dudette-home-products--right .dudette-home-products-inner { grid-template-columns: minmax(0,1fr) minmax(0,calc((100% - 200px)/6)); }
 body.theme-savoy.home .nm-row.dudette-home-instagram { padding-inline: 40px; }
 body.theme-savoy.home .dudette-home-track ul.nm-products { gap: 40px; }
 body.theme-savoy.home .dudette-home-track ul.nm-products > li.dudette-product-card { flex-basis: calc((100% - 160px)/5); width: calc((100% - 160px)/5); }
}
/* Dudette – tighter spacing below homepage product sliders */
@media (min-width: 1024px) {
    body.home .dudette-home-products {
        margin-bottom: 0;
    }
}
/* DUDETTE – Homepage product section spacing, smaller screens */

@media (max-width: 767px) {
    body.home .dudette-home-products {
        margin-block: 24px;
    }

    body.home .dudette-home-products-inner {
        padding-block: 16px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    body.home .dudette-home-products {
        margin-block: 32px;
    }

    body.home .dudette-home-products-inner {
        padding-block: 32px;
    }
}