/* Finery London–inspired chrome: announcement bar, menu, fonts, hero */

:root {
    --fn-black: #000000;
    --fn-white: #ffffff;
    --fn-sale: #fc1c19;
    --fn-red: #c4122f;
    --fn-red-deep: #9b1024;
    --fn-text: #000000;
    --fn-muted: #6b6b6b;
    --fn-border: #e8e8e8;
    --fn-sans: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --fn-display-sans: Montserrat, "Helvetica Neue", Arial, sans-serif;
    --fn-serif: "Cormorant Garamond", "Times New Roman", serif;
    --fn-announce: 38px;
    --fn-header: 96px;
    --header-height: 134px;
}

html { font-size: 16px; }

body {
    font-family: var(--fn-sans);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.04em;
    line-height: 1.7;
    color: var(--fn-text);
    background: var(--fn-white);
}

a { color: var(--fn-text); }
a:hover { color: var(--fn-text); }

/* ── Sticky chrome: announcement + header ── */
.site-chrome {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--fn-white);
    overflow: visible;
}

.announce-bar {
    position: relative;
    height: var(--fn-announce);
    background: var(--fn-black);
    color: var(--fn-white);
    overflow: hidden;
    text-align: center;
}

.announce-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff !important;
    font-family: var(--fn-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease, visibility 0.45s;
    padding: 0 16px;
}

.announce-item.is-active {
    opacity: 1;
    visibility: visible;
}

.announce-item:hover { color: #fff !important; opacity: 0.85; }

.announce-arrow { font-size: 12px; margin-left: 4px; }

/* ── Header ── */
.site-header.finery-header,
.site-header.cashify-header.finery-header {
    position: relative;
    top: auto;
    background: #fff;
    border-bottom: 1px solid var(--fn-border);
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}

.finery-header .header-top.header-bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 12px 48px 10px;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: nowrap;
    min-height: var(--fn-header);
}

.finery-header .logo {
    grid-column: 1;
    color: var(--fn-black);
}

.finery-header .logo-img {
    height: 88px;
    width: auto;
    max-width: 420px;
    object-fit: contain;
}

.finery-header .logo-img-white { display: none !important; }
.finery-header .logo-img-color { display: block !important; }

.finery-header .header-main-nav {
    grid-column: 2;
    border-top: none;
    background: transparent;
    overflow: visible;
}

.finery-header .header-main-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: none;
    margin: 0;
    padding: 0;
}

.finery-header .nav-trigger,
.finery-header .nav-link-direct {
    padding: 18px 14px;
    font-family: var(--fn-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--fn-black);
    line-height: 1;
}

.finery-header .nav-trigger:hover,
.finery-header .nav-link-direct:hover {
    color: var(--fn-black);
    opacity: 0.55;
}

.finery-header .nav-trigger .chevron { display: none; }

.finery-header .nav-link-direct.nav-hot,
.finery-header .nav-hot,
.finery-header .nav-trigger.nav-hot {
    color: var(--fn-sale) !important;
}

.finery-header .nav-link-direct.nav-hot:hover { opacity: 0.7; }

.finery-header .header-actions {
    grid-column: 3;
    gap: 4px;
}

.finery-header .location-picker { display: none; }

/* Underline search */
.finery-header .search-form.finery-search,
.finery-header .cashify-search.finery-search {
    flex: 0 1 200px;
    min-width: 140px;
    max-width: 220px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #111;
    border-radius: 0;
    overflow: visible;
}

.finery-header .finery-search .search-icon { display: none; }

.finery-header .finery-search input,
.finery-header .cashify-search.finery-search input {
    padding: 6px 8px 6px 0 !important;
    font-family: var(--fn-sans);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--fn-black);
}

.finery-header .finery-search input::placeholder {
    color: #111;
    opacity: 1;
}

.finery-header .finery-search:focus-within,
.finery-header .cashify-search.finery-search:focus-within {
    border-color: #111;
    box-shadow: none;
    background: transparent;
}

.finery-header .finery-search button {
    background: transparent;
    color: #111;
    border: none;
    border-radius: 0;
    padding: 4px 0 4px 8px;
    margin: 0;
}

.finery-header .header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #111;
    border-radius: 0;
    text-decoration: none !important;
    background: transparent;
    padding: 0;
}

.finery-header .header-icon:hover {
    background: transparent;
    color: #111;
    opacity: 0.55;
}

.finery-header .header-icon-label { display: none; }

.finery-header .btn-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    color: #111 !important;
    border-radius: 0;
    font-size: 0;
}

.finery-header .btn-header-login svg {
    display: block;
}

.finery-header .btn-header-login:hover {
    background: transparent;
    color: #111 !important;
    opacity: 0.55;
}

.finery-header .header-cart {
    padding: 8px;
    color: #111;
    border-radius: 0;
}

.finery-header .header-cart:hover {
    background: transparent;
    color: #111;
    opacity: 0.55;
}

.finery-header .header-cart-badge {
    background: var(--fn-sale);
    top: 2px;
    right: 0;
    min-width: 15px;
    height: 15px;
    font-size: 0.6rem;
}

/* Dropdowns + Finery mega menu with product images */
.finery-header .nav-dropdown-wrap.has-mega {
    position: static;
}

.finery-header .nav-dropdown {
    border: none;
    border-radius: 0;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    padding: 18px 0;
    min-width: 240px;
}

.finery-header .nav-dropdown.mega-menu {
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    min-width: 100%;
    padding: 0;
    border-top: 1px solid var(--fn-border);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.finery-header .nav-dropdown.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.mega-menu-inner {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(420px, 1.4fr);
    gap: 40px 56px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 32px 48px 40px;
    align-items: start;
}

.mega-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 8px 36px;
}

.mega-col {
    display: flex;
    flex-direction: column;
}

.finery-header .mega-menu .dropdown-heading {
    padding: 0 0 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #888;
}

.finery-header .mega-menu .mega-col a {
    padding: 7px 0;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

.finery-header .mega-menu .mega-col a:hover {
    background: transparent;
    opacity: 0.45;
}

.mega-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.finery-header .nav-dropdown.mega-menu .mega-product {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    color: #111;
}

.finery-header .nav-dropdown.mega-menu .mega-product:hover {
    background: transparent;
    opacity: 1;
    color: #111;
}

.mega-product-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    overflow: hidden;
}

.mega-product-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center;
    background: #f5f5f5;
    transition: transform 0.35s ease;
}

.finery-header .mega-product:hover .mega-product-media img {
    transform: scale(1.04);
}

.mega-product-name {
    display: block;
    margin-top: 12px;
    font-family: var(--fn-sans);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
}

.finery-header .nav-dropdown a {
    padding: 8px 24px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
}

.finery-header .nav-dropdown a:hover {
    background: transparent;
    color: #111;
    opacity: 0.5;
}

.finery-header .dropdown-heading {
    padding: 16px 24px 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
}

.finery-header .dropdown-more {
    color: #111 !important;
    font-weight: 500 !important;
}

/* ── Hero ── */
.page-home.finery-home .hero-carousel.hero-fullpage,
.finery-home .hero-carousel.hero-fullpage {
    width: 100%;
    max-width: none;
    margin: 0;
    height: clamp(420px, 52vw, 690px);
    min-height: 420px;
    border-bottom: none;
}

.finery-home .hero-slide {
    background: #c4122f;
}

.page-home.finery-home .hero-slide-link,
.finery-home .hero-slide-link {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    background: #c4122f;
}

.page-home.finery-home .hero-slide-img,
.finery-home .hero-slide-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: 78% center;
}

.finery-home .hero-overlay,
.finery-home .hero-overlay-lite,
.page-home.finery-home .hero-overlay-lite {
    background: transparent;
}

.finery-home .hero-caption,
.finery-home .hero-fullpage .hero-caption {
    top: 50%;
    bottom: auto;
    left: max(5vw, 56px);
    right: auto;
    transform: translateY(-50%);
    max-width: min(640px, 70vw);
    padding: 0;
    text-shadow: none;
}

.finery-home .hero-slide.active .hero-caption,
.finery-home .hero-fullpage .hero-slide.active .hero-caption {
    animation: none;
    opacity: 1;
    transform: translateY(-50%);
}

.finery-caption h2,
.finery-home .hero-fullpage .hero-caption h2 {
    font-family: var(--fn-serif);
    font-size: clamp(2.6rem, 6.2vw, 5.4rem);
    font-weight: 400;
    font-style: italic;
    line-height: 0.95;
    letter-spacing: 0;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: none;
}

.finery-caption h2 em {
    font-style: italic;
    font-weight: 400;
}

.finery-caption .hero-display-sans {
    display: inline;
    font-family: var(--fn-display-sans);
    font-style: normal;
    font-weight: 700;
    font-size: 0.92em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.finery-caption p,
.finery-home .hero-fullpage .hero-caption p {
    font-family: var(--fn-serif);
    font-size: clamp(1.6rem, 3.4vw, 2.8rem);
    font-style: italic;
    font-weight: 400;
    color: #fff;
    margin: 0 0 28px;
    line-height: 1.1;
}

.finery-caption p .hero-display-sans {
    font-size: 0.95em;
}

.finery-home .hero-slide.active .hero-slide-img,
.finery-home .hero-fullpage .hero-slide.active .hero-slide-img {
    animation: none;
    transform: none;
}

.finery-cta,
.finery-home .hero-cta.finery-cta {
    display: inline-block;
    background: #fff;
    color: #111 !important;
    border: none;
    border-radius: 0;
    padding: 12px 28px;
    font-family: var(--fn-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-decoration: none !important;
    animation: none;
    box-shadow: none;
}

.finery-cta:hover,
.finery-home .hero-cta.finery-cta:hover {
    background: #111;
    color: #fff !important;
}

.finery-home .hero-scroll,
.finery-home .hero-progress { display: none; }

.finery-home .hero-nav {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 1.8rem;
    opacity: 0.85;
}

.finery-home .hero-nav:hover { background: transparent; opacity: 1; }

.finery-home .hero-dots,
.finery-home .hero-fullpage .hero-dots {
    left: 50%;
    right: auto;
    bottom: 22px;
    transform: translateX(-50%);
    flex-direction: row;
    gap: 8px;
}

.finery-home .hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid #fff;
    opacity: 0.7;
}

.finery-home .hero-dot.active,
.page-home.finery-home .hero-dot.active,
.finery-home .hero-dot:hover {
    background: #fff;
    border-color: #fff;
}

/* Tagline under banner */
.finery-tagline {
    background: var(--fn-red-deep);
    color: #fff;
    text-align: center;
    padding: 18px 24px;
}

.finery-tagline p {
    font-family: var(--fn-serif);
    font-size: clamp(1.15rem, 2.2vw, 1.65rem);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin: 0;
}

.finery-home .trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--fn-border);
    padding: 28px 24px;
    gap: 48px;
}

.finery-home .trust-item strong {
    font-family: var(--fn-display-sans);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #111;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.finery-home .trust-item span {
    font-family: var(--fn-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.7rem;
}

/* Homepage type */
.finery-home .section-title {
    font-family: var(--fn-serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: 0;
}

.finery-home .section-title::before { display: none; }

.finery-home .section-sub {
    font-family: var(--fn-sans);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.finery-home .see-all {
    font-family: var(--fn-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
}

.finery-home .cta-banner {
    background: #111;
    border-radius: 0;
    color: #fff;
}

.finery-home .cta-banner h3 {
    font-family: var(--fn-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 1.8rem;
}

.finery-home .cta-banner .btn-buy-lg {
    background: #fff;
    color: #111;
    border-radius: 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 500;
}

/* Footer type */
.site-footer {
    background: #fff;
    border-top: 1px solid var(--fn-border);
}

.footer-grid h4 {
    font-family: var(--fn-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: none;
    -webkit-text-fill-color: #111;
    color: #111;
}

.footer-grid a:hover { color: #111; }

/* Mobile menu polish */
.mobile-menu-link {
    font-family: var(--fn-sans);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
}

.mobile-menu-hot { color: var(--fn-sale) !important; }

.mobile-quick-chip {
    background: #f4f4f4;
    color: #111;
    border-radius: 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}

.mobile-quick-hot { background: #111; color: #fff; }

.btn-buy, .btn-buy-lg {
    border-radius: 0;
}

@media (max-width: 1100px) {
    .finery-header .header-top.header-bar { padding: 10px 20px; gap: 12px; }
    .finery-header .nav-trigger,
    .finery-header .nav-link-direct { padding: 16px 10px; font-size: 12px; }
    .finery-header .logo-img { height: 72px; max-width: 340px; }
    .mega-menu-inner { padding: 24px 20px 32px; gap: 28px; }
}

@media (max-width: 900px) {
    :root { --header-height: 110px; }

    .finery-header .header-top.header-bar {
        display: grid;
        grid-template-columns: 40px 1fr 40px;
        padding: 10px 12px;
        gap: 8px;
        min-height: 72px;
    }

    .finery-header .mobile-menu-btn {
        grid-column: 1;
        color: #111;
    }

    .finery-header .logo {
        grid-column: 2;
        justify-self: center;
        margin-right: 0;
    }

    .finery-header .logo-img {
        height: 56px;
        max-width: 260px;
    }

    .mobile-menu-logo .logo-img {
        height: 64px;
        max-width: 300px;
    }

    .finery-header .header-actions {
        grid-column: 3;
        justify-self: end;
    }

    .finery-header .header-main-nav,
    .finery-header .finery-search,
    .finery-header .header-account,
    .finery-header .header-wishlist,
    .finery-header .btn-header-login { display: none !important; }

    .finery-caption h2,
    .finery-home .hero-fullpage .hero-caption h2 { font-size: 2.5rem; }
    .finery-home .hero-fullpage .hero-caption,
    .finery-home .hero-slide.active .hero-caption {
        top: 48%;
        bottom: auto;
        left: 20px;
        right: 20px;
        max-width: none;
        transform: translateY(-50%);
    }
    .page-home.finery-home .hero-carousel.hero-fullpage {
        height: clamp(380px, 70vw, 520px);
        min-height: 380px;
    }
    .finery-home .hero-fullpage .hero-dots {
        bottom: 16px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}
