/* =========================================================
   Laakira — Sarees & Stitched Blouses
   ========================================================= */

:root {
    --plum: #4a1830;
    --plum-deep: #2c0d1c;
    --wine: #7a1f3d;
    --gold: #c49a5a;
    --gold-soft: #e8d3ad;
    --cream: #faf5ee;
    --sand: #f3ebe0;
    --ink: #1e1a1c;
    --text: #4b4448;
    --muted: #8a8186;
    --line: #e7ddd2;
    --white: #fff;
    --success: #2f7a54;
    --danger: #b3364a;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', system-ui, -apple-system, sans-serif;

    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(44, 13, 28, .08);
    --shadow-lg: 0 24px 60px rgba(44, 13, 28, .16);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--wine); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.4rem; }
h4 { font-family: var(--font-body); font-size: .95rem; font-weight: 600; letter-spacing: .02em; }
p { margin: 0 0 1em; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-soft { background: var(--cream); }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: .8rem;
}
.eyebrow.light { color: var(--gold-soft); }

.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; max-width: 640px; margin-inline: auto; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin-top: .8rem; }

.link-arrow { font-weight: 500; color: var(--wine); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .9rem 1.8rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: .9rem; font-weight: 500; letter-spacing: .04em;
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.btn-dark { background: var(--plum); color: var(--white); }
.btn-dark:hover { background: var(--wine); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(122, 31, 61, .25); }
.btn-gold { background: var(--gold); color: var(--plum-deep); }
.btn-gold:hover { background: var(--gold-soft); color: var(--plum-deep); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-link { background: none; border: 0; color: var(--muted); cursor: pointer; padding: .5rem; text-decoration: underline; }
.btn-sm { padding: .6rem 1.2rem; font-size: .82rem; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 0; background: transparent;
    cursor: pointer; position: relative;
    transition: background .2s;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.round { border: 1px solid var(--line); background: var(--white); font-size: 1.1rem; }
.icon-btn.round:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }

/* ---------- Announcement ---------- */
.announcement { background: var(--plum-deep); color: var(--gold-soft); font-size: .8rem; letter-spacing: .04em; }
.announcement-inner { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; gap: 1rem; }
.announcement p { margin: 0; }
.announcement-links { display: flex; gap: 1.5rem; }
.announcement a:hover { color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(0, 0, 0, .04); }
.header-inner { display: flex; align-items: center; gap: 2rem; height: 78px; }

.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--wine), var(--plum-deep));
    color: var(--gold-soft);
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
}
.logo-text { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.logo-light .logo-text { color: var(--white); }

.main-nav { margin-inline: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.main-nav a { position: relative; font-size: .92rem; font-weight: 500; color: var(--ink); padding: .5rem 0; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0;
    width: 100%; height: 1.5px; background: var(--wine);
    transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.active { color: var(--wine); }

.header-actions { display: flex; align-items: center; gap: .25rem; }
.cart-count {
    position: absolute; top: 2px; right: 0;
    min-width: 18px; height: 18px; padding: 0 4px;
    border-radius: 9px; background: var(--wine); color: var(--white);
    font-size: .68rem; font-weight: 600; display: grid; place-items: center;
}
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }

.menu-toggle { display: none; flex-direction: column; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 1.6px; background: var(--ink); transition: .3s; }

.search-bar { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); border-top: 1px solid transparent; }
.search-bar.open { max-height: 100px; border-color: var(--line); }
.search-bar form { display: flex; gap: .75rem; padding: 1rem 0; }
.search-bar input { flex: 1; padding: .8rem 1.2rem; border: 1px solid var(--line); border-radius: 999px; outline: none; }
.search-bar input:focus { border-color: var(--gold); }

.nav-overlay { position: fixed; inset: 0; background: rgba(30, 10, 20, .4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ---------- Placeholder images ---------- */
.ph {
    position: relative; width: 100%; height: 100%;
    background:
        radial-gradient(120% 80% at 80% 0%, rgba(255, 255, 255, .25), transparent 60%),
        linear-gradient(160deg, var(--c1) 0%, var(--c1) 45%, var(--c2) 140%);
    overflow: hidden;
}
.ph::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(115deg, transparent 0 18px, rgba(255, 255, 255, .06) 18px 20px);
}
.ph-drape {
    position: absolute; right: -10%; top: -10%; width: 70%; height: 130%;
    background: linear-gradient(100deg, transparent 0%, var(--c2) 40%, transparent 41%, transparent 55%, rgba(255, 255, 255, .35) 56%, transparent 58%);
    opacity: .55; transform: rotate(12deg);
}
.ph-drape::after {
    content: ''; position: absolute; left: 10%; bottom: 8%; width: 46%; height: 10px;
    background: repeating-linear-gradient(90deg, var(--c2) 0 6px, transparent 6px 10px);
    opacity: .8;
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--cream), var(--white)); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding: clamp(3rem, 6vw, 5.5rem) 0; }
.hero h1 em { font-style: italic; color: var(--wine); }
.hero-copy > p { font-size: 1.08rem; max-width: 520px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 2.5rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; gap: 2.5rem; }
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-stats span { font-size: .8rem; color: var(--muted); }

.hero-visual { position: relative; height: 560px; }
.hero-img { position: absolute; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-main { left: 12%; top: 0; width: 58%; height: 100%; border-radius: 200px 200px var(--radius) var(--radius); }
.hero-img-top { right: 0; top: 8%; width: 32%; height: 40%; }
.hero-img-bottom { left: 0; bottom: 6%; width: 30%; height: 36%; }
.hero-tag {
    position: absolute; right: 2%; bottom: 10%;
    background: var(--white); padding: 1rem 1.3rem; border-radius: var(--radius);
    box-shadow: var(--shadow-lg); display: flex; flex-direction: column; min-width: 200px;
    animation: float 5s ease-in-out infinite;
}
.hero-tag span { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.hero-tag strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); line-height: 1.2; }
.hero-tag em { font-style: normal; color: var(--wine); font-weight: 500; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- Features ---------- */
.features { border-block: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1.2rem; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature-icon { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-size: 1.3rem; color: var(--wine); }
.feature strong { color: var(--ink); font-weight: 500; }
.feature p { margin: 0; font-size: .85rem; color: var(--muted); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 1.25rem; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); }
.category-card-lg { grid-row: span 2; }
.category-card:nth-child(4) { grid-column: span 2; }
.category-card .ph { transition: transform .8s var(--ease); }
.category-card:hover .ph { transform: scale(1.06); }
.category-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 5, 12, .7), transparent 60%); }
.category-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.8rem; z-index: 1; }
.category-body h3 { color: var(--white); font-size: 1.8rem; margin-bottom: .2rem; }
.category-body p { margin-bottom: .7rem; opacity: .85; font-size: .92rem; }
.category-body .link-arrow { color: var(--gold-soft); }
.category-card:hover { color: var(--white); }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; }
.product-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.product-card { position: relative; }
.product-media { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.product-media img, .product-media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .product-media img, .product-card:hover .product-media .ph { transform: scale(1.06); }

.badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: .25rem .7rem; border-radius: 999px;
    font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    background: var(--white); color: var(--ink);
}
.badge-sale { background: var(--danger); color: var(--white); }
.badge-new { background: var(--plum); color: var(--gold-soft); }
.badge-trending, .badge-exclusive { background: var(--gold); color: var(--plum-deep); }

.wish-btn {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: var(--white); cursor: pointer; font-size: 1.1rem;
    box-shadow: var(--shadow); transition: transform .2s, color .2s;
}
.wish-btn:hover { transform: scale(1.1); }
.wish-btn.on, .wish-inline.on { color: var(--danger); }

.product-thumb { position: relative; }
.product-actions {
    position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2;
    opacity: 0; transform: translateY(10px); transition: all .35s var(--ease);
}
.product-actions .btn { width: 100%; }
.product-card:hover .product-actions { opacity: 1; transform: translateY(0); }

.product-info { padding-top: 1rem; }
.product-cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-title { font-family: var(--font-body); font-size: 1rem; font-weight: 500; margin: .25rem 0 .35rem; line-height: 1.4; }
.product-price { display: flex; gap: .6rem; align-items: baseline; }
.price { font-weight: 600; color: var(--wine); }
del { color: var(--muted); font-size: .88rem; }

.stars { color: #ddd1c1; letter-spacing: 2px; font-size: .9rem; }
.stars i { font-style: normal; }
.stars i.on { color: var(--gold); }
.rating-line { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; font-size: .88rem; color: var(--muted); }

/* Horizontal slider */
.product-slider { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4.5rem) / 4); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.product-slider::-webkit-scrollbar { display: none; }
.product-slider > * { scroll-snap-align: start; }
.slider-nav { display: flex; gap: .5rem; }

/* ---------- Promo banner ---------- */
.promo-banner { display: grid; grid-template-columns: 1fr 1fr; border-radius: calc(var(--radius) * 1.5); overflow: hidden; background: var(--plum-deep); min-height: 440px; }
.promo-media { position: relative; }
.promo-media img, .promo-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-copy { padding: clamp(2rem, 5vw, 4.5rem); color: rgba(255, 255, 255, .8); display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    background: radial-gradient(120% 120% at 100% 0%, rgba(196, 154, 90, .2), transparent 60%); }
.promo-copy h2 { color: var(--white); }
.promo-copy p { margin-bottom: 2rem; max-width: 440px; }

/* ---------- Trend ---------- */
.trend { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.trend-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.trend-media img, .trend-media .ph { width: 100%; height: 100%; object-fit: cover; }
.trend-sticker {
    position: absolute; top: 24px; right: 24px; width: 110px; height: 110px; border-radius: 50%;
    background: var(--gold); color: var(--plum-deep); display: grid; place-items: center; text-align: center;
    font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.1;
    animation: spin-slow 18s linear infinite;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
.trend-price { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.trend-price .price { font-size: 1.8rem; font-family: var(--font-display); }
.countdown { display: flex; gap: .5rem; }
.countdown div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .4rem .7rem; text-align: center; min-width: 58px; }
.countdown strong { display: block; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.countdown span { font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.tick-list li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial { margin: 0; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .3s, transform .3s; position: relative; }
.testimonial::before { content: '“'; position: absolute; top: .5rem; right: 1.5rem; font-family: var(--font-display); font-size: 5rem; color: var(--sand); line-height: 1; }
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial blockquote { margin: 1rem 0 1.5rem; font-family: var(--font-display); font-size: 1.25rem; line-height: 1.45; color: var(--ink); }
.testimonial figcaption { display: flex; align-items: center; gap: .9rem; }
.testimonial figcaption strong { display: block; color: var(--ink); font-weight: 500; }
.testimonial small { color: var(--muted); }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--plum); color: var(--gold-soft); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; }

/* ---------- Instagram ---------- */
.instagram { padding-bottom: 0; }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.insta-item { position: relative; aspect-ratio: 1; overflow: hidden; }
.insta-item img, .insta-item .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.insta-hover { position: absolute; inset: 0; background: rgba(44, 13, 28, .55); color: var(--white); display: grid; place-items: center; font-weight: 600; opacity: 0; transition: opacity .3s; }
.insta-item:hover .insta-hover { opacity: 1; }
.insta-item:hover img, .insta-item:hover .ph { transform: scale(1.08); }

/* ---------- Newsletter & footer ---------- */
.newsletter { background: var(--wine); color: var(--white); padding: 3.5rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter h2 { color: var(--white); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.newsletter-form { display: flex; gap: .5rem; background: rgba(255, 255, 255, .1); padding: .4rem; border-radius: 999px; flex: 1; max-width: 480px; }
.newsletter-form input { flex: 1; background: transparent; border: 0; outline: none; color: var(--white); padding: 0 1.2rem; min-width: 0; }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .6); }

.site-footer { background: var(--plum-deep); color: rgba(255, 255, 255, .65); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 3rem; padding: 4.5rem 0 3rem; }
.footer-brand p { margin: 1.2rem 0 1.5rem; max-width: 320px; }
.site-footer h4 { color: var(--white); margin-bottom: 1.2rem; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .6rem; }
.site-footer a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: .6rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--plum-deep); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.3rem 0; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
.footer-bottom p { margin: 0; }
.payments { display: flex; gap: .4rem; flex-wrap: wrap; }
.payments span { padding: .25rem .6rem; border-radius: 4px; background: rgba(255, 255, 255, .08); font-size: .7rem; font-weight: 600; letter-spacing: .05em; }
.payments.small { justify-content: center; margin-top: 1rem; }
.payments.small span { background: var(--sand); color: var(--muted); }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .4); transition: transform .3s; }
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); background: var(--ink); color: var(--white); padding: .9rem 1.5rem; border-radius: 999px; font-size: .9rem; z-index: 200; transition: transform .4s var(--ease); box-shadow: var(--shadow-lg); }
.toast { opacity: 0; visibility: hidden; }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* ---------- Page hero / breadcrumbs ---------- */
.page-hero { background: linear-gradient(135deg, var(--cream), var(--sand)); padding: 3.5rem 0 3rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid var(--gold-soft); }
.page-hero.slim { padding: 2.5rem 0 2rem; }
.page-hero h1 { margin-bottom: .3rem; }
.page-hero p { margin: 0; color: var(--muted); }
.breadcrumbs { font-size: .82rem; color: var(--muted); margin-bottom: 1rem; display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.product-page .breadcrumbs { justify-content: flex-start; margin-bottom: 2rem; }
.breadcrumbs a:hover { color: var(--wine); }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: start; }
.shop-sidebar { position: sticky; top: 100px; }
.sidebar-head { display: flex; justify-content: space-between; align-items: center; }
.sidebar-head h3 { margin: 0; }
.filter-group { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.filter-group h4 { margin-bottom: .8rem; }
.radio, .check { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; cursor: pointer; font-size: .92rem; }
input[type=radio], input[type=checkbox] { accent-color: var(--wine); width: 16px; height: 16px; }
input[type=range] { width: 100%; accent-color: var(--wine); }
.range-label { font-size: .85rem; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s; }
.swatch:hover { box-shadow: 0 0 0 2px var(--wine); }
.shop-sidebar .btn-dark { margin-top: 1.5rem; }

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.shop-toolbar p { margin: 0; }
.sort-label { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--muted); }
select, .field input, .field textarea, .coupon input {
    padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
    background: var(--white); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.sort-label select { width: auto; }
select:focus, .field input:focus, .field textarea:focus, .coupon input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 154, 90, .15); }

.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.pagination a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); }
.pagination a.active, .pagination a:hover { background: var(--plum); color: var(--white); border-color: var(--plum); }
.empty-state { text-align: center; padding: 4rem 1rem; background: var(--cream); border-radius: var(--radius); }

.hide-lg { display: none; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.gallery { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; position: sticky; top: 100px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: .75rem; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 3 / 4; cursor: pointer; background: none; transition: border-color .2s; }
.thumb.active { border-color: var(--wine); }
.thumb img, .thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.gallery-main { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.gallery-main img, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; transition: filter .4s; }

.detail-info h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: .4rem 0 .6rem; }
.detail-price { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1.2rem; }
.detail-price .price { font-size: 1.9rem; font-family: var(--font-display); }
.save { background: #fbe6e9; color: var(--danger); padding: .15rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 600; }
.detail-lead { font-size: 1.02rem; }
.detail-meta { list-style: none; padding: 1.2rem 0; margin: 1.2rem 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1.5rem; font-size: .92rem; }
.detail-meta span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.in-stock { color: var(--success); font-weight: 500; }

.option-group { margin-bottom: 1.5rem; }
.option-head { display: flex; justify-content: space-between; align-items: center; }
.option-head a { font-size: .85rem; text-decoration: underline; }
.size-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.size-options input { position: absolute; opacity: 0; }
.size-options span { display: grid; place-items: center; min-width: 52px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; }
.size-options input:checked + span { background: var(--plum); color: var(--white); border-color: var(--plum); }
.size-options span:hover { border-color: var(--plum); }

.buy-row { display: flex; gap: .75rem; margin-bottom: .75rem; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; height: 50px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.1rem; }
.qty button:hover { background: var(--sand); }
.qty input { width: 42px; text-align: center; border: 0; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-sm { height: 40px; }
.qty-sm button { width: 34px; }
.qty-sm input { width: 34px; }
.wish-inline { width: 50px; height: 50px; font-size: 1.2rem; }

.assurance { display: grid; gap: .6rem; margin-top: 1.5rem; padding: 1.2rem; background: var(--cream); border-radius: var(--radius-sm); font-size: .9rem; }
.assurance a { text-decoration: underline; color: var(--wine); }

.tabs { margin-top: 5rem; }
.tab-list { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-list button { border: 0; background: none; padding: 1rem 0; cursor: pointer; font-weight: 500; color: var(--muted); position: relative; white-space: nowrap; }
.tab-list button.active { color: var(--ink); }
.tab-list button.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--wine); }
.tab-panel { display: none; padding: 2rem 0; max-width: 820px; }
.tab-panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.review { padding: 1.2rem 0; border-bottom: 1px solid var(--line); }
.review strong { display: block; color: var(--ink); margin: .3rem 0; }
.related-head { margin-top: 4rem; }

/* ---------- Cart & checkout ---------- */
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.cart-head, .cart-row { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 1rem; align-items: center; }
.cart-head { padding-bottom: 1rem; border-bottom: 1px solid var(--line); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cart-row { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.cart-product { display: flex; gap: 1rem; align-items: center; }
.cart-thumb { width: 90px; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; flex: none; }
.cart-thumb img, .cart-thumb .ph { width: 100%; height: 100%; object-fit: cover; }
.cart-name { display: block; color: var(--ink); font-weight: 500; }
.cart-product small { color: var(--muted); display: block; }
.remove { padding: 0; font-size: .82rem; margin-top: .3rem; }
.cart-total { font-weight: 600; color: var(--ink); }
.cart-footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 1.5rem; flex-wrap: wrap; }
.coupon { display: flex; gap: .5rem; }
.coupon input { width: 200px; border-radius: 999px; }

.summary-card { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.summary-card.sticky { position: sticky; top: 100px; }
.summary-card dl { margin: 1.2rem 0; }
.summary-card dl > div { display: flex; justify-content: space-between; padding: .6rem 0; }
.summary-card dt { color: var(--muted); }
.summary-card dd { margin: 0; color: var(--ink); font-weight: 500; }
.summary-card .total { border-top: 1px solid var(--line); margin-top: .5rem; padding-top: 1rem; }
.summary-card .total dt, .summary-card .total dd { font-size: 1.2rem; color: var(--ink); font-weight: 600; }
.note { font-size: .85rem; color: var(--muted); margin: 1rem 0; text-align: center; }
.note.success { color: var(--success); }
.summary-card .check { margin: 1rem 0; }

.mini-items { list-style: none; padding: 0; margin: 1rem 0; }
.mini-items li { display: grid; grid-template-columns: 60px 1fr auto; gap: .9rem; align-items: center; padding: .6rem 0; font-size: .9rem; }
.mini-thumb { position: relative; width: 60px; aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; }
.mini-thumb .ph, .mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb b { position: absolute; top: 3px; right: 3px; background: var(--ink); color: var(--white); width: 20px; height: 20px; border-radius: 50%; font-size: .7rem; display: grid; place-items: center; }
.mini-name { color: var(--ink); line-height: 1.3; }

.steps { list-style: none; display: flex; justify-content: center; gap: 2rem; padding: 0; margin: 1.2rem 0 0; font-size: .85rem; color: var(--muted); counter-reset: s; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: .5rem; }
.steps li::before { content: counter(s); width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .75rem; background: var(--white); }
.steps .done::before { content: '✓'; background: var(--success); color: var(--white); border-color: var(--success); }
.steps .current { color: var(--ink); font-weight: 500; }
.steps .current::before { background: var(--plum); color: var(--white); border-color: var(--plum); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
fieldset.card { margin: 0 0 1.5rem; }
legend { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--ink); padding: 0 .5rem; margin-left: -.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid.one { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field span { font-size: .82rem; font-weight: 500; color: var(--ink); }
.full { grid-column: 1 / -1; }
.form-row-between { display: flex; justify-content: space-between; align-items: center; }

.pay-options { display: grid; gap: .75rem; }
.pay-option { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-option:has(input:checked) { border-color: var(--wine); background: #fdf7f8; }
.pay-option input { margin-top: .3rem; }
.pay-option strong { display: block; color: var(--ink); font-weight: 500; }
.pay-option small { color: var(--muted); }

/* ---------- About / contact / account ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; aspect-ratio: 4 / 5; }
.about-media > .ph, .about-media > img { width: 85%; height: 100%; border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; object-fit: cover; }
.about-media-sm { position: absolute; right: 0; bottom: -2rem; width: 45%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--white); box-shadow: var(--shadow-lg); }
.about-media-sm .ph, .about-media-sm img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.values div { padding: 1.2rem; border-radius: var(--radius-sm); background: var(--cream); }
.values strong { display: block; font-family: var(--font-display); font-size: 1.4rem; color: var(--wine); }
.values span { font-size: .85rem; }

.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.size-table { width: 100%; border-collapse: collapse; text-align: center; }
.size-table th { background: var(--plum); color: var(--white); font-weight: 500; padding: 1rem; font-size: .85rem; letter-spacing: .05em; }
.size-table td { padding: .9rem; border-bottom: 1px solid var(--line); }
.size-table tr:hover td { background: var(--cream); }

.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.info-card { padding: 2rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: box-shadow .3s, transform .3s; }
.info-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.info-card > span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sand); font-size: 1.4rem; margin-bottom: 1rem; }
.info-card p { margin: 0; font-size: .92rem; }
.info-card.left { text-align: left; }
.info-card a { color: var(--wine); }

.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.contact-form h2 { font-size: 2rem; }
.contact-form .btn { margin-top: 1.5rem; }
.map-wrap { height: 380px; }
.map-placeholder { height: 100%; display: grid; place-items: center; background: repeating-linear-gradient(45deg, var(--cream) 0 20px, var(--sand) 20px 40px); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }

.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-bottom: 4rem; }
.auth-card { padding: 2.5rem; box-shadow: var(--shadow); }
.auth-tabs { margin-bottom: .5rem; }
.auth-card .tab-panel { padding-bottom: 0; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .main-nav ul { gap: 1.3rem; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-slider { grid-auto-columns: calc((100% - 3rem) / 3); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; }
    .header-inner { gap: 1rem; }
    .logo { margin-right: auto; }
    .main-nav {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 85vw);
        background: var(--white); z-index: 110; padding: 5rem 2rem 2rem;
        transform: translateX(-100%); transition: transform .4s var(--ease);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open { transform: none; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .main-nav a::after { display: none; }
    .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
    .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
    .menu-toggle { z-index: 120; }

    .hero-inner, .trend, .about-split, .product-detail, .contact-layout, .auth-wrap { grid-template-columns: 1fr; }
    .hero-visual { height: 460px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .feature:nth-child(3) { border-left: 0; }
    .feature:nth-child(n+3) { border-top: 1px solid var(--line); }
    .category-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .category-card { min-height: 260px; }
    .category-card-lg, .category-card:nth-child(4) { grid-row: auto; grid-column: span 2; }
    .promo-banner { grid-template-columns: 1fr; }
    .promo-media { min-height: 280px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .insta-grid { grid-template-columns: repeat(3, 1fr); }

    .shop-layout { grid-template-columns: 1fr; }
    .hide-lg { display: inline-flex; }
    .shop-sidebar {
        position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 90vw); z-index: 110;
        background: var(--white); padding: 1.5rem; overflow-y: auto;
        transform: translateX(-100%); transition: transform .4s var(--ease);
    }
    .shop-sidebar.open { transform: none; }

    .gallery { position: static; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .summary-card.sticky { position: static; }
}

@media (max-width: 720px) {
    .announcement-links { display: none; }
    .announcement-inner { justify-content: center; text-align: center; }
    .hide-sm { display: none; }
    .header-inner { height: 66px; }
    .logo-text { font-size: 1.6rem; }
    .product-grid, .product-grid.grid-3 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
    .product-slider { grid-auto-columns: 70%; }
    .product-actions { opacity: 1; transform: none; }
    .product-actions .btn { padding: .5rem; font-size: .75rem; }
    .hero-visual { height: 380px; }
    .hero-stats { gap: 1.5rem; }
    .hero-tag { min-width: 0; padding: .8rem 1rem; }
    .features-grid { grid-template-columns: 1fr; }
    .feature + .feature { border-left: 0; border-top: 1px solid var(--line); }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .gallery { grid-template-columns: 1fr; }
    .gallery-thumbs { flex-direction: row; order: 2; }
    .gallery-thumbs .thumb { width: 70px; }
    .cart-head { display: none; }
    .cart-row { grid-template-columns: 1fr 1fr; }
    .cart-product { grid-column: 1 / -1; }
    .cart-price { display: none; }
    .cart-total { text-align: right; }
    .form-grid, .contact-cards, .values, .info-grid { grid-template-columns: 1fr; }
    .newsletter-form { max-width: none; }
    .steps { gap: 1rem; flex-wrap: wrap; }
    .trend-price { gap: 1rem; }
}

/* Overflow guards */
html, body { overflow-x: clip; }
.search-bar input { min-width: 0; }
.newsletter-inner > div { flex: 1 1 320px; }
.newsletter-form { flex: 1 1 320px; min-width: 0; }
@media (max-width: 720px) {
    .newsletter-form { width: 100%; }
    .shop-toolbar { flex-wrap: wrap; }
    .shop-toolbar form { width: 100%; }
    .sort-label select { flex: 1; }
}
