/* ═══════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════ */
:root {
    --pink: #E8006F;
    --pink-deep: #C4005E;
    --pink-soft: #FFF0F6;
    --pink-blush: #FFD6E8;
    --pink-nude: #F5E6EE;
    --black: #0A0A0A;
    --dark: #1A1A1A;
    --mid: #3A3A3A;
    --muted: #888888;
    --border: #E8E8E8;
    --white: #FFFFFF;
    --gold: #C9A84C;
    --green: #2A9D55;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

button,
a {
    font-family: inherit;
}

/* ═══════════════════════════════════════
   ANNOUNCEMENT BAR
═══════════════════════════════════════ */
.announce {
    background: var(--black);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 11.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
}

.announce em {
    color: var(--pink);
    font-style: normal;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
header {
    position: sticky;
    top: 0;
    z-index: 1850; /* above cart overlay (1800) so header buttons are never covered */
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    height: 72px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border);
    padding: 8px 16px;
    width: 220px;
    background: var(--white);
    margin: 0;
}

.header-search input {
    border: none;
    outline: none;
    font-size: 12px;
    color: var(--mid);
    width: 100%;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
}

.header-search svg {
    opacity: 0.35;
    flex-shrink: 0;
}

/* Mobile search toggle button — hidden on desktop, shown on tablet/mobile */
.mobile-search-btn {
    display: none;
}

/* Slide-down search bar */
.mobile-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.mobile-search-bar.open {
    max-height: 60px;
}

.mobile-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
}

.mobile-search-form input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    background: transparent;
}

.mobile-search-form svg {
    opacity: 0.35;
    flex-shrink: 0;
}

.mobile-search-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--mid);
    line-height: 1;
    padding: 0 4px;
    flex-shrink: 0;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--black);
    padding: 6px;
    transition: color .2s;
    position: relative;
    display: flex;
    align-items: center;
    touch-action: manipulation; /* eliminates iOS 300ms tap delay — prevents ghost click landing on overlay */
}

.icon-btn:hover {
    color: var(--pink);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--pink);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
}

.cart-badge:empty {
    display: none;
}

/* ═══════════════════════════════════════
   CATEGORY NAV
═══════════════════════════════════════ */
.cat-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
    display: none;
}

.cat-nav a {
    display: block;
    padding: 13px 18px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--mid);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
}

.cat-nav a:hover,
.cat-nav a.active {
    color: var(--pink);
    border-bottom-color: var(--pink);
}

.cat-nav a.sale-tab {
    color: var(--pink);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
    position: relative;
    width: 100%;
    height: 92vh;
    min-height: 580px;
    background: var(--black);
    display: flex;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(130deg, #080808 0%, #18000d 45%, #2d0020 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 0, 111, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 0, 111, .04) 1px, transparent 1px);
    background-size: 58px 58px;
}

.hero-photo-col {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
}

.hero-photo-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    background: linear-gradient(90deg, #080808, transparent);
    z-index: 2;
}

.hero-photo-placeholder {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(160deg, #1a0010 0%, #3d0030 40%, rgba(232, 0, 111, .15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-photo-placeholder img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    filter: contrast(1.05) saturate(.92);
}

.hero-photo-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(8, 0, 8, .35) 0%, transparent 35%, rgba(232, 0, 111, .18) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 80px;
    width: 52%;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 600;
    margin-bottom: 22px;
    font-family: 'DM Sans', sans-serif;
}

.hero-h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(50px, 5.5vw, 84px);
    font-weight: 300;
    color: #fff;
    line-height: 1.0;
    letter-spacing: -1px;
    margin-bottom: 26px;
}

.hero-h1 em {
    font-style: italic;
    color: var(--pink);
}

.hero-h1 strong {
    font-weight: 600;
    display: block;
}

.hero-sub {
    font-size: 14.5px;
    color: rgba(255, 255, 255, .5);
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 42px;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 14px;
}

.btn-primary {
    background: var(--pink);
    color: #fff;
    border: none;
    padding: 15px 38px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
    background: var(--pink-deep);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 15px 38px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
}

.btn-ghost:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    left: 80px;
    z-index: 3;
    display: flex;
    gap: 48px;
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 600;
    color: #fff;
    line-height: 1;
}

.stat-lbl {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
    margin-top: 5px;
    font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════
   MARQUEE
═══════════════════════════════════════ */
.marquee-wrap {
    background: var(--pink);
    padding: 13px 0;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-inner span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    padding: 0 36px;
    font-family: 'DM Sans', sans-serif;
}

.marquee-inner span::after {
    content: '✦';
    padding-left: 36px;
    opacity: .55;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ═══════════════════════════════════════
   PROMISE STRIP
═══════════════════════════════════════ */
.promise-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-top: 1px solid var(--border);
}

.promise-item {
    background: var(--white);
    padding: 30px 24px;
    text-align: center;
}

.promise-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    align-self: center;
    justify-self: center;
    justify-content: center;
    background: rgba(232, 0, 111, .08);
    border-radius: 50%;
    color: var(--pink);
    flex-shrink: 0;
    margin-left: auto;
    margin-right: auto;
}

.promise-title {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 7px;
    font-family: 'DM Sans', sans-serif;
}

.promise-text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.65;
}

/* ═══════════════════════════════════════
   SECTION HEADINGS
═══════════════════════════════════════ */
.sec-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.sec-tag {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
}

.sec-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
    letter-spacing: -.3px;
}

.sec-title em {
    font-style: italic;
    color: var(--pink);
}

.sec-link {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--black);
    padding-bottom: 2px;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: color .2s, border-color .2s;
}

.sec-link:hover {
    color: var(--pink);
    border-color: var(--pink);
}

/* ═══════════════════════════════════════
   CATEGORIES GRID
═══════════════════════════════════════ */
.categories-sec {
    padding: 80px 60px;
    background: var(--white);
}

.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
}

.cat-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.cat-card:nth-child(1) .cat-bg {
    background-image: url('https://images.unsplash.com/photo-1595959183082-7b570b7e08e2?w=600&auto=format&fit=crop&q=80');
    background-color: #1a0010;
}

.cat-card:nth-child(2) .cat-bg {
    background-image: url('https://images.unsplash.com/photo-1531123897727-8f129e1688ce?w=600&auto=format&fit=crop&q=80');
    background-color: #0d0d0d;
}

.cat-card:nth-child(3) .cat-bg {
    background-image: url('https://images.unsplash.com/photo-1605497788044-5a32c7078486?w=600&auto=format&fit=crop&q=80');
    background-color: #1a0010;
}

.cat-card:nth-child(4) .cat-bg {
    background-image: url('https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?w=600&auto=format&fit=crop&q=80');
    background-color: #2d1520;
}

.cat-card:nth-child(5) .cat-bg {
    background-image: url('https://images.unsplash.com/photo-1531746020798-e6953c6e8e04?w=600&auto=format&fit=crop&q=80');
    background-color: #0a0a0a;
}

.cat-bg {
    position: absolute;
    inset: 0;
    transition: transform .6s ease;
    background-size: cover;
    background-position: center;
}

.cat-card:hover .cat-bg {
    transform: scale(1.05);
}

.cat-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .25) 45%, rgba(0, 0, 0, .05) 100%);
    transition: background .3s;
}

.cat-card:hover .cat-overlay {
    background: linear-gradient(to top, rgba(232, 0, 111, .75) 0%, rgba(0, 0, 0, .3) 55%, rgba(0, 0, 0, .1) 100%);
}

.cat-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68%;
    height: 75%;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 18px;
    z-index: 3;
}

.cat-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 5px;
}

.cat-count {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════
   FILTER TABS
═══════════════════════════════════════ */
.filter-row {
    display: flex;
    gap: 0;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 11px 22px;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
    font-family: 'DM Sans', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    color: var(--pink);
    border-bottom-color: var(--pink);
}

/* ═══════════════════════════════════════
   PRODUCTS GRID
═══════════════════════════════════════ */
.products-sec {
    padding: 70px 60px;
    background: var(--pink-soft);
}

.bestsellers-sec {
    padding: 70px 60px;
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* Infinite-scroll sentinel: appended after the current page, fetches the next
   page when scrolled into view (hx-trigger="revealed"). */
.grid-sentinel {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #999;
}

.grid-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: grid-spin 0.7s linear infinite;
}

@keyframes grid-spin {
    to { transform: rotate(360deg); }
}

/* ─── PRODUCT CARD ─── */
.product-card {
    background: var(--white);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(232, 0, 111, .12);
    border-color: transparent;
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.prod-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform .6s ease, filter .3s ease;
}

.product-card:hover .prod-img {
    transform: scale(1.05);
}

.prod-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prod-placeholder svg {
    opacity: .12;
}

.prod-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 4px 11px;
    font-size: 9px;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.badge-new {
    background: var(--black);
    color: #fff;
}

.badge-sale {
    background: var(--pink);
    color: #fff;
}

.badge-hot {
    background: var(--gold);
    color: #fff;
}

.quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 4;
    background: var(--black);
    color: #fff;
    text-align: center;
    padding: 13px;
    font-size: 10.5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    transform: translateY(100%);
    transition: transform .3s ease;
}

.product-card:hover .quick-view {
    transform: translateY(0);
}

.quick-view:hover {
    background: var(--pink) !important;
}

.wish-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    background: rgba(255, 255, 255, .92);
    border: none;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--mid);
    opacity: 0;
    transition: all .2s;
}

.product-card:hover .wish-btn {
    opacity: 1;
}

.wish-btn:hover {
    background: var(--pink);
    color: #fff;
}

.wish-btn.wished {
    opacity: 1;
    background: var(--pink);
    color: #fff;
}

.btn-wish-modal.wished {
    border-color: var(--pink);
    color: var(--pink);
}

.product-info {
    padding: 18px 16px 20px;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 17.5px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 5px;
    line-height: 1.2;
}

.product-sub {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .4px;
    margin-bottom: 9px;
    font-family: 'DM Sans', sans-serif;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 9px;
}

.price {
    font-size: 16px;
    font-weight: 700;
    color: var(--black);
}

.price-from {
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    letter-spacing: 0.5px;
}

.price-orig {
    font-size: 13.5px;
    color: var(--muted);
    text-decoration: line-through;
}

.price-save {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.color-swatches {
    display: flex;
    gap: 5px;
    margin-top: 9px;
}

.swatch {
    width: 14px;
    height: 14px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .15s;
}

.swatch:hover,
.swatch.active {
    border-color: var(--black);
    transform: scale(1.2);
}

/* ═══════════════════════════════════════
   FEATURED BANNER
═══════════════════════════════════════ */
.featured-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.banner-panel {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 480px;
}

.banner-bg {
    position: absolute;
    inset: 0;
    transition: transform .6s ease;
    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

.banner-panel:hover .banner-bg {
    transform: scale(1.04);
}

.banner-panel:nth-child(1) .banner-bg {
    background:
        linear-gradient(130deg, rgba(8, 0, 8, .55), rgba(45, 0, 32, .25)),
        url('/static/img/SignatureCollection.jpeg') center 20%/cover no-repeat #1a0010;
}

.banner-panel:nth-child(2) .banner-bg {
    background:
        linear-gradient(130deg, rgba(255, 214, 232, .55), rgba(255, 240, 246, .35)),
        url('/static/img/GluelessPerfection.jpeg') center 20%/cover no-repeat #FFF0F6;
}

.banner-ovl {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to right, rgba(0, 0, 0, .48) 0%, transparent 70%);
}

.banner-panel:nth-child(2) .banner-ovl {
    background: linear-gradient(to left, rgba(0, 0, 0, .08) 0%, transparent 70%);
}

.banner-content {
    position: absolute;
    bottom: 44px;
    left: 44px;
    z-index: 3;
}

.banner-tag {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    padding: 5px 13px;
    display: inline-block;
    margin-bottom: 14px;
}

.banner-panel:nth-child(1) .banner-tag {
    background: var(--pink);
    color: #fff;
}

.banner-panel:nth-child(2) .banner-tag {
    background: var(--black);
    color: #fff;
}

.banner-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.4px;
    margin-bottom: 18px;
}

.banner-panel:nth-child(1) .banner-title {
    color: #fff;
}

.banner-panel:nth-child(2) .banner-title {
    color: var(--black);
}

.banner-cta {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: gap .2s;
}

.banner-cta:hover {
    gap: 14px;
}

.banner-panel:nth-child(1) .banner-cta {
    color: #fff;
}

.banner-panel:nth-child(2) .banner-cta {
    color: var(--black);
}

/* ═══════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════ */
.testimonials-sec {
    padding: 80px 60px;
    background: var(--black);
}

.testimonials-sec .sec-title {
    color: #fff;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    margin-top: 44px;
}

@media (max-width: 1024px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-sec {
        padding: 56px 24px;
    }
}

.review-card {
    background: #151515;
    padding: 34px 30px;
}

.review-stars {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
}

.review-body {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18.5px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255, 255, 255, .82);
    line-height: 1.65;
    margin-bottom: 22px;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    row-gap: 10px;
}

.reviewer>div:nth-child(2) {
    min-width: 0;
    flex: 1 1 auto;
}

.reviewer-check {
    margin-left: auto;
    white-space: nowrap;
}

@media (max-width: 480px) {
    .reviewer-check {
        margin-left: 52px;
    }

    .review-card {
        padding: 28px 22px;
    }

    .review-body {
        font-size: 16px;
    }
}

.reviewer-av {
    width: 40px;
    height: 40px;
    background: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.reviewer-av img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-name {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
}

.reviewer-loc {
    font-size: 10px;
    color: rgba(255, 255, 255, .3);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

.reviewer-check {
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pink);
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer {
    background: var(--black);
    color: #fff;
    padding: 68px 60px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 56px;
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid #202020;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 16px;
}

.footer-logo em {
    color: var(--pink);
    font-style: normal;
}

.footer-desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .38);
    line-height: 1.82;
    margin-bottom: 26px;
    max-width: 270px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    color: rgba(255, 255, 255, .4);
    transition: all .2s;
    background: none;
    text-decoration: none;
}

.social-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.footer-col-head {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'DM Sans', sans-serif;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .38);
    text-decoration: none;
    transition: color .2s;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--pink);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10.5px;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .4px;
}

.footer-bottom-links {
    display: flex;
    gap: 22px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, .3);
    text-decoration: none;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: var(--pink);
}

/* ═══════════════════════════════════════
   CART SIDEBAR
═══════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 2050;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    cursor: pointer; /* iOS Safari: tap events only fire on elements with cursor:pointer */
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: all;
}

@keyframes cart-slide-in {
    from { transform: translateX(100%); }
    to   { transform: translateX(0); }
}
@keyframes cart-slide-out {
    from { transform: translateX(0); }
    to   { transform: translateX(100%); }
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 420px;
    background: var(--white);
    z-index: 2100;
    display: flex;
    flex-direction: column;
    animation: cart-slide-in .4s cubic-bezier(.4, 0, .2, 1) both;
}

.cart-sidebar.closing {
    animation: cart-slide-out .4s cubic-bezier(.4, 0, .2, 1) both;
}

.cart-hd {
    padding: 26px 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-hd-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: .5px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--mid);
    transition: color .2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: var(--pink);
}

.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 18px 30px;
}

.cart-empty {
    text-align: center;
    padding: 56px 0;
    color: var(--muted);
}

.cart-empty-icon {
    font-size: 44px;
    opacity: .28;
    margin-bottom: 14px;
}

.cart-item-row {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid #f2f2f2;
    align-items: flex-start;
}

.cart-img {
    width: 76px;
    height: 92px;
    background: var(--pink-nude);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 22px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.cart-item-variant {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: .4px;
    margin-bottom: 10px;
    font-family: 'DM Sans', sans-serif;
}

.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-ctrl {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
}

.qty-b {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    color: var(--mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.qty-b:hover {
    background: var(--pink-soft);
    color: var(--pink);
}

.qty-n {
    width: 34px;
    height: 28px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-price {
    font-size: 15px;
    font-weight: 700;
}

.cart-rm-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    font-size: 15px;
    padding: 4px;
    transition: color .2s;
}

.cart-rm-btn:hover {
    color: var(--pink);
}

.cart-footer {
    padding: 22px 30px;
    border-top: 1px solid var(--border);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.cart-sub-label {
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.cart-sub-val {
    font-size: 19px;
    font-weight: 700;
}

.cart-note {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-bottom: 14px;
}

.btn-checkout {
    width: 100%;
    background: var(--black);
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    margin-bottom: 8px;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
}

.btn-checkout:hover {
    background: var(--pink);
}

.btn-continue-sh {
    width: 100%;
    background: transparent;
    color: var(--mid);
    border: 1px solid #ddd;
    padding: 13px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: all .2s;
}

.btn-continue-sh:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* ═══════════════════════════════════════
   PRODUCT MODAL  (matches Séduire design)
═══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 32px 20px;
    overflow-y: auto;
    cursor: pointer; /* iOS Safari: tap events only fire on elements with cursor:pointer */
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal {
    background: var(--white);
    width: 100%;
    max-width: 1200px;
    transform: translateY(24px);
    opacity: 0;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .4s;
    position: relative;
    margin: auto;
}

.modal-overlay.open .modal {
    transform: translateY(0);
    opacity: 1;
}

.modal-x {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    background: var(--white);
    border: 1px solid var(--border);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 17px;
    color: var(--mid);
    transition: all .2s;
}

.modal-x:hover {
    background: var(--pink);
    color: #fff;
    border-color: var(--pink);
}

/* top product section */
.modal-product-area {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    min-height: 560px;
}

/* LEFT: thumbs + main image */
.modal-gallery-wrap {
    display: flex;
    gap: 0;
    background: var(--pink-nude);
}

.modal-thumbs {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 72px;
    flex-shrink: 0;
    border-right: 1px solid rgba(0, 0, 0, .06);
    overflow-y: auto;
    max-height: 560px;
    scrollbar-width: none;
}

.modal-thumbs::-webkit-scrollbar {
    display: none;
}

.modal-thumb {
    width: 72px;
    height: 82px;
    border: 2px solid transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-nude);
    transition: border-color .15s;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    position: relative;
    overflow: hidden;
}

.modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-thumb.active,
.modal-thumb:hover {
    border-color: var(--pink);
    background: var(--pink-blush);
}

.modal-thumb svg {
    opacity: .18;
}

.modal-main-img {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 560px;
    background: var(--pink-nude);
    position: relative;
    overflow: hidden;
}

.modal-main-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

.modal-main-img svg {
    opacity: .1;
}

/* badge on image */
.modal-img-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 14px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
}

/* RIGHT: product details */
.modal-detail {
    padding: 36px 40px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.modal-breadcrumb {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 18px;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.modal-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
}

.modal-breadcrumb a:hover {
    color: var(--pink);
}

.modal-breadcrumb .sep {
    opacity: .4;
}

.modal-prod-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -.2px;
    margin-bottom: 12px;
    color: var(--black);
}

.modal-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-stars {
    color: var(--gold);
    font-size: 13px;
    letter-spacing: 1.5px;
}

.modal-rev-count {
    font-size: 12px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
}

.modal-price-row {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.modal-price {
    font-size: 26px;
    font-weight: 700;
    color: var(--black);
}

.modal-price-orig {
    font-size: 16px;
    color: var(--muted);
    text-decoration: line-through;
}

.modal-save {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: var(--pink);
    padding: 3px 9px;
    letter-spacing: 1px;
    font-family: 'DM Sans', sans-serif;
}

.modal-desc {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.82;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
}

.opt-group {
    margin-bottom: 20px;
}

.opt-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 11px;
    display: flex;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
}

.opt-selected {
    font-weight: 400;
    color: var(--pink);
    text-transform: none;
    letter-spacing: 0;
}

.opt-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

/* Square chips matching screenshot — active = pink fill */
.chip {
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #d8d8d8;
    cursor: pointer;
    transition: all .15s;
    font-family: 'DM Sans', sans-serif;
    color: var(--mid);
    background: var(--white);
}

.chip:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.chip.active {
    border-color: var(--pink);
    background: var(--pink);
    color: #fff;
}

.chip.out {
    opacity: .35;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Color circles */
.color-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-chip {
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .15s;
    outline: 2px solid transparent;
    outline-offset: 2px;
    position: relative;
}

.color-chip:hover {
    transform: scale(1.1);
}

.color-chip.active {
    outline-color: var(--black);
}

.color-tip {
    position: absolute;
    bottom: calc(100% + 7px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    background: var(--black);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s;
    font-family: 'DM Sans', sans-serif;
}

.color-chip:hover .color-tip {
    opacity: 1;
}

/* Quantity row */
.qty-row {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.qty-row .opt-label {
    margin-bottom: 0;
}

.qty-ctrl2 {
    display: flex;
    align-items: center;
    border: 1px solid #d8d8d8;
}

.qty-ctrl2 button {
    background: none;
    border: none;
    width: 38px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    color: var(--mid);
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-ctrl2 button:hover {
    background: var(--pink-soft);
    color: var(--pink);
}

.qty-ctrl2 .qty-disp {
    width: 48px;
    height: 40px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-left: 1px solid #d8d8d8;
    border-right: 1px solid #d8d8d8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-ok {
    font-size: 12px;
    color: var(--green);
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ATC row — big pink + outline heart + share: matches screenshot */
.atc-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-atc {
    flex: 1;
    background: var(--pink);
    color: #fff;
    border: none;
    padding: 15px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background .2s;
    text-align: center;
}

.btn-atc:hover {
    background: var(--pink-deep);
}

.btn-wish-modal {
    width: 50px;
    height: 50px;
    border: 1.5px solid #d8d8d8;
    background: transparent;
    cursor: pointer;
    font-size: 18px;
    color: var(--mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
}

.btn-wish-modal:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.share-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.share-label {
    font-size: 11.5px;
    color: var(--mid);
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
}

.share-icons {
    display: flex;
    gap: 8px;
}

.share-icon {
    width: 32px;
    height: 32px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    color: var(--mid);
    transition: all .2s;
    font-size: 13px;
}

.share-icon:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* Product features strip */
.modal-features-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 18px 0 0;
    margin-top: 18px;
    border-top: 1px solid var(--border);
}

.feat-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    color: var(--mid);
    font-family: 'DM Sans', sans-serif;
}

.feat-icon {
    font-size: 15px;
}

/* ═══════════════════════════════════════
   MODAL REVIEWS SECTION (below product area)
   — matches Séduire screenshot exactly
═══════════════════════════════════════ */
.modal-reviews-area {
    border-top: 1px solid var(--border);
    padding: 36px 40px 36px 0;
    margin-left: 72px;
    /* align with main image */
}

.modal-reviews-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 28px;
    color: var(--black);
}

.modal-review-item {
    padding: 22px 0;
    border-bottom: 1px solid #f4f4f4;
}

.modal-review-item:last-child {
    border-bottom: none;
}

.modal-reviewer-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.modal-reviewer-av {
    width: 38px;
    height: 38px;
    background: var(--pink-blush);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: var(--pink);
    font-family: 'DM Sans', sans-serif;
    flex-shrink: 0;
}

.modal-reviewer-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--black);
    font-family: 'DM Sans', sans-serif;
}

.modal-reviewer-date {
    font-size: 12px;
    color: var(--muted);
    margin-left: 8px;
    font-family: 'DM Sans', sans-serif;
}

.modal-reviewer-stars {
    color: var(--gold);
    font-size: 11px;
    margin-left: auto;
    letter-spacing: 1px;
}

.modal-review-text {
    font-size: 13px;
    color: var(--mid);
    line-height: 1.75;
    padding-left: 50px;
    /* align with name */
}

/* Rating summary bar */
.modal-rating-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--pink-soft);
    padding: 20px 24px;
    margin-bottom: 26px;
}

.rating-big {
    text-align: center;
}

.rating-big-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--black);
    line-height: 1;
}

.rating-big-stars {
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 4px;
}

.rating-big-count {
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    margin-top: 4px;
}

.rating-bars {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-bar-lbl {
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    width: 28px;
}

.rating-bar-track {
    flex: 1;
    height: 6px;
    background: #eee;
}

.rating-bar-fill {
    height: 100%;
    background: var(--gold);
}

.rating-bar-pct {
    font-size: 11px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    width: 30px;
    text-align: right;
}

/* ═══════════════════════════════════════
   TOAST
═══════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--black);
    color: #fff;
    padding: 13px 26px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 9999;
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    font-family: 'DM Sans', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    color: var(--pink);
    font-size: 16px;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1280px) {
    .header-inner {
        padding: 0 32px;
    }

    .hero-content {
        padding: 0 48px;
    }

    .hero-stats {
        left: 48px;
    }

    .categories-sec,
    .products-sec,
    .bestsellers-sec,
    .testimonials-sec {
        padding-left: 32px;
        padding-right: 32px;
    }

    footer {
        padding: 56px 32px 28px;
    }
}

/* ─── TABLET ─── */
@media (max-width: 1024px) {

    /* Header: hide desktop search bar, show search icon toggle instead */
    .header-search {
        display: none;
    }

    .mobile-search-btn {
        display: flex;
    }

    .header-inner {
        height: 64px;
        padding: 0 24px;
    }

    .header-left {
        gap: 16px;
    }

    .logo-img {
        height: 50px;
        width: 50px;
    }

    .cat-nav a {
        padding: 11px 14px;
        font-size: 10.5px;
    }

    /* Hero: shorter, smaller copy */
    .hero {
        height: auto;
        min-height: 540px;
    }

    .hero-content {
        width: 56%;
        padding: 80px 36px 90px;
    }

    .hero-photo-col {
        width: 44%;
    }

    .hero-stats {
        left: 36px;
        bottom: 36px;
        gap: 32px;
    }

    .stat-num {
        font-size: 28px;
    }

    /* Promise strip: 2x2 */
    .promise-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Categories: 3 cols, 5th wraps */
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Products: 3 cols */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Modal */
    .modal {
        max-width: 92vw;
    }
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {

    /* Announcement: tighter */
    .announce {
        font-size: 10px;
        letter-spacing: 1.2px;
        padding: 8px 12px;
    }

    /* Header */
    .header-inner {
        height: 58px;
        padding: 0 16px;
    }

    .header-icons {
        gap: 12px;
    }

    .icon-btn {
        padding: 4px;
    }

    .logo-img {
        height: 44px;
        width: 44px;
    }

    /* Hero: single column — photo becomes a backdrop */
    .hero {
        min-height: 580px;
        height: auto;
        flex-direction: column;
    }

    .hero-photo-col {
        position: relative;
        width: 100%;
        height: 320px;
    }

    .hero-photo-col::before {
        width: 100%;
        height: 80px;
        bottom: 0;
        top: auto;
        background: linear-gradient(180deg, transparent, #080808);
    }

    .hero-content {
        position: relative;
        width: 100%;
        padding: 36px 24px 30px;
    }

    .hero-sub {
        max-width: 100%;
        margin-bottom: 30px;
        font-size: 13.5px;
    }

    .hero-btns {
        flex-wrap: wrap;
    }

    .btn-primary,
    .btn-ghost {
        padding: 13px 24px;
        font-size: 11px;
        flex: 1;
    }

    .hero-stats {
        position: relative;
        left: auto;
        bottom: auto;
        padding: 0 24px 30px;
        gap: 28px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 26px;
    }

    /* Marquee */
    .marquee-inner span {
        font-size: 10px;
        padding: 0 22px;
        letter-spacing: 2px;
    }

    /* Promise strip stays 2 cols but tighter */
    .promise-item {
        padding: 22px 14px;
    }

    .promise-title {
        font-size: 10.5px;
    }

    .promise-text {
        font-size: 11.5px;
    }

    /* Section headers stack */
    .sec-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 24px;
    }

    .sec-title {
        font-size: clamp(26px, 7vw, 36px);
    }

    /* Sections: tighter padding */
    .categories-sec,
    .products-sec,
    .bestsellers-sec {
        padding: 56px 16px;
    }

    .testimonials-sec {
        padding: 56px 16px;
    }

    /* Categories: 2 cols */
    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .cat-name {
        font-size: 15px;
    }

    /* Filter row scrolls horizontally */
    .filter-row {
        margin-bottom: 24px;
    }

    .filter-btn {
        padding: 10px 16px;
        font-size: 10.5px;
    }

    /* Products: 2 cols */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info {
        padding: 14px 12px 16px;
    }

    .product-name {
        font-size: 15.5px;
    }

    .product-sub {
        font-size: 10.5px;
    }

    .price {
        font-size: 14.5px;
    }

    .price-orig {
        font-size: 12px;
    }

    .wish-btn {
        opacity: 1;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .quick-view {
        transform: translateY(0);
        padding: 10px;
        font-size: 9.5px;
    }

    /* Featured banner stacks */
    .featured-banner {
        grid-template-columns: 1fr;
    }

    .banner-panel {
        height: 360px;
    }

    .banner-content {
        bottom: 32px;
        left: 28px;
        right: 28px;
    }

    .banner-title {
        font-size: 32px;
    }

    /* Footer stacks */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 40px;
        margin-bottom: 32px;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    footer {
        padding: 56px 24px 28px;
    }

    /* Cart sidebar full-screen-ish */
    .cart-sidebar {
        width: 100%;
        max-width: 420px;
    }

    /* Modal: stack into single column, scroll */
    .modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .modal {
        max-width: 100%;
        min-height: 100vh;
    }

    .modal-product-area {
        grid-template-columns: 1fr;
    }

    .modal-gallery-wrap {
        flex-direction: column-reverse;
        overflow: hidden;
        min-width: 0;
        width: 100%;
    }

    .modal-thumbs {
        flex-direction: row;
        width: 100%;
        max-width: 100%;
        max-height: none;
        height: 72px;
        border-right: none;
        border-top: 1px solid rgba(0, 0, 0, .06);
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .modal-thumbs::-webkit-scrollbar {
        display: none;
    }

    .modal-thumb {
        width: 72px;
        min-width: 72px;
        height: 72px;
        border-bottom: none;
        border-right: 1px solid rgba(0, 0, 0, .06);
        scroll-snap-align: start;
    }

    .modal-main-img {
        min-height: 320px;
        max-height: 56vw;
    }

    .modal-detail {
        padding: 28px 24px;
    }

    .modal-prod-name {
        font-size: 26px;
    }

    .modal-price {
        font-size: 22px;
    }

    .modal-reviews-area,
    div[style*="padding:0 40px 40px"] {
        margin-left: 0;
    }

    .modal-x {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    /* Modal reviews area */
    .modal-rating-summary {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .modal-review-text {
        padding-left: 0;
    }
}

/* ─── SMALL MOBILE ─── */
@media (max-width: 480px) {
    .promise-strip {
        grid-template-columns: 1fr;
    }

    .hero-h1 {
        font-size: clamp(40px, 11vw, 52px);
    }

    .hero-btns {
        flex-direction: column;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stats>div {
        flex: 1;
        min-width: 80px;
    }

    /* Modal: tighter on small phones */
    .modal-main-img {
        min-height: 260px;
        max-height: 52vw;
    }

    .modal-detail {
        padding: 20px 16px;
    }

    .modal-prod-name {
        font-size: 22px;
    }

    .modal-price {
        font-size: 20px;
    }

    .atc-row {
        gap: 8px;
    }

    /* Categories: keep 2 cols but smaller */
    .cat-grid {
        gap: 6px;
    }

    .cat-info {
        padding: 14px 12px;
    }

    .cat-name {
        font-size: 13.5px;
    }

    .cat-count {
        font-size: 9px;
    }

    /* Header search already hidden; keep logo tight */
    .logo-img {
        height: 38px;
        width: 38px;
    }

    .header-icons {
        gap: 8px;
    }

    /* Banner */
    .banner-panel {
        height: 300px;
    }

    .banner-title {
        font-size: 26px;
    }

    /* Toast */
    .toast {
        font-size: 11px;
        padding: 11px 18px;
        max-width: 90vw;
    }
}

</style>
