/* ============================================================
   Beauty Flow — Global styles (minimal, professional)
   ============================================================ */
:root {
  --ink: #16181d;
  --ink-2: #4a4f5a;
  --ink-3: #8a8f9a;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f6f7f9;
  --accent: #16181d;
  --accent-hover: #2c2f36;
  --gold: #b98a2f;
  --danger: #d64545;
  --ok: #2e9e5b;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(20, 22, 28, .06);
  --shadow-md: 0 8px 24px rgba(20, 22, 28, .10);
  --shadow-lg: 0 16px 48px rgba(20, 22, 28, .14);
  --font: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 14px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.announce { background: var(--ink); color: #fff; text-align: center; font-size: 12px; letter-spacing: .06em; padding: 7px 16px; text-transform: uppercase; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: .04em; }
.logo span { color: var(--gold); }
.main-nav { display: flex; gap: 34px; }
.main-nav a { font-size: 14px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--ink); transition: width .25s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--bg-soft); }
.icon-btn svg { width: 21px; height: 21px; fill: var(--ink); }
.cart-badge { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 30px; border-radius: var(--radius); border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .03em; transition: all .22s ease; }
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--bg-soft); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 36px; font-size: 15px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------------- Hero (editorial) ---------------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-editorial { background: #f2efe9; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 84px 24px 96px; }
.hero-kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(44px, 6.4vw, 78px); line-height: 1.02; font-weight: 700; margin-bottom: 22px; letter-spacing: -.01em; }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.hero p { font-size: 16.5px; color: var(--ink-2); max-width: 460px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.hero-media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-media img:first-child { transform: rotate(-1.5deg) translateY(-14px); }
.hero-media-2 { transform: rotate(1.5deg); }
.hero-scroll { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------------- Marquee ---------------- */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; padding-right: 24px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------------- Manifesto ---------------- */
.manifesto { padding: 110px 0; text-align: center; background: #fff; }
.manifesto-kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 26px; }
.manifesto blockquote { font-family: var(--font-display); font-size: clamp(22px, 3.2vw, 36px); line-height: 1.4; font-weight: 600; max-width: 880px; margin: 0 auto 26px; }
.manifesto blockquote em { font-style: italic; color: var(--gold); font-weight: 500; }
.manifesto-link { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 3px; transition: opacity .2s; }
.manifesto-link:hover { opacity: .6; }

/* ---------------- Pillars ---------------- */
.pillars { background: var(--bg-soft); }
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar { position: relative; padding-top: 18px; }
.pillar::before { content: ''; position: absolute; top: 0; left: 0; width: 44px; height: 2px; background: var(--gold); }
.pillar-num { font-family: var(--font-display); font-size: 15px; color: var(--ink-3); margin-bottom: 12px; letter-spacing: .1em; }
.pillar h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 10px; }
.pillar p { font-size: 14px; color: var(--ink-2); }

/* ---------------- Category cards (brand) ---------------- */
.cat-idx { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); display: block; margin-bottom: 8px; }
.cat-card .cat-info h3 { font-size: 30px; }
.cat-cta { display: inline-block; margin-top: 10px; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 2px; }

/* ---------------- Lookbook ---------------- */
.lookbook { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.lookbook-img { overflow: hidden; }
.lookbook-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.lookbook-img:hover img { transform: scale(1.04); }
.lookbook-text { background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 64px 8%; }
.lookbook-text .manifesto-kicker { color: var(--gold); }
.lookbook-text h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 18px; }
.lookbook-text p { color: #b9bec7; font-size: 15px; max-width: 440px; margin-bottom: 30px; }
.lookbook-text .btn { align-self: flex-start; }

/* ---------------- Join / newsletter ---------------- */
.join { background: #f2efe9; padding: 72px 0; }
.join-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.join-inner h2 { font-family: var(--font-display); font-size: 30px; margin-bottom: 6px; }
.join-inner p { color: var(--ink-2); font-size: 14.5px; max-width: 420px; }
.join-form { display: flex; gap: 10px; }
.join-form input { padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius); min-width: 280px; outline: none; transition: border-color .2s; }
.join-form input:focus { border-color: var(--ink); }

/* ---------------- Shop page ---------------- */
.shop-banner { position: relative; min-height: 300px; display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; opacity: .35; }
.banner-inner { position: relative; padding: 64px 24px 44px; color: #fff; }
.banner-kicker { font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.banner-inner h1 { font-family: var(--font-display); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin-bottom: 12px; }
.banner-inner p { color: #c9ccd3; max-width: 560px; font-size: 15px; }
.shop-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; padding: 44px 24px 80px; align-items: start; }
.shop-filters { position: sticky; top: 100px; }
.filter-block { margin-bottom: 26px; }
.filter-block h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.filter-links { display: flex; flex-direction: column; gap: 2px; }
.f-link { background: none; border: none; text-align: left; padding: 7px 0; font-size: 14px; color: var(--ink-2); position: relative; transition: color .2s; width: fit-content; }
.f-link:hover { color: var(--ink); }
.f-link.active { color: var(--ink); font-weight: 700; }
.f-link.active::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1.5px; background: var(--gold); }
.f-clear { color: var(--danger); font-size: 13px; text-decoration: underline; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 20px; background: #fff; font-size: 12.5px; transition: all .18s; }
.chip:hover { border-color: var(--ink-3); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.results-count { font-size: 13.5px; color: var(--ink-3); }
.sort-select { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13.5px; outline: none; cursor: pointer; }
.shop-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------------- New / bestseller card tags ---------------- */
.pc-badge { position: absolute; bottom: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 9px; border-radius: 5px; }
.pc-badge.bestseller { background: var(--gold); color: #fff; }

/* ---------------- Sections ---------------- */
.section { padding: 76px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; gap: 20px; }
.section-head h2 { font-family: var(--font-display); font-size: 32px; font-weight: 700; }
.section-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.section-link { font-size: 14px; font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: opacity .2s; }
.section-link:hover { opacity: .6; }

/* ---------------- Product grid & cards ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pc-media { position: relative; display: block; aspect-ratio: 3 / 3.6; overflow: hidden; background: var(--bg-soft); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 6px; letter-spacing: .04em; }
.pc-fav { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); transition: transform .2s; }
.pc-fav:hover { transform: scale(1.12); }
.pc-fav svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2; transition: all .2s; }
.pc-fav.on svg { fill: var(--danger); stroke: var(--danger); }
.pc-body { padding: 14px 16px 16px; }
.pc-name { font-size: 14.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-name:hover { color: var(--gold); }
.pc-meta { display: flex; gap: 6px; align-items: center; margin: 4px 0 8px; font-size: 12.5px; }
.pc-rating { color: var(--gold); font-weight: 600; }
.pc-reviews { color: var(--ink-3); }
.pc-row { display: flex; align-items: center; justify-content: space-between; }
.pc-price { font-size: 16px; font-weight: 700; }
.pc-price s { color: var(--ink-3); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.pc-add { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); background: #fff; font-size: 18px; line-height: 1; transition: all .2s; }
.pc-add:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }

/* ---------------- Category banners ---------------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; display: flex; align-items: flex-end; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .cat-info { position: relative; padding: 26px; color: #fff; width: 100%; background: linear-gradient(transparent, rgba(0,0,0,.55)); }
.cat-info h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 4px; }
.cat-info span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 2px; }

/* ---------------- Trust bar ---------------- */
.trust-bar { background: var(--bg-soft); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; }
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 1.6; flex-shrink: 0; }
.trust-item h4 { font-size: 14.5px; margin-bottom: 2px; }
.trust-item p { font-size: 13px; color: var(--ink-3); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #c9ccd3; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 60px 24px 44px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; display: inline-block; }
.footer-brand p { font-size: 13.5px; max-width: 300px; color: #9aa0ab; }
.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #c9ccd3; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #2a2d34; padding: 18px 0; }
.footer-bottom p { font-size: 12px; color: #7c828d; text-align: center; }

/* ---------------- Toast ---------------- */
#toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast { display: flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow-lg); }
.toast-icon { width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.toast-success .toast-icon { background: var(--ok); }
.toast-error .toast-icon { background: var(--danger); }
.toast-info .toast-icon { background: var(--gold); }

/* ---------------- Page head ---------------- */
.page-head { background: var(--bg-soft); padding: 52px 0; text-align: center; }
.page-head h1 { font-family: var(--font-display); font-size: 36px; }
.page-head .crumbs { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
.page-head .crumbs a:hover { color: var(--ink); }

/* ---------------- Product detail ---------------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; padding: 48px 0 70px; align-items: start; }
.pd-gallery { position: sticky; top: 100px; }
.pd-stage-wrap { position: relative; }
.pd-stage { position: relative; aspect-ratio: 3 / 3.4; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); perspective: 1200px; cursor: grab; user-select: none; }
.pd-stage:active { cursor: grabbing; }
.pd-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s ease; }
.pd-face.show { opacity: 1; }
.pd-3d-badge { position: absolute; top: 14px; left: 14px; z-index: 5; background: rgba(22,24,29,.82); color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; padding: 6px 12px; border-radius: 20px; display: flex; align-items: center; gap: 7px; }
.pd-3d-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }
.pd-hint { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 5; background: rgba(255,255,255,.9); font-size: 12px; color: var(--ink-2); padding: 6px 14px; border-radius: 20px; box-shadow: var(--shadow-sm); white-space: nowrap; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.pd-thumb { position: relative; width: 84px; aspect-ratio: 3/3.4; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--bg-soft); transition: border-color .2s, transform .2s; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb span { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 10px; text-align: center; padding: 2px 0; letter-spacing: .06em; text-transform: uppercase; }
.pd-thumb.active { border-color: var(--ink); }
.pd-thumb:hover { transform: translateY(-2px); }

.pd-info .pd-cat { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.pd-info h1 { font-family: var(--font-display); font-size: 34px; line-height: 1.15; margin: 8px 0 10px; }
.pd-rating-row { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); margin-bottom: 18px; }
.pd-stars { color: var(--gold); letter-spacing: 2px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price { font-size: 30px; font-weight: 700; }
.pd-price s { font-size: 17px; color: var(--ink-3); font-weight: 400; }
.pd-save { background: #fdeeee; color: var(--danger); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.pd-desc { color: var(--ink-2); font-size: 14.5px; margin-bottom: 24px; }
.pd-option { margin-bottom: 20px; }
.pd-option > label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.pd-option > label em { font-style: normal; color: var(--ink-3); font-weight: 500; text-transform: none; letter-spacing: 0; }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt-chip { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 500; transition: all .18s; }
.opt-chip:hover { border-color: var(--ink-3); }
.opt-chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty-stepper button { width: 40px; height: 42px; border: none; background: #fff; font-size: 17px; transition: background .15s; }
.qty-stepper button:hover { background: var(--bg-soft); }
.qty-stepper input { width: 52px; height: 42px; border: none; text-align: center; font-weight: 600; font-size: 15px; outline: none; }
.pd-actions { display: flex; gap: 12px; margin: 26px 0 22px; }
.pd-actions .btn { flex: 1; }
.pd-icon-btn { width: 50px; height: 50px; flex-shrink: 0; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.pd-icon-btn svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; transition: all .2s; }
.pd-icon-btn:hover { border-color: var(--ink); transform: translateY(-1px); }
.pd-icon-btn.on-like svg { fill: var(--danger); stroke: var(--danger); }
.pd-icon-btn.on-fav svg { fill: var(--gold); stroke: var(--gold); }
.pd-count-note { font-size: 12.5px; color: var(--ink-3); margin-bottom: 22px; }
.pd-count-note b { color: var(--danger); }
.pd-accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; background: none; border: none; font-size: 14px; font-weight: 600; letter-spacing: .03em; }
.acc-head .acc-arrow { transition: transform .25s; font-size: 12px; }
.acc-item.open .acc-arrow { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-inner { padding: 0 4px 16px; font-size: 13.5px; color: var(--ink-2); }
.acc-body-inner ul { padding-left: 18px; }
.acc-body-inner li { margin-bottom: 6px; }

/* ---------------- Cart ---------------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; padding: 44px 0 70px; align-items: start; }
.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: center; transition: box-shadow .2s; }
.cart-item:hover { box-shadow: var(--shadow-sm); }
.cart-item img { width: 96px; aspect-ratio: 3/3.4; object-fit: cover; border-radius: 8px; background: var(--bg-soft); }
.ci-name { font-weight: 600; font-size: 15px; }
.ci-name:hover { color: var(--gold); }
.ci-variant { font-size: 12.5px; color: var(--ink-3); margin: 3px 0 10px; }
.ci-controls { display: flex; align-items: center; gap: 14px; }
.ci-remove { background: none; border: none; color: var(--ink-3); font-size: 12.5px; text-decoration: underline; transition: color .2s; }
.ci-remove:hover { color: var(--danger); }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.ci-price { font-weight: 700; font-size: 16px; }
.qty-mini { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.qty-mini button { width: 30px; height: 32px; border: none; background: #fff; font-size: 15px; }
.qty-mini button:hover { background: var(--bg-soft); }
.qty-mini span { width: 38px; text-align: center; font-weight: 600; font-size: 13.5px; }

.summary-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; position: sticky; top: 100px; }
.summary-card h3 { font-size: 17px; margin-bottom: 18px; letter-spacing: .02em; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; color: var(--ink-2); }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; font-size: 17px; font-weight: 700; color: var(--ink); }
.sum-note { font-size: 12px; color: var(--ink-3); margin: 12px 0 16px; }
.promo-row { display: flex; gap: 8px; margin-bottom: 18px; }
.promo-row input { flex: 1; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; }
.promo-row input:focus { border-color: var(--ink); }
.promo-row button { padding: 0 18px; border-radius: 8px; border: 1px solid var(--ink); background: #fff; font-weight: 600; font-size: 13px; transition: all .2s; }
.promo-row button:hover { background: var(--ink); color: #fff; }

.empty-state { text-align: center; padding: 90px 20px; }
.empty-state svg { width: 64px; height: 64px; fill: none; stroke: var(--ink-3); stroke-width: 1.4; margin: 0 auto 18px; }
.empty-state h2 { font-family: var(--font-display); font-size: 26px; margin-bottom: 8px; }
.empty-state p { color: var(--ink-3); margin-bottom: 26px; }

/* ---------------- Checkout ---------------- */
.checkout-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 44px; padding: 44px 0 70px; align-items: start; }
.co-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; background: #fff; }
.co-block h3 { font-size: 16px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.co-step-num { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.form-field label b { color: var(--danger); }
.form-field input, .form-field select { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; transition: border-color .2s; background: #fff; }
.form-field input:focus, .form-field select:focus { border-color: var(--ink); }
.form-field input.err { border-color: var(--danger); }
.ship-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1.5px solid var(--line); border-radius: 8px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .2s; }
.ship-option:hover { border-color: var(--ink-3); }
.ship-option.active { border-color: var(--ink); background: var(--bg-soft); }
.ship-option input { accent-color: var(--ink); }
.ship-option .so-left { display: flex; align-items: center; gap: 12px; }
.ship-option h5 { font-size: 14px; }
.ship-option p { font-size: 12px; color: var(--ink-3); }
.co-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; max-height: 300px; overflow-y: auto; }
.co-item { display: flex; gap: 12px; align-items: center; }
.co-item img { width: 56px; height: 64px; object-fit: cover; border-radius: 6px; background: var(--bg-soft); }
.co-item .ci-n { font-size: 13px; font-weight: 600; }
.co-item .ci-v { font-size: 11.5px; color: var(--ink-3); }
.co-item .ci-p { margin-left: auto; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.secure-note svg { width: 15px; height: 15px; fill: var(--ink-3); flex-shrink: 0; }

/* ---------------- Payment ---------------- */
.pay-wrap { max-width: 560px; margin: 0 auto; padding: 50px 24px 80px; }
.pay-card { border: 1px solid var(--line); border-radius: 14px; padding: 34px; background: #fff; box-shadow: var(--shadow-sm); }
.pay-head { text-align: center; margin-bottom: 26px; }
.pay-head h1 { font-family: var(--font-display); font-size: 26px; }
.pay-head p { color: var(--ink-3); font-size: 13.5px; margin-top: 4px; }
.pay-amount { text-align: center; background: var(--bg-soft); border-radius: 10px; padding: 18px; margin-bottom: 24px; }
.pay-amount .amt { font-size: 32px; font-weight: 700; }
.pay-amount .lbl { font-size: 12px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.pay-method { border: 1.5px solid var(--line); border-radius: 10px; padding: 14px 8px; text-align: center; cursor: pointer; transition: all .2s; background: #fff; }
.pay-method:hover { border-color: var(--ink-3); }
.pay-method.active { border-color: var(--ink); background: var(--bg-soft); }
.pay-method .pm-name { font-size: 13px; font-weight: 600; margin-top: 6px; }
.pay-method svg { width: 26px; height: 26px; margin: 0 auto; fill: var(--ink); }
.pay-error { display: none; background: #fdf0f0; border: 1px solid #f3cccc; color: var(--danger); border-radius: 10px; padding: 16px 18px; font-size: 14px; margin-bottom: 18px; align-items: flex-start; gap: 10px; }
.pay-error.show { display: flex; }
.pay-error svg { width: 19px; height: 19px; fill: var(--danger); flex-shrink: 0; margin-top: 1px; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.pay-fine { font-size: 11.5px; color: var(--ink-3); text-align: center; margin-top: 16px; line-height: 1.5; }

/* ---------------- Account ---------------- */
.acct-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; padding: 44px 0 70px; align-items: start; }
.acct-nav { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.acct-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 15px 18px; border: none; background: #fff; font-size: 14px; font-weight: 500; text-align: left; border-bottom: 1px solid var(--line); transition: background .15s; }
.acct-nav button:last-child { border-bottom: none; }
.acct-nav button:hover { background: var(--bg-soft); }
.acct-nav button.active { background: var(--ink); color: #fff; }
.acct-nav svg { width: 17px; height: 17px; fill: currentColor; }
.acct-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; min-height: 420px; }
.acct-panel h2 { font-family: var(--font-display); font-size: 24px; margin-bottom: 22px; }
.acct-welcome { background: var(--bg-soft); border-radius: 10px; padding: 18px 20px; margin-bottom: 24px; font-size: 14px; }
.order-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; margin-bottom: 14px; }
.order-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.order-head b { color: var(--ink); }
.order-items { font-size: 13.5px; margin-bottom: 8px; }
.order-total { font-weight: 700; }
.status-pill { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 20px; background: #fff4e0; color: #a06a10; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; position: relative; transition: transform .2s, box-shadow .2s; }
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card img { aspect-ratio: 3/3.4; width: 100%; object-fit: cover; background: var(--bg-soft); }
.mini-card .mc-body { padding: 10px 12px; }
.mini-card .mc-name { font-size: 12.5px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card .mc-price { font-size: 13px; font-weight: 700; }
.mini-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); box-shadow: var(--shadow-sm); font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* ---------------- Static pages ---------------- */
.static-wrap { max-width: 820px; margin: 0 auto; padding: 50px 24px 80px; }
.static-wrap h1 { font-family: var(--font-display); font-size: 34px; margin-bottom: 8px; }
.static-wrap .updated { font-size: 13px; color: var(--ink-3); margin-bottom: 30px; }
.static-wrap h2 { font-size: 19px; margin: 30px 0 10px; }
.static-wrap p, .static-wrap li { font-size: 14.5px; color: var(--ink-2); }
.static-wrap ul, .static-wrap ol { padding-left: 22px; margin: 10px 0; }
.static-wrap li { margin-bottom: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.contact-card { border: 1px solid var(--line); border-radius: 10px; padding: 20px; }
.contact-card h4 { font-size: 14px; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.contact-form textarea { grid-column: 1 / -1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; outline: none; resize: vertical; min-height: 120px; }
.contact-form textarea:focus { border-color: var(--ink); }

/* ---------------- Pagination ---------------- */
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 44px 0 10px; flex-wrap: wrap; }
.pg-btn { min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: all .2s; }
.pg-btn:hover:not(:disabled):not(.active) { border-color: var(--ink); color: var(--ink); }
.pg-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pg-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------------- About (editorial) ---------------- */
.about-hero { background: #f2efe9; overflow: hidden; }
.about-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 84px 24px; }
.about-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 5.6vw, 68px); line-height: 1.05; font-weight: 700; margin: 18px 0 22px; }
.about-hero h1 em { font-style: italic; font-weight: 500; color: var(--gold); }
.about-hero p { font-size: 15.5px; color: var(--ink-2); max-width: 520px; }
.about-hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-md); }

.about-splits { padding: 40px 0 20px; }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1120px; margin: 0 auto; padding: 56px 24px; }
.about-split.reverse .about-split-media { order: 2; }
.about-split.reverse .about-split-copy { order: 1; }
.about-split-media img { width: 100%; aspect-ratio: 4/4.6; object-fit: cover; border-radius: 4px; }
.about-split-num { font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.about-split h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; margin-bottom: 16px; }
.about-split p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.about-split-note { font-size: 13px !important; color: var(--ink-3) !important; border-left: 2px solid var(--gold); padding-left: 14px; font-style: italic; }

.about-stats { background: var(--ink); color: #fff; padding: 64px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-family: var(--font-display); font-size: 52px; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat-num::after { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); margin: 14px auto 0; }
.stat-label { font-size: 13px; color: rgba(255,255,255,.66); line-height: 1.5; }

.about-compliance { background: var(--bg-soft); }
.compliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 36px; }
.compliance-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px; }
.compliance-item h3 { font-size: 15px; margin-bottom: 10px; }
.compliance-item p { font-size: 13.5px; color: var(--ink-2); }
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 44px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1020px) {
  .about-hero-grid { grid-template-columns: 1fr; padding: 56px 24px; }
  .about-hero-media { max-width: 420px; }
  .about-split { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; }
  .about-split.reverse .about-split-media { order: 0; }
  .about-split.reverse .about-split-copy { order: 1; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .compliance-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .pd-layout, .cart-layout, .checkout-layout, .acct-layout { grid-template-columns: 1fr; }
  .pd-gallery, .summary-card, .acct-nav { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-grid, .trust-grid { grid-template-columns: 1fr; }
  .trust-grid { padding: 30px 0; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .ci-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .form-grid, .contact-grid, .contact-form { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 460px; }
  .pay-methods { grid-template-columns: 1fr; }
}
