/* =========================================================
   Crockery Hub, Concept 2: "Lumen"
   Premium, light and considered. Graphite and crimson on a warm
   canvas, glass surfaces, soft depth, restrained motion.
   base.css  = tokens, components, header, drawers, cards, footer
   pages.css = page layouts
   ========================================================= */


:root {
  --bg: #F6F5F2;
  --surface: #FFFFFF;
  --ink: #13141B;
  --ink-2: #363844;
  --muted: #6B6E7B;
  --line: rgba(19, 20, 27, .09);
  --line-2: rgba(19, 20, 27, .16);
  --red: #D0293B;
  --red-2: #E24557;
  --red-d: #A81A2A;
  --red-tint: rgba(208, 41, 59, .08);
  --gold: #C9A96A;
  --ok: #1E9E6A;
  --graphite: #13141B;
  --r-xl: 32px; --r-lg: 24px; --r-md: 16px; --r-sm: 12px;
  --shadow-1: 0 1px 2px rgba(19, 20, 27, .05), 0 10px 28px -14px rgba(19, 20, 27, .14);
  --shadow-2: 0 2px 4px rgba(19, 20, 27, .05), 0 28px 50px -22px rgba(19, 20, 27, .28);
  --f-head: 'Sora Variable', 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --f-body: 'Manrope Variable', 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr-h: 72px;
  --hdr-off: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--f-body); font-size: 15.5px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; position: relative; }
/* Soft page glows live in one top-of-page layer: painted once, instead of a body-sized background that is repainted constantly */
body::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: -1; pointer-events: none; background: radial-gradient(900px 420px at 88% -60px, rgba(208, 41, 59, .07), transparent 70%), radial-gradient(700px 380px at -10% 120px, rgba(201, 169, 106, .09), transparent 70%); }
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
ul { list-style: none; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 500; letter-spacing: -.02em; line-height: 1.16; color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -64px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- buttons, pills, small parts ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s; }
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { color: #fff; background: linear-gradient(135deg, #E64A5C 0%, #CB2237 55%, #AB1B2C 100%); box-shadow: 0 10px 24px -10px rgba(208, 41, 59, .7), inset 0 1px 0 rgba(255, 255, 255, .28); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(208, 41, 59, .75), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--primary:active { transform: translateY(0); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262833; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line-2); background: rgba(255, 254, 252, .6); }
.btn--ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn--glass { color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); transform: translateY(-2px); }
.btn--lg { height: 54px; padding: 0 30px; }
.btn--sm { height: 42px; padding: 0 18px; font-size: .86rem; }
.btn--block { width: 100%; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; transition: background .25s, color .25s; }
.icon-btn:hover { background: rgba(19, 20, 27, .06); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #F3A0AA; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; font-size: .74rem; font-weight: 600; letter-spacing: .06em; }
.pill--glass { color: rgba(255, 255, 255, .88); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 4px rgba(226, 69, 87, .22); }
.tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.tag--sale { background: var(--red); color: #fff; }
.tag--new { background: rgba(255, 254, 252, .9); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }

/* segmented control */
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(19, 20, 27, .06); }
.seg button { position: relative; z-index: 1; height: 36px; padding: 0 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--ink-2); transition: color .3s; white-space: nowrap; }
.seg button[aria-selected="true"] { color: #fff; }
.seg:not(:has(.seg__ink)) button[aria-selected="true"] { background: var(--red, #D3121C); }   /* before the sliding marker is placed */
.seg__ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 6px 14px -6px rgba(19, 20, 27, .5); transition: transform .45s var(--ease), width .45s var(--ease); }
.seg--lg button { height: 42px; padding: 0 22px; font-size: .88rem; }

/* section heads, arrows, rails */
.sec { padding-block: clamp(32px, 5vw, 64px); }
.sec--tight { padding-block: 0; }
.sec--last { padding-bottom: clamp(56px, 8vw, 104px); }
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(20px, 3vw, 32px); flex-wrap: wrap; }
.sh h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.sh__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sh__link { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line-2); transition: color .25s, border-color .25s; }
.sh__link:hover { color: var(--red); border-color: var(--red); }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: transform .3s var(--ease), background .25s, color .25s, opacity .25s; }
.arrows button:hover:not(:disabled) { background: var(--red); color: #fff; transform: translateY(-2px); }
.arrows button:disabled { opacity: .35; }
.rail { display: flex; gap: clamp(14px, 1.8vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 22px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: 0 0 calc((100% - 3 * clamp(14px, 1.8vw, 22px)) / 4 - 0px); min-width: 230px; scroll-snap-align: start; }
.rail.is-swap > * { animation: swapIn .55s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } }
.rail-bar { display: none; height: 3px; border-radius: 3px; background: rgba(19, 20, 27, .08); position: relative; margin-top: -4px; }
.rail-bar i { position: absolute; top: 0; bottom: 0; left: var(--x, 0%); width: var(--w, 30%); background: var(--red); border-radius: 3px; transition: left .15s linear; }

/* ---------- brand reveal (first visit only, skippable) ---------- */

/* ---------- header ---------- */
/* ---------- brand intro: first page of a visit only, about 1.7s, drawn over the finished page (never moves it) ---------- */
.intro { position: fixed; inset: 0; z-index: 500; display: none; place-items: center; background: var(--bg); color: var(--ink); overflow: hidden; transition: transform .5s cubic-bezier(.76, 0, .24, 1), opacity .3s .2s; }
.js .intro { display: grid; animation: introOut .55s cubic-bezier(.76, 0, .24, 1) 1.15s forwards; }
@keyframes introOut { to { transform: translateY(-100%); opacity: 0; visibility: hidden; } }
.no-intro .intro { display: none; }
/* the intro's clock starts with the first frame on screen (head script adds .intro-go), so a slow first paint never cuts it short */
.js .intro, .js .intro * { animation-play-state: paused; }
.js.intro-go .intro, .js.intro-go .intro * { animation-play-state: running; }
.intro.is-done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.intro__glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle closest-side, rgba(226, 69, 87, .5), rgba(226, 69, 87, 0)); animation: introGlow 1.6s var(--ease) both; }
.intro__core { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.intro__mark { overflow: visible; }
.intro__ring { stroke-dasharray: 208; stroke-dashoffset: 208; transform-origin: 40px 40px; transform: rotate(-90deg); animation: introRing .85s .1s var(--ease) forwards; }
.intro__ring2 { opacity: 0; animation: introFade .5s .4s ease forwards; }
.intro__dot { transform-origin: 40px 40px; transform: scale(0); animation: introPop .5s .55s var(--ease) forwards; }
.intro__word { font-family: var(--f-head); font-size: 1.9rem; letter-spacing: -.02em; display: flex; gap: 2px; opacity: 0; transform: translateY(12px); animation: introUp .6s .45s var(--ease) forwards; }
.intro__word span { font-weight: 300; }
.intro__word b { font-weight: 600; color: var(--red-2); }
.intro__tag { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .55); opacity: 0; animation: introFade .4s .6s ease forwards; }
.intro__bar { width: 132px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; margin-top: 6px; opacity: 0; animation: introFade .4s .45s ease forwards; }
.intro__bar i { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--red-2), var(--gold)); animation: introBar .65s .45s cubic-bezier(.6, 0, .3, 1) forwards; }
@keyframes introRing { to { stroke-dashoffset: 0; } }
@keyframes introPop { to { transform: scale(1); } }
@keyframes introFade { to { opacity: 1; } }
@keyframes introUp { to { opacity: 1; transform: none; } }
@keyframes introBar { to { transform: scaleX(1); } }
@keyframes introGlow { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hdr { position: sticky; top: 0; z-index: 60; transition: transform .45s var(--ease), background .35s, box-shadow .35s; }
.hdr.is-stuck { background: rgba(246, 245, 242, .78); backdrop-filter: saturate(1.5) blur(20px); -webkit-backdrop-filter: saturate(1.5) blur(20px); box-shadow: 0 1px 0 var(--line); }
.hdr--hide { transform: translateY(-105%); }
.hdr__bar { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "l n s t"; align-items: center; gap: 20px; height: var(--hdr-h); }
.hdr__menu { grid-area: m; display: none; margin-left: -10px; }
.logo { grid-area: l; display: inline-flex; align-items: center; gap: 10px; }
.logo__word { font-family: var(--f-head); font-size: 1.28rem; letter-spacing: -.03em; line-height: 1; display: inline-flex; gap: 1px; }
.logo__word span { font-weight: 300; }
.logo__word b { font-weight: 600; color: var(--red); }
.logo--light .logo__word { color: #fff; }
.logo--light .logo__word b { color: var(--red-2); }
.nav { grid-area: n; justify-self: center; }
.nav__list { display: flex; gap: 2px; }
.nav__item { display: flex; align-items: center; height: var(--hdr-h); }
.nav__btn, .nav__link { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-2); transition: color .25s, background .25s; }
.nav__btn::after, .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--red-2), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__btn:hover, .nav__link:hover, .nav__item.is-open .nav__btn { color: var(--ink); }
.nav__btn:hover::after, .nav__link:hover::after, .nav__item.is-open .nav__btn::after { transform: scaleX(1); }
.nav__btn svg { transition: transform .35s var(--ease); }
.nav__item.is-open .nav__btn svg { transform: rotate(180deg); }
.nav__link--sale { color: var(--red); }

.mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 6px; visibility: hidden; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility .3s; }
.nav__item.is-open > .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
@media (hover: hover) { .nav__item:hover > .mega { visibility: visible; opacity: 1; transform: none; pointer-events: auto; } .nav__item:hover .nav__btn svg { transform: rotate(180deg); } }
.mega__in { display: grid; grid-template-columns: 1.7fr 1fr; gap: 18px; padding: 22px; border-radius: var(--r-lg); background: rgba(255, 254, 252, .9); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: var(--shadow-2), 0 0 0 1px rgba(255, 255, 255, .7); }
.mega__list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; align-content: start; }
.mega__list a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 16px; transition: background .25s, transform .35s var(--ease); }
.mega__list a:hover { background: rgba(19, 20, 27, .05); transform: translateX(3px); }
.mega__thumb { width: 54px; height: 54px; border-radius: 14px; overflow: hidden; flex: none; }
.mega__thumb img { width: 100%; height: 100%; transform: scale(1.18); }
.mega__name { display: flex; flex-direction: column; font-weight: 600; font-size: .94rem; line-height: 1.3; }
.mega__name small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.mega__feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; padding: 20px; border-radius: 20px; overflow: hidden; }
.mega__fart { position: absolute; right: -4%; top: -2%; width: 60%; }
.mega__fart svg { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(19, 20, 27, .22)); transition: transform .6s var(--ease); }
.mega__feature:hover .mega__fart svg { transform: scale(1.06) rotate(-2deg); }
.mega__ft { position: relative; display: flex; flex-direction: column; gap: 2px; }
.mega__ft b { font-family: var(--f-head); font-weight: 500; font-size: 1.15rem; }
.mega__ft small { font-size: .8rem; opacity: .75; max-width: 26ch; }
.mega__ft em { font-style: normal; font-size: .82rem; font-weight: 700; margin-top: 8px; }
.mega__list li { opacity: 0; transform: translateY(6px); }
.nav__item.is-open .mega__list li, .nav__item:hover .mega__list li { animation: megaIn .5s var(--ease) both; }
.mega__list li:nth-child(2) { animation-delay: .04s !important; } .mega__list li:nth-child(3) { animation-delay: .08s !important; } .mega__list li:nth-child(4) { animation-delay: .12s !important; } .mega__list li:nth-child(5) { animation-delay: .16s !important; } .mega__list li:nth-child(6) { animation-delay: .2s !important; }
@keyframes megaIn { to { opacity: 1; transform: none; } }

.search { grid-area: s; position: relative; width: 210px; transition: width .4s var(--ease); }
.search:focus-within { width: 300px; }
.search__ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 42px; padding: 0 16px 0 40px; border-radius: 999px; border: 1px solid transparent; background: rgba(19, 20, 27, .06); font-size: .88rem; -webkit-appearance: none; appearance: none; transition: background .3s, border-color .3s, box-shadow .3s; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; background: var(--surface); border-color: var(--line-2); box-shadow: 0 0 0 4px rgba(208, 41, 59, .1); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313141B' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / contain no-repeat; }
.search__pop { position: absolute; right: 0; top: calc(100% + 10px); width: min(400px, 92vw); padding: 8px; border-radius: 20px; background: rgba(255, 254, 252, .96); backdrop-filter: blur(20px); box-shadow: var(--shadow-2), 0 0 0 1px var(--line); z-index: 80; animation: pop .3s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.search__pop li a { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; }
.search__pop li a:hover { background: rgba(19, 20, 27, .05); }
.search__img { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #E7E2D9; }
.search__img img { width: 100%; height: 100%; transform: scale(1.15); }
.search__txt b { display: block; font-weight: 600; font-size: .92rem; line-height: 1.3; }
.search__txt i { font-style: normal; color: var(--muted); font-size: .84rem; }
.search__all { display: flex; align-items: center; justify-content: space-between; padding: 12px 10px 8px; font-size: .84rem; font-weight: 700; color: var(--red); }
.search__none { padding: 14px 12px; color: var(--muted); }
.hdr__tools { grid-area: t; display: flex; align-items: center; gap: 2px; }
.hdr__search-toggle { display: none; }
.badge { position: absolute; right: 1px; top: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--ease); }
.badge.is-on { transform: scale(1); }
.badge.is-bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.5); } 60% { transform: scale(.92); } }

/* ---------- drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 18, .42); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scrim.is-open { opacity: 1; visibility: visible; }
.scrim--filters { z-index: 95; }
.sheet { position: fixed; top: 0; bottom: 0; z-index: 100; display: flex; flex-direction: column; background: rgba(255, 254, 252, .95); backdrop-filter: blur(28px) saturate(1.4); -webkit-backdrop-filter: blur(28px) saturate(1.4); box-shadow: var(--shadow-2); visibility: hidden; transition: transform .5s var(--ease), visibility .5s; }
.sheet.is-open { visibility: visible; transform: none !important; }
.sheet--left { left: 0; width: min(88vw, 380px); transform: translateX(-104%); border-radius: 0 var(--r-lg) var(--r-lg) 0; }
.sheet--right { right: 0; width: min(440px, 100%); transform: translateX(104%); border-radius: var(--r-lg) 0 0 var(--r-lg); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 14px 22px; min-height: 72px; }
.sheet__title { font-size: 1.2rem; }
.sheet__title span { color: var(--muted); font-weight: 400; }
.sheet__body { flex: 1; overflow-y: auto; padding: 4px 22px 20px; overscroll-behavior: contain; }
.sheet__foot { padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; margin-top: 12px; font-size: .84rem; color: var(--muted); }
.sheet--left .sheet__body > * { opacity: 0; transform: translateX(-12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.sheet--left.is-open .sheet__body > * { opacity: 1; transform: none; }
.sheet--left.is-open .sheet__body > *:nth-child(2) { transition-delay: .05s; } .sheet--left.is-open .sheet__body > *:nth-child(3) { transition-delay: .1s; } .sheet--left.is-open .sheet__body > *:nth-child(4) { transition-delay: .15s; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; font-family: var(--f-head); font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary svg { transition: transform .35s var(--ease); color: var(--muted); }
.acc[open] summary svg { transform: rotate(180deg); }
.acc ul { padding: 0 2px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.acc ul a { display: block; padding: 9px 0; font-size: .94rem; color: var(--ink-2); }
.acc ul a:hover { color: var(--red); }
.mnav li { border-bottom: 1px solid var(--line); }
.mnav a { display: block; padding: 16px 2px; font-family: var(--f-head); font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; }
.mnav a.is-sale { color: var(--red); }

.cart-empty { text-align: center; padding: 40px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cart-empty__art { width: 170px; border-radius: 28px; background: linear-gradient(160deg, #E9E3D8, #DDD5C7); margin-bottom: 8px; }
.cart-empty h3 { font-size: 1.3rem; }
.cart-empty p { color: var(--muted); margin-bottom: 10px; }
.lines .line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line__img { display: block; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #E9E3D8, #DDD5C7); }
.line__img img { width: 100%; height: 100%; transform: scale(1.12); }
.line__name { display: block; font-weight: 600; line-height: 1.3; font-size: .95rem; }
.line__opts { color: var(--muted); font-size: .82rem; margin-top: 2px; }
.line__row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.line__price { font-weight: 700; white-space: nowrap; margin-left: auto; font-size: .95rem; }
.line__rm { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.line__rm:hover { color: var(--red); background: var(--red-tint); }
.qty { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line-2); }
.qty button { width: 44px; height: 100%; border-radius: 999px; font-size: 1.15rem; color: var(--ink-2); }
.qty button:hover { color: var(--red); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; }
.qty--sm { height: 36px; }
.qty--sm button { width: 34px; font-size: 1rem; }
.qty--sm span { min-width: 22px; font-size: .9rem; }
.sheet__foot--cart { display: flex; flex-direction: column; gap: 12px; background: rgba(246, 245, 242, .7); }
.sum { display: flex; justify-content: space-between; align-items: baseline; color: var(--muted); font-size: .9rem; }
.sum strong { font-family: var(--f-head); font-weight: 500; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.sum__note { font-size: .82rem; color: var(--muted); margin-top: -6px; }
.notice { padding: 10px 14px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font-size: .86rem; color: var(--ink-2); }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 150; transform: translate(-50%, 16px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 600; opacity: 0; pointer-events: none; transition: .35s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- product cards ---------- */
.tone-warm { background: linear-gradient(160deg, #EAE4D9 0%, #DDD5C7 100%); color: var(--ink); }
.tone-cool { background: linear-gradient(160deg, #E6E9EC 0%, #D5DADF 100%); color: var(--ink); }
.tone-slate { background: linear-gradient(160deg, #E8E7EA 0%, #D8D7DD 100%); color: var(--ink); }
.tone-blush { background: linear-gradient(160deg, #F3E1DC 0%, #E8CCC5 100%); color: var(--ink); }
.tone-dark { background: var(--grad-warm); }
.tone-gold { background: linear-gradient(160deg, #EFE4CE 0%, #E2D2B0 100%); color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(22px, 2.4vw, 34px) clamp(14px, 1.8vw, 22px); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; gap: 14px; }
.pcard__media { position: relative; aspect-ratio: 1 / 1.05; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(19, 20, 27, .05); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.pcard__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 55% at 50% 30%, rgba(255, 255, 255, .34), transparent 70%); }
.pcard:hover .pcard__media { transform: translateY(-5px); box-shadow: var(--shadow-2), 0 0 0 1px rgba(19, 20, 27, .05); }
.pcard__img { position: absolute; inset: 0; display: block; z-index: 1; }
.pcard__img img { width: 100%; height: 100%; padding: 6%; transition: transform .7s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07) translateY(-2px); }
.pcard__tags { position: absolute; z-index: 2; left: 12px; top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pcard__quick { position: absolute; z-index: 3; right: 12px; bottom: 12px; height: 42px; min-width: 42px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; background: rgba(19, 20, 27, .9); color: #fff; font-size: .82rem; font-weight: 600; box-shadow: 0 10px 20px -8px rgba(19, 20, 27, .5); transition: transform .4s var(--ease), opacity .3s, background .25s; }
.pcard__quick span { display: none; }
.pcard__quick:hover { background: var(--red); }
@media (hover: hover) {
  .pcard__quick { left: 12px; right: 12px; opacity: 0; transform: translateY(12px); }
  .pcard__quick span { display: inline; }
  .pcard:hover .pcard__quick, .pcard__quick:focus-visible { opacity: 1; transform: none; }
}
.pcard__body { display: flex; flex-direction: column; gap: 3px; padding-inline: 4px; flex: 1; }
.pcard__cat { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pcard__name { font-family: var(--f-body); font-weight: 600; font-size: .97rem; letter-spacing: 0; line-height: 1.35; }
.pcard__name a { transition: color .25s; }
.pcard__name a:hover { color: var(--red); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 700; font-size: .98rem; white-space: nowrap; }
.price__was { color: var(--muted); font-size: .84rem; text-decoration: line-through; white-space: nowrap; }
.sws { display: flex; align-items: center; gap: 2px; }
.sws button { position: relative; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; }
.sws button::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(19, 20, 27, .2); transition: transform .3s var(--ease); }
.sws button.is-on::after { content: ""; position: absolute; inset: 1px; border-radius: 50%; box-shadow: 0 0 0 1.5px var(--ink); }
.sws button:hover::before { transform: scale(1.2); }
.sws__more { font-size: .72rem; color: var(--muted); padding-left: 4px; }

/* ---------- footer ---------- */
.ftr { margin-top: 24px; background: var(--graphite); color: rgba(255, 255, 255, .72); border-radius: 36px 36px 0 0; padding-top: clamp(44px, 6vw, 72px); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.ftr__brand p { margin: 18px 0 20px; max-width: 34ch; font-size: .92rem; }
.ftr__wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: #fff; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .3s; }
.ftr__wa:hover { background: rgba(255, 255, 255, .16); }
.ftr__col h2 { font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 16px; }
.ftr__col ul { display: grid; gap: 10px; font-size: .92rem; }
.ftr__col a { transition: color .25s; }
.ftr__col a:hover { color: #fff; }
.ftr__base { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-block: 22px 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: rgba(255, 255, 255, .45); }

.preview-tag { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: flex; align-items: center; gap: 10px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(19, 20, 27, .88); backdrop-filter: blur(12px); color: rgba(255, 255, 255, .85); font-size: .76rem; box-shadow: 0 12px 28px -10px rgba(19, 20, 27, .5); }
.preview-tag b { color: #fff; font-weight: 700; }
.preview-tag button { width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .14); font-size: 1rem; line-height: 1; }
.preview-tag.is-off { display: none; }

/* ---------- motion ---------- */
[hidden] { display: none !important; }
/* Sections that start below the screen rise in gently as they arrive (common.js adds .rv only to those).
   Nothing that is already visible is ever hidden, and there is no fade between pages. */
.rv:not(.is-in) { opacity: 0; transform: translateY(16px); }
[data-reveal] { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .rv:not(.is-in) { opacity: 1; transform: none; }
  .intro { display: none !important; }
}

/* ---------- responsive: header, drawers, cards, footer ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rail > * { flex-basis: calc((100% - 2 * 18px) / 3); }
  .search { width: 170px; }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr-h: 60px; }
  .hdr__bar { grid-template-columns: 1fr auto 1fr; grid-template-areas: "m l t" "q q q"; gap: 0 8px; }
  .hdr__menu { display: inline-grid; justify-self: start; }
  .logo { justify-self: center; }
  .nav { display: none; }
  .hdr__tools { justify-self: end; margin-right: -8px; }
  .hdr__search-toggle { display: inline-grid; }
  .search { display: none; grid-area: q; width: 100%; padding-bottom: 12px; }
  .search:focus-within { width: 100%; }
  .search__ico { top: calc(50% - 6px); }
  .hdr.is-search .search { display: block; animation: pop .35s var(--ease); }
  .search__pop { left: 0; right: 0; width: 100%; top: 52px; }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .rail > * { flex-basis: 62%; min-width: 0; }
  .rail-bar { display: block; }
  .pcard { gap: 10px; }
  .pcard__media { border-radius: 18px; }
  .pcard__quick { right: 8px; bottom: 8px; height: 38px; min-width: 38px; }
  .pcard__tags { left: 8px; top: 8px; }
  .pcard__name { font-size: .92rem; }
  .pcard__foot { flex-direction: column; align-items: flex-start; gap: 6px; }
  .sh { margin-bottom: 16px; gap: 12px 16px; align-items: flex-end; }
  .sh h2 { font-size: 1.3rem; }
  .sh__link { white-space: nowrap; flex: none; }
  .sh__tools:has(> .seg) { flex: 1 1 100%; }
  .sh__tools > .seg { width: 100%; }
  .sh__tools > .seg button { flex: 1; padding: 0 6px; }
  .sh .arrows { display: none; }
  .ftr { border-radius: 28px 28px 0 0; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__base { flex-direction: column; }
  .preview-tag { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); justify-content: space-between; font-size: .72rem; }
  body[data-page="product"] .preview-tag { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .sheet--right { width: 100%; border-radius: 0; }
}

/* ===================== round 4: real imagery, bottom bar, shared extras ===================== */
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .9s var(--ease), opacity .6s ease; }
.pcard:hover .pcard__img img { transform: scale(1.06) translateY(-3px); }
.mega__thumb img, .search__img img, .line__img img, .chip-cat__thumb img, .gal__thumb img, .cart-empty__art img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transform: none; }
.mega__feature { min-height: 260px; color: #fff; }
.mega__feature .mega__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega__feature:hover .mega__cover { transform: scale(1.06); }
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 10, 9, .72), rgba(12, 10, 9, 0) 62%); z-index: 0; }
.mega__ft { position: relative; z-index: 1; }
.mega__ft small { opacity: .85; }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); background: #f3efe9; }
.btn--line-light { color: #fff; border: 1px solid rgba(255, 255, 255, .45); }
.btn--line-light:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.sh--sm h2 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.sh--light h2, .sh--light { color: #fff; }
.sh__link--light { color: rgba(255, 255, 255, .8); border-color: rgba(255, 255, 255, .3); }
.sh__link--light:hover { color: #fff; border-color: #fff; }
.hcard__thumb { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: none; }
.hcard__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.hcard__txt { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.hcard__txt small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 3px; }
.hcard__txt b { font-weight: 600; font-size: .92rem; }
.hcard__txt i { font-style: normal; font-weight: 700; font-size: .9rem; margin-top: 2px; }
.hcard__go { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease); }
a:hover > .hcard__go { transform: translateX(3px); }
@keyframes kenburns { from { scale: 1; } to { scale: 1.07; } }
@keyframes floaty { 50% { translate: 0 -6px; } }
.gal__slide img { width: 100%; height: 100%; object-fit: contain; padding: 2%; }
.gal__slide--detail img { width: 100%; height: 100%; padding: 0; transform: scale(1.85); transform-origin: 50% 58%; }
.gal__slide--scene img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb:last-child img { object-fit: cover; padding: 0; }
.ex-layer img { position: relative; width: min(78%, 430px); height: auto; max-height: 86%; object-fit: contain; }
.bnav { display: none; }
@media (max-width: 900px) {
  .bnav { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; display: grid; grid-template-columns: repeat(4, 1fr); height: 62px; border-radius: 20px; background: rgba(255, 254, 252, .9); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: 0 14px 34px -14px rgba(10, 12, 20, .45), 0 0 0 1px var(--line); }
  .bnav__i { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: .66rem; font-weight: 600; color: var(--muted); }
  .bnav__i.is-on { color: var(--ink); }
  .bnav__i.is-on::before { content: ""; position: absolute; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
  .bnav .badge { right: calc(50% - 24px); top: 6px; }
  body { padding-bottom: 84px; }
  body[data-page="product"] .bnav { display: none; }
  body[data-page="product"] { padding-bottom: 0; }
  .preview-tag { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
