/* 6. Homepage */
.ns-home-hero {
    min-height: clamp(720px, 78vh, 980px);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.ns-home-hero__media,
.ns-home-hero__media img,
.ns-home-hero__media .ns-image-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ns-home-hero__media img {
    object-fit: cover;
}

.ns-home-hero__copy {
    position: relative;
    z-index: 2;
    align-self: end;
    max-width: 720px;
    margin: 0 auto 40px;
    padding: 0 24px;
    color: var(--ns-white);
    text-align: center;
    text-shadow: 0 1px 24px rgba(0,0,0,0.28);
}

.ns-home-hero__copy p {
    margin: 0 0 4px;
    font-size: 12px;
}

.ns-home-hero__copy h1,
.ns-home-hero__copy h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 0.95;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.ns-home-product-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: clamp(520px, 62vh, 720px);
    min-height: 0;
    max-height: 720px;
    overflow: hidden;
    align-items: stretch;
}

.ns-home-product-feature__editorial,
.ns-home-product-feature__product {
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.ns-home-product-feature__editorial img,
.ns-home-product-feature__editorial .ns-image-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.ns-home-product-feature__product {
    display: grid;
    place-items: center;
    padding: clamp(48px, 5vw, 80px) 56px;
    text-align: center;
}

.ns-product-feature-placeholder {
    max-width: 380px;
    min-height: 240px;
    margin: 0 auto 24px;
}

.ns-category-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 72px var(--ns-side-space);
}

.ns-category-tile {
    text-align: center;
}

.ns-category-tile img,
.ns-category-tile .ns-image-placeholder {
    width: 100%;
    aspect-ratio: 1.65 / 1;
    object-fit: cover;
    margin-bottom: 18px;
}

.ns-category-tile h2 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
}

.ns-category-tile p {
    max-width: 420px;
    margin: 0 auto 8px;
    color: var(--ns-muted);
}

.ns-editorial-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    padding: 32px var(--ns-side-space) 56px;
    background: var(--ns-grey);
}

.ns-editorial-strip img,
.ns-editorial-strip .ns-image-placeholder {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    min-height: 160px;
    object-fit: cover;
}

/* Homepage — títulos/categorias destacados */
.ns-home-hero__copy h1,
.ns-home-hero__copy h2,
.ns-home-product-feature__product h2,
.ns-home-product-feature__product .ns-product-card__title,
.ns-product-card--feature .ns-product-card__title,
.ns-category-tile h2,
.ns-newsletter h2,
.ns-newsletter__email button {
    font-weight: var(--ns-bold-weight) !important;
    text-shadow: var(--ns-bold-shadow) !important;
}

/* Homepage — manter textos secundários regulares */
.ns-home-hero__copy p,
.ns-inline-links a,
.ns-inline-links span,
.ns-home-product-feature__product p,
.ns-home-product-feature__product .ns-product-card__excerpt,
.ns-category-tile p,
.ns-newsletter p,
.ns-newsletter label {
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* --------------------------------------------------------------------------
   FIX FINAL — Homepage product/editorial split igual ao design
   - bloco com duas colunas 50/50
   - imagem da esquerda cortada dentro da altura certa
   - produto da direita centrado em coluna: imagem > título > texto
   -------------------------------------------------------------------------- */
body.home .ns-home-product-feature {
    display: grid !important;
    grid-template-columns: 50% 50% !important;
    height: clamp(580px, 36vw, 680px) !important;
    min-height: 580px !important;
    max-height: 680px !important;
    overflow: hidden !important;
    align-items: stretch !important;
    background: var(--ns-white) !important;
}

body.home .ns-home-product-feature__editorial,
body.home .ns-home-product-feature__product {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: hidden !important;
}

body.home .ns-home-product-feature__editorial img,
body.home .ns-home-product-feature__editorial .ns-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-height: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

body.home .ns-home-product-feature__product {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 72px 84px !important;
    box-sizing: border-box !important;
}

body.home .ns-home-product-feature__product > * {
    flex: 0 0 auto !important;
}

body.home .ns-home-product-feature__product .ns-product-card,
body.home .ns-home-product-feature__product .ns-product-card__link {
    width: 100% !important;
    max-width: 520px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

body.home .ns-home-product-feature__product .ns-product-card__image {
    width: min(560px, 62%) !important;
    margin: 0 auto 32px !important;
}

body.home .ns-home-product-feature__product .ns-product-card__image img {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 230px !important;
    object-fit: contain !important;
}

body.home .ns-product-feature-placeholder,
body.home .ns-home-product-feature__product > .ns-image-placeholder {
    width: min(560px, 62%) !important;
    max-width: 560px !important;
    height: auto !important;
    min-height: 190px !important;
    max-height: 230px !important;
    aspect-ratio: 4 / 5 !important;
    margin: 0 auto 32px !important;
    object-fit: contain !important;
}

body.home .ns-home-product-feature__product h2,
body.home .ns-home-product-feature__product .ns-product-card__title {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    text-align: center !important;
}

body.home .ns-home-product-feature__product p,
body.home .ns-home-product-feature__product .ns-product-card__excerpt {
    display: block !important;
    width: 100% !important;
    max-width: 660px !important;
    margin: 0 auto !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: var(--ns-black) !important;
    text-align: center !important;
}

@media (max-width: 960px) {
    body.home .ns-home-product-feature {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.home .ns-home-product-feature__editorial {
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
    }

    body.home .ns-home-product-feature__product {
        height: auto !important;
        min-height: 360px !important;
        max-height: none !important;
        padding: 54px 22px !important;
        overflow: visible !important;
    }

    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder,
    body.home .ns-home-product-feature__product .ns-product-card__image {
        width: min(320px, 70%) !important;
    }
}

/* ==========================================================================
   DESIGN MATCH — Homepage desktop refinements from PDF page 1
   Reference proportions: hero, split feature, secondary hero, category tiles,
   editorial strip and footer rhythm.
   ========================================================================== */
@media (min-width: 961px) {

    /* Top campaign banner: large editorial hero like the design */
    body.home .ns-home-hero:not(.ns-home-hero--secondary) {
        position: relative !important;
        height: clamp(620px, 60.4vw, 1160px) !important;
        min-height: clamp(620px, 60.4vw, 1160px) !important;
        max-height: 1160px !important;
        display: grid !important;
        place-items: center !important;
        overflow: hidden !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media .ns-image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__copy {
        align-self: end !important;
        margin-bottom: clamp(54px, 4.8vw, 92px) !important;
        max-width: 760px !important;
    }

    body.home .ns-home-hero__copy p {
        font-size: clamp(10px, 0.62vw, 12px) !important;
        line-height: 1.15 !important;
        margin-bottom: 5px !important;
    }

    body.home .ns-home-hero__copy h1,
    body.home .ns-home-hero__copy h2 {
        font-size: clamp(30px, 3.3vw, 64px) !important;
        line-height: 0.92 !important;
        letter-spacing: 0.095em !important;
        margin-bottom: 12px !important;
    }

    body.home .ns-inline-links {
        gap: 22px !important;
        font-size: clamp(9px, 0.55vw, 11px) !important;
        line-height: 1 !important;
    }

    /* 50/50 editorial + Classics product split */
    body.home .ns-home-product-feature {
        display: grid !important;
        grid-template-columns: 50% 50% !important;
        height: clamp(680px, 63.2vw, 1215px) !important;
        min-height: clamp(680px, 63.2vw, 1215px) !important;
        max-height: 1215px !important;
        overflow: hidden !important;
        align-items: stretch !important;
        background: var(--ns-white) !important;
    }

    body.home .ns-home-product-feature__editorial,
    body.home .ns-home-product-feature__product {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body.home .ns-home-product-feature__editorial img,
    body.home .ns-home-product-feature__editorial .ns-image-placeholder {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.home .ns-home-product-feature__product {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        padding: clamp(86px, 9vw, 170px) clamp(78px, 8vw, 154px) !important;
        box-sizing: border-box !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card,
    body.home .ns-home-product-feature__product .ns-product-card__link {
        width: 100% !important;
        max-width: 600px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(360px, 40%) !important;
        max-width: 360px !important;
        min-width: 220px !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1.75 / 1 !important;
        margin: 0 auto clamp(64px, 6vw, 115px) !important;
        object-fit: contain !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    body.home .ns-home-product-feature__product h2,
    body.home .ns-home-product-feature__product .ns-product-card__title {
        display: block !important;
        width: 100% !important;
        margin: 0 0 14px !important;
        font-size: clamp(13px, 0.85vw, 16px) !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        text-align: center !important;
    }

    body.home .ns-home-product-feature__product p,
    body.home .ns-home-product-feature__product .ns-product-card__excerpt {
        display: block !important;
        width: 100% !important;
        max-width: 620px !important;
        margin: 0 auto !important;
        font-size: clamp(10px, 0.58vw, 11px) !important;
        line-height: 1.32 !important;
        color: var(--ns-black) !important;
        text-align: center !important;
    }

    /* Secondary Seamless Comfort hero */
    body.home .ns-home-hero--secondary {
        position: relative !important;
        height: clamp(600px, 50.8vw, 976px) !important;
        min-height: clamp(600px, 50.8vw, 976px) !important;
        max-height: 976px !important;
        overflow: hidden !important;
    }

    body.home .ns-home-hero--secondary .ns-home-hero__media,
    body.home .ns-home-hero--secondary .ns-home-hero__media img,
    body.home .ns-home-hero--secondary .ns-home-hero__media .ns-image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.home .ns-home-hero--secondary .ns-home-hero__media img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.home .ns-home-hero--secondary .ns-home-hero__copy {
        align-self: end !important;
        margin-bottom: clamp(64px, 5.3vw, 102px) !important;
        max-width: 720px !important;
    }

    /* Tops / Bottoms tiles: portrait images and generous white space */
    body.home .ns-category-tiles {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: clamp(24px, 2.7vw, 52px) !important;
        padding: clamp(88px, 10.6vw, 204px) clamp(82px, 8.8vw, 170px) clamp(78px, 8.8vw, 170px) !important;
        background: var(--ns-white) !important;
    }

    body.home .ns-category-tile {
        text-align: center !important;
    }

    body.home .ns-category-tile img,
    body.home .ns-category-tile .ns-image-placeholder {
        width: 100% !important;
        aspect-ratio: 0.86 / 1 !important;
        min-height: 0 !important;
        height: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 0 clamp(24px, 2.2vw, 42px) !important;
    }

    body.home .ns-category-tile h2 {
        margin: 0 0 11px !important;
        font-size: clamp(13px, 0.82vw, 16px) !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }

    body.home .ns-category-tile p {
        max-width: 430px !important;
        margin: 0 auto 14px !important;
        font-size: clamp(10px, 0.58vw, 11px) !important;
        line-height: 1.28 !important;
        color: var(--ns-black) !important;
    }

    body.home .ns-category-tile .ns-inline-links {
        gap: 18px !important;
        font-size: clamp(9px, 0.52vw, 10px) !important;
    }

    /* Editorial gallery strip */
    body.home .ns-editorial-strip {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: clamp(24px, 2.2vw, 42px) !important;
        padding: clamp(70px, 6.6vw, 126px) clamp(78px, 8.2vw, 158px) clamp(66px, 6.3vw, 120px) !important;
        background: #efefef !important;
    }

    body.home .ns-editorial-strip img,
    body.home .ns-editorial-strip .ns-image-placeholder {
        width: 100% !important;
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        height: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.home .ns-newsletter {
        background: var(--ns-white) !important;
    }

    body.home .ns-newsletter {
        padding: clamp(54px, 5vw, 96px) clamp(78px, 8.2vw, 158px) 22px !important;
        grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr) !important;
        gap: clamp(60px, 8vw, 154px) !important;
    }

    body.home .ns-newsletter h2 {
        font-size: clamp(12px, 0.78vw, 15px) !important;
        line-height: 1.15 !important;
    }

    body.home .ns-newsletter p,
    body.home .ns-newsletter label,
    body.home .ns-newsletter input {
        font-size: clamp(9px, 0.55vw, 11px) !important;
    }

}

@media (max-width: 960px) {
    /* Keep mobile usable while preserving the same visual logic. */
    body.home .ns-home-hero:not(.ns-home-hero--secondary),
    body.home .ns-home-hero--secondary {
        height: 78vh !important;
        min-height: 620px !important;
        max-height: none !important;
    }

    body.home .ns-home-product-feature {
        grid-template-columns: 1fr !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.home .ns-home-product-feature__editorial {
        height: 72vh !important;
        min-height: 560px !important;
        max-height: none !important;
    }

    body.home .ns-home-product-feature__product {
        min-height: 520px !important;
        padding: 70px 22px !important;
        overflow: visible !important;
    }

    body.home .ns-category-tiles {
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    body.home .ns-category-tile img,
    body.home .ns-category-tile .ns-image-placeholder {
        aspect-ratio: 0.86 / 1 !important;
    }

    body.home .ns-editorial-strip img,
    body.home .ns-editorial-strip .ns-image-placeholder {
        aspect-ratio: 1 / 1 !important;
    }
}

/* ==========================================================================
   ALTERAÇÕES PEDIDAS — 13/05
   1) Banner principal ocupa 100% da largura e altura do ecrã
   2) Secção Classics passa de 50/50 para 40/60
   3) Fotos da galeria/footer ficam retangulares na vertical
   ========================================================================== */

@media (min-width: 961px) {
    /* Banner principal full viewport */
    body.home .ns-home-hero:not(.ns-home-hero--secondary) {
        width: 100% !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: none !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media .ns-image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Secção Classics 40/60 — imagem à esquerda, produto à direita */
    body.home .ns-home-product-feature {
        grid-template-columns: 40% 60% !important;
    }

    /* Galeria/footer — imagens retangulares na vertical */
    body.home .ns-editorial-strip img,
    body.home .ns-editorial-strip .ns-image-placeholder {
        aspect-ratio: 4 / 5 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media (max-width: 960px) {
    /* Mesma lógica em mobile: o banner principal ocupa o ecrã */
    body.home .ns-home-hero:not(.ns-home-hero--secondary) {
        width: 100% !important;
        height: 100svh !important;
        min-height: 100svh !important;
        max-height: none !important;
        overflow: hidden !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img,
    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media .ns-image-placeholder {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }

    body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img {
        object-fit: cover !important;
        object-position: center center !important;
    }

    body.home .ns-editorial-strip img,
    body.home .ns-editorial-strip .ns-image-placeholder {
        aspect-ratio: 4 / 5 !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* ==========================================================================
   PESOS TIPOGRÁFICOS — alinhado com o design Noseams
   AVUS tem apenas um ficheiro; o bold é simulado com font-weight + sombra subtil.
   ========================================================================== */
:root {
    --ns-bold-weight: 700;
    --ns-bold-shadow: 0.018em 0 0 currentColor;
}

/* Base para <strong> e classe manual */
strong,
b,
.ns-bold {
    font-weight: var(--ns-bold-weight) !important;
    text-shadow: var(--ns-bold-shadow) !important;
}


/* Homepage — títulos/categorias destacados */
.ns-home-hero__copy h1,
.ns-home-hero__copy h2,
.ns-home-product-feature__product h2,
.ns-home-product-feature__product .ns-product-card__title,
.ns-product-card--feature .ns-product-card__title,
.ns-category-tile h2,
.ns-newsletter h2,
.ns-newsletter__email button {
    font-weight: var(--ns-bold-weight) !important;
    text-shadow: var(--ns-bold-shadow) !important;
}

/* Homepage — manter textos secundários regulares */
.ns-home-hero__copy p,
.ns-inline-links a,
.ns-inline-links span,
.ns-home-product-feature__product p,
.ns-home-product-feature__product .ns-product-card__excerpt,
.ns-category-tile p,
.ns-newsletter p,
.ns-newsletter label {
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* Produto — hierarquia principal */
.ns-single-product__title,
.ns-single-product__price,
.ns-single-product__purchase table.variations label,
.single_add_to_cart_button,
.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.ns-related-products h2,
.ns-related-products .ns-product-card__title {
    font-weight: var(--ns-bold-weight) !important;
    text-shadow: var(--ns-bold-shadow) !important;
}

/* Produto — textos corridos regulares */
.ns-single-product__short-description,
.ns-single-product__short-description p,
.ns-single-product__meta-list,
.ns-single-product__shipping-copy,
.ns-single-product__shipping-copy p,
.ns-single-product__service-links a,
.ns-product-card__price,
.ns-product-card__excerpt {
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* Checkout — títulos, resumo e ações */
.woocommerce-checkout h3,
.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td,
.woocommerce-checkout #place_order,
.woocommerce-checkout .button,
.woocommerce-checkout button.button {
    font-weight: var(--ns-bold-weight) !important;
    text-shadow: var(--ns-bold-shadow) !important;
}

/* Checkout — campos e labels subtis */
.woocommerce-checkout .form-row label,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce-checkout .select2-selection,
.woocommerce-checkout-review-order td {
    font-weight: 400 !important;
    text-shadow: none !important;
}

/* Mobile — mostrar melhor a modelo no segundo hero */
@media (max-width: 960px) {
    body.home .ns-home-hero--secondary .ns-home-hero__media img,
    body.home .ns-home-hero--secondary .ns-home-hero__media .ns-image-placeholder {
        object-fit: cover !important;
        object-position: 18% 22% !important;
    }
}

/* ==========================================================================
   AJUSTE CORRETO — Homepage produto Classics maior sem remover elementos
   Mantém a estrutura, colunas e altura da secção.
   Aumenta apenas a imagem do produto e preserva título/texto/conteúdo.
   ========================================================================== */

@media (min-width: 961px) {
    body.home .ns-home-product-feature__product .ns-product-card,
    body.home .ns-home-product-feature__product .ns-product-card__link {
        width: 100% !important;
        max-width: 720px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-home-product-feature__product figure.ns-product-card__image,
    body.home .ns-home-product-feature__product .ns-product-card--feature .ns-product-card__image {
        width: min(520px, 58%) !important;
        max-width: 520px !important;
        min-width: 380px !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 auto 34px !important;
        padding: 0 !important;
        display: block !important;
        overflow: visible !important;
        aspect-ratio: auto !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image img,
    body.home .ns-home-product-feature__product .ns-product-card__img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        margin: 0 auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__content {
        display: block !important;
        width: 100% !important;
        max-width: 660px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        text-align: center !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product h2,
    body.home .ns-home-product-feature__product .ns-product-card__title {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        margin: 0 0 14px !important;
        color: var(--ns-black, #231f20) !important;
        font-size: clamp(13px, 0.85vw, 16px) !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        text-align: center !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product p,
    body.home .ns-home-product-feature__product .ns-product-card__excerpt {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 660px !important;
        margin: 0 auto !important;
        color: var(--ns-black, #231f20) !important;
        font-size: clamp(10px, 0.58vw, 11px) !important;
        line-height: 1.32 !important;
        text-align: center !important;
        transform: none !important;
    }

    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(520px, 58%) !important;
        max-width: 520px !important;
        min-width: 380px !important;
        height: auto !important;
        min-height: 240px !important;
        max-height: none !important;
        aspect-ratio: 4 / 3 !important;
        margin: 0 auto 34px !important;
        object-fit: contain !important;
        transform: none !important;
    }
}

@media (max-width: 960px) {
    body.home .ns-home-product-feature__product .ns-product-card,
    body.home .ns-home-product-feature__product .ns-product-card__link {
        max-width: 100% !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-home-product-feature__product figure.ns-product-card__image,
    body.home .ns-home-product-feature__product .ns-product-card--feature .ns-product-card__image {
        width: min(360px, 80%) !important;
        max-width: 360px !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 auto 30px !important;
        overflow: visible !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image img,
    body.home .ns-home-product-feature__product .ns-product-card__img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
        transform: none !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__content,
    body.home .ns-home-product-feature__product .ns-product-card__title,
    body.home .ns-home-product-feature__product .ns-product-card__excerpt {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-align: center !important;
        transform: none !important;
    }

    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(360px, 80%) !important;
        max-width: 360px !important;
        min-width: 0 !important;
        margin: 0 auto 30px !important;
        transform: none !important;
    }
}

/* Homepage Classics product image — 30% larger on desktop and mobile */
@media (min-width: 961px) {
    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-home-product-feature__product figure.ns-product-card__image,
    body.home .ns-home-product-feature__product .ns-product-card--feature .ns-product-card__image,
    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(676px, 75%) !important;
        max-width: 676px !important;
        min-width: 494px !important;
    }
}

@media (max-width: 960px) {
    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-home-product-feature__product figure.ns-product-card__image,
    body.home .ns-home-product-feature__product .ns-product-card--feature .ns-product-card__image,
    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(468px, 95%) !important;
        max-width: 468px !important;
    }
}

/* Homepage Classics product image — definitive mobile enlargement */
@media (max-width: 960px) {
    body.home .ns-home-product-feature__product .ns-product-card__image,
    body.home .ns-home-product-feature__product figure.ns-product-card__image,
    body.home .ns-home-product-feature__product .ns-product-card--feature .ns-product-card__image,
    body.home .ns-product-feature-placeholder,
    body.home .ns-home-product-feature__product > .ns-image-placeholder {
        width: min(520px, 104%) !important;
        max-width: 520px !important;
        min-width: 0 !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
    }

    body.home .ns-home-product-feature__product .ns-product-card__image img,
    body.home .ns-home-product-feature__product .ns-product-card__img,
    body.home .ns-product-feature-placeholder {
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        object-fit: contain !important;
        transform: none !important;
    }
}

/* Homepage section order update — Tops/Bottoms immediately after main hero */
@media (max-width: 960px) {
    body.home .ns-category-tiles {
        grid-template-columns: 1fr !important;
        gap: 46px !important;
        padding-left: var(--ns-side-space) !important;
        padding-right: var(--ns-side-space) !important;
    }
}

/* Homepage hero — full viewport height on every screen */
body.home .ns-home-hero:not(.ns-home-hero--secondary) {
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none !important;
}

@supports (height: 100svh) {
    body.home .ns-home-hero:not(.ns-home-hero--secondary) {
        height: 100svh !important;
        min-height: 100svh !important;
    }
}

body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media,
body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media img,
body.home .ns-home-hero:not(.ns-home-hero--secondary) .ns-home-hero__media .ns-image-placeholder {
    height: 100% !important;
}

/* Performance responsive image wrappers */
.ns-home-hero__media picture,
.ns-home-product-feature__editorial picture {
    display: block;
    width: 100%;
    height: 100%;
}

.ns-home-hero__media picture {
    position: absolute;
    inset: 0;
}

.ns-category-tile picture,
.ns-editorial-strip picture {
    display: block;
    width: 100%;
}

.ns-home-product-feature__editorial picture img,
.ns-home-hero__media picture img {
    width: 100%;
    height: 100%;
}

/* Mobile homepage — Tops/Bottoms cards enlarged; images stay contained inside cards */
@media (max-width: 960px) {
    body.home .ns-category-tiles {
        grid-template-columns: 1fr !important;
        justify-items: center !important;
        gap: 38px !important;
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }

    body.home .ns-category-tile {
        width: 70% !important;
        max-width: 360px !important;
        min-width: 220px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
    }

    body.home .ns-category-tile a {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    body.home .ns-category-tile picture,
    body.home .ns-category-tile img,
    body.home .ns-category-tile .ns-image-placeholder {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.home .ns-category-tile img,
    body.home .ns-category-tile .ns-image-placeholder {
        aspect-ratio: 0.86 / 1 !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin-bottom: 16px !important;
    }

    body.home .ns-category-tile h2 {
        font-size: 12px !important;
        margin-bottom: 7px !important;
    }

    body.home .ns-category-tile p {
        max-width: 100% !important;
        font-size: 9px !important;
        line-height: 1.28 !important;
        margin-bottom: 8px !important;
    }

    body.home .ns-category-tile .ns-inline-links {
        font-size: 9px !important;
    }
}


/* Performance: skip below-the-fold paint work until sections approach the viewport. */
@supports (content-visibility: auto) {
    body.home .ns-category-tiles,
    body.home .ns-home-product-feature,
    body.home .ns-editorial-strip,
    body.home .ns-footer {
        content-visibility: auto;
    }

    body.home .ns-category-tiles { contain-intrinsic-size: auto 900px; }
    body.home .ns-home-product-feature { contain-intrinsic-size: auto 680px; }
    body.home .ns-editorial-strip { contain-intrinsic-size: auto 420px; }
    body.home .ns-footer { contain-intrinsic-size: auto 760px; }
}
