/* SELIN WEAR – storefront styles v4
   Design ported from the original Selin source (dark emerald + gold, glass surfaces, cream feature cards). */
@font-face { font-family: 'Yekan'; src: url('../fonts/yekan.woff') format('woff'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Lora'; src: url('../fonts/lora-500.woff') format('woff'); font-weight: 500 700; font-display: swap; }

:root {
  /* from the original theme.css */
  --primary: #0D4A43;
  --primary-dark: #08352F;
  --primary-light: #146B63;
  --gold: #D4AF37;
  --gold-light: #F5C056;
  --gold-soft: #d8b347;
  --background: #0B1715;
  /* derived */
  --hero: #083d39;
  --deep: #0B2724;
  --card-green: #14544D;
  --teal: #0D5C55;
  --cream: #F7F1E5;
  --ink: #F8F8F8;
  --ink-2: rgba(255, 255, 255, .8);
  --muted: rgba(255, 255, 255, .58);
  --line: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .05);
  --glass-2: rgba(255, 255, 255, .08);
  --red: #ef6b62;
  --ok: #58c48c;
  --radius: 22px;
  --radius-s: 14px;
  --container: 1280px;
  --font: 'Yekan', Tahoma, 'Segoe UI', sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --header-space: 128px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--background); }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.8; color: var(--ink); background: var(--background); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0; font-weight: 800; color: #fff; }
p { margin: 0 0 .8em; }
::selection { background: var(--gold); color: #000; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; top: -60px; right: 12px; z-index: 100; background: var(--gold); color: #08352F; padding: 8px 14px; border-radius: 30px; }
.skip-link:focus { top: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
main { outline: none; padding-top: var(--header-space); min-height: 60vh; }
.is-home main { padding-top: 0; }
.ico { flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 22px; border-radius: var(--radius-s); border: 1px solid transparent; font-weight: 700; font-size: 14.5px; cursor: pointer; transition: transform .3s, background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.btn-pill { border-radius: 999px; }
.btn-lg { min-height: 54px; padding-inline: 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: var(--hero); }
.btn-gold:hover { background: #E4BE57; transform: scale(1.04); }
.btn-glass { background: rgba(255, 255, 255, .05); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.btn-glass:hover { background: rgba(255, 255, 255, .1); }
.btn-green { background: var(--teal); color: #fff; }
.btn-green:hover { background: var(--primary-light); }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { background: transparent; border-color: rgba(212, 175, 55, .6); color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--hero); }
.btn-outline-gold-dark { background: transparent; border: 2px solid var(--gold); color: var(--teal); }
.btn-outline-gold-dark:hover { background: var(--gold); color: #fff; }
.btn-muted { background: rgba(255, 255, 255, .08); color: var(--muted); }
.btn-link { background: none; border: 0; color: var(--gold); padding: 0; min-height: 0; font-weight: 400; text-decoration: underline; cursor: pointer; }
.btn-danger { background: transparent; color: var(--red); border-color: rgba(239, 107, 98, .45); }
.btn-danger:hover { background: rgba(239, 107, 98, .1); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: none; color: rgba(255, 255, 255, .9); cursor: pointer; position: relative; transition: color .3s, background .3s; }
.icon-btn:hover { color: var(--gold); }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: 8px; text-transform: uppercase; color: var(--gold); font-family: var(--serif); }
.eyebrow-gold { color: var(--gold); }

/* ---------- header: glass pill (Navbar.tsx) ---------- */
.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; pointer-events: none; }
.hdr-wrap { max-width: 1500px; margin-inline: auto; padding-inline: 32px; pointer-events: auto; }
.hdr { margin-top: 24px; height: 80px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(40px) saturate(1.2); -webkit-backdrop-filter: blur(40px) saturate(1.2); padding-inline: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: margin .35s, height .35s, background .35s, box-shadow .35s; }
.site-header.is-scrolled .hdr { margin-top: 12px; height: 70px; background: rgba(8, 40, 36, .82); box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.hdr-logo { display: flex; align-items: center; }
.hdr-logo .logo-fa { height: 58px; width: auto; filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .35)); }
.hdr-logo .logo-custom { max-height: 58px; width: auto; }
.hdr-logo img:not(.logo-fa):not(.logo-custom) { height: 36px; width: auto; }
.hdr-nav { display: flex; align-items: center; gap: 38px; }
.hdr-nav a { position: relative; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .9); transition: color .3s; padding-block: 6px; }
.hdr-nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: var(--gold); transition: width .3s; }
.hdr-nav a:hover, .hdr-nav a[aria-current="page"] { color: var(--gold); }
.hdr-nav a:hover::after, .hdr-nav a[aria-current="page"]::after { width: 100%; }
.hdr-actions { display: flex; align-items: center; gap: 4px; }
.cart-badge { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: #000; font-size: 11px; line-height: 20px; font-weight: 800; text-align: center; }
.hdr-menu-btn { display: none; }
.hdr-search { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px auto 0; max-width: 720px; padding: 10px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(8, 40, 36, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.hdr-search input { flex: 1; min-width: 0; min-height: 44px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: #fff; padding: 0 18px; }
.hdr-search input::placeholder { color: rgba(255, 255, 255, .5); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 60; }
.mm-backdrop { position: absolute; inset: 0; background: rgba(2, 10, 9, .6); opacity: 0; transition: opacity .25s; }
.mm-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #0b1f1c; color: #ece5d2; padding: 16px 18px 28px; transform: translateX(-100%); transition: transform .28s ease; overflow-y: auto; box-shadow: 4px 0 30px rgba(0, 0, 0, .4); border-right: 1px solid rgba(212, 175, 55, .15); }
.mobile-menu.is-open .mm-backdrop { opacity: 1; }
.mobile-menu.is-open .mm-panel { transform: none; }
.mm-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(212, 175, 55, .2); }
.mm-head img { height: 46px; width: auto; }
.mm-search { display: flex; flex-wrap: wrap; margin: 16px 0; border: 1px solid rgba(212, 175, 55, .35); border-radius: 22px; padding-inline: 6px 14px; }
.mm-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 10px 4px; }
.mm-nav { display: flex; flex-direction: column; }
.mm-link { display: flex; justify-content: space-between; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 16px; }
.mm-sub { padding-inline-start: 18px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.mm-link[aria-current="page"] { color: var(--gold); }
.mm-count { background: var(--gold); color: #000; border-radius: 10px; padding: 0 8px; font-size: 13px; }
body.menu-open { overflow: hidden; }

/* ---------- flash ---------- */
.flash { max-width: var(--container); margin: 16px auto 0; padding: 12px 20px; border-radius: var(--radius-s); width: calc(100% - 48px); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.flash-ok { background: rgba(88, 196, 140, .12); color: #bff0d4; border: 1px solid rgba(88, 196, 140, .35); }
.flash-err { background: rgba(239, 107, 98, .12); color: #ffd0cc; border: 1px solid rgba(239, 107, 98, .4); }
.is-home .flash { position: fixed; z-index: 45; top: 120px; left: 50%; transform: translateX(-50%); margin: 0; max-width: 640px; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); }
.is-home .flash-ok { background: rgba(10, 52, 40, .92); }
.is-home .flash-err { background: rgba(60, 18, 16, .92); }

/* ---------- hero (Hero.tsx) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.hero-src { background: var(--hero); padding-top: 144px; min-height: min(100vh, 1000px); }
.hero-src::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top, rgba(212, 175, 55, .12), transparent 45%); pointer-events: none; }
.hero-glow { position: absolute; left: 50%; top: 50%; width: 950px; height: 950px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(107, 143, 82, .2); filter: blur(180px); pointer-events: none; }
.hero-src-in { position: relative; z-index: 1; max-width: 1500px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; min-height: calc(min(100vh, 1000px) - 230px); padding-bottom: 130px; }
.hero-media { display: flex; justify-content: center; }
.hero-card { position: relative; width: min(540px, 100%); aspect-ratio: 540 / 640; border-radius: 40px; overflow: hidden; background: #164B45; box-shadow: 0 35px 120px rgba(0, 0, 0, .45); transition: transform .5s, box-shadow .5s; }
.hero-card:hover { transform: translateY(-12px); box-shadow: 0 60px 150px rgba(0, 0, 0, .6); }
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s; }
.hero-card:hover img { transform: scale(1.05); }
.hero-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .3), transparent 45%); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: right; max-width: 620px; }
.hero-eyebrow { color: rgba(255, 255, 255, .7); margin-bottom: 20px; }
.hero-logo { width: 150px; height: auto; margin-bottom: 34px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .35)); }
.hero-title { display: flex; flex-direction: column; font-size: clamp(38px, 5vw, 72px); line-height: 1.32; font-weight: 900; color: #fff; text-shadow: 0 10px 35px rgba(0, 0, 0, .35); }
.hero-title .gold { color: var(--gold); }
.hero-sub { margin: 28px 0 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 2.2; color: rgba(255, 255, 255, .8); max-width: 560px; }
.hero-cta { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; }
.hero-cta .btn-gold { font-weight: 800; }
.hero-trust { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hero-trust li + li::before { content: '•'; color: var(--gold); margin-inline-end: 22px; }
.hero-scroll { position: absolute; z-index: 2; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: 6px; color: rgba(255, 255, 255, .4); font-family: var(--serif); }
.hero-mouse { display: flex; justify-content: center; width: 32px; height: 56px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); color: var(--gold); padding-top: 12px; }
.hero-mouse .ico { animation: bounce 1.2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* wide sansevieria banners (presets a / b) */
/* banner "subject + background" (3.13) */
.hero-lay { --hs: .9; min-height: min(100vh, 880px); padding-top: 120px; background: #062a25; display: flex; }
.hero-lay .hl-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero-lay .hl-bg-img { object-fit: cover; object-position: center; }
.hero-lay .hl-dim { position: absolute; inset: 0; z-index: -1; }
.hl-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 30px; width: 100%; max-width: 1400px; min-height: calc(min(100vh, 880px) - 120px); }
.hl-subj { order: 2; }
.subj-right .hl-subj { order: 0; }
.hero-lay .hero-copy { order: 1; }
.hl-subj { position: relative; align-self: end; display: flex; justify-content: center; }
.hl-subj-img { position: relative; z-index: 1; width: auto; height: min(calc(80vh * var(--hs)), calc(740px * var(--hs))); max-width: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); animation: hlIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hl-subj.has-glow::before { content: ''; position: absolute; bottom: 4%; left: 50%; width: 72%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .34), transparent 65%); }
.hero-lay .hero-copy { align-self: center; padding-bottom: 60px; }
@keyframes hlIn { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) { .hl-subj-img { animation: none; } }
@media (max-width: 760px) {
  .hero-lay { padding-top: 100px; min-height: 0; }
  .hl-in { grid-template-columns: 1fr; align-items: start; gap: 6px; min-height: 0; }
  .hl-subj, .subj-right .hl-subj { order: 2; }
  .hl-subj-img { height: auto; width: min(calc(88vw * var(--hs)), 420px); max-height: 70vh; }
  .hero-lay .hero-copy { order: 1; padding: 10px 0 0; align-items: center; text-align: center; margin-inline: auto; }
  .hero-lay .hero-logo { display: none; }
  .hero-lay .hero-cta { margin-top: 24px; justify-content: center; }
  .hero-lay .hero-trust { display: none; }
}
.hero-wide { min-height: clamp(560px, 48vw, 760px); display: flex; align-items: center; background: #062a25; padding-top: 110px; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 30% 22%; }
.hero-b img { object-position: 22% 30%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to left, rgba(6, 34, 30, .92) 0%, rgba(6, 34, 30, .72) 32%, rgba(6, 34, 30, .15) 58%, rgba(6, 34, 30, 0) 72%), linear-gradient(to top, rgba(11, 23, 21, .9), rgba(11, 23, 21, 0) 30%), linear-gradient(to bottom, rgba(6, 34, 30, .5), rgba(6, 34, 30, 0) 25%); }
.hero-in { position: relative; z-index: 2; display: flex; justify-content: flex-start; }
.hero-wide .hero-copy { width: min(48%, 600px); padding-block: 40px; }

/* ---------- features (Features.tsx) ---------- */
.sec-features { padding-block: 80px 10px; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat { border-radius: 24px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .05); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 32px; transition: transform .3s, border-color .3s; }
.feat:hover { transform: translateY(-8px); border-color: #CFA24A; }
.feat-ic { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 16px; background: rgba(207, 162, 74, .1); color: #CFA24A; margin-bottom: 20px; transition: background .3s, color .3s; }
.feat:hover .feat-ic { background: #CFA24A; color: #000; }
.feat h3 { font-size: 20px; margin-bottom: 6px; }
.feat p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .6); }

/* ---------- section heads ---------- */
.sec { padding-block: 84px; }
.sec-head { text-align: center; margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 48px); font-weight: 800; }
.sec-head p { margin: 18px auto 0; max-width: 720px; color: rgba(255, 255, 255, .62); font-size: 16px; line-height: 2; }
.sec-logo { width: 120px; height: auto; margin-bottom: 4px; }
.sec-line { display: block; width: 46px; height: 2px; margin: 10px auto 0; background: var(--gold); border-radius: 2px; }
.sec-more { text-align: center; margin-top: 48px; }

/* ---------- categories (Categories.tsx) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.cat-card { position: relative; display: block; height: 430px; border-radius: 30px; overflow: hidden; background: var(--card-green); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform .7s; }
.cat-card:hover img { transform: scale(1.1); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, .2) 45%, transparent); }
.cat-noimg { position: absolute; inset: 0; background: linear-gradient(135deg, #14544D, #0B2724); }
.cat-name { position: absolute; z-index: 1; bottom: 32px; right: 32px; font-size: 30px; font-weight: 800; color: #fff; transition: color .3s; }
.cat-card:hover .cat-name { color: var(--gold); }

/* ---------- tabs ---------- */
.tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: -24px auto 40px; }
.tabs a { padding: 8px 22px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .7); font-size: 14.5px; transition: all .3s; }
.tabs a:hover { color: var(--gold); border-color: rgba(212, 175, 55, .5); }
.tabs a[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--hero); font-weight: 800; }

/* ---------- product slider (ProductSlider.tsx) ---------- */
.pslider { position: relative; }
.pslider-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 30px) / 4); gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 4px 24px; scrollbar-width: none; overscroll-behavior-x: contain; }
.pslider-track::-webkit-scrollbar { display: none; }
.pslider-track > * { scroll-snap-align: start; }
.pslider-btn { position: absolute; z-index: 3; top: 38%; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(212, 175, 55, .45); background: rgba(8, 40, 36, .85); color: var(--gold); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, color .3s, opacity .3s; }
.pslider-btn:hover { background: var(--gold); color: var(--hero); }
.pslider-next { left: -22px; }
.pslider-prev { right: -22px; }
.pslider-btn[disabled] { opacity: 0; pointer-events: none; }

/* ---------- product card (ProductCard.tsx) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 32px; border: 1px solid rgba(212, 175, 55, .2); background: var(--card-green); transition: transform .5s, border-color .5s, box-shadow .5s; }
.pcard:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 20px 70px rgba(212, 175, 55, .25); }
.pcard-media { position: relative; overflow: hidden; }
.pcard-img { display: block; aspect-ratio: 3 / 4; background: #1a5a52; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .7s; }
.pcard:hover .pcard-img img { transform: scale(1.1); }
.pcard-noimg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; color: rgba(255, 255, 255, .45); font-size: 13px; }
.pcard-badges { position: absolute; z-index: 2; left: 16px; top: 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.badge { display: inline-block; padding: 3px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #fff; line-height: 1.8; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.badge-new { background: var(--gold); color: #000; }
.badge-off { background: #dc2626; }
.badge-best { background: var(--teal); border: 1px solid rgba(212, 175, 55, .5); }
.badge-out { background: rgba(0, 0, 0, .65); }
.pcard-hover { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .3s; pointer-events: none; }
.pcard:hover .pcard-hover { opacity: 1; pointer-events: auto; }
.ph-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #000; transition: background .3s, transform .3s; }
.ph-btn:hover { background: var(--gold); }
.ph-gold { background: var(--gold); }
.ph-gold:hover { transform: scale(1.1); }
.pcard-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-cat { font-size: 13px; color: rgba(255, 255, 255, .7); }
.pcard-title { font-size: 19px; font-weight: 800; line-height: 1.6; transition: color .3s; }
.pcard:hover .pcard-title { color: var(--gold); }
.pcard-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.pcard-price .now { font-size: 22px; font-weight: 900; color: var(--gold); }
.pcard-price small { font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .7); }
.pcard-price del { color: rgba(255, 255, 255, .4); font-size: 14px; }
.swatches { list-style: none; display: flex; gap: 7px; margin: 4px 0 0; padding: 0; }
.swatches li { width: 15px; height: 15px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.pcard-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .4); color: var(--gold); font-size: 13.5px; font-weight: 700; transition: background .3s, color .3s; }
.pcard-body .pcard-btn { margin-top: 14px; }
.pcard-btn:hover { background: var(--gold); color: var(--hero); }
.pcard.is-out .pcard-img img { filter: grayscale(.4) brightness(.85); }

/* ---------- new collection (NewCollection.tsx) ---------- */
.sec-nc { position: relative; overflow: hidden; background: var(--deep); padding-block: 128px; }
.nc-glow { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(450px 450px at 50% 50%, rgba(15, 106, 97, .22), transparent 70%),
  radial-gradient(300px 300px at 0 0, rgba(212, 175, 55, .1), transparent 70%),
  radial-gradient(320px 320px at 100% 100%, rgba(13, 92, 85, .3), transparent 70%); }
.sec-nc::before, .sec-nc::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.sec-nc::before { left: -80px; top: 50%; width: 280px; height: 280px; transform: translateY(-50%); border: 1px solid rgba(212, 175, 55, .2); }
.sec-nc::after { right: -96px; top: 80px; width: 220px; height: 220px; border: 1px solid rgba(212, 175, 55, .1); }
.nc-card { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 96px; border-radius: 45px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(247, 241, 229, .96); box-shadow: 0 40px 120px rgba(0, 0, 0, .35); color: var(--teal); }
.nc-copy h2 { margin-top: 22px; font-size: clamp(34px, 4.2vw, 60px); line-height: 1.45; font-weight: 900; color: var(--teal); }
.nc-line { display: block; margin-top: 30px; width: 176px; height: 2px; border-radius: 2px; background: var(--gold); }
.nc-copy p { margin: 30px 0 0; max-width: 560px; font-size: clamp(16px, 1.4vw, 20px); line-height: 2.1; color: #48645F; }
.nc-cta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 46px; }
.nc-cta .btn-green { font-weight: 800; }
.nc-cta .btn-green:hover { transform: translateY(-4px); background: #0A4C46; box-shadow: 0 20px 40px rgba(13, 92, 85, .35); }
.nc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 60px 0 0; }
.nc-stats dt { font-size: clamp(30px, 3.4vw, 48px); font-weight: 900; color: var(--teal); line-height: 1.2; font-family: var(--serif); direction: ltr; text-align: right; }
.nc-stats dd { margin: 10px 0 0; color: #6A7B78; }
.nc-media { position: relative; display: flex; justify-content: center; }
.nc-media::before { content: ''; position: absolute; width: 420px; max-width: 90%; height: 540px; border-radius: 45px; background: rgba(212, 175, 55, .2); filter: blur(90px); }
.nc-frame { position: relative; overflow: hidden; border-radius: 40px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .25); padding: 20px; box-shadow: 0 35px 80px rgba(0, 0, 0, .25); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); max-width: 500px; }
.nc-frame img { border-radius: 28px; width: 100%; aspect-ratio: 5 / 7; object-fit: cover; transition: transform .7s; }
.nc-frame:hover img { transform: scale(1.05); }
.nc-badge { position: absolute; left: 34px; top: 34px; border-radius: 999px; background: var(--gold); padding: 10px 24px; font-size: 14px; font-weight: 800; color: var(--teal); font-family: var(--serif); }
.nc-caption { position: absolute; right: 34px; bottom: 34px; display: flex; flex-direction: column; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .2); padding: 18px 24px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; }
.nc-caption small { font-size: 14px; color: rgba(255, 255, 255, .9); }
.nc-caption strong { margin-top: 4px; font-size: 24px; font-weight: 900; font-family: var(--serif); direction: ltr; }

/* ---------- brands ---------- */
.sec-brands { padding-block: 90px; }
.brand-row { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; gap: clamp(28px, 7vw, 110px); flex-wrap: wrap; }
.brand-word { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); letter-spacing: .14em; color: rgba(255, 255, 255, .72); transition: color .3s; direction: ltr; display: inline-block; }
.brand-word:hover { color: #fff; }
.brand-word.is-selin { color: var(--gold); }

/* ---------- brand story (BrandStory/*.tsx) ---------- */

@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(6deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(15px); } }

[data-reveal] { transition: opacity .8s ease, transform .8s ease; }
.js [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(34px); }

/* ---------- instagram (instagram/*.tsx) ---------- */
.sec-ig { position: relative; overflow: hidden; background: var(--cream); padding-block: 128px; color: var(--teal); }
.sec-ig::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at center, #EEDFAE 0%, transparent 70%); opacity: .6; pointer-events: none; }
.sec-ig .container { position: relative; }

.ig-grid { list-style: none; margin: 90px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.ig-grid a { position: relative; display: block; height: 340px; overflow: hidden; border-radius: 32px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .3); box-shadow: 0 20px 50px rgba(0, 0, 0, .1); transition: transform .5s, border-color .5s, box-shadow .5s; }
.ig-grid a:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 35px 80px rgba(0, 0, 0, .18); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.ig-grid a:hover img { transform: scale(1.1); }
.ig-over { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px; background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, .15) 50%, transparent); opacity: 0; transition: opacity .5s; }
.ig-over span { border-radius: 999px; background: var(--gold); padding: 7px 20px; font-size: 14px; font-weight: 800; color: var(--hero); }
.ig-grid a:hover .ig-over, .ig-grid a:focus-visible .ig-over { opacity: 1; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: #071a17; color: rgba(255, 255, 255, .72); overflow: hidden; border-top: 1px solid rgba(212, 175, 55, .18); }
.footer-leaf { position: absolute; bottom: 0; height: 100%; max-height: 380px; width: auto; opacity: .9; pointer-events: none; }
.footer-leaf-r { right: 0; }
.footer-leaf-l { left: 0; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 36px; }
.f-brand .logo-fa { height: 84px; width: auto; margin-bottom: 10px; }
.f-brand img { height: 44px; width: auto; margin-bottom: 12px; }
.f-brand p { font-size: 14px; color: rgba(255, 255, 255, .62); }
.f-social { display: flex; gap: 10px; margin-top: 8px; }
.f-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .45); color: var(--gold); transition: background .3s; }
.f-social a:hover { background: rgba(212, 175, 55, .14); }
.f-col h2 { font-size: 15px; color: #fff; margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.f-col a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 8px; align-items: flex-start; }
.f-contact .ico { color: var(--gold); margin-top: 4px; }
.f-social { flex-wrap: wrap; }
.f-social a.f-msg { width: auto; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--gold); }
.f-route { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.f-route a { padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .4); color: var(--gold); font-size: 12.5px; }
.f-route a:hover { background: rgba(212, 175, 55, .12); }
.footer-bottom p { margin: 0; }
.f-credit { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 8px !important; font-size: 12px; color: rgba(255, 255, 255, .45); }
.f-credit img { display: block; height: 34px; width: auto; opacity: .92; transition: opacity .2s, transform .2s; }
.f-credit a:hover img { opacity: 1; transform: translateY(-1px); }
.footer-bottom { position: relative; border-top: 1px solid rgba(212, 175, 55, .14); font-size: 13px; color: rgba(255, 255, 255, .5); padding-block: 16px; text-align: center; }

/* ---------- generic page parts ---------- */
.page-head { padding-block: 26px 14px; }
.page-head h1 { font-size: clamp(24px, 2.6vw, 36px); font-weight: 900; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); }
.panel { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.prose { max-width: 780px; white-space: pre-line; color: var(--ink-2); line-height: 2.1; }
.empty { text-align: center; color: var(--muted); padding: 48px 16px; display: grid; justify-items: center; gap: 10px; background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .15); border-radius: var(--radius); }
.empty .ico { color: var(--gold); }
.empty p { margin: 0; }
.pager { display: flex; justify-content: center; gap: 6px; margin: 34px 0 8px; }
.pager a, .pager span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); }
.pager a:hover { border-color: var(--gold); color: var(--gold); }
.pager [aria-current] { background: var(--gold); color: var(--hero); border-color: var(--gold); font-weight: 800; }
.muted { color: var(--muted); }
.note { font-size: 13px; color: var(--muted); }
.notice { background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .3); color: #f1dfa6; padding: 12px 16px; border-radius: var(--radius-s); font-size: 14px; }

/* shop */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; padding-bottom: 70px; }
.shop-layout > * { min-width: 0; }
.filters { position: sticky; top: 120px; display: grid; gap: 22px; }
.filters h2 { font-size: 15px; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); font-size: 13.5px; transition: all .25s; }
.chip[aria-current="true"] { background: var(--gold); color: var(--hero); border-color: var(--gold); font-weight: 800; }
.chip:hover { border-color: var(--gold); }
.stock-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-inline-end: 7px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(88, 196, 140, .18); }
.chip-stock[aria-current="true"] .stock-dot { background: #0b6b3f; box-shadow: none; }
.srch-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.srch-bar .chip { white-space: nowrap; }
.chip-clear { border-style: dashed; color: var(--muted); }
@media (max-width: 760px) { .srch-bar { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; } .srch-bar::-webkit-scrollbar { display: none; } }
.srch-opt { display: flex; align-items: center; gap: 8px; flex-basis: 100%; padding: 2px 14px 4px; font-size: 13.5px; color: rgba(255, 255, 255, .8); cursor: pointer; }
.srch-opt input { width: 18px; height: 18px; accent-color: var(--gold); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; color: var(--muted); }
.shop-bar form { display: flex; gap: 8px; align-items: center; }
.pgrid-3 { grid-template-columns: repeat(3, 1fr); }

/* forms */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .field .lbl { font-size: 14px; font-weight: 700; color: #fff; }
.input, .field input:not([type=radio]):not([type=checkbox]), .field select, .field textarea, select.input {
  width: 100%; min-height: 48px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-s); background: rgba(255, 255, 255, .06); color: #fff; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .4); }
select option { background: #0e2421; color: #fff; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { outline: 2px solid rgba(212, 175, 55, .55); border-color: var(--gold); }
.field .err { color: var(--red); font-size: 13px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
input[type=radio], input[type=checkbox] { accent-color: var(--gold); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-s); background: rgba(255, 255, 255, .04); margin-bottom: 10px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(212, 175, 55, .06); }
.radio-card.is-disabled { opacity: .55; cursor: not-allowed; }
.auth-wrap { max-width: 460px; margin: 30px auto 80px; }
.auth-wrap h1 { font-size: 26px; margin-bottom: 4px; }

/* ---------- product page ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px; align-items: start; padding-bottom: 40px; }
.gallery { display: grid; grid-template-columns: 86px 1fr; gap: 14px; }
.g-thumbs { display: flex; flex-direction: column; gap: 10px; }
.g-thumb { padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; overflow: hidden; background: var(--card-green); cursor: pointer; aspect-ratio: 1 / 1.2; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; }
.g-thumb[aria-current="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.g-main { position: relative; border-radius: 32px; overflow: hidden; background: var(--card-green); aspect-ratio: 1 / 1.15; cursor: zoom-in; border: 1px solid rgba(212, 175, 55, .2); padding: 0; width: 100%; display: block; }
.g-main img { width: 100%; height: 100%; object-fit: contain; transition: transform .15s ease-out; transform-origin: center; }
.g-main.is-zoomed img { transform: scale(2); }
.g-hint { position: absolute; left: 14px; bottom: 14px; display: inline-flex; gap: 4px; align-items: center; background: rgba(0, 0, 0, .5); border-radius: 999px; padding: 3px 12px; font-size: 12px; color: #fff; pointer-events: none; }
.g-empty { display: grid; place-content: center; justify-items: center; gap: 8px; color: var(--muted); aspect-ratio: 1 / 1.1; background: var(--card-green); border-radius: 32px; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(4, 14, 12, .97); display: flex; align-items: center; justify-content: center; }
.lightbox-img-wrap { width: 100%; height: 100%; overflow: auto; display: flex; align-items: center; justify-content: center; touch-action: pan-x pan-y pinch-zoom; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox.is-zoomed .lightbox-img-wrap { display: block; }
.lightbox.is-zoomed img { max-width: none; max-height: none; width: 220%; }
.lightbox-close { position: absolute; top: 12px; left: 12px; z-index: 2; color: #fff; background: rgba(255, 255, 255, .12); }
.lightbox-count { position: absolute; bottom: 14px; inset-inline: 0; text-align: center; color: #dfe8e4; font-size: 13px; }

.buy { position: sticky; top: 120px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(212, 175, 55, .25); border-radius: 30px; padding: 30px; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); scroll-margin-top: 120px; }
.buy h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 900; }
.buy-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.buy-meta a { color: var(--gold); }
.buy-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 28px; font-weight: 900; margin-bottom: 18px; color: var(--gold); }
.buy-price small { font-size: 14px; font-weight: 400; color: var(--ink-2); }
.buy-price del { font-size: 17px; color: rgba(255, 255, 255, .4); font-weight: 400; }
.buy-price .is-off { color: var(--gold); }
.opt { border: 0; padding: 0; margin: 0 0 18px; }
.opt legend { font-weight: 700; font-size: 14px; margin-bottom: 10px; padding: 0; }
.opt legend span { font-weight: 400; color: var(--muted); }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-item { position: relative; }
.opt-item input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt-item span { display: inline-flex; align-items: center; gap: 8px; min-width: 50px; min-height: 42px; justify-content: center; padding: 4px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 14px; transition: all .2s; }
.opt-item .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35); }
.opt-item input:checked + span { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); background: rgba(212, 175, 55, .1); color: #fff; }
.opt-item input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.opt-item input:disabled + span { color: rgba(255, 255, 255, .3); background: transparent; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .04); }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: #fff; }
.qty button:hover { color: var(--gold); }
.qty input { width: 46px; text-align: center; border: 0; height: 44px; -moz-appearance: textfield; appearance: textfield; background: transparent; color: #fff; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.buy-row .btn { flex: 1; min-height: 50px; border-radius: 999px; }
.buy-row .btn-green { background: var(--gold); color: var(--hero); font-weight: 800; }
.buy-row .btn-green:hover { background: #E4BE57; }
.stock-line { font-size: 13px; margin: 12px 0 0; min-height: 22px; }
.stock-line.ok { color: var(--ok); }
.stock-line.low { color: #f0c463; }
.stock-line.out { color: var(--red); }
.buy-links { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.buy-links a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); }
.buy-links a:hover { color: var(--gold); }
.desc { margin-top: 20px; white-space: pre-line; color: var(--ink-2); font-size: 14.5px; line-height: 2.1; }

/* cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; padding-bottom: 70px; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 0; }
.cart-item img, .cart-item .ph { width: 96px; aspect-ratio: 1 / 1.2; object-fit: cover; border-radius: 16px; background: var(--card-green); }
.cart-item h3 { font-size: 16px; }
.cart-item .meta { font-size: 13px; color: var(--muted); }
.cart-item .problem { color: var(--red); font-size: 13px; }
.cart-item .line-total { color: var(--gold); font-weight: 800; }
.cart-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.summary { display: grid; gap: 12px; position: sticky; top: 120px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.sum-row.total { font-weight: 900; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; color: var(--gold); }
.summary .btn-green { background: var(--gold); color: var(--hero); border-radius: 999px; font-weight: 800; }
.summary .btn-green:hover { background: #E4BE57; }

/* account */
.acc-layout { display: grid; grid-template-columns: 230px 1fr; gap: 26px; align-items: start; padding-bottom: 70px; }
.acc-nav { display: grid; gap: 4px; }
.acc-nav a, .acc-nav button { padding: 10px 14px; border-radius: 999px; text-align: right; background: none; border: 0; cursor: pointer; color: var(--ink-2); }
.acc-nav a:hover, .acc-nav button:hover { color: var(--gold); }
.acc-nav a[aria-current="page"] { background: rgba(212, 175, 55, .12); color: var(--gold); font-weight: 800; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: right; vertical-align: top; }
.table th { font-size: 13px; color: var(--muted); font-weight: 700; }
.table a { color: var(--gold); }
.table-wrap { overflow-x: auto; }
.status { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: 12.5px; background: rgba(255, 255, 255, .08); white-space: nowrap; }
.status-paid, .status-completed, .status-delivered { background: rgba(88, 196, 140, .15); color: #9fe3bf; }
.status-pending_payment { background: rgba(240, 196, 99, .15); color: #f3d38b; }
.status-cancelled, .status-expired { background: rgba(239, 107, 98, .15); color: #ffb3ad; }
.status-processing, .status-shipped { background: rgba(110, 168, 230, .15); color: #b5d4f5; }

/* mock gateway */
.gateway { max-width: 520px; margin: 30px auto 80px; }
.gateway .test-tag { display: inline-block; background: rgba(240, 196, 99, .15); color: #f3d38b; border: 1px solid rgba(240, 196, 99, .4); border-radius: 999px; padding: 2px 12px; font-size: 13px; margin-bottom: 10px; }

/* brands page */
.brand-row.panel { padding-block: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .hdr-nav { gap: 26px; }
  .hdr { padding-inline: 28px; }
  .pslider-track { grid-auto-columns: calc((100% - 2 * 30px) / 3); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .nc-card { padding: 64px; gap: 48px; }
}
@media (max-width: 1100px) {
  .hdr-nav { gap: 18px; }
  .hdr-nav a { font-size: 14px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { gap: 20px; }
  .cat-card { height: 360px; }
  .pgrid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  
  
  .ig-grid { gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-space: 104px; }
  .hdr-wrap { padding-inline: 14px; }
  .hdr { margin-top: 14px; height: 66px; padding-inline: 10px 14px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 6px; }
  .site-header.is-scrolled .hdr { margin-top: 8px; height: 60px; }
  .hdr-nav, .hdr-search-btn, .hdr-account { display: none; }
  .hdr-logo { grid-column: 2; grid-row: 1; justify-self: center; }
  .hdr-logo .logo-fa { height: 46px; }
  .hdr-actions { display: contents; }
  .hdr-cart { grid-column: 1; grid-row: 1; justify-self: start; }
  .hdr-menu-btn { display: inline-grid; grid-column: 3; grid-row: 1; justify-self: end; }
  .hero-src { padding-top: 110px; min-height: 0; }
  .hero-src-in { grid-template-columns: 1fr; gap: 36px; min-height: 0; padding-bottom: 70px; }
  .hero-card { width: min(420px, 82vw); }
  .hero-copy { align-items: center; text-align: center; margin-inline: auto; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-logo { width: 120px; margin-bottom: 22px; }
  .hero-scroll { display: none; }
  .hero-wide { padding-top: 96px; }
  .hero-wide .hero-copy { width: 100%; }
  .sec { padding-block: 70px; }
  .sec-head { margin-bottom: 40px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .pslider-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
  .pslider-btn { display: none; }
  .pgrid, .pgrid-3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nc-card, .story-grid { grid-template-columns: 1fr; }
  .nc-card { padding: 44px 30px; }
  .sec-nc, .sec-story, .sec-ig { padding-block: 80px; }
  
  .ig-grid { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .ig-grid a { height: 280px; }
  .shop-layout, .cart-layout, .acc-layout, .product { grid-template-columns: 1fr; }
  .filters { position: static; }
  .buy, .summary { position: static; }
  .gallery { grid-template-columns: 1fr; }
  .g-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .g-thumb { width: 72px; flex: none; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .container { padding-inline: 16px; }
  .flash { width: calc(100% - 32px); }
  .is-home .flash { top: 90px; width: calc(100% - 32px); }
  .hero-src { padding-top: 96px; }
  .hero-src-in { gap: 26px; padding-bottom: 50px; }
  .hero-card { border-radius: 30px; width: 78vw; }
  .hero-eyebrow { margin-bottom: 10px; letter-spacing: 6px; }
  .hero-logo { display: none; }
  .hero-title { font-size: 34px; line-height: 1.45; }
  .hero-sub { margin-top: 16px; font-size: 15px; line-height: 2; }
  .hero-cta { margin-top: 26px; gap: 10px; width: 100%; }
  .hero-cta .btn { flex: 1 1 0; padding-inline: 12px; min-height: 50px; font-size: 14.5px; }
  .hero-trust { margin-top: 24px; font-size: 13px; gap: 0 12px; }
  .hero-trust li + li::before { margin-inline-end: 12px; }
  .hero-wide { min-height: 0; display: block; padding-top: 0; }
  .hero-wide .hero-bg { position: relative; display: block; height: min(100vw, 440px); }
  .hero-wide .hero-shade { bottom: auto; height: min(100vw, 440px); background: linear-gradient(to top, rgba(8, 40, 36, 1) 0%, rgba(8, 40, 36, .4) 22%, rgba(8, 40, 36, 0) 45%), linear-gradient(to bottom, rgba(6, 34, 30, .6), rgba(6, 34, 30, 0) 30%); }
  .hero-wide .hero-in { margin-top: -60px; }
  .hero-wide { background: #082824; padding-bottom: 30px; }
  .sec-features { padding-block: 44px; }
  .feat-grid { gap: 12px; }
  .feat { padding: 18px 16px; border-radius: 20px; }
  .feat-ic { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 12px; }
  .feat-ic .ico { width: 22px; height: 22px; }
  .feat h3 { font-size: 16px; }
  .feat p { font-size: 12.5px; }
  .sec { padding-block: 56px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head p { font-size: 14.5px; }
  .eyebrow { letter-spacing: 5px; font-size: 12px; }
  .cat-grid { gap: 12px; }
  .cat-card { height: 250px; border-radius: 22px; }
  .cat-name { font-size: 21px; right: 18px; bottom: 18px; }
  .tabs { margin-top: -10px; margin-bottom: 26px; gap: 8px; }
  .tabs a { padding: 6px 15px; font-size: 13.5px; }
  .pslider-track { grid-auto-columns: 70%; gap: 14px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .pgrid, .pgrid-3 { gap: 12px; }
  .pcard { border-radius: 22px; }
  .pcard-badges { left: 10px; top: 10px; gap: 5px; }
  .badge { font-size: 11px; padding: 1px 10px; }
  .pcard-body { padding: 12px 12px 14px; gap: 4px; }
  .pcard-cat { font-size: 12px; }
  .pcard-title { font-size: 14.5px; }
  .pcard-price { gap: 2px 8px; }
  .pcard-price .now { font-size: 16px; }
  .pcard-price del { font-size: 12px; }
  .pcard-body .pcard-btn { margin-top: 10px; min-height: 38px; font-size: 12px; gap: 4px; }
  .pcard-btn .ico { width: 15px; height: 15px; }
  .sec-nc, .sec-story, .sec-ig { padding-block: 60px; }
  .nc-card { padding: 34px 20px; border-radius: 30px; gap: 34px; }
  .nc-line { margin-top: 20px; width: 120px; }
  .nc-copy p { margin-top: 20px; }
  .nc-cta { margin-top: 28px; gap: 10px; }
  .nc-cta .btn { flex: 1 1 auto; padding-inline: 18px; }
  .nc-stats { margin-top: 36px; gap: 12px; }
  .nc-stats dd { font-size: 12.5px; }
  .nc-frame { padding: 12px; border-radius: 30px; }
  .nc-frame img { border-radius: 22px; }
  .nc-badge { left: 22px; top: 22px; padding: 6px 16px; }
  .nc-caption { right: 22px; bottom: 22px; padding: 12px 16px; border-radius: 18px; }
  .nc-caption strong { font-size: 18px; }
  
  
  
  
  
  
  
  
  
  
  
  
  .ig-grid { gap: 12px; margin-top: 40px; }
  .ig-grid a { height: 180px; border-radius: 22px; }
  .ig-over { padding: 12px; }
  .ig-over span { font-size: 11.5px; padding: 4px 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; padding-block: 40px 26px; }
  .f-brand { grid-column: 1 / -1; text-align: center; display: grid; justify-items: center; }
  .f-contact { grid-column: 1 / -1; }
  .footer-leaf { max-height: 230px; height: 230px; opacity: .45; }
  .grid-2 { grid-template-columns: 1fr; }
  .panel { padding: 18px; border-radius: 18px; }
  .cart-item { grid-template-columns: 76px 1fr; }
  .cart-item img, .cart-item .ph { width: 76px; }
  .cart-item .line-total { grid-column: 2; }
  .buy { padding: 20px; border-radius: 24px; }
  .g-main { border-radius: 24px; }
}
@media (hover: none) {
  .pcard-hover { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; transform: none; }
}

/* ---------- 3.3: address + map location picker ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 0 14px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check-line input { margin-top: 6px; }
.geo-box { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius-s); padding: 14px 16px 12px; margin: 0 0 18px; background: rgba(255, 255, 255, .03); }
.geo-box.has-err { border-color: var(--red); }
.geo-box legend { font-weight: 700; font-size: 14px; padding: 0 6px; color: #fff; }
.geo-help { margin-bottom: 10px; }
.geo-map { position: relative; height: 320px; border-radius: 14px; overflow: hidden; background: #dfe6e4; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; border: 1px solid rgba(212, 175, 55, .3); }
.geo-map.is-drag { cursor: grabbing; }
.geo-map:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.geo-tiles { position: absolute; inset: 0; direction: ltr; }
.geo-tiles img { position: absolute; left: 0; top: 0; width: 256px; height: 256px; max-width: none; pointer-events: none; }
.geo-pin { position: absolute; z-index: 3; left: 50%; top: 50%; width: 34px; height: 46px; margin: -46px 0 0 -17px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 46'%3E%3Cpath d='M17 1C8.2 1 1 8 1 16.7 1 28.5 17 45 17 45s16-16.5 16-28.3C33 8 25.8 1 17 1z' fill='%23D4AF37' stroke='%23083d39' stroke-width='2'/%3E%3Ccircle cx='17' cy='16.5' r='6' fill='%23083d39'/%3E%3C/svg%3E") no-repeat center / contain;
  filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .35)); transition: transform .15s; }
.geo-map.is-drag .geo-pin { transform: translateY(-8px); }
.geo-pin::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 4px; margin-left: -5px; border-radius: 50%; background: rgba(0, 0, 0, .35); }
.geo-box:not(.is-set) .geo-pin { opacity: .75; }
.geo-zoom { position: absolute; z-index: 4; left: 10px; top: 10px; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.geo-zoom button { width: 36px; height: 36px; border: 0; background: #fff; color: #083d39; font-size: 20px; line-height: 1; cursor: pointer; }
.geo-zoom button + button { border-top: 1px solid #ddd; }
.geo-attr { position: absolute; z-index: 4; right: 6px; bottom: 4px; font-size: 10px; color: #333; background: rgba(255, 255, 255, .8); padding: 0 5px; border-radius: 4px; direction: ltr; }
.geo-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.geo-actions .btn { min-height: 40px; font-size: 13.5px; }
.geo-status { margin: 8px 0 4px; font-size: 13px; color: var(--gold); min-height: 22px; }
.geo-box:not(.is-set) .geo-status { color: var(--muted); }
.geo-link summary { cursor: pointer; font-size: 13px; color: var(--ink-2); margin: 4px 0; }
.geo-link input { width: 100%; min-height: 44px; margin-top: 6px; padding: 8px 14px; border-radius: var(--radius-s); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; }
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 .field:last-child { grid-column: 1 / -1; }
  .geo-map { height: 280px; }
  .geo-box { padding: 12px; }
  .geo-actions .btn { flex: 1 1 auto; }
}

/* ---------- 3.3: installed app (PWA) + phone safe areas ---------- */
@supports (padding: max(0px)) {
  .hdr-wrap { padding-left: max(32px, env(safe-area-inset-left)); padding-right: max(32px, env(safe-area-inset-right)); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}
@media (max-width: 960px) {
  @supports (padding: max(0px)) { .hdr-wrap { padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); } }
}
@media (display-mode: standalone) {
  .hdr { margin-top: max(10px, env(safe-area-inset-top)); }
  body { overscroll-behavior-y: none; }
}
input, select, textarea { font-size: max(16px, 1em); } /* no zoom-on-focus in iOS Safari */
.offline-page { min-height: 70vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 30px; }
.offline-page img { width: 120px; }
@media (max-width: 960px) {
  .acc-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px; }
  .acc-nav a, .acc-nav button { padding: 7px 14px; border: 1px solid var(--line); font-size: 14px; }
  .acc-nav form { display: contents; }
}
.geo-fail { position: absolute; z-index: 2; inset: auto 12px 30px; padding: 10px 12px; border-radius: 10px; background: rgba(8, 40, 36, .92); color: #f1dfa6; font-size: 12.5px; line-height: 1.9; text-align: center; }

/* ---------- 3.4: style sets, size, coupon, OTP, popup, seals ---------- */
.set-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.set-card { display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; border: 1px solid rgba(212, 175, 55, .25); background: linear-gradient(160deg, #14544D, #0d3a35); transition: transform .4s, box-shadow .4s, border-color .4s; }
.set-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 60px rgba(212, 175, 55, .2); }
.set-media { position: relative; display: block; padding: 18px; background: var(--cream); }
.set-cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.set-items { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 200px; }
.set-item { flex: 1; max-width: 140px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #e8dfcd; box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.set-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.set-plus { color: var(--gold); font-size: 26px; font-weight: 300; }
.set-save { position: absolute; left: 28px; top: 28px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 14px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
.set-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.set-body h3 { font-size: 19px; }
.set-body h3 a:hover { color: var(--gold); }
.set-list { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .65); }
.set-price { display: flex; gap: 12px; align-items: baseline; }
.set-price del { color: rgba(255, 255, 255, .45); font-size: 14px; }
.set-price strong { color: var(--gold); font-size: 22px; font-weight: 900; }
.set-note { margin: 0; font-size: 13px; color: #f1dfa6; }
.set-body .pcard-btn { margin-top: auto; }
.set-hint { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 16px; border-color: rgba(212, 175, 55, .4); }
.set-hint strong { color: var(--gold); }
.badge-last { background: #b45309; }
.good { color: var(--ok); }
.saved { margin: 0; font-size: 13.5px; color: var(--ok); font-weight: 700; }
.coupon-form { margin-top: 4px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row .input { min-height: 44px; }
.coupon-on { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; padding: 8px 12px; border-radius: var(--radius-s); background: rgba(88, 196, 140, .1); border: 1px dashed rgba(88, 196, 140, .5); }
.coupon-form .err { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.otp-box { margin-bottom: 18px; padding: 20px 22px; border-radius: var(--radius); border: 1px solid rgba(212, 175, 55, .5); background: rgba(212, 175, 55, .07); }
.otp-box h2 { font-size: 18px; margin-bottom: 4px; }
.otp-box .err { color: var(--red); font-size: 13.5px; }
.otp-verify { display: flex; gap: 8px; margin: 12px 0 6px; max-width: 360px; }
.otp-verify .input { letter-spacing: .35em; text-align: center; font-size: 20px; }
form[data-locked] { opacity: .55; }
form[data-locked] .geo-box, form[data-locked] input, form[data-locked] textarea { pointer-events: auto; }
.trust-seals { position: relative; display: flex; gap: 14px; justify-content: center; padding-bottom: 18px; }
.trust-seals .seal { display: block; background: #fff; border-radius: 12px; padding: 6px; }
.trust-seals img { width: 90px; height: auto; }
.size-pop { position: fixed; z-index: 55; bottom: max(18px, env(safe-area-inset-bottom)); right: 18px; width: min(360px, calc(100vw - 36px)); display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 16px 16px 40px; border-radius: 20px; border: 1px solid rgba(212, 175, 55, .45); background: rgba(8, 40, 36, .96); box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transform: translateY(20px); opacity: 0; transition: transform .4s, opacity .4s; }
.size-pop.is-on { transform: none; opacity: 1; }
.size-pop img { border-radius: 12px; flex: none; }
.size-pop strong { color: var(--gold); font-size: 15px; }
.size-pop p { margin: 4px 0 10px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .85); }
.size-pop-cta { display: flex; gap: 8px; }
.size-pop-cta .btn { min-height: 38px; padding-inline: 16px; font-size: 13px; }
.size-pop-x { position: absolute; left: 6px; top: 6px; width: 32px; height: 32px; }
/* fullscreen map */

body.geo-fs { overflow: hidden; }
.geo-box.is-full .geo-map { position: fixed; z-index: 90; inset: 0; height: auto; border-radius: 0; border: 0; }
.geo-fs-bar { position: fixed; z-index: 91; top: max(10px, env(safe-area-inset-top)); inset-inline: 10px; display: flex; gap: 8px; align-items: center; }
.geo-fs-bar input { flex: 1; min-width: 0; min-height: 46px; border-radius: 999px; border: 0; padding: 0 18px; background: #fff; color: #12302c; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); font-size: 16px; }
.geo-fs-bar .icon-btn { background: #fff; color: #083d39; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); flex: none; }
.geo-fs-results { position: fixed; z-index: 92; top: calc(max(10px, env(safe-area-inset-top)) + 54px); inset-inline: 10px; max-height: 45vh; overflow: auto; border-radius: 16px; background: #fff; color: #12302c; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); }
.geo-fs-results button { display: block; width: 100%; text-align: right; padding: 12px 16px; border: 0; border-bottom: 1px solid #eee; background: none; color: inherit; cursor: pointer; font-size: 14px; line-height: 1.7; }
.geo-fs-results button:hover { background: #f4f1ea; }
.geo-fs-foot { position: fixed; z-index: 91; bottom: max(14px, env(safe-area-inset-bottom)); inset-inline: 14px; display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.geo-fs-foot .geo-fs-hint { align-self: center; background: rgba(8, 40, 36, .9); color: #fff; border-radius: 999px; padding: 6px 16px; font-size: 13px; }
.geo-fs-foot .btn { min-height: 54px; font-size: 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.geo-fs-foot .geo-fs-row { display: flex; gap: 8px; }
.geo-fs-foot .geo-fs-row .btn { flex: 1; }
.geo-box.is-full .geo-zoom { top: calc(max(10px, env(safe-area-inset-top)) + 62px); left: 12px; }
.geo-fs .site-header, .geo-fs .size-pop { display: none !important; }
.geo-fs .panel, .geo-fs .story-glass { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; }
.geo-fs-foot [data-fs-me] { background: #fff; color: #083d39; border-color: #fff; }
@media (max-width: 1100px) { .set-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .set-grid { grid-template-columns: 1fr; gap: 16px; }
  .set-items { min-height: 150px; }
  .size-pop { right: 12px; bottom: 12px; }
  .otp-box { padding: 16px; }
}

/* ================= 3.5: banner slider ================= */
.bnr { position: relative; margin: 28px auto 0; width: min(var(--container), calc(100% - 32px)); border-radius: var(--radius); overflow: hidden; isolation: isolate;
  background: var(--deep); border: 1px solid rgba(212, 175, 55, .25); box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.bnr-top { margin-top: calc(var(--header-space) - 8px); }
.bnr-view { overflow: hidden; touch-action: pan-y; }
.bnr-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .7s cubic-bezier(.22, .8, .2, 1); will-change: transform; }
.bnr-slide { position: relative; flex: 0 0 100%; aspect-ratio: 8 / 3; }
.bnr-slide a { display: block; height: 100%; color: inherit; }
.bnr-slide picture, .bnr-slide img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.fx-fade .bnr-track { display: grid; transform: none !important; }
.fx-fade .bnr-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .9s ease; }
.fx-fade .bnr-slide.is-on { opacity: 1; z-index: 1; }
.bnr-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(18px, 5vw, 64px); max-width: 100%; }
.bnr-copy.pos-right { align-items: flex-start; text-align: right; background: linear-gradient(270deg, rgba(4, 22, 20, .62), transparent 62%); }
.bnr-copy.pos-left { align-items: flex-end; text-align: left; background: linear-gradient(90deg, rgba(4, 22, 20, .62), transparent 62%); }
.bnr-copy.pos-center { align-items: center; text-align: center; background: radial-gradient(ellipse at center, rgba(4, 22, 20, .55), transparent 70%); }
.bnr-copy.theme-dark { color: #10231f; }
.bnr-copy.theme-dark.pos-right { background: linear-gradient(270deg, rgba(255, 255, 255, .55), transparent 62%); }
.bnr-copy.theme-dark.pos-left { background: linear-gradient(90deg, rgba(255, 255, 255, .55), transparent 62%); }
.bnr-copy.theme-dark.pos-center { background: radial-gradient(ellipse at center, rgba(255, 255, 255, .5), transparent 70%); }
.bnr-copy .bnr-title { margin: 0; font-size: clamp(20px, 3.4vw, 44px); line-height: 1.35; font-weight: 800; max-width: 22ch; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.bnr-copy.theme-dark .bnr-title { text-shadow: none; }
.bnr-copy p { margin: 0; font-size: clamp(13px, 1.5vw, 18px); max-width: 40ch; opacity: .92; }
.bnr-copy .btn { margin-top: 6px; }
.bnr-nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 3; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(8, 40, 36, .55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .25s, background .2s; }
.bnr:hover .bnr-nav, .bnr-nav:focus-visible { opacity: 1; }
.bnr-nav:hover { background: rgba(8, 40, 36, .85); }
.bnr-prev { right: 14px; rotate: 180deg; }
.bnr-next { left: 14px; }
.bnr-dots { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; z-index: 3; display: flex; gap: 4px; padding: 4px 8px; border-radius: 99px; background: rgba(0, 0, 0, .25); }
.bnr-dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.bnr-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .55); transition: width .3s, background .3s; }
.bnr-dots [aria-selected="true"] i { width: 22px; background: var(--gold); }
.bnr-pause { position: absolute; bottom: 12px; right: 14px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; font-size: 10px;
  background: rgba(0, 0, 0, .3); color: #fff; opacity: .75; }
.bnr-pause:hover, .bnr-pause:focus-visible { opacity: 1; }
@media (max-width: 700px) {
  .bnr { width: calc(100% - 24px); margin-top: 18px; border-radius: 18px; }
  .bnr-top { margin-top: calc(var(--header-space) - 20px); }
  .bnr-slide { aspect-ratio: 4 / 5; }
  .bnr-copy, .bnr-copy.pos-right, .bnr-copy.pos-left, .bnr-copy.pos-center { justify-content: flex-end; padding-bottom: 54px;
    background: linear-gradient(0deg, rgba(4, 22, 20, .72), transparent 60%); }
  .bnr-copy.theme-dark { background: linear-gradient(0deg, rgba(255, 255, 255, .7), transparent 60%); }
  .bnr-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .bnr-track, .fx-fade .bnr-slide { transition: none; } }

/* ================= 3.5: background music button ================= */
.music { position: fixed; z-index: 50; left: 18px; bottom: max(18px, env(safe-area-inset-bottom)); }
.music-btn { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--gold);
  background: rgba(8, 40, 36, .9); border: 1px solid rgba(212, 175, 55, .5); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.music-btn::after { content: ''; position: absolute; width: 26px; height: 2px; background: currentColor; rotate: -45deg; border-radius: 2px; opacity: .9; }
.music.is-on .music-btn::after { display: none; }
.music.is-on .music-btn svg { display: none; }
.music-eq { display: none; gap: 3px; align-items: flex-end; height: 18px; }
.music.is-on .music-eq { display: flex; }
.music-eq i { width: 3px; background: var(--gold); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.music-eq i:nth-child(2) { animation-delay: -.35s; } .music-eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 5px; } 50% { height: 18px; } }
@media (prefers-reduced-motion: reduce) { .music-eq i { animation: none; height: 12px; } }

/* ================= 3.5: ratings & reviews ================= */
.stars { display: inline-flex; gap: 1px; direction: ltr; color: rgba(255, 255, 255, .22); font-size: 15px; line-height: 1; }
.stars i { font-style: normal; }
.stars i.on { color: var(--gold); }
.stars i.half { background: linear-gradient(90deg, var(--gold) 50%, rgba(255, 255, 255, .22) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.lg { font-size: 22px; }
.rate-line { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 10px; color: var(--ink-2); font-size: 14px; text-decoration: none; }
.rate-line:hover { color: var(--gold); }
.pcard-rate { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.pcard-rate > span:first-child { color: var(--gold); }
.rv-wrap { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .rv-wrap { grid-template-columns: 1fr; } }
.rv-summary { padding: 20px; }
.rv-avg { display: flex; align-items: baseline; gap: 6px; } .rv-avg strong { font-size: 40px; color: var(--gold); line-height: 1.1; }
.rv-dist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 6px; }
.rv-dist li { display: grid; grid-template-columns: 38px 1fr 28px; gap: 8px; align-items: center; font-size: 13px; }
.rv-bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; } .rv-bar i { display: block; height: 100%; background: var(--gold); border-radius: 99px; }
.rv-me { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.rv-form { display: grid; gap: 10px; }
.rv-stars { border: 0; padding: 0; margin: 0; } .rv-stars legend { font-size: 14px; margin-bottom: 4px; }
.rv-pick { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; direction: ltr; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick label { font-size: 30px; line-height: 1; padding: 2px; cursor: pointer; color: rgba(255, 255, 255, .25); transition: color .15s, transform .15s; }
.rv-pick label:hover, .rv-pick label:hover ~ label, .rv-pick input:checked ~ label { color: var(--gold); }
.rv-pick input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.rv-list { display: grid; gap: 12px; }
.rv-item { padding: 16px 18px; } .rv-item header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-item p { margin: 8px 0 0; white-space: pre-line; color: var(--ink-2); }
.badge-buyer { background: rgba(88, 196, 140, .15); color: #8fe0b5; border: 1px solid rgba(88, 196, 140, .35); font-size: 11.5px; padding: 1px 8px; border-radius: 99px; }
.rv-reply { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(212, 175, 55, .08); border-inline-start: 3px solid var(--gold); font-size: 14px; }
.rv-pages { display: flex; gap: 10px; flex-wrap: wrap; }
/* keep the music button tappable while the size popup is open (phones) */
@media (max-width: 560px) { body:has(.music) .size-pop { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 62px); } }

/* ---------- 3.10: featured style set (big, animated) ---------- */
@property --set-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.sec-sets { position: relative; overflow: hidden; isolation: isolate; }
.sec-sets::before { content: ''; position: absolute; z-index: -1; inset: 10% -10% auto; height: 70%; background: radial-gradient(ellipse at 50% 50%, rgba(212, 175, 55, .16), transparent 62%); pointer-events: none; }
.sets-sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sets-sparkles i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 12px 3px rgba(245, 192, 86, .55); opacity: 0; animation: set-twinkle 4.8s ease-in-out infinite; }
.sets-sparkles i:nth-child(1) { top: 14%; right: 8%; animation-delay: 0s; }
.sets-sparkles i:nth-child(2) { top: 30%; left: 6%; animation-delay: .7s; width: 4px; height: 4px; }
.sets-sparkles i:nth-child(3) { top: 62%; right: 4%; animation-delay: 1.5s; }
.sets-sparkles i:nth-child(4) { top: 82%; left: 12%; animation-delay: 2.2s; width: 4px; height: 4px; }
.sets-sparkles i:nth-child(5) { top: 22%; left: 42%; animation-delay: 2.9s; width: 3px; height: 3px; }
.sets-sparkles i:nth-child(6) { top: 90%; right: 30%; animation-delay: 3.4s; }
.sets-sparkles i:nth-child(7) { top: 48%; left: 2%; animation-delay: 4s; width: 3px; height: 3px; }
.sets-sparkles i:nth-child(8) { top: 6%; left: 22%; animation-delay: 1.1s; width: 4px; height: 4px; }
@keyframes set-twinkle { 0%, 100% { opacity: 0; transform: scale(.4); } 45% { opacity: 1; transform: scale(1); } 70% { opacity: .3; } }

.set-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); border-radius: 36px; border: 2px solid transparent;
  background: linear-gradient(150deg, #155a52, #0b3430 70%) padding-box,
    conic-gradient(from var(--set-a), rgba(212, 175, 55, .18), #f5c056 12%, rgba(212, 175, 55, .18) 26%, rgba(212, 175, 55, .18) 60%, #f5c056 74%, rgba(212, 175, 55, .18) 88%) border-box;
  animation: set-border 7s linear infinite; box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 60px rgba(212, 175, 55, .12); }
@keyframes set-border { to { --set-a: 360deg; } }
.set-hero-glow { position: absolute; inset: -40px; z-index: -1; border-radius: 60px; background: radial-gradient(closest-side, rgba(212, 175, 55, .22), transparent); filter: blur(10px); pointer-events: none; }
.set-hero-media { order: 2; position: relative; display: grid; place-items: center; margin: 16px; min-height: 440px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 40%, #fffaf0, var(--cream) 55%, #eadfc8); }
.set-hero-cover { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.set-fan { position: relative; width: 100%; height: 100%; min-height: 400px; display: block; }
.set-fan-item { --off: calc(var(--i) - (var(--n) - 1) / 2); position: absolute; top: 50%; left: 50%; width: min(42%, 290px); aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; background: #e8dfcd;
  box-shadow: 0 18px 40px rgba(40, 30, 10, .28); border: 4px solid #fff;
  transform: translate(-50%, -50%) translateX(calc(var(--off) * 62%)) rotate(calc(var(--off) * 7deg)) translateY(calc(var(--off) * var(--off) * 6%));
  z-index: calc(10 - var(--off) * var(--off));
  transition: transform .9s cubic-bezier(.2, .8, .2, 1), box-shadow .5s; }
.set-fan-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .8s; }
.set-fan-name { position: absolute; inset: auto 8px 8px; padding: 4px 8px; border-radius: 999px; background: rgba(11, 39, 36, .78); color: #fff; font-size: 11.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; backdrop-filter: blur(4px); }
.js .set-hero:not(.is-in) .set-fan-item { transform: translate(-50%, -50%) rotate(0deg) scale(.92); }
.set-hero-media:hover .set-fan-item { transform: translate(-50%, -50%) translateX(calc(var(--off) * 78%)) rotate(calc(var(--off) * 10deg)) translateY(calc(var(--off) * var(--off) * 8% - 3%)); }
.set-hero-media:hover .set-fan-item img { transform: scale(1.05); }
.set-stamp { position: absolute; top: 18px; left: 18px; z-index: 20; width: 124px; height: 124px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(from 200deg, #b8892a, #f5c056, #d4af37, #f9dc8a, #b8892a); box-shadow: 0 12px 30px rgba(120, 80, 10, .35); }
.set-stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; direction: ltr; overflow: visible; animation: set-spin 22s linear infinite; }
.set-stamp text { font: 700 9.5px/1 var(--serif); letter-spacing: 2.2px; fill: #0b2724; }
.set-stamp-in { width: 74px; height: 74px; border-radius: 50%; background: #0b3430; color: var(--gold-light); display: grid; place-content: center; text-align: center; line-height: 1.1; box-shadow: inset 0 0 0 2px rgba(245, 192, 86, .5); }
.set-stamp-in b { font-size: 25px; font-weight: 900; }
.set-stamp-in small { font-size: 10.5px; color: #f1dfa6; }
@keyframes set-spin { to { transform: rotate(360deg); } }
.js .set-hero:not(.is-in) .set-stamp { transform: scale(.3) rotate(-90deg); opacity: 0; }
.set-stamp { transition: transform .8s cubic-bezier(.3, 1.6, .5, 1) .5s, opacity .5s .5s; }

.set-hero-body { order: 1; padding: 44px 44px 40px; display: flex; flex-direction: column; gap: 14px; }
.set-hero-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .5); background: rgba(212, 175, 55, .1); color: var(--gold-light); font-size: 13px; font-weight: 700; }
.set-hero-name { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; margin: 2px 0 0; }
.set-hero-name a:hover { color: var(--gold-light); }
.set-hero-desc { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.9; }
.set-hero-items { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.set-hero-items li { display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); font-size: 14px; }
.set-hero-items img { width: 40px; height: 48px; border-radius: 9px; object-fit: cover; object-position: center 20%; flex: none; }
.set-hero-items span { flex: 1; min-width: 0; }
.set-hero-items em { font-style: normal; color: var(--muted); font-size: 13px; white-space: nowrap; }
.set-compare { margin-top: 6px; padding: 16px 18px; border-radius: 18px; background: rgba(0, 0, 0, .22); display: grid; gap: 10px; }
.set-compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; color: var(--ink-2); }
.set-compare-row del { color: rgba(255, 255, 255, .5); font-size: 16px; text-decoration-color: #ef6b62; text-decoration-thickness: 2px; }
.set-compare-row.is-set strong { color: var(--gold-light); font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; }
.set-compare-bar { position: relative; height: 12px; border-radius: 999px; overflow: hidden;
  background: repeating-linear-gradient(-45deg, rgba(239, 107, 98, .55) 0 6px, rgba(239, 107, 98, .25) 6px 12px); }
.set-compare-bar i { position: absolute; inset: 0 0 0 auto; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, #d4af37, #f5c056); transition: width 1.4s cubic-bezier(.2, .8, .2, 1) .3s; }
.js .set-hero:not(.is-in) .set-compare-bar i { width: 100%; }
.set-hero-save { margin: 0; font-size: 16px; color: #f1dfa6; }
.set-hero-save b { color: #fff; font-size: 20px; padding: 2px 12px; border-radius: 10px; background: rgba(220, 38, 38, .85); margin-inline-start: 4px; }
.set-hero-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 28px; border-radius: 999px; margin-top: 4px;
  background: linear-gradient(135deg, #f9dc8a, #d4af37 45%, #b8892a); color: #0b2724; font-size: 17px; font-weight: 900; box-shadow: 0 14px 34px rgba(212, 175, 55, .35); transition: transform .3s, box-shadow .3s; }
.set-hero-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); transform: skewX(-20deg); animation: set-shine 3.6s ease-in-out infinite 1.2s; }
.set-hero-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(212, 175, 55, .5); }
@keyframes set-shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
.set-hero-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.set-grid-more { margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(290px, 400px)); justify-content: center; }
.set-fan-4 .set-fan-item { width: min(34%, 240px); }
.set-pct { position: absolute; right: 28px; top: 24px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 200deg, #b8892a, #f5c056, #d4af37, #f9dc8a, #b8892a); color: #0b2724; font-weight: 900; font-size: 16px; box-shadow: 0 8px 20px rgba(120, 80, 10, .3); }
.set-btn { position: relative; overflow: hidden; background: rgba(212, 175, 55, .12); }
.set-btn::after { content: ''; position: absolute; top: 0; bottom: 0; width: 35%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: set-shine 4.2s ease-in-out infinite 2s; }

@media (max-width: 900px) {
  .set-hero { grid-template-columns: 1fr; border-radius: 28px; }
  .set-hero-media { order: 0; min-height: 330px; margin: 10px 10px 0; border-radius: 22px; }
  .set-fan { min-height: 320px; }
  .set-fan-item { width: min(44%, 190px); border-width: 3px; border-radius: 16px; }
  .set-stamp { width: 96px; height: 96px; top: 12px; left: 12px; }
  .set-stamp-in { width: 58px; height: 58px; }
  .set-stamp-in b { font-size: 19px; }
  .set-stamp text { font-size: 8px; letter-spacing: 1.4px; }
  .set-hero-body { padding: 22px 18px 24px; gap: 12px; }
  .set-hero-cta { min-height: 54px; font-size: 15.5px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .set-hero, .set-stamp svg, .sets-sparkles i, .set-hero-cta::after, .set-btn::after { animation: none; }
  .sets-sparkles i { opacity: .6; }
  .set-fan-item, .set-compare-bar i, .set-stamp { transition: none; }
}

/* ---------- 3.10: satisfaction survey card ---------- */
.rate-pop { position: fixed; z-index: 56; right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); width: min(340px, calc(100vw - 36px)); padding: 18px 18px 16px; border-radius: 22px;
  background: linear-gradient(160deg, #155a52, #0b3430); border: 1px solid rgba(212, 175, 55, .45); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); color: var(--ink);
  opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .4s, transform .5s cubic-bezier(.2, .9, .3, 1.2); }
.rate-pop.is-on { opacity: 1; transform: none; }
.rate-x { position: absolute; top: 8px; left: 10px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .08); color: var(--ink-2); font-size: 20px; line-height: 1; cursor: pointer; }
.rate-q { margin: 0 0 10px; font-size: 15px; font-weight: 700; padding-inline-end: 28px; display: block; }
.rate-q small { font-weight: 400; color: var(--muted); }
.rate-stars { display: flex; justify-content: center; gap: 6px; }
.rate-stars button { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; font-size: 36px; line-height: 1; color: rgba(255, 255, 255, .22); transition: color .15s, transform .15s; }
.rate-stars button.is-hot, .rate-stars button.is-on { color: var(--gold-light); text-shadow: 0 0 14px rgba(245, 192, 86, .55); }
.rate-stars button:hover { transform: scale(1.15); }
.rate-stars button:focus-visible { outline: 2px solid var(--gold); border-radius: 10px; }

.rate-pop form { display: grid; gap: 10px; }
.rate-pop textarea { width: 100%; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .2); color: var(--ink); padding: 10px 12px; font: inherit; resize: vertical; }
.rate-thanks { margin: 6px 0; text-align: center; font-size: 16px; color: var(--gold-light); }
@media (max-width: 560px) { body:has(.music) .rate-pop { bottom: calc(max(18px, env(safe-area-inset-bottom)) + 62px); } }
@media (prefers-reduced-motion: reduce) { .rate-pop { transition: none; } }

/* ---------- 3.11: brand story + Selin family card ---------- */
.sec-bs { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0; background: radial-gradient(ellipse at 85% 10%, rgba(212, 175, 55, .1), transparent 50%), linear-gradient(180deg, #0f3c37, #0b2724); }
.bs-story { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.bs-media { order: 2; position: relative; margin: 0; border-radius: 34px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); outline: 1px solid rgba(212, 175, 55, .25); outline-offset: 10px; }
.bs-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.bs-media:hover img { transform: scale(1.05); }
.bs-media::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, rgba(5, 25, 22, .85), transparent); }
.bs-media figcaption { position: absolute; z-index: 1; inset: auto 26px 24px; color: #fff; display: grid; gap: 4px; }
.bs-media figcaption small { font-family: var(--serif); letter-spacing: .3em; font-size: 12px; color: var(--gold-light); }
.bs-media figcaption strong { font-size: 19px; font-weight: 800; line-height: 1.6; }
.bs-copy { order: 1; }
.bs-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; color: var(--gold-light); }
.bs-eyebrow i { width: 40px; height: 2px; border-radius: 2px; background: var(--gold); }
.bs-copy h2 { margin: 14px 0 0; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.35; font-weight: 900; }
.bs-lead { margin: 18px 0 0; font-size: clamp(17px, 1.45vw, 20px); line-height: 2; color: rgba(255, 255, 255, .93); }
.bs-text { margin: 12px 0 0; font-size: 16px; line-height: 2.1; color: rgba(255, 255, 255, .76); }
.bs-values { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.bs-values li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, background .3s; }
.bs-values li:hover { border-color: rgba(212, 175, 55, .4); background: rgba(212, 175, 55, .06); }
.bs-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(212, 175, 55, .15); color: var(--gold-light); }
.bs-values h3 { margin: 0; font-size: 17px; font-weight: 800; }
.bs-values p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.9; color: rgba(255, 255, 255, .72); }
.bs-foot { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.bs-stats { display: flex; gap: 36px; margin: 0; }
.bs-stats dt { font-size: 34px; font-weight: 800; color: var(--gold-light); font-family: var(--serif); line-height: 1.1; }
.bs-stats dd { margin: 4px 0 0; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.bs-more { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 700; font-size: 15px; border-bottom: 1px solid rgba(212, 175, 55, .4); padding-bottom: 2px; }
.bs-more:hover { border-color: var(--gold-light); }

.bs-family { position: relative; margin-top: 56px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px 36px; align-items: center; padding: 32px 36px; border-radius: 30px;
  background: linear-gradient(135deg, #fbf6ea, #efe3c6); color: #0b2724; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); overflow: hidden; }
.bs-family::before { content: ''; position: absolute; inset: auto -60px -80px auto; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .35), transparent 70%); pointer-events: none; }
.bf-gift { position: relative; width: 132px; height: 132px; border-radius: 50%; display: grid; place-content: center; text-align: center; color: #0b2724;
  background: conic-gradient(from 210deg, #b8892a, #f5c056, #d4af37, #f9dc8a, #b8892a); box-shadow: 0 14px 30px rgba(140, 100, 20, .35), inset 0 0 0 6px rgba(255, 255, 255, .35); animation: bf-float 5s ease-in-out infinite; }
.bf-gift b { font-size: 36px; font-weight: 900; line-height: 1; }
.bf-gift small { font-size: 12.5px; font-weight: 700; line-height: 1.5; margin-top: 4px; }
@keyframes bf-float { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(3deg); } }
.bf-badge { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: #0f4d46; color: var(--gold-light); }
.bf-copy h3 { margin: 0; font-size: clamp(21px, 2vw, 27px); font-weight: 900; color: #0b2724; }
.bf-copy > p { margin: 6px 0 0; font-size: 15px; color: #4a5a55; }
.bf-perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.bf-perks li { display: flex; gap: 10px; align-items: flex-start; }
.bf-perks li > span { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #0f4d46; color: var(--gold-light); }
.bf-perks b { display: block; font-size: 15px; color: #0b2724; }
.bf-perks small { display: block; font-size: 13px; color: #5b6a65; line-height: 1.7; }
.bf-cta { display: grid; gap: 10px; justify-items: center; }
.bf-cta .btn { min-width: 200px; color: #0b2724; box-shadow: 0 12px 26px rgba(184, 137, 42, .35); }
.bf-login { font-size: 13.5px; color: #0f4d46; text-decoration: underline; text-underline-offset: 4px; }
.bf-code { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 10px; }
.bf-code code { font-size: 22px; font-weight: 800; letter-spacing: 2px; padding: 6px 16px; border-radius: 12px; border: 2px dashed #b8892a; background: #fff; color: #0b2724; }
.bf-code .btn { color: #0f4d46; border-color: #b8892a; min-height: 40px; }
.is-member .bf-copy > p { color: #2e3d39; font-size: 15.5px; }

@media (max-width: 960px) {
  .sec-bs { padding: 64px 0; }
  .bs-story { grid-template-columns: 1fr; gap: 26px; }
  .bs-media { order: 0; aspect-ratio: 16 / 10; border-radius: 24px; max-height: none; outline-offset: 6px; }
  .bs-media figcaption { inset: auto 18px 16px; }
  .bs-media figcaption strong { font-size: 16px; }
  .bs-text { font-size: 15.5px; }
  .bs-values { gap: 10px; margin-top: 20px; }
  .bs-values li { padding: 12px 14px; }
  .bs-ico { width: 36px; height: 36px; }
  .bs-family { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 28px 20px; margin-top: 40px; gap: 18px; }
  .bf-gift { width: 112px; height: 112px; }
  .bf-gift b { font-size: 30px; }
  .bf-perks { grid-template-columns: 1fr; text-align: right; justify-self: stretch; }
  .bf-cta, .bf-cta .btn { width: 100%; }
  .bf-code { justify-content: center; }
}
@media (max-width: 560px) { .bs-stats { gap: 24px; } .bs-stats dt { font-size: 28px; } }

/* ---------- 3.11: new-collection photo slider ---------- */
.nc-slider { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 5 / 7; background: #e8dfcd; }
.nc-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.1s ease; }
.nc-slide.is-on { opacity: 1; z-index: 1; }
.nc-slide a, .nc-slide img { display: block; width: 100%; height: 100%; }
.nc-frame .nc-slide img { aspect-ratio: auto; height: 100%; border-radius: 0; object-fit: cover; transform: scale(1.02); transition: none; }
.nc-slide.is-on img { animation: nc-kenburns var(--nc-int, 4.5s) ease-out forwards; }
@keyframes nc-kenburns { from { transform: scale(1.02); } to { transform: scale(1.1) translateY(-1.5%); } }
.nc-slide figcaption { position: absolute; z-index: 2; left: 16px; bottom: 16px; max-width: 60%; padding: 7px 14px; border-radius: 999px; background: rgba(11, 39, 36, .78); color: #fff; font-size: 13px; backdrop-filter: blur(6px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nc-bars { position: absolute; z-index: 3; inset: 14px 16px auto; display: flex; gap: 6px; }
.nc-bars button { flex: 1; height: 16px; padding: 6px 0; border: 0; background: none; cursor: pointer; }
.nc-bars button i { display: block; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .45); overflow: hidden; position: relative; }
.nc-bars button i::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 0; background: #fff; }
.nc-bars button.is-done i::after { width: 100%; }
.nc-bars button.is-on i::after { animation: nc-bar var(--nc-int, 4.5s) linear forwards; }
.nc-slider.is-paused .nc-bars button.is-on i::after, .nc-slider.is-paused .nc-slide.is-on img { animation-play-state: paused; }
@keyframes nc-bar { to { width: 100%; } }
.nc-frame:has(.nc-slider) .nc-badge { top: 52px; z-index: 4; }
.nc-frame:has(.nc-slider) .nc-caption { z-index: 4; }
@media (prefers-reduced-motion: reduce) {
  .nc-slide { transition: none; }
  .nc-slide.is-on img, .bf-gift { animation: none; }
}

/* ---------- 3.11: Instagram section laid out like an Instagram profile ---------- */
.sec-ig { padding-block: 96px; }
.ig-title { text-align: center; margin-bottom: 30px; }
.ig-title h2 { margin-top: 10px; font-size: clamp(26px, 3.2vw, 42px); font-weight: 900; color: var(--teal); }
.ig-profile { max-width: 935px; margin-inline: auto; background: #fff; border-radius: 28px; border: 1px solid #e8e1d0; box-shadow: 0 30px 70px rgba(60, 50, 20, .12); padding: 32px 32px 26px; color: #262626; }
.ig-prof-head { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; padding: 0 12px 26px; }
.ig-avatar { display: block; width: 132px; height: 132px; border-radius: 50%; padding: 4px; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.ig-avatar span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #0b3430; border: 4px solid #fff; overflow: hidden; }
.ig-avatar img { width: 70%; height: auto; }
.ig-prof-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.ig-user { font-size: 22px; font-weight: 500; color: #262626; font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; }
.ig-follow { display: inline-flex; align-items: center; min-height: 34px; padding: 0 20px; border-radius: 9px; background: #0095f6; color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.ig-follow:hover { background: #1877f2; }
.ig-name { display: block; margin-top: 12px; font-size: 15px; color: #262626; }
.ig-bio { margin: 6px 0 0; font-size: 14.5px; line-height: 1.9; color: #3a3a3a; white-space: pre-line; }
.ig-tabs { display: flex; justify-content: center; border-top: 1px solid #dbdbdb; }
.ig-tabs span { display: inline-flex; align-items: center; gap: 6px; margin-top: -1px; padding: 14px 4px; border-top: 1px solid #262626; font-size: 12.5px; font-weight: 700; letter-spacing: .5px; color: #262626; }
.ig-grid { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ig-grid li { min-width: 0; }
.ig-grid img { display: block; max-width: 100%; }
.ig-grid a { position: relative; display: block; height: auto; aspect-ratio: 1; overflow: hidden; border-radius: 0; border: 0; background: #efefef; box-shadow: none; transform: none; }
.ig-grid a:hover { transform: none; box-shadow: none; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 0; background: rgba(0, 0, 0, .35); color: #fff; opacity: 0; transition: opacity .25s; }
.ig-over small { font-size: 13px; font-weight: 700; }
.ig-over span { all: unset; }
.ig-grid a:hover .ig-over, .ig-grid a:focus-visible .ig-over { opacity: 1; }
.ig-more { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 700; color: #00376b; }
@media (max-width: 700px) {
  .sec-ig { padding-block: 60px; }
  .ig-profile { padding: 18px 0 16px; border-radius: 22px; }
  .ig-prof-head { grid-template-columns: auto 1fr; gap: 14px 18px; padding: 0 16px 18px; }
  .ig-avatar { width: 84px; height: 84px; padding: 3px; }
  .ig-avatar span { border-width: 3px; }
  .ig-user { font-size: 18px; }
  .ig-follow { min-height: 32px; padding: 0 16px; font-size: 13px; }
  .ig-name { margin-top: 8px; }
  .ig-bio { grid-column: 1 / -1; font-size: 13.5px; }
  .ig-grid { gap: 2px; margin-top: 2px; }
  .ig-grid a { height: auto; border-radius: 0; }
  .ig-over small { display: none; }
}
@media (max-width: 960px) {
  /* phones: values become a swipeable row, family perks a compact 2×2 grid → much shorter section */
  .bs-values { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .bs-values::-webkit-scrollbar { display: none; }
  .bs-values li { flex: 0 0 76%; scroll-snap-align: start; flex-direction: column; gap: 8px; }
  .bf-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bf-perks li { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 10px 6px; border-radius: 14px; background: rgba(15, 77, 70, .06); }
  .bf-perks small { display: none; }
  .bf-perks b { font-size: 13.5px; }
}
.nc-frame:has(.nc-slider) { width: 100%; max-width: 470px; }

/* ---------- 3.12: product page – photo per colour, calm mobile layout ---------- */
.g-mobile { display: none; }
.opt-item.has-photo span { padding-inline-start: 5px; }
.swatch-img { display: inline-block; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }
.swatch-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.opt-item input:checked + span .swatch-img { box-shadow: 0 0 0 2px var(--gold); }
.g-thumb[hidden], .g-slide[hidden], .g-dots i[hidden] { display: none !important; }
.buy-bar { display: none; }
.opt.is-shake { animation: opt-shake .45s; }
@keyframes opt-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

@media (max-width: 760px) {
  .page-head:has(+ .product) { padding-bottom: 0; }
  .page-head:has(+ .product) .crumbs { font-size: 12.5px; opacity: .8; }
  .product { gap: 0; padding-bottom: 24px; }
  .gallery { display: block; margin-inline: -16px; }
  .gallery .g-thumbs, .gallery .g-main { display: none; }
  .g-mobile { display: block; position: relative; }
  .g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .g-track::-webkit-scrollbar { display: none; }
  .g-track.is-swap { animation: g-swap .45s ease; }
  @keyframes g-swap { from { opacity: .35; } to { opacity: 1; } }
  .g-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; max-height: 68vh; background: #e9e2d2; }
  .g-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
  .g-dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
  .g-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 4px rgba(0, 0, 0, .25); transition: width .25s, background .25s; }
  .g-dots i.is-on { width: 18px; border-radius: 4px; background: #fff; }
  .g-count { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(11, 39, 36, .6); color: #fff; font-size: 12px; backdrop-filter: blur(6px); }
  .g-zoom { position: absolute; top: 10px; left: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .85); color: #0b2724; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
  .buy { position: static; margin-top: -22px; border-radius: 26px 26px 0 0; border: 0; border-top: 1px solid rgba(212, 175, 55, .3); padding: 24px 18px 8px; background: var(--background, #0b1715); box-shadow: 0 -12px 30px rgba(0, 0, 0, .35); backdrop-filter: none; -webkit-backdrop-filter: none; z-index: 2; position: relative; top: 0; }
  .buy h1 { font-size: 22px; line-height: 1.6; }
  .buy-price { margin-top: 10px; }
  .buy .opt { margin-top: 20px; }
  .buy .opt legend { font-size: 14.5px; margin-bottom: 10px; }
  .buy-links { margin-top: 18px; }
  .buy-bar { display: flex; position: fixed; z-index: 58; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 23, 21, .94); border-top: 1px solid rgba(212, 175, 55, .3); backdrop-filter: blur(14px);
    transform: translateY(110%); transition: transform .3s ease; }
  .buy-bar.is-on { transform: none; }
  .buy-bar-info { min-width: 0; display: grid; }
  .buy-bar-info small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar-info b { font-size: 17px; color: var(--gold-light); }
  .buy-bar .btn { flex: none; min-height: 46px; padding: 0 20px; color: #0b2724; }
  body.has-buy-bar .music, body.has-buy-bar .rate-pop { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
/* 3.12: survey stars carry their number; scale "1 = very bad … 5 = excellent" under them */
.rate-stars button { display: grid; justify-items: center; gap: 0; height: auto; padding: 2px 0; }
.rate-stars button small { font-size: 12px; font-weight: 700; color: var(--muted); line-height: 1.2; }
.rate-stars button.is-hot small, .rate-stars button.is-on small { color: var(--gold-light); }
.rate-scale { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); }
.rate-scale b { color: var(--gold-light); font-size: 14px; }

/* ===== 3.13: compact mobile sizing (approved preview) ===== */
@media (max-width: 640px) {
  body { font-size: 14px; }
  .hdr { margin-top: 10px; height: 56px; }
  .site-header.is-scrolled .hdr { height: 52px; }
  .hdr-logo .logo-fa { height: 36px; }
  .hdr .icon-btn { width: 38px; height: 38px; }
  .btn-lg { min-height: 46px; padding-inline: 20px; font-size: 14px; }
  .btn { font-size: 13.5px; }
  .hero-title { font-size: 28px; line-height: 1.5; }
  .hero-cta { margin-top: 20px; }
  .hero-cta .btn { min-height: 44px; font-size: 13.5px; }
  .hero-card { width: 66vw; border-radius: 24px; }
  .sec { padding-block: 40px; }
  .sec-head { margin-bottom: 20px; }
  .sec-head h2 { font-size: 22px; margin-top: 8px; }
  .sec-head p { font-size: 13px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 4px; }
  .sec-features { padding-block: 26px; }
  .feat-grid { gap: 10px; }
  .feat { padding: 12px 12px; border-radius: 16px; }
  .feat-ic { width: 36px; height: 36px; border-radius: 11px; margin-bottom: 8px; }
  .feat-ic .ico { width: 18px; height: 18px; }
  .feat h3 { font-size: 13.5px; }
  .feat p { font-size: 11.5px; line-height: 1.8; }
  .cat-grid { gap: 10px; }
  .cat-card { height: 168px; border-radius: 18px; }
  .cat-name { font-size: 16px; right: 14px; bottom: 12px; }
  .tabs { gap: 6px; margin-bottom: 18px; }
  .tabs a { padding: 4px 12px; font-size: 12.5px; }
  .chips { gap: 6px; }
  .chip { padding: 4px 12px; font-size: 12.5px; }
  .pgrid, .pgrid-3 { gap: 10px; }
  .pslider-track { grid-auto-columns: 58%; gap: 10px; }
  .pcard { border-radius: 16px; }
  .pcard-body { padding: 10px 10px 12px; gap: 3px; }
  .pcard-cat { font-size: 11px; }
  .pcard-title { font-size: 13px; line-height: 1.6; }
  .pcard-price .now { font-size: 14.5px; }
  .pcard-price del { font-size: 11px; }
  .pcard-body .pcard-btn { margin-top: 8px; min-height: 34px; font-size: 11.5px; }
  .badge { font-size: 10px; padding: 0 8px; }
  .page-head { padding-block: 14px 8px; }
  .page-head h1 { font-size: 20px; }
  .crumbs { font-size: 12px; }
  .buy { padding: 16px; border-radius: 20px; }
  .buy h1 { font-size: 19px; }
  .opt-item span { min-height: 36px; min-width: 44px; padding: 3px 12px; font-size: 13px; }
  .opt-item .dot { width: 15px; height: 15px; }
  .sec-nc, .sec-story, .sec-ig { padding-block: 40px; }
  .nc-card { padding: 22px 16px; border-radius: 22px; gap: 22px; }
  .shop-bar { margin-bottom: 12px; font-size: 13px; }
  .shop-bar .input { min-height: 34px; font-size: 13px; }
}

/* mobile filter sheet (shop + search) */
.m-fbar { display: none; }
.f-sheet-head, .f-sheet-foot { display: none; }
@media (max-width: 960px) {
  .m-fbar { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; flex-wrap: wrap; }
  .m-fbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 4px 14px; border-radius: 999px; border: 1px solid rgba(212, 175, 55, .45); background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 13px; cursor: pointer; }
  .m-fbtn b { background: var(--gold); color: var(--hero); border-radius: 99px; padding: 0 7px; font-size: 11px; line-height: 1.6; }
  .m-fbtn[aria-current="true"] { background: var(--gold); color: var(--hero); font-weight: 800; }
  .js .shop-layout .filters { display: none; }
  .js .shop-layout .filters.is-open { display: grid; position: fixed; z-index: 120; inset: auto 0 0 0; max-height: 80vh; overflow-y: auto; gap: 16px; padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #0f201d; border-radius: 22px 22px 0 0; border-top: 1px solid rgba(212, 175, 55, .35); box-shadow: 0 -20px 60px rgba(0, 0, 0, .5); animation: sheetUp .28s ease both; }
  .js .filters.is-open .f-sheet-head { display: flex; align-items: center; gap: 10px; position: sticky; top: -12px; padding: 6px 0; background: #0f201d; z-index: 1; }
  .f-sheet-head strong { flex: 1; font-size: 15px; }
  .f-sheet-head a { color: var(--gold); font-size: 13px; }
  .js .filters.is-open .f-sheet-foot { display: block; position: sticky; bottom: -16px; padding: 10px 0 4px; background: #0f201d; }
  .f-sheet-foot .btn { width: 100%; min-height: 44px; }
  .filters h2 { font-size: 13px; margin-bottom: 6px; color: var(--ink-2); }
  .f-backdrop { position: fixed; inset: 0; z-index: 119; background: rgba(0, 0, 0, .55); }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } }
body.no-scroll { overflow: hidden; }

/* "install the app" card for phone visitors */
.inst { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 130; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; max-width: 460px; margin-inline: auto; padding: 14px; border-radius: 20px; background: rgba(12, 40, 36, .97); border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); color: #fff; animation: sheetUp .45s ease both; }
.inst[hidden] { display: none; }
.inst img { width: 52px; height: 52px; border-radius: 14px; }
.inst strong { font-size: 14.5px; }
.inst p { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .72); line-height: 1.8; }
.inst-row { grid-column: 1 / -1; display: flex; gap: 8px; }
.inst-row .btn { flex: 1; min-height: 40px; font-size: 13px; }
.inst ol { grid-column: 1 / -1; margin: 0; padding: 10px 28px 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 12.5px; line-height: 2.1; }
.inst ol .ico { width: 16px; height: 16px; vertical-align: -3px; color: var(--gold); }
.inst-x { position: absolute; top: 6px; left: 8px; width: 32px; height: 32px; display: grid; place-items: center; border: 0; background: none; color: rgba(255, 255, 255, .55); cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .inst, .js .shop-layout .filters.is-open { animation: none; } }

/* Instagram profile on phones (3.14: posts no longer stick out of the card) */
@media (max-width: 640px) {
  .ig-profile { padding: 18px 12px 16px; border-radius: 20px; }
  .ig-prof-head { gap: 14px 16px; padding: 0 4px 16px; }
  .ig-avatar { width: 84px; height: 84px; }
  .ig-user { font-size: 17px; }
  .ig-follow { min-height: 32px; padding: 0 14px; font-size: 13px; }
  .ig-grid { gap: 3px; margin-top: 2px; }
  .ig-grid a { height: auto; aspect-ratio: 1; border-radius: 0; }
}

/* Jalali calendar (3.14) */
.jdp-wrap { position: relative; display: inline-block; max-width: 100%; }
.jdp-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.jdp-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; min-width: 210px; padding: 6px 16px; border-radius: var(--radius-s, 14px); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; cursor: pointer; text-align: right; }
.jdp-btn:hover, .jdp-btn[aria-expanded="true"] { border-color: var(--gold); }
.jdp-ph { color: var(--muted); }
.jdp-pop { position: absolute; z-index: 140; top: calc(100% + 6px); right: 0; width: 300px; padding: 12px; border-radius: 18px; background: #0f2a26; border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); color: #fff; animation: sheetUp .2s ease both; }
.jdp-pop.is-sheet { position: fixed; top: auto; right: 0; left: 0; bottom: 0; width: auto; border-radius: 22px 22px 0 0; padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); }
.jdp-back { position: fixed; inset: 0; z-index: 139; background: rgba(0, 0, 0, .5); }
.jdp-head { display: flex; gap: 6px; align-items: center; }
.jdp-head select { flex: 1; min-width: 0; min-height: 38px; padding: 0 8px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.jdp-head select option { color: #111; }
.jdp-nav { width: 36px; height: 38px; border-radius: 10px; border: 1px solid rgba(212, 175, 55, .4); background: none; color: var(--gold); font-size: 20px; cursor: pointer; }
.jdp-hint { margin: 8px 2px 0; font-size: 12px; color: var(--muted); }
.jdp-week, .jdp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.jdp-week { margin: 10px 0 4px; font-size: 12px; color: var(--gold); }
.jdp-days button { aspect-ratio: 1; min-height: 34px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #fff; font: inherit; font-size: 14px; cursor: pointer; }
.jdp-days button:hover { background: rgba(212, 175, 55, .18); }
.jdp-days button.is-today { box-shadow: inset 0 0 0 1px rgba(212, 175, 55, .6); }
.jdp-days button.is-sel { background: var(--gold); color: var(--hero); font-weight: 800; }
.jdp-foot { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.jdp-foot button { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); background: none; color: var(--ink-2); font: inherit; font-size: 13px; cursor: pointer; }

/* «سایز من» wheel (3.14) */
.sw-shell { position: relative; width: 150px; height: 132px; border-radius: 18px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(255, 255, 255, .04); overflow: hidden; }
.size-wheel { height: 100%; overflow-y: auto; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 32%, #000 68%, transparent); }
.size-wheel::-webkit-scrollbar { display: none; }
.size-wheel:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.sw-pad { height: 44px; }
.sw-item { display: block; width: 100%; height: 44px; border: 0; background: none; color: rgba(255, 255, 255, .55); font: inherit; font-size: 18px; scroll-snap-align: center; cursor: pointer; transition: color .15s, transform .15s; }
.sw-item.is-on { color: var(--gold); font-size: 24px; font-weight: 800; }
.sw-lens { position: absolute; left: 10px; right: 10px; top: 44px; height: 44px; border-top: 1px solid rgba(212, 175, 55, .5); border-bottom: 1px solid rgba(212, 175, 55, .5); pointer-events: none; }

/* free size + per-product size guide (3.14) */
.fs-note { display: flex; align-items: center; gap: 6px; margin: 2px 0 8px; font-size: 13px; color: var(--gold); }
.p-sg { margin-top: 14px; border: 1px solid rgba(212, 175, 55, .3); border-radius: 16px; padding: 4px 14px; background: rgba(255, 255, 255, .03); }
.p-sg summary { display: flex; align-items: center; gap: 8px; padding: 10px 0; cursor: pointer; font-weight: 700; color: var(--gold); list-style: none; }
.p-sg summary::-webkit-details-marker { display: none; }
.p-sg[open] summary { border-bottom: 1px solid rgba(255, 255, 255, .08); margin-bottom: 10px; }
.table-scroll { overflow-x: auto; }
.sg-table { width: 100%; border-collapse: collapse; font-size: 13.5px; text-align: center; }
.sg-table th { color: var(--gold); font-weight: 700; padding: 8px 6px; border-bottom: 1px solid rgba(212, 175, 55, .35); white-space: nowrap; }
.sg-table td { padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.jdp-ic { color: var(--gold); flex: none; }

/* installed web app: keep the header (and nothing else) out from under the phone's status bar (3.15) */
@media (display-mode: standalone) {
  .hdr, .site-header.is-scrolled .hdr { margin-top: calc(env(safe-area-inset-top) + 8px); }
  body::before { content: ''; position: fixed; z-index: 60; top: 0; left: 0; right: 0; height: env(safe-area-inset-top); background: #071a17; pointer-events: none; }
  .mm-panel { padding-top: calc(env(safe-area-inset-top) + 12px); }
}
.basket-opt[hidden], [data-addr-save][hidden] { display: none !important; }
.gw-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 10px; padding-inline-start: 36px; }
.addr-pick .radio-card strong .ico { vertical-align: -3px; }
.saved-addr { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.saved-addr li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; }
.track-box { margin: 12px 0; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(212, 175, 55, .35); background: rgba(212, 175, 55, .06); display: grid; gap: 10px; }
.track-box p { margin: 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.track-box .ico { color: var(--gold); }
.track-code { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.track-code code { font-size: 17px; letter-spacing: 1px; padding: 4px 12px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.track-code .btn { min-height: 38px; padding-inline: 16px; font-size: 13px; }
.sec-bs-solo { padding-block: 50px; }

/* ---------- 3.16: category rails (circles / cards) ---------- */
.sec-head-sm { margin-bottom: 22px; }
.sec-head-sm h2 { font-size: clamp(20px, 2vw, 28px); margin-top: 0; }
.sec-cats-circ { padding-block: 36px 28px; }
.cat-rail .pslider-btn { top: 50%; transform: translateY(-50%); width: 42px; height: 42px; }
.cat-circles .pslider-btn { top: 44px; transform: none; }
.cat-circles .pslider-track { grid-auto-columns: 112px; gap: 18px; padding: 6px 4px 10px; justify-content: center; }
.cat-circ { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.cc-ring { position: relative; display: block; width: 104px; height: 104px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, #f3d77a, var(--gold), #8c6d1a, var(--gold), #f3d77a); transition: transform .35s; }
.cc-ring img, .cc-ring .cat-noimg { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center 22%; border: 3px solid var(--background, #0b1715); position: static; }
.cat-circ:hover .cc-ring { transform: translateY(-3px); }
.cc-name { font-size: 14px; font-weight: 700; text-align: center; line-height: 1.5; max-width: 112px; }
.cat-circ:hover .cc-name { color: var(--gold); }
.cat-cards .pslider-track { grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px; }
.cat-cards .cat-card { height: 400px; }
@media (max-width: 1024px) {
  .cat-cards .pslider-track { grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; }
  .cat-cards .cat-card { height: 340px; }
}
@media (max-width: 768px) {
  .sec-cats-circ { padding-block: 22px 12px; }
  .cat-circles .pslider-track { grid-auto-columns: 74px; gap: 10px; justify-content: start; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .cc-ring { width: 70px; height: 70px; padding: 2.5px; }
  .cc-ring img, .cc-ring .cat-noimg { border-width: 2.5px; }
  .cc-name { font-size: 12px; max-width: 74px; }
  .cat-circ { gap: 6px; }
  .cat-cards .pslider-track { grid-auto-columns: 44%; gap: 12px; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .cat-cards .cat-card { height: 230px; border-radius: 20px; }
  .cat-cards .cat-name { font-size: 17px; right: 14px; bottom: 12px; }
}

/* ---------- 3.16: two-level menu ---------- */
.hn-item { position: relative; display: flex; align-items: center; }
.hn-item > a { display: inline-flex; align-items: center; gap: 4px; }
.hn-item > a .ico { transition: transform .25s; opacity: .8; }
.hn-sub { position: absolute; top: calc(100% + 14px); right: -18px; min-width: 210px; padding: 10px; border-radius: 18px; background: rgba(8, 40, 36, .97); border: 1px solid rgba(212, 175, 55, .25); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 70; }
.hn-sub::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.hn-item:hover .hn-sub, .hn-item:focus-within .hn-sub { opacity: 1; visibility: visible; transform: none; }
.hn-item:hover > a .ico, .hn-item:focus-within > a .ico { transform: rotate(180deg); }
.hdr-nav .hn-sub a { display: block; padding: 9px 14px; border-radius: 12px; font-size: 14px; white-space: nowrap; }
.hdr-nav .hn-sub a::after { display: none; }
.hdr-nav .hn-sub a:hover, .hdr-nav .hn-sub a[aria-current="page"] { background: rgba(212, 175, 55, .12); }
.mm-group summary { list-style: none; cursor: pointer; align-items: center; }
.mm-group summary::-webkit-details-marker { display: none; }
.mm-group summary .ico { transition: transform .25s; color: var(--gold); }
.mm-group[open] summary .ico { transform: rotate(180deg); }
.mm-group[open] { background: rgba(255, 255, 255, .03); border-radius: 12px; }

/* ---------- 3.16: Selin magazine + FAQ ---------- */
.mag-wrap { padding-bottom: 40px; }
.mag-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.mag-cats small { opacity: .7; }
.mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mag-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .06); }
.mag-card.is-lead { grid-column: span 2; }
.mag-img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #14544D, #0B2724); overflow: hidden; }
.mag-card.is-lead .mag-img { aspect-ratio: 16 / 8; }
.mag-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.mag-card:hover .mag-img img { transform: scale(1.05); }
.mag-noimg { display: grid; place-items: center; height: 100%; color: var(--gold); opacity: .6; }
.mag-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.mag-body h2 { font-size: 18px; font-weight: 800; line-height: 1.7; margin: 0; }
.mag-card.is-lead h2 { font-size: 22px; }
.mag-body h2 a:hover { color: var(--gold); }
.mag-body p { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mag-cat { color: var(--gold); font-size: 12.5px; font-weight: 700; }
.art-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted, rgba(255,255,255,.6)); font-size: 13px; margin-top: 8px; }
.art-meta span { display: inline-flex; align-items: center; gap: 5px; }
.art-wrap { max-width: 820px; padding-bottom: 40px; }
.art-cover { margin: 0 0 22px; border-radius: 26px; overflow: hidden; }
.art-cover img { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.art-lead { font-size: 18px; line-height: 2.1; color: var(--ink); font-weight: 600; }
.art-toc { border: 1px solid rgba(212, 175, 55, .3); border-radius: 18px; padding: 14px 18px; margin: 18px 0; background: rgba(212, 175, 55, .05); }
.art-toc ol { margin: 8px 0 0; padding-inline-start: 22px; line-height: 2.1; }
.art-toc a:hover { color: var(--gold); }
.art-body { font-size: 16.5px; line-height: 2.25; color: var(--ink-2); }
.art-body h2 { font-size: 23px; font-weight: 800; color: var(--ink); margin: 34px 0 10px; scroll-margin-top: 110px; }
.art-body h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 24px 0 8px; scroll-margin-top: 110px; }
.art-body p { margin: 0 0 16px; }
.art-body ul, .art-body ol { margin: 0 0 16px; padding-inline-start: 24px; }
.art-body li { margin-bottom: 6px; }
.art-body a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.art-body strong { color: var(--ink); }
.art-body blockquote { margin: 20px 0; padding: 14px 20px; border-inline-start: 4px solid var(--gold); background: rgba(255, 255, 255, .04); border-radius: 12px; color: var(--ink); }
.art-body figure { margin: 22px 0; }
.art-body figure img { width: 100%; border-radius: 20px; display: block; }
.art-body figcaption { text-align: center; font-size: 13px; color: var(--muted, rgba(255,255,255,.6)); margin-top: 8px; }
.art-products, .art-faq, .art-more { margin-top: 36px; }
.art-products h2, .art-faq h2, .art-more h2 { font-size: 21px; font-weight: 800; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.art-wrap .pgrid { grid-template-columns: repeat(3, 1fr); }
.art-more ul { line-height: 2.2; }
.art-more a:hover { color: var(--gold); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 18px; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { flex: none; color: var(--gold); transition: transform .25s; }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 18px 16px; color: var(--ink-2); line-height: 2.1; white-space: pre-line; }
.price-note { display: block; margin-top: 4px; font-size: 13px; color: var(--muted, rgba(255,255,255,.65)); }
@media (max-width: 900px) {
  .mag-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .art-wrap .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .mag-grid { grid-template-columns: 1fr; }
  .mag-card.is-lead { grid-column: auto; }
  .mag-card.is-lead .mag-img { aspect-ratio: 16 / 10; }
  .art-body { font-size: 15.5px; line-height: 2.15; }
  .art-body h2 { font-size: 20px; }
  .art-lead { font-size: 16px; }
  .art-cover { border-radius: 18px; }
}
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 46px; }
.pw-eye { position: absolute; inset-inline-end: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 10px; }
.pw-eye[aria-pressed="true"] { color: var(--gold); }
.pw-tip { display: block; line-height: 1.9; margin-top: 6px; }
