/* =========================================================
   AsterGlitz storefront
   Feminine luxe: midnight navy + gold (from the logo) with
   blush & rose-gold accents. Written mobile-first.
   ========================================================= */
:root {
  --maroon: #14213d;        /* primary brand colour – midnight navy (name kept for compatibility) */
  --maroon-dark: #0b1428;
  --navy: #14213d;
  --gold: #c99a3f;
  --gold-deep: #a87d2c;
  --gold-light: #f5e1ad;
  --rose: #b76e79;          /* rose gold */
  --rose-deep: #9e5463;
  --rose-light: #f6dfe2;
  --blush: #fdf2f0;         /* soft pink section background */
  --cream: #fbf6ee;
  --paper: #fffdfb;         /* page background – warm white */
  --ink: #2a2230;
  --muted: #7a6d73;
  --line: #f0e3e0;
  --white: #fff;
  --sale: #c2456b;          /* raspberry */
  --ok: #2e8b62;
  --warn: #b7741a;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 28px rgba(122, 64, 80, .10);
  --shadow-sm: 0 2px 10px rgba(122, 64, 80, .08);
  --font-logo: "Cinzel", Georgia, serif;
  --font-head: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.6; font-size: 15px; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(183, 110, 121, .15); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0 0 .45em; line-height: 1.15; letter-spacing: .005em; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 44px 0; }
.section.alt { background: var(--blush); }
.script { display: block; font-family: var(--font-head); font-style: italic; font-weight: 500; color: var(--rose); font-size: 1.15rem; letter-spacing: .01em; }
.section-title { text-align: center; margin-bottom: 26px; }
.section-title h2 { font-size: clamp(1.9rem, 5vw, 2.7rem); color: var(--navy); margin: 0; }
.section-title p { color: var(--muted); margin: 6px 0 0; }
.section-title .divider { width: 90px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); margin: 12px auto 0; position: relative; }
.section-title .divider::after { content: "✦"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -54%); color: var(--gold); font-size: 11px; background: var(--paper); padding: 0 8px; }
.section.alt .section-title .divider::after { background: var(--blush); }
.hide-mobile { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 24px; border-radius: 40px; border: 1.5px solid var(--navy); background: var(--navy); color: var(--white); font-weight: 500; letter-spacing: .3px; transition: background .2s, color .2s, border-color .2s, transform .1s; font-size: 14px; text-align: center; }
.btn:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); }
.btn:active { transform: scale(.98); }
.btn.outline { background: transparent; color: var(--navy); }
.btn.outline:hover { background: var(--navy); color: var(--white); }
.btn.gold { background: linear-gradient(180deg, #d9ad55, var(--gold-deep)); border-color: var(--gold-deep); color: #fff; }
.btn.rose { background: var(--rose); border-color: var(--rose); }
.btn.block { width: 100%; }
.btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn:disabled, .btn.disabled { background: #cfc6c8; border-color: #cfc6c8; color: #fff; cursor: not-allowed; pointer-events: none; }
.btn.outline:disabled { background: transparent; color: #b5abae; border-color: #e2d8da; }

/* ===== Announcement bar ===== */
.announce { background: var(--navy); color: var(--gold-light); font-size: 12px; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 48px; padding: 7px 0; animation: marquee 30s linear infinite; }
.announce-track span::before { content: "✦ "; color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } html { scroll-behavior: auto; } }

/* ===== Header ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 251, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; line-height: 1; min-width: 0; }
.logo-mark { width: 42px; height: 42px; flex: none; border-radius: 50%; box-shadow: 0 3px 10px rgba(20,33,61,.18); }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo-name { font-family: var(--font-logo); font-size: 19px; font-weight: 700; letter-spacing: .5px; background: linear-gradient(180deg, #e6c06a 0%, #b8862f 55%, #8f6420 100%); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.logo-tag { font-family: var(--font-logo); font-size: 9px; letter-spacing: 3px; color: var(--navy); text-transform: uppercase; margin-top: 3px; }
.header .logo { margin-right: auto; }
.header-icons { display: flex; align-items: center; gap: 2px; }
.icon-btn { background: none; border: none; width: 44px; height: 44px; position: relative; color: var(--ink); display: inline-grid; place-items: center; border-radius: 50%; }
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 23px; height: 23px; }
.icon-btn .count { position: absolute; top: 4px; right: 2px; background: var(--rose); color: #fff; font-size: 10px; font-weight: 600; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; }
.menu-toggle { margin-left: -8px; }
.search-bar { display: none; padding: 0 0 12px; }
.search-bar.open { display: block; }
.search-bar form { display: flex; gap: 8px; }
.search-bar input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 1px solid var(--line); border-radius: 40px; font: inherit; font-size: 16px; background: #fff; }
.search-bar .btn { min-height: 46px; padding: 0 18px; }

/* mobile slide-out menu */
.main-nav { position: fixed; inset: 0 auto 0 0; width: min(84vw, 340px); background: var(--paper); transform: translateX(-102%); transition: transform .3s ease; z-index: 80; padding: 0 20px 24px; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.2); }
.main-nav.open { transform: none; }
.nav-head { display: flex; align-items: center; justify-content: space-between; height: 62px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.nav-head .icon-btn { font-size: 18px; color: var(--muted); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.main-nav a { font-weight: 500; font-size: 15px; padding: 13px 4px; display: block; border-bottom: 1px solid var(--line); transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--rose-deep); }
.main-nav .badge { background: var(--sale); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 4px; margin-left: 6px; vertical-align: 2px; }
.dropdown { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; padding: 2px 0 8px 8px; }
.dropdown a { border: 0; padding: 8px 4px; font-weight: 400; color: var(--muted); font-size: 14px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(30, 20, 30, .45); z-index: 75; opacity: 0; pointer-events: none; transition: opacity .3s; }
body.nav-open .nav-backdrop, body.sheet-open .nav-backdrop { opacity: 1; pointer-events: auto; }
body.nav-open, body.sheet-open { overflow: hidden; }

/* ===== Bottom tab bar (phones) ===== */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(255, 253, 251, .97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -4px 18px rgba(122, 64, 80, .08); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; font-weight: 500; color: var(--muted); }
.tabbar svg { width: 23px; height: 23px; }
.tabbar a.on { color: var(--rose-deep); }
.tabbar a.on::before { content: ""; position: absolute; top: 0; width: 26px; height: 3px; border-radius: 0 0 3px 3px; background: var(--rose); }
.tab-count { position: absolute; top: 7px; left: calc(50% + 6px); background: var(--rose); color: #fff; font-size: 10px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; display: grid; place-items: center; font-weight: 600; }
.tab-count:empty, .tab-count[data-zero] { display: none; }
body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }

/* ===== Home: product showcase ===== */
.showcase { background: radial-gradient(ellipse at 100% 0%, var(--rose-light) 0%, rgba(246,223,226,0) 50%), radial-gradient(ellipse at 0% 100%, #f8ead2 0%, rgba(248,234,210,0) 55%), linear-gradient(180deg, #fffaf6 0%, var(--blush) 100%); padding: 26px 0 32px; overflow: hidden; }
.sc-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.sc-intro { text-align: center; }
.sc-eyebrow { font-size: 1.2rem; margin-bottom: 4px; }
.sc-intro h1 { font-size: clamp(2.1rem, 8.5vw, 3.6rem); color: var(--navy); line-height: 1.05; margin-bottom: 10px; font-weight: 600; }
.sc-intro p { color: var(--muted); font-size: 15px; margin: 0 auto 18px; max-width: 46ch; }
.sc-search { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 40px; padding: 5px; max-width: 460px; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.sc-search input { flex: 1; border: 0; background: none; padding: 0 14px; font: inherit; font-size: 16px; min-width: 0; outline: none; }
.sc-search .btn { min-height: 42px; width: 46px; padding: 0; }
.sc-search .btn svg { width: 18px; height: 18px; }
.sc-search:focus-within { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(183,110,121,.12); }
.sc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 460px; margin: 0 auto 4px; }
.sc-chips { display: none; }

.sc-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sc-tile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: #f6e8e3; box-shadow: var(--shadow); isolation: isolate; }
.sc-tile--lg { grid-column: span 2; }
.sc-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sc-tile:hover img { transform: scale(1.05); }
.sc-tile::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(180deg, rgba(40,20,35,0), rgba(40,20,35,.78)); z-index: 1; pointer-events: none; }
.sc-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px; color: #fff; z-index: 2; display: grid; gap: 1px; }
.sc-code { font-size: 9.5px; letter-spacing: 1.5px; color: var(--gold-light); font-weight: 600; }
.sc-name { font-size: 12.5px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-price { font-size: 14px; font-weight: 600; }
.sc-price s { font-weight: 400; font-size: 11.5px; opacity: .75; margin-left: 4px; }
.sc-tile--lg .sc-info { padding: 16px 18px; }
.sc-tile--lg .sc-name { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; white-space: normal; }
.sc-tile--lg .sc-price { font-size: 18px; }
.sc-ribbon { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(255,255,255,.92); color: var(--rose-deep); font-size: 10.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; box-shadow: var(--shadow-sm); }
.sc-off { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--sale); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }

/* ===== USP strip ===== */
.usp { border-bottom: 1px solid var(--line); background: #fff; }
.usp-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; padding: 14px 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.usp-grid::-webkit-scrollbar { display: none; }
.usp-item { display: flex; align-items: center; gap: 12px; scroll-snap-align: start; }
.usp-item .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); display: grid; place-items: center; flex-shrink: 0; }
.usp-item .ico svg { width: 22px; height: 22px; }
.usp-item strong { display: block; font-size: 13.5px; font-weight: 600; }
.usp-item span { font-size: 12px; color: var(--muted); }

/* ===== Categories – Instagram-style story circles ===== */
.cat-grid { display: flex; gap: 14px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -16px; padding-inline: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-grid::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 82px; text-align: center; scroll-snap-align: start; }
.cat-tile .img { border-radius: 50%; aspect-ratio: 1; padding: 3px; background: conic-gradient(from 210deg, var(--gold), var(--rose), #e7b9a6, var(--gold)); transition: transform .3s; }
.cat-tile .img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--paper); background: #fff; }
.cat-tile:hover .img { transform: translateY(-3px); }
.cat-tile h3, .cat-tile h4 { font-family: var(--font-body); font-size: 12.5px; font-weight: 500; margin: 8px 0 0; line-height: 1.3; }

/* ===== Promo cards ===== */
.promo-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
.promo-grid::-webkit-scrollbar { display: none; }
.promo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 8 / 5; scroll-snap-align: start; box-shadow: var(--shadow-sm); }
.promo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.promo:hover img { transform: scale(1.04); }
.promo-text { position: absolute; left: 18px; bottom: 16px; right: 18px; }
.promo-text small { color: var(--rose-deep); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; font-size: 10.5px; }
.promo-text h3 { color: var(--navy); font-size: 1.55rem; margin: 2px 0 6px; }
.promo-text .link { font-size: 13px; font-weight: 600; border-bottom: 1.5px solid var(--rose); color: var(--navy); padding-bottom: 1px; }

/* ===== Tabs ===== */
.tabs { display: flex; justify-content: flex-start; gap: 8px; margin: 0 -16px 20px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; background: #fff; border: 1px solid var(--line); height: 40px; padding: 0 18px; border-radius: 30px; font-size: 14px; color: var(--muted); font-weight: 500; }
.tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ===== Product cards ===== */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid #f6ecea; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--blush); }
.card-media > a { display: block; width: 100%; height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; top: 8px; left: 8px; background: var(--sale); color: #fff; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
.tag.new { background: #fff; color: var(--rose-deep); top: auto; bottom: 8px; left: 8px; box-shadow: var(--shadow-sm); }
.tag.soldout { background: #6d6468; }
.wish { position: absolute; top: 6px; right: 6px; background: rgba(255,255,255,.95); border: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.08); color: var(--rose); transition: transform .15s; }
.wish:active { transform: scale(.9); }
.wish.on { background: var(--rose); color: #fff; }
.wish svg { width: 17px; height: 17px; }
.card-body { padding: 10px 10px 12px; display: flex; flex-direction: column; flex: 1; }
.card-body .sku { font-size: 10px; color: var(--gold-deep); letter-spacing: .8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body h3 { font-family: var(--font-body); font-size: 13px; font-weight: 500; margin: 3px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; line-height: 1.35; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 8px; flex-wrap: wrap; }
.price .now { font-weight: 600; color: var(--navy); font-size: 15px; }
.price .was { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.card .btn { margin-top: auto; min-height: 38px; padding: 0 10px; font-size: 12.5px; width: 100%; }
.empty-note { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* stock messages */
.stock-note { display: inline-block; font-size: 12px; font-weight: 600; margin: 2px 0 8px; }
.stock-note.low { color: var(--warn); }
.stock-note.out { color: var(--sale); }
.stock-note.in { color: var(--ok); }
.card-body .stock-note { display: block; margin: 0 0 6px; font-size: 11px; }

/* ===== Wholesale block ===== */
.wholesale-wrap { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.wholesale-wrap img { border-radius: var(--radius); box-shadow: var(--shadow); }
.wholesale-wrap h2 { color: var(--navy); font-size: clamp(1.8rem, 5vw, 2.5rem); }
.kicker { color: var(--rose-deep); font-weight: 600; letter-spacing: 2px; font-size: 12px; }
.check-list { list-style: none; padding: 0; margin: 14px 0 22px; }
.check-list li { padding: 6px 0 6px 30px; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 21px; height: 21px; border-radius: 50%; background: var(--rose-light); color: var(--rose-deep); font-size: 12px; display: grid; place-items: center; font-weight: 700; }

/* ===== Reviews ===== */
.stars { color: #e3a22a; letter-spacing: 2px; }
.review-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 10px; scrollbar-width: none; }
.review-grid::-webkit-scrollbar { display: none; }
.review { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); scroll-snap-align: start; border: 1px solid #f6ecea; }
.review p { color: var(--ink); font-family: var(--font-head); font-style: italic; font-size: 1.15rem; line-height: 1.45; margin: 10px 0; }
.review .who { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--rose), var(--gold)); color: #fff; display: grid; place-items: center; font-weight: 600; }

/* ===== Newsletter ===== */
.newsletter { background: radial-gradient(ellipse at 100% 0%, rgba(183,110,121,.45), rgba(183,110,121,0) 60%), linear-gradient(135deg, var(--navy), var(--maroon-dark)); color: var(--white); border-radius: 22px; padding: 34px 20px; text-align: center; }
.newsletter h2 { color: var(--gold-light); font-size: clamp(1.8rem, 5vw, 2.4rem); }
.newsletter p { color: #e8dfe6; margin: 0; }
.newsletter form { display: flex; flex-direction: column; gap: 10px; max-width: 480px; margin: 18px auto 0; }
.newsletter input { height: 48px; padding: 0 20px; border-radius: 40px; border: none; font: inherit; font-size: 16px; }

/* ===== Footer ===== */
.site-footer { background: #0e1424; color: #d4cad0; padding-top: 44px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.site-footer h4 { color: var(--gold-light); font-size: 1.35rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .logo-name { background: linear-gradient(180deg, #f7e0a3, #c99a3f); -webkit-background-clip: text; background-clip: text; font-size: 22px; }
.site-footer .logo-tag { color: var(--gold-light); letter-spacing: 2px; }
.site-footer .logo-mark { width: 60px; height: 60px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #2c3550; display: grid; place-items: center; }
.social a:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #222b45; margin-top: 34px; padding: 18px 0; display: flex; flex-direction: column; gap: 12px; font-size: 12.5px; }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { background: #1a2236; padding: 4px 10px; border-radius: 6px; font-size: 10.5px; font-weight: 600; letter-spacing: .5px; }

/* ===== Floating WhatsApp ===== */
.wa-float { position: fixed; right: 14px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(37,211,102,.4); z-index: 55; transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== Page banner ===== */
.page-banner { background: radial-gradient(ellipse at 100% 0%, var(--rose-light), rgba(246,223,226,0) 55%), var(--blush); padding: 26px 0; text-align: center; border-bottom: 1px solid var(--line); }
.page-banner h1 { color: var(--navy); font-size: clamp(2rem, 6vw, 2.8rem); margin: 0; }
.crumbs { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.crumbs a { color: var(--rose-deep); }
.crumbs a:hover { text-decoration: underline; }

/* ===== Shop ===== */
.shop-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.toolbar { position: sticky; top: 62px; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10px; margin: -8px -16px 16px; padding: 10px 16px; background: rgba(255,253,251,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.toolbar form { margin: 0; }
.toolbar .btn, .toolbar select { width: 100%; min-height: 42px; }
.toolbar select { font: inherit; font-size: 14px; padding: 0 12px; border: 1.5px solid var(--navy); border-radius: 40px; background: #fff; color: var(--navy); font-weight: 500; }
.result-count { grid-column: 1 / -1; order: 3; color: var(--muted); font-size: 12.5px; text-align: center; margin-top: -2px; }
.shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* filters = bottom sheet on phones */
.filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; max-height: 82vh; overflow-y: auto; background: var(--paper); border-radius: 22px 22px 0 0; padding: 0 20px calc(24px + var(--safe-b)); transform: translateY(105%); transition: transform .3s ease; box-shadow: 0 -10px 40px rgba(0,0,0,.2); }
.filters.open { transform: none; }
.sheet-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; height: 58px; background: var(--paper); border-bottom: 1px solid var(--line); margin-bottom: 14px; font-size: 16px; }
.sheet-head::before { content: ""; position: absolute; top: 7px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: #e2d4d6; }
.filters h4, .filters .filters-title { font-family: var(--font-body); font-size: 14px; font-weight: 600; margin: 0 0 10px; }
.filters ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.filters li a { display: inline-flex; gap: 6px; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink); font-size: 13.5px; background: #fff; }
.filters li a span { color: var(--muted); font-size: 12px; }
.filters li a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters li a.active span { color: var(--gold-light); }
.filters form { margin: 0; }
.filters input[type=range] { width: 100%; accent-color: var(--rose); height: 30px; }
.filters .check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; cursor: pointer; }
.filters .check input { accent-color: var(--rose); width: 20px; height: 20px; }
.filter-toggle { display: inline-flex; }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 14px; background: #fff; }
.pagination a.active, .pagination a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { text-align: center; padding: 50px 0; color: var(--muted); grid-column: 1 / -1; }

/* ===== Product page ===== */
.pd { display: grid; grid-template-columns: 1fr; gap: 18px; }
.pd-gallery { margin: -18px -16px 0; }
.pd-gallery .main { aspect-ratio: 1; overflow: hidden; background: var(--blush); }
.pd-gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 8px; margin-top: 10px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.pd-thumbs img { flex: none; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; background: var(--blush); }
.pd-thumbs img.active { border-color: var(--rose); }
.pd-code { font-size: 12px; color: var(--muted); letter-spacing: .3px; }
.pd-code strong { color: var(--gold-deep); font-weight: 600; letter-spacing: 1px; }
.pd-info h1 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); margin: 4px 0 6px; color: var(--navy); }
.pd-info .price .now { font-size: 24px; }
.pd-info .price .was { font-size: 15px; }
.pd-info .save { background: var(--rose-light); color: var(--rose-deep); font-size: 12px; padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.pd-desc { color: var(--muted); margin: 6px 0 14px; }
.sizes { margin: 6px 0 12px; }
.sizes-head { font-size: 14px; margin-bottom: 8px; color: var(--muted); }
.sizes-head strong { color: var(--ink); }
.size-list { display: flex; flex-wrap: wrap; gap: 10px; }
.size { min-width: 58px; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; font: inherit; font-size: 14px; font-weight: 500; transition: .15s; }
.size:hover { border-color: var(--rose); }
.size.on { border-color: var(--navy); background: var(--navy); color: #fff; }
.size.out { color: #bdb2b5; background: #faf5f5; text-decoration: line-through; cursor: not-allowed; }
.stock-line { min-height: 24px; margin-bottom: 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; overflow: hidden; height: 46px; background: #fff; }
.qty button { background: none; border: none; width: 38px; height: 100%; font-size: 18px; }
.qty input { width: 34px; text-align: center; border: none; font: inherit; font-size: 16px; padding: 0; background: none; }
.qty button:disabled { opacity: .3; }
/* phones: buy buttons stick to the bottom of the screen */
.pd-actions { position: fixed; left: 0; right: 0; bottom: 0; z-index: 61; display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: center; padding: 10px 12px calc(10px + var(--safe-b)); background: rgba(255,253,251,.98); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(122,64,80,.10); margin: 0; }
.pd-actions .btn { min-height: 46px; padding: 0 16px; }
.wish-lg { width: 46px; height: 46px; color: var(--rose); border: 1px solid var(--line); border-radius: 50%; background: #fff; }
.wish-lg.on { background: var(--rose); color: #fff; border-color: var(--rose); }
.wish-lg svg { width: 21px; height: 21px; }
.pd-meta { border-top: 1px solid var(--line); padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.pd-meta div { margin-bottom: 6px; }
.pd-meta strong { color: var(--ink); font-weight: 500; }
.pd-meta a { color: var(--rose-deep); }
body.is-product .tabbar { display: none; }
body.is-product { padding-bottom: calc(70px + var(--safe-b)); }
body.is-product .wa-float { display: none; }

/* ===== Cart ===== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table thead { display: none; }
.cart-table tr { display: grid; grid-template-columns: 1fr auto auto; gap: 6px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-table td { border: none; padding: 0; }
.cart-table td:first-child { grid-column: 1 / -1; }
.cart-table td:nth-child(2) { display: none; }
.cart-table tr.is-out { opacity: .65; }
.cart-item { display: flex; align-items: center; gap: 12px; }
.cart-item img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--blush); flex: none; }
.remove { background: none; border: none; color: var(--sale); font-size: 22px; width: 40px; height: 40px; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
.summary { background: var(--blush); border-radius: var(--radius); padding: 20px; }
.summary h3 { font-size: 1.5rem; }
.summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; }
.summary .total { font-weight: 600; font-size: 18px; color: var(--navy); border-top: 1px solid #ecd9d8; padding-top: 12px; }
.note { font-size: 12.5px; color: var(--muted); }

/* ===== Forms / contact / policies ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.info-card { background: var(--blush); border-radius: var(--radius); padding: 20px; margin-bottom: 12px; }
.info-card h2, .info-card h3 { font-size: 1.4rem; color: var(--navy); }
.info-card p { margin: 0; }
.info-card a { color: var(--rose-deep); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 5px; }
input, select, textarea { width: 100%; padding: 0 14px; height: 48px; border: 1px solid #ead9d8; border-radius: 12px; font: inherit; font-size: 16px; background: #fff; color: var(--ink); }
textarea { min-height: 120px; padding: 12px 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(183,110,121,.14); }
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { color: var(--navy); margin-top: 1.4em; font-size: 1.8rem; }
.faq details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; background: #fff; }
.faq summary { font-weight: 500; cursor: pointer; }

/* ===== Toast ===== */
.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); transform: translate(-50%, 160px); background: var(--navy); color: #fff; padding: 12px 22px; border-radius: 40px; font-size: 14px; z-index: 100; transition: transform .35s; max-width: calc(100vw - 32px); text-align: center; box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); }
body.is-product .toast { bottom: calc(84px + var(--safe-b)); }

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 600px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-body { padding: 14px; }
  .card-body h3 { font-size: 14px; }
  .price .now { font-size: 16px; }
  .sc-bento { grid-template-columns: repeat(4, 1fr); }
  .sc-tile--lg { grid-column: span 2; grid-row: span 2; }
  .usp-grid { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; padding: 20px 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .newsletter form { flex-direction: row; }
  .newsletter form .btn { flex: none; }
  .newsletter input { flex: 1; }
}

@media (min-width: 900px) {
  :root { --tabbar-h: 0px; }
  body, body.is-product { padding-bottom: 0; }
  .tabbar { display: none; }
  .hide-mobile { display: initial !important; }
  .section { padding: 64px 0; }
  .header-row { height: 78px; gap: 16px; }
  .logo-mark { width: 54px; height: 54px; }
  .logo-name { font-size: 25px; }
  .logo-tag { font-size: 10px; letter-spacing: 5px; }
  .menu-toggle, .nav-head, .nav-backdrop { display: none; }
  .header-icons { gap: 6px; }
  .main-nav { position: static; transform: none; width: auto; padding: 0; background: none; box-shadow: none; overflow: visible; }
  .main-nav ul { flex-direction: row; gap: 26px; }
  .main-nav > ul > li { position: relative; }
  .main-nav a { padding: 28px 0; border: 0; font-size: 14px; }
  .dropdown { position: absolute; top: 100%; left: -20px; background: var(--paper); box-shadow: var(--shadow); border-radius: var(--radius); padding: 16px 22px; display: none; grid-template-columns: repeat(2, 170px); gap: 0 20px; border-top: 2px solid var(--rose); z-index: 5; }
  .main-nav li:hover > .dropdown { display: grid; }
  .dropdown a { padding: 7px 0; }

  .showcase { padding: 52px 0 64px; }
  .sc-grid { grid-template-columns: minmax(320px, 5fr) 7fr; gap: 48px; align-items: center; }
  .sc-intro { text-align: left; }
  .sc-intro p { margin-left: 0; font-size: 16.5px; }
  .sc-search, .sc-actions { margin-left: 0; }
  .sc-actions { display: flex; margin-bottom: 20px; }
  .sc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
  .sc-chips a { font-size: 13px; padding: 7px 15px; border: 1px solid var(--rose-light); border-radius: 30px; background: rgba(255,255,255,.75); transition: .2s; }
  .sc-chips a:hover { border-color: var(--rose); color: var(--rose-deep); background: #fff; }
  .sc-bento { gap: 14px; }

  .usp-grid { grid-template-columns: repeat(4, 1fr); padding: 24px 16px; }
  .cat-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; overflow: visible; margin: 0; padding: 4px 0 0; }
  .cat-tile { flex: none; }
  .cat-tile h3, .cat-tile h4 { font-size: 14px; }
  .promo-grid, .review-grid { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 20px; }
  .tabs { justify-content: center; margin: 0 0 28px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .wholesale-wrap { grid-template-columns: 1fr 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .wa-float { bottom: 22px; right: 22px; width: 56px; height: 56px; }
  body.is-product .wa-float { display: grid; }
  .toast, body.is-product .toast { bottom: 30px; }
  .page-banner { padding: 44px 0; }

  .shop-layout { grid-template-columns: 240px 1fr; gap: 36px; }
  .filters { position: static; transform: none; max-height: none; overflow: visible; background: none; border-radius: 0; padding: 0; box-shadow: none; z-index: auto; }
  .sheet-head { display: none; }
  .filters ul { flex-direction: column; flex-wrap: nowrap; gap: 0; }
  .filters li a { display: flex; justify-content: space-between; height: auto; padding: 7px 0; border: 0; border-radius: 0; background: none; color: var(--muted); }
  .filters li a.active, .filters li a:hover { background: none; color: var(--rose-deep); font-weight: 500; }
  .filters li a.active span { color: var(--rose-deep); }
  .filters h4, .filters .filters-title { border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: 15px; }
  .toolbar { position: static; display: flex; justify-content: space-between; margin: 0 0 20px; padding: 0; background: none; border: 0; backdrop-filter: none; }
  .toolbar .btn, .toolbar select { width: auto; }
  .filter-toggle { display: none; }
  .result-count { order: 0; text-align: left; margin: 0; font-size: 14px; }
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }

  .pd { grid-template-columns: 1fr 1fr; gap: 52px; }
  .pd-gallery { margin: 0; }
  .pd-gallery .main { border-radius: 22px; box-shadow: var(--shadow); }
  .pd-thumbs { padding: 0; }
  .pd-thumbs img { width: 78px; height: 78px; }
  .pd-actions { position: static; display: flex; flex-wrap: wrap; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; margin: 18px 0 22px; }

  .cart-table thead { display: table-header-group; }
  .cart-table tr { display: table-row; }
  .cart-table td { display: table-cell !important; padding: 14px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
  .cart-table th { text-align: left; font-weight: 500; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 10px; }
  .cart-layout { grid-template-columns: 1fr 340px; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 40px; }
}

/* =========================================================
   Silky motion
   Gentle, GPU-friendly (opacity/transform only).
   Switched off for visitors who prefer reduced motion.
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.22,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.22,.7,.2,1) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* gold light sweeping across the featured piece – like light catching metal */
.sc-tile--lg::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,244,214,.55) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-160%) skewX(-18deg); animation: shine 5.5s cubic-bezier(.4,0,.2,1) 1.2s infinite; }
@keyframes shine { 0% { transform: translateX(-160%) skewX(-18deg); } 45%, 100% { transform: translateX(330%) skewX(-18deg); } }

/* soft sparkles twinkling in the hero */
.showcase { position: relative; }
.showcase::before, .showcase::after { content: "✦"; position: absolute; color: var(--gold); pointer-events: none; animation: twinkle 3.2s ease-in-out infinite; }
.showcase::before { top: 14%; left: 7%; font-size: 16px; }
.showcase::after { top: 9%; right: 9%; font-size: 22px; color: var(--rose); animation-delay: 1.4s; }
.sc-intro { position: relative; }
.sc-intro::after { content: "✧"; position: absolute; right: 4%; bottom: -6px; color: var(--gold); font-size: 18px; animation: twinkle 2.6s ease-in-out .7s infinite; pointer-events: none; }
@keyframes twinkle { 0%, 100% { opacity: .15; transform: scale(.7) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(20deg); } }

/* buttons: a quick satin sheen on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%); transform: translateX(-120%); transition: transform .7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn.outline::after { background: linear-gradient(100deg, transparent 20%, rgba(183,110,121,.18) 50%, transparent 80%); }

/* little delights */
@keyframes pop { 0% { transform: scale(1); } 35% { transform: scale(1.32); } 70% { transform: scale(.92); } 100% { transform: scale(1); } }
.wish.pop, .wish-lg.pop, .count.bump, .tab-count.bump { animation: pop .45s cubic-bezier(.3,1.6,.5,1); }
[data-panel]:not([hidden]) { animation: fadeUp .5s cubic-bezier(.22,.7,.2,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.filters, .main-nav { transition-timing-function: cubic-bezier(.22,.8,.2,1); }
.cat-tile .img { transition: transform .4s cubic-bezier(.22,.7,.2,1), box-shadow .4s; }
.cat-tile:hover .img { box-shadow: 0 8px 20px rgba(183,110,121,.25); }
.card, .sc-tile img, .card-media img, .promo img { will-change: auto; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sc-tile--lg::before, .showcase::before, .showcase::after, .sc-intro::after { animation: none; display: none; }
  .btn::after { display: none; }
  .wish.pop, .wish-lg.pop, .count.bump, .tab-count.bump, [data-panel]:not([hidden]) { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ===== Phone polish ===== */
.icon-btn .count[data-zero] { display: none; }
.btn { white-space: nowrap; }
.btn.wa svg { width: 22px; height: 22px; }
.sc-actions .btn { padding: 0 12px; font-size: 13.5px; }
.pd-actions { grid-template-columns: auto 1fr 46px 46px; }
.pd-actions .btn.wa { padding: 0; width: 46px; border-radius: 50%; }
.pd-actions .qty button { width: 34px; }
.pd-actions .qty input { width: 28px; }
@media (max-width: 599px) {
  .usp-grid { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; gap: 14px 10px; padding: 16px; }
  .usp-item { gap: 9px; align-items: flex-start; }
  .usp-item .ico { width: 36px; height: 36px; }
  .usp-item .ico svg { width: 18px; height: 18px; }
  .usp-item strong { font-size: 12.5px; line-height: 1.3; }
  .usp-item span { font-size: 11px; line-height: 1.35; display: block; }
}
@media (min-width: 900px) {
  .pd-actions .btn.wa { width: auto; padding: 0 22px; border-radius: 40px; }
  .pd-actions .btn.wa svg { width: 20px; height: 20px; }
}
