/* ─────────────────────────────────────────────────────────────────────────────
   Voziqa — Khaadi-style Home Redesign
   Loaded AFTER pages/home.css to override the legacy hero + section styling.
   Scope: keyed off `body.page-home` so it never leaks to other pages.
   ──────────────────────────────────────────────────────────────────────────── */

body.page-home main.page-content {
    padding-top: 0;
}

/* ── Hero: single full-bleed banner (Khaadi style) ── */
body.page-home .hero {
    background: var(--color-ivory);
    padding: 0;
    margin: 0 0 var(--sp-6);
    min-height: auto;
}

body.page-home .hero__decor,
body.page-home .hero__badge,
body.page-home .hero__scroll {
    display: none !important;
}

body.page-home .hero__grid {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

body.page-home .hero__inner {
    position: absolute;
    inset: auto 0 var(--sp-5) 0;
    text-align: center;
    z-index: 2;
    padding: 0 var(--sp-4);
    color: var(--color-white);
}

body.page-home .hero__eyebrow {
    color: var(--color-gold-soft);
    background: rgba(26, 10, 46, 0.7);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    margin-bottom: var(--sp-3);
    font-size: 11px;
    letter-spacing: 0.16em;
}

body.page-home .hero__title {
    font-size: clamp(1.6rem, 3vw + 0.5rem, 3rem);
    line-height: 1.1;
    margin: 0 0 var(--sp-3);
    color: var(--color-white);
    text-shadow: 0 2px 14px rgba(26, 10, 46, 0.45);
}

body.page-home .hero__title em {
    color: var(--color-gold);
    font-style: normal;
}

body.page-home .hero__sub {
    display: none;
    /* Khaadi hero doesn't have a paragraph subhead */
}

body.page-home .hero__cta {
    display: flex;
    justify-content: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-3);
}

body.page-home .hero__cta .btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-white);
    background: transparent;
}

body.page-home .hero__cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
}

body.page-home .hero__meta {
    display: none;
}

body.page-home .hero__visual {
    position: relative;
    width: 100%;
    height: clamp(360px, 75vh, 720px);
    margin: 0;
    border-radius: 0;
    overflow: hidden;
}

body.page-home .hero__image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: none;
}

body.page-home .hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 10, 46, 0) 40%, rgba(26, 10, 46, 0.55) 100%);
}

@media (min-width: 900px) {
    body.page-home .hero__visual {
        height: 78vh;
        max-height: 760px;
    }

    body.page-home .hero__inner {
        inset: auto 0 var(--sp-7) 0;
        padding: 0 var(--sp-7);
    }

    body.page-home .hero__title {
        font-size: clamp(2rem, 3vw + 1rem, 3.6rem);
    }
}

/* ── Section header — Khaadi: large centred serif title + soft subtitle ── */
body.page-home .section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--sp-5);
}

body.page-home .section-header .eyebrow {
    display: none;
}

/* Khaadi doesn't show eyebrows */

body.page-home .section-header h2 {
    font-family: var(--font-heading);
    font-weight: var(--fw-regular);
    font-size: clamp(1.7rem, 2vw + 0.8rem, 2.6rem);
    color: var(--color-plum);
    margin: 0 0 var(--sp-3);
    letter-spacing: -0.005em;
}

body.page-home .section-header p {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 540px;
    margin-inline: auto;
}

/* ── Tighten section spacing ── */
body.page-home main>section.container {
    padding-top: var(--sp-6);
    padding-bottom: var(--sp-6);
}

body.page-home main>section.container+section.container {
    padding-top: 0;
}

/* ── Category grid → 2-col mobile, 5-up desktop (Khaadi simplifies categories) ── */
body.page-home .category-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: auto !important;
    gap: var(--sp-3);
}

body.page-home .category-card:nth-child(1) {
    grid-column: auto !important;
    grid-row: auto !important;
}

@media (min-width: 720px) {
    body.page-home .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (min-width: 1080px) {
    body.page-home .category-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: var(--sp-4);
    }
}

body.page-home .category-card {
    aspect-ratio: 3 / 4;
    border-radius: var(--r-md);
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

body.page-home .category-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: none !important;
    /* Skip placeholder PNGs that have product text baked in */
    transform: scale(1);
    transition: transform var(--duration-slow) var(--ease-out);
}

/* Per-card on-brand gradients (Khaadi-style category tiles) */
body.page-home .category-card:nth-child(1) .category-card__bg {
    background: linear-gradient(160deg, #f5e4de 0%, #e8c4b8 60%, #c47e84 100%) !important;
}

body.page-home .category-card:nth-child(2) .category-card__bg {
    background: linear-gradient(160deg, #3d2a5c 0%, #2a1644 100%) !important;
}

body.page-home .category-card:nth-child(3) .category-card__bg {
    background: linear-gradient(160deg, #5b1f3a 0%, #2a0e1c 100%) !important;
}

body.page-home .category-card:nth-child(4) .category-card__bg {
    background: linear-gradient(160deg, #d8c4a8 0%, #a78a6a 100%) !important;
}

body.page-home .category-card:nth-child(5) .category-card__bg {
    background: linear-gradient(160deg, #2c2c2c 0%, #0e0e0e 100%) !important;
}

body.page-home .category-card:hover .category-card__bg {
    transform: scale(1.06);
}

body.page-home .category-card__content {
    position: absolute;
    inset: auto 0 0 0;
    padding: var(--sp-3) var(--sp-3) var(--sp-4);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(26, 10, 46, 0.7) 100%);
    color: var(--color-white);
    text-align: center;
}

body.page-home .category-card__title {
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 1vw + 0.5rem, 1.2rem);
    margin-bottom: 4px;
    color: var(--color-white);
}

body.page-home .category-card__link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-gold-soft);
}

/* ── Carousels: tighten dots, hide nav on mobile (Khaadi mobile uses just dots) ── */
@media (max-width: 720px) {
    body.page-home .vz-carousel__nav {
        display: none;
    }

    body.page-home .vz-carousel__viewport {
        padding: 0;
    }
}

body.page-home .vz-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: var(--sp-3);
}

body.page-home .vz-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border-dark);
    transition: background var(--duration-fast);
}

body.page-home .vz-carousel__dot.active {
    background: var(--color-plum);
}

/* ── Trust trio strip (Khaadi: TRACK ORDER · FIND STORES · NEED HELP) ── */
.vz-trust-strip {
    background: var(--color-ivory-dark);
    padding: var(--sp-5) 0;
    margin-top: var(--sp-6);
}

.vz-trust-strip__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
    text-align: center;
}

@media (min-width: 720px) {
    .vz-trust-strip__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vz-trust-strip__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: var(--sp-3);
}

.vz-trust-strip__item svg {
    width: 32px;
    height: 32px;
    color: var(--color-plum);
    margin-bottom: 4px;
}

.vz-trust-strip__title {
    font-size: 13px;
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-plum);
}

.vz-trust-strip__sub {
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.5;
    max-width: 240px;
}

/* ── Hide editorial + testimonials on mobile (Khaadi keeps mobile lean) ── */
@media (max-width: 720px) {

    body.page-home .editorial,
    body.page-home .testimonials,
    body.page-home .quick-access {
        display: none;
    }

    /* These remain on desktop for Voziqa brand storytelling */
}

/* ── Reserve room above sticky bottom-nav on mobile so footer isn't hidden ── */
@media (max-width: 899px) {
    body.has-mobile-nav main.page-content {
        padding-bottom: 72px;
    }

    body.has-mobile-nav .site-footer {
        padding-bottom: calc(var(--sp-6) + 72px);
    }
}