/* =====================================================
   Fragrances4All — custom styles on top of Bootstrap 5
   Palette: near-black ink, warm cream, gold accent
   Type: Playfair Display (serif display) + Inter (sans)
   ===================================================== */

:root {
    --ink: #141311;
    --ink-soft: #3c3a36;
    --cream: #f7f3ec;
    --cream-deep: #efe8db;
    --gold: #c9a24b;
    --gold-dark: #ad8836;
    --line: #e5dfd3;
    --radius: 10px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: #fffdf9;
    font-weight: 400;
}

h1, h2, h3, h4, h5, .font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

a { color: var(--ink); }
a:hover { color: var(--gold-dark); }

/* ---------- Buttons ---------- */
.btn { border-radius: 6px; font-weight: 500; letter-spacing: .02em; }

.btn-gold {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #fff;
}
.btn-gold:hover, .btn-gold:focus {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #fff;
}

.btn-dark { background: var(--ink); border-color: var(--ink); }
.btn-dark:hover { background: #000; }

/* ---------- Announcement bar ---------- */
.announcement-bar {
    background: var(--ink);
    color: var(--cream);
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .45rem 1rem;
}

/* ---------- Navbar ---------- */
.site-nav {
    background: #fffdf9;
    border-bottom: 1px solid var(--line);
    padding-top: .8rem;
    padding-bottom: .8rem;
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: .02em;
}
.navbar-brand span { color: var(--gold); }
.site-nav .nav-link {
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin: 0 .35rem;
}
.site-nav .nav-link.active { color: var(--gold-dark); }

.nav-search {
    position: relative;
    min-width: 230px;
}
.nav-search .form-control {
    border-radius: 50px;
    border-color: var(--line);
    background: var(--cream);
    padding-right: 2.6rem;
    font-size: .88rem;
}
.nav-search button {
    position: absolute;
    right: 4px; top: 4px; bottom: 4px;
    width: 34px;
    border: 0;
    border-radius: 50px;
    background: var(--ink);
    color: #fff;
}

.icon-btn {
    border: 0;
    background: transparent;
    font-size: 1.25rem;
    color: var(--ink);
    padding: .35rem .55rem;
}
.icon-btn:hover { color: var(--gold-dark); }
.icon-badge {
    position: absolute;
    top: 0; right: 0;
    background: var(--gold);
    color: #fff;
    font-size: .62rem;
    font-weight: 600;
    min-width: 17px; height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Hero ---------- */
.hero-slide {
    min-height: 520px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}
/* Editorial fragrance photography (Unsplash CDN) with a dark
   left-to-right gradient so the headline stays legible. */
.hero-slide {
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
.hero-slide-1 {
    background-image:
        linear-gradient(100deg, rgba(14,12,9,.94) 0%, rgba(14,12,9,.78) 36%, rgba(14,12,9,.30) 70%, rgba(14,12,9,.15) 100%),
        url('https://images.unsplash.com/photo-1615634260167-c8cdede054de?w=1600&q=80&auto=format&fit=crop');
}
.hero-slide-2 {
    background-image:
        linear-gradient(100deg, rgba(8,11,16,.94) 0%, rgba(8,11,16,.78) 36%, rgba(8,11,16,.32) 72%, rgba(8,11,16,.18) 100%),
        url('https://images.unsplash.com/photo-1523293182086-7651a899d37f?w=1600&q=80&auto=format&fit=crop');
}
.hero-slide-3 {
    background-image:
        linear-gradient(100deg, rgba(16,9,9,.94) 0%, rgba(16,9,9,.76) 36%, rgba(16,9,9,.30) 72%, rgba(16,9,9,.15) 100%),
        url('https://images.unsplash.com/photo-1594035910387-fea47794261f?w=1600&q=80&auto=format&fit=crop');
}

.hero-slide .container { padding-top: 96px; padding-bottom: 96px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-cta .btn-outline-light {
    border-radius: 8px;
    border-width: 1px;
    font-weight: 500;
}
.hero-content { max-width: 620px; color: #fff; }
.hero-eyebrow {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .8rem;
    margin-bottom: 1rem;
}
.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1.1rem;
}
.hero-sub { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 1.8rem; }

/* ---------- Features strip ---------- */
.features-strip {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 2.4rem 0;
}
.features-strip i { font-size: 1.7rem; color: var(--gold-dark); }
.features-strip h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: .88rem;
    margin: .65rem 0 .15rem;
}
.features-strip p { font-size: .8rem; color: var(--ink-soft); margin: 0; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 2rem;
}
.section-head h2 { font-size: 1.9rem; font-weight: 600; margin: 0; }
.section-link {
    font-size: .85rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
}

.section-dark { background: var(--ink); }
.section-dark .section-head h2 { color: var(--cream); }

/* ---------- Product card ---------- */
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 14px 34px rgba(20, 19, 17, .1);
    transform: translateY(-3px);
}
.product-card-media {
    position: relative;
    background: #fff;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card-media a {
    display: flex;
    width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}
.product-card-media img {
    max-width: 100%; max-height: 100%;
    object-fit: contain;
    transition: transform .35s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.05); }

.badge-tag {
    position: absolute;
    top: .7rem; left: .7rem;
    z-index: 2;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: .25rem .55rem;
    border-radius: 4px;
}
.badge-tester { background: var(--cream-deep); color: var(--ink-soft); border: 1px solid var(--line); }

.product-card-actions {
    position: absolute;
    top: .7rem; right: .7rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .25s ease, transform .25s ease;
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }

.action-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s ease;
}
.action-btn:hover { background: var(--ink); color: #fff; }
.action-btn-lg { width: 48px; height: 48px; font-size: 1.15rem; }
.wishlist-btn.active i::before { content: "\f415"; } /* bi-heart-fill */
.wishlist-btn.active { color: #c0392b; border-color: #c0392b; }

.product-card-body { padding: 1rem 1.1rem 1.15rem; flex-grow: 1; display: flex; flex-direction: column; }
.product-brand {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    text-decoration: none;
}
.product-name {
    display: block;
    font-weight: 500;
    font-size: .92rem;
    color: var(--ink);
    text-decoration: none;
    margin-top: .15rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.product-name:hover { color: var(--gold-dark); }
.product-meta { font-size: .74rem; color: #8d887d; margin-top: .15rem; }
.product-price { font-weight: 600; }

.btn-add {
    background: var(--cream);
    border: 1px solid var(--line);
    font-size: .78rem;
    font-weight: 600;
    padding: .35rem .7rem;
}
.btn-add:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Brand showcase ---------- */
.brand-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-decoration: none;
    color: #fff;
    transition: transform .25s ease;
}
.brand-card:hover { transform: translateY(-4px); color: var(--gold); }
.brand-card-1 { background: linear-gradient(160deg, #4a3a1e, #20180a); }
.brand-card-2 { background: linear-gradient(160deg, #2e3b4a, #11161d); }
.brand-card-3 { background: linear-gradient(160deg, #4a2e3c, #1c1016); }
.brand-card-4 { background: linear-gradient(160deg, #32422f, #101810); }
.brand-card-name { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 600; }
.brand-card-count { font-size: .78rem; opacity: .65; letter-spacing: .05em; }

/* ---------- Category banners ---------- */
.category-banner {
    display: flex;
    align-items: flex-end;
    min-height: 400px;
    border-radius: var(--radius);
    padding: 1.8rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
    background-size: cover;
    background-position: center;
}
.category-banner:hover { transform: translateY(-5px); box-shadow: 0 22px 50px rgba(20,19,17,.22); }
/* zoom the photo on hover via a pseudo-layer */
.category-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
}
.category-banner:hover::before { transform: scale(1.06); }
.category-men {
    background-image:
        linear-gradient(to top, rgba(8,9,11,.92) 0%, rgba(8,9,11,.45) 48%, rgba(8,9,11,.12) 100%),
        url('https://images.unsplash.com/photo-1610461888750-10bfc601b874?w=800&q=80&auto=format&fit=crop');
}
.category-women {
    background-image:
        linear-gradient(to top, rgba(18,8,12,.9) 0%, rgba(18,8,12,.42) 48%, rgba(18,8,12,.10) 100%),
        url('https://images.unsplash.com/photo-1592945403244-b3fbafd7f539?w=800&q=80&auto=format&fit=crop');
}
.category-unisex {
    background-image:
        linear-gradient(to top, rgba(12,12,9,.9) 0%, rgba(12,12,9,.42) 48%, rgba(12,12,9,.10) 100%),
        url('https://images.unsplash.com/photo-1585386959984-a4155224a1ad?w=800&q=80&auto=format&fit=crop');
}
.category-banner-label { position: relative; z-index: 1; }
.category-banner-tag {
    display: block;
    color: rgba(255,255,255,.72);
    font-size: .76rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}
.category-banner-label h3 {
    color: #fff;
    font-weight: 600;
    font-size: 1.7rem;
    margin-bottom: .35rem;
}
.category-banner-cta {
    color: var(--gold);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
}
.category-banner-cta i { transition: transform .25s ease; }
.category-banner:hover .category-banner-cta i { transform: translateX(4px); }

/* ---------- Page banner / breadcrumbs ---------- */
.page-banner {
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 2.2rem 0 1.8rem;
}
.page-banner h1 { font-size: 2rem; font-weight: 600; margin: 0; }
.breadcrumb { font-size: .78rem; margin-bottom: .5rem; }
.breadcrumb a { text-decoration: none; color: var(--ink-soft); }

/* ---------- Shop filters ---------- */
.shop-filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.4rem;
    position: sticky;
    top: 90px;
}
.filter-block { margin-bottom: 1.4rem; }
.filter-block h6 {
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .7rem;
}
.filter-block .form-check { margin-bottom: .3rem; }
.filter-block .form-check-label { font-size: .87rem; }
.filter-block .form-check-label small { color: #a39d90; }
.form-check-input:checked { background-color: var(--gold); border-color: var(--gold); }

.brand-list { max-height: 230px; overflow-y: auto; padding-right: .3rem; }

.results-count { font-size: .88rem; color: var(--ink-soft); }

.pagination .page-link {
    color: var(--ink);
    border-color: var(--line);
}
.pagination .page-item.active .page-link {
    background: var(--ink);
    border-color: var(--ink);
}

/* ---------- Product page ---------- */
.product-gallery {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.product-gallery img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: .6rem; }
.gallery-thumbs .thumb {
    width: 72px; height: 72px;
    object-fit: contain;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .4rem;
    background: #fff;
    cursor: pointer;
}
.gallery-thumbs .thumb.active { border-color: var(--gold); }

.product-title { font-size: 1.9rem; font-weight: 600; margin: .2rem 0 .4rem; }

.stock-pill {
    font-size: .78rem;
    font-weight: 600;
    padding: .3rem .7rem;
    border-radius: 50px;
}
.stock-pill.in  { background: #e8f4e9; color: #2e7d32; }
.stock-pill.out { background: #fdecea; color: #c0392b; }

.trust-strip span { font-size: .8rem; color: var(--ink-soft); }
.trust-strip i { color: var(--gold-dark); margin-right: .3rem; }

.variant-chip {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: .5rem .9rem;
    text-decoration: none;
    font-size: .8rem;
    background: #fff;
    transition: border-color .2s ease;
}
.variant-chip:hover { border-color: var(--gold); }
.variant-chip strong { color: var(--gold-dark); }

.product-accordion .accordion-button {
    font-weight: 600;
    font-size: .9rem;
    background: #fff;
    box-shadow: none;
}
.product-accordion .accordion-button:not(.collapsed) { color: var(--gold-dark); }
.spec-table th {
    width: 130px;
    font-weight: 600;
    font-size: .82rem;
    background: var(--cream);
}
.spec-table td { font-size: .87rem; }

/* ---------- Quantity control ---------- */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.qty-btn {
    border: 0;
    background: transparent;
    width: 30px; height: 32px;
    font-size: 1rem;
    color: var(--ink-soft);
}
.qty-btn:hover { background: var(--cream); }
.qty-control input {
    width: 42px;
    border: 0;
    text-align: center;
    font-size: .88rem;
    -moz-appearance: textfield;
}
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-lg .qty-btn { width: 38px; height: 46px; }
.qty-lg input { width: 52px; font-size: 1rem; }

/* ---------- Cart (offcanvas + page) ---------- */
.cart-offcanvas { width: 420px; max-width: 92vw; }
.cart-offcanvas .offcanvas-footer {
    padding: 1rem 1.5rem 1.4rem;
    border-top: 1px solid var(--line);
}
.cart-line {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    position: relative;
}
.cart-line-img img, .cart-row .cart-line-img img {
    width: 70px; height: 70px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .3rem;
}
.cart-line-name {
    font-size: .88rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink);
    display: block;
}
.cart-remove {
    border: 0;
    background: transparent;
    color: #b3aea2;
    font-size: .8rem;
    align-self: flex-start;
}
.cart-remove:hover { color: #c0392b; }
.cart-empty { color: var(--ink-soft); }

.cart-table { border-top: 1px solid var(--line); }
.cart-row { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.cart-row-total { min-width: 80px; text-align: right; }

.summary-card {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    position: sticky;
    top: 90px;
}

/* ---------- Quick view ---------- */
.quickview-img {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
}
.quickview-img img { max-height: 100%; object-fit: contain; }
.quickview-desc { font-size: .88rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: .8rem; font-size: .92rem; }
.contact-list i { color: var(--gold-dark); margin-right: .6rem; }
.contact-form .form-label { font-size: .82rem; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #b9b4a8;
    padding: 3.5rem 0 0;
    margin-top: 3rem;
    font-size: .88rem;
}
.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.footer-brand span { color: var(--gold); }
.footer-blurb { max-width: 320px; }
.site-footer h6 {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.site-footer ul a { color: #b9b4a8; text-decoration: none; }
.site-footer ul a:hover { color: var(--gold); }
.footer-contact i { color: var(--gold); margin-right: .5rem; }
.social-icons a {
    display: inline-flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border: 1px solid #3a382f;
    border-radius: 50%;
    color: #b9b4a8;
    margin-right: .5rem;
    text-decoration: none;
    transition: all .2s ease;
}
.social-icons a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-bottom {
    border-top: 1px solid #2b2922;
    margin-top: 2.5rem;
    padding: 1.2rem 0;
    gap: .6rem;
}
.payment-icons i { font-size: 1.3rem; margin-left: .8rem; color: #8d887d; }

/* ---------- Blog ---------- */
.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s ease, transform .25s ease;
}
.blog-card:hover { box-shadow: 0 14px 34px rgba(20,19,17,.1); transform: translateY(-3px); }
.blog-card-cover {
    display: flex;
    align-items: flex-end;
    min-height: 170px;
    padding: 1rem;
    text-decoration: none;
}
/* Gradient covers by category — never 404 */
.blog-cover-guides  { background: linear-gradient(135deg, #4a3a1e, #1c1408); }
.blog-cover-for-him { background: linear-gradient(135deg, #2e3b4a, #10161d); }
.blog-cover-for-her { background: linear-gradient(135deg, #4a2e3c, #1a0f15); }
.blog-cover-brands  { background: linear-gradient(135deg, #32422f, #101810); }
.blog-cover-new-in  { background: linear-gradient(135deg, #41355a, #161020); }
.blog-card-category {
    background: rgba(255,255,255,.14);
    color: #f3eee2;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.blog-card-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .45rem; }
.blog-card-meta { font-size: .74rem; color: #8d887d; letter-spacing: .04em; }
.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.35;
}
.blog-card-title:hover { color: var(--gold-dark); }
.blog-card-excerpt { font-size: .87rem; color: var(--ink-soft); margin: 0; }

.blog-content { font-size: 1.02rem; line-height: 1.75; color: #2c2a26; }
.blog-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 .8rem;
}
.blog-content h3 { font-size: 1.18rem; font-weight: 600; margin: 1.6rem 0 .5rem; }
.blog-content a { color: var(--gold-dark); }
.blog-content ul { padding-left: 1.2rem; }

/* ---------- Toasts ---------- */
.toast { border-radius: 8px; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 991.98px) {
    .nav-search { margin: .8rem 0 .4rem; width: 100%; }
    .shop-filters { position: static; margin-bottom: 1rem; }
    .hero-slide { min-height: 440px; }
}
@media (max-width: 575.98px) {
    .section { padding: 2.6rem 0; }
    .section-head h2 { font-size: 1.45rem; }
    .cart-row { flex-wrap: wrap; }
}

/* =====================================================
   v2 design refresh — modern polish layer
   (cascade overrides; loaded after the base rules)
   ===================================================== */

/* ---------- Buttons: gold gradient + lift ---------- */
.btn-gold {
    background: linear-gradient(135deg, #d9b35e 0%, #c9a24b 45%, #ad8836 100%);
    border: 0;
    padding-top: .55rem;
    padding-bottom: .55rem;
    box-shadow: 0 6px 18px rgba(201, 162, 75, .35);
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-gold:hover, .btn-gold:focus {
    background: linear-gradient(135deg, #c9a24b 0%, #ad8836 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(201, 162, 75, .45);
}
.btn-lg { border-radius: 8px; }

/* ---------- Navbar: glassy + animated underline ---------- */
.site-nav {
    background: rgba(255, 253, 249, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.site-nav .nav-link { position: relative; }
.site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .6rem; right: .6rem; bottom: .15rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.site-nav .nav-link:hover::after,
.site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(20,19,17,.12);
    padding: .5rem;
}
.site-nav .dropdown-item { border-radius: 8px; font-size: .9rem; padding: .5rem .8rem; }
.site-nav .dropdown-item:hover { background: var(--cream); color: var(--gold-dark); }

/* ---------- Hero: glow, texture, entrance ---------- */
.hero-slide { position: relative; overflow: hidden; }
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 85% 20%, rgba(201,162,75,.22), transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 90%, rgba(255,255,255,.05), transparent 60%);
    pointer-events: none;
}
.hero-slide::after {
    content: "";
    position: absolute;
    right: -120px; top: 50%;
    transform: translateY(-50%);
    width: 460px; height: 460px;
    border: 1px solid rgba(201,162,75,.25);
    border-radius: 50%;
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 em {
    font-style: italic;
    color: var(--gold);
}
.carousel-item.active .hero-content > * {
    animation: heroUp .7s ease both;
}
.carousel-item.active .hero-content > *:nth-child(2) { animation-delay: .12s; }
.carousel-item.active .hero-content > *:nth-child(3) { animation-delay: .24s; }
.carousel-item.active .hero-content > *:nth-child(4) { animation-delay: .36s; }
@keyframes heroUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero .carousel-indicators button {
    width: 26px; height: 3px;
    border-radius: 3px;
    background: rgba(255,255,255,.45);
    border: 0;
}
.hero .carousel-indicators .active { background: var(--gold); }

/* ---------- Section eyebrows ---------- */
.section-eyebrow {
    display: block;
    color: var(--gold-dark);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}
.section-dark .section-eyebrow { color: var(--gold); }

/* ---------- Cards: softer, rounder, calmer ---------- */
.product-card { border-radius: 16px; }
.product-card:hover { box-shadow: 0 18px 44px rgba(20,19,17,.12); transform: translateY(-5px); }
.btn-add { border-radius: 50px; padding: .35rem .85rem; }
.badge-tag { border-radius: 50px; }
.brand-card, .category-banner { border-radius: 16px; position: relative; overflow: hidden; }
.brand-card::after, .category-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 80% 0%, rgba(201,162,75,.18), transparent 65%);
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
.brand-card:hover::after, .category-banner:hover::after { opacity: 1; }

/* ---------- Scroll-reveal (added by JS; no-JS safe) ---------- */
body.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
body.js .reveal.in-view { opacity: 1; transform: none; }

/* ---------- Newsletter band ---------- */
.newsletter-band {
    background: var(--ink);
    color: #cfcabd;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}
.newsletter-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 90% at 50% 0%, rgba(201,162,75,.14), transparent 70%);
}
.newsletter-band h2 { color: var(--cream); font-size: 1.9rem; font-weight: 600; }
.newsletter-band p { max-width: 460px; margin: .6rem auto 1.5rem; font-size: .92rem; }
.newsletter-band .container { position: relative; }
.newsletter-form {
    display: flex;
    gap: .5rem;
    max-width: 440px;
}
.newsletter-form .form-control {
    border-radius: 50px;
    border: 1px solid #3a382f;
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: .65rem 1.2rem;
}
.newsletter-form .form-control::placeholder { color: #8d887d; }
.newsletter-form .btn { border-radius: 50px; padding-left: 1.4rem; padding-right: 1.4rem; }

/* ---------- Brands A–Z page ---------- */
.letter-index { display: flex; flex-wrap: wrap; gap: .35rem; }
.letter-index a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s ease;
}
.letter-index a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.brand-letter-group { margin-bottom: 2.2rem; scroll-margin-top: 110px; }
.brand-letter {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--gold-dark);
    border-bottom: 1px solid var(--line);
    margin-bottom: 1rem;
    padding-bottom: .3rem;
}
.brand-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .65rem .9rem;
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    transition: all .2s ease;
}
.brand-link:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20,19,17,.07); }
.brand-link-count {
    background: var(--cream);
    color: var(--ink-soft);
    font-size: .7rem;
    font-weight: 600;
    padding: .15rem .5rem;
    border-radius: 50px;
}

/* ---------- Policy / About pages ---------- */
.policy-content { font-size: .98rem; line-height: 1.8; color: #2c2a26; }
.policy-content .lead-text { font-size: 1.15rem; line-height: 1.7; color: var(--ink); }
.policy-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.2rem 0 .8rem;
}
.policy-content h3 { font-size: 1.1rem; font-weight: 600; margin: 1.6rem 0 .5rem; font-family: 'Inter', sans-serif; }
.policy-content a { color: var(--gold-dark); }
.policy-content ul, .policy-content ol { padding-left: 1.3rem; }
.policy-content li { margin-bottom: .45rem; }
.about-stats .stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--gold-dark);
}
.about-stats .stat-cap {
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ---------- FAQ accordion ---------- */
.faq-section { background: var(--cream); }
.faq-accordion .accordion-item {
    border: 1px solid var(--line);
    border-radius: 12px !important;
    margin-bottom: .7rem;
    overflow: hidden;
    background: #fff;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    background: #fff;
    box-shadow: none;
    padding: 1.1rem 1.2rem;
}
.faq-accordion .accordion-button:not(.collapsed) { color: var(--gold-dark); background: #fff; }
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--line); }
.faq-accordion .accordion-body { color: var(--ink-soft); line-height: 1.7; padding-top: 0; }

/* ---------- Page banner refresh ---------- */
.page-banner {
    background:
        radial-gradient(ellipse 50% 100% at 90% 0%, rgba(201,162,75,.12), transparent 60%),
        var(--cream);
}
.page-banner h1 { font-size: 2.3rem; }

/* =====================================================
   v3 — real product photography in banners
   ===================================================== */

/* ---------- Hero: floating product tiles ---------- */
.hero-products {
    position: relative;
    height: 400px;
}
.hero-products::before {
    /* gold halo behind the tiles */
    content: "";
    position: absolute;
    width: 360px; height: 360px;
    right: 20px; top: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,75,.28), transparent 65%);
}
.hero-tile {
    position: absolute;
    background: #fffdf9;
    border-radius: 24px;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
    transition: transform .35s ease;
}
.hero-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.hero-tile-main {
    width: 290px; height: 330px;
    right: 90px; top: 8px;
    animation: floatY 6s ease-in-out infinite;
    z-index: 1;
}
.hero-tile-small {
    width: 165px; height: 185px;
    right: 0; bottom: 6px;
    rotate: 7deg;
    animation: floatY 7.5s ease-in-out 1.2s infinite;
}
.hero-tile:hover { transform: scale(1.04); }
@keyframes floatY {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -14px; }
}

/* ---------- Category banners: photo collage ---------- */
.category-banner { min-height: 340px; }
.category-banner-imgs {
    position: absolute;
    top: 1.4rem; right: 1.2rem;
    display: flex;
    z-index: 1;
}
.cat-tile {
    width: 112px; height: 132px;
    background: #fffdf9;
    border-radius: 16px;
    padding: .55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .35);
    transition: transform .3s ease;
}
.cat-tile img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-tile:first-child {
    transform: rotate(-7deg) translate(16px, 12px);
    z-index: 1;
}
.cat-tile:last-child { transform: rotate(6deg); }
.category-banner:hover .cat-tile:first-child { transform: rotate(-3deg) translate(12px, 8px) scale(1.04); }
.category-banner:hover .cat-tile:last-child  { transform: rotate(2deg) scale(1.04); }

/* ---------- Brand cards: bestseller photo medallion ---------- */
.brand-card { min-height: 220px; padding-right: 1.2rem; }
.brand-card-img {
    position: absolute;
    top: 1.1rem; right: 1.1rem;
    width: 92px; height: 92px;
    background: #fffdf9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .7rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
    transform: rotate(8deg);
    transition: transform .3s ease;
    z-index: 1;
}
.brand-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 50%; }
.brand-card:hover .brand-card-img { transform: rotate(0deg) scale(1.07); }

/* ---------- The Fragrances4All Promise (editorial split band) ---------- */
.promise-band { padding: 0; }
.promise-band .row {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(20,19,17,.12);
    margin: 1rem 0 3rem;
}
.promise-photo {
    min-height: 420px;
    background:
        linear-gradient(120deg, rgba(20,19,17,.12), rgba(20,19,17,0)),
        url('https://images.unsplash.com/photo-1588405748880-12d1d2a59f75?w=1000&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}
.promise-copy {
    background: var(--cream);
    padding: 3rem 3.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.promise-copy h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.promise-copy h2 em { font-style: italic; color: var(--gold-dark); }
.promise-copy > p { color: var(--ink-soft); font-size: 1rem; line-height: 1.7; }
.promise-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .8rem 1.2rem;
    margin-top: 1.4rem;
}
.promise-points div { display: flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 500; }
.promise-points i {
    color: var(--gold-dark);
    font-size: 1.15rem;
    flex-shrink: 0;
}
.promise-copy .btn { align-self: flex-start; }

@media (max-width: 991.98px) {
    .promise-photo { min-height: 300px; }
    .promise-copy { padding: 2.2rem 1.8rem; }
}
@media (max-width: 575.98px) {
    .promise-points { grid-template-columns: 1fr; }
    .category-banner { min-height: 340px; }
}

/* =====================================================
   Responsive hardening (mobile & tablet)
   Audited at 320 / 768 px with Chrome DevTools — the only
   real overflow was .row.g-5 (3rem gutter) on narrow screens.
   ===================================================== */

/* Safety net: never allow a stray element to scroll the page sideways.
   `clip` (not hidden) so position:sticky keeps working. */
html, body { overflow-x: clip; }
img, svg, video, iframe { max-width: 100%; }

/* Fix: large 3rem gutters overflow the full-width container below sm.
   Vertical spacing for stacked columns is preserved. */
@media (max-width: 575.98px) {
    .row.g-5 { --bs-gutter-x: 1.5rem; }
}

/* ---- Tablet & below (navbar already collapses < 992) ---- */
@media (max-width: 991.98px) {
    .hero-slide .container { padding-top: 70px; padding-bottom: 70px; }
    .page-banner h1 { font-size: 2rem; }
    .product-title { font-size: 1.65rem; }
    .promise-copy h2 { font-size: 1.7rem; }
}

/* ---- Large phones / small tablets ---- */
@media (max-width: 767.98px) {
    .section-head { flex-wrap: wrap; gap: .3rem .8rem; }
    /* Cart page rows reflow: image + details on top, controls beneath */
    .cart-row { flex-wrap: wrap; row-gap: .75rem; }
    .cart-row .cart-row-total { margin-left: auto; }
}

/* ---- Phones ---- */
@media (max-width: 575.98px) {
    .hero-slide { min-height: 380px; }
    .hero-content h1 { font-size: 1.85rem; }
    .hero-sub { font-size: .95rem; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }

    .page-banner h1 { font-size: 1.55rem; }
    .section-head h2 { font-size: 1.4rem; }

    /* Newsletter input + button stack */
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
    .newsletter-band h2 { font-size: 1.5rem; }

    /* Brand showcase cards: smaller photo medallion so text breathes */
    .brand-card { min-height: 168px; padding: 1.1rem; }
    .brand-card-img { width: 60px; height: 60px; top: .8rem; right: .8rem; }
    .brand-card-name { font-size: 1.1rem; }

    .category-banner { min-height: 300px; }
    .category-banner-label h3 { font-size: 1.45rem; }

    .promise-copy { padding: 1.8rem 1.4rem; }
    .promise-copy h2 { font-size: 1.5rem; }

    /* Product page */
    .product-title { font-size: 1.45rem; }
    .summary-card { position: static; }
    .faq-accordion .accordion-button { font-size: .92rem; padding: .9rem 1rem; }
    .spec-table th { width: 96px; font-size: .78rem; }
}
