/* Pisicik Butik — "Modern" storefront theme.
   Loaded after site.css + theme.css only when the Modern theme is active (<html data-skin="modern">).
   Mostly re-tunes the shared design tokens and components; theme-only markup lives in app/views/themes/modern/. */

:root {
  --ink: #141414;
  --ink-2: #6B6B70;
  --line: #E7E7E4;
  --paper: #FFFFFF;
  --soft: #F5F4F1;
  --soft-2: #ECEAE5;
  --rose: #C2365F;
  --rose-dark: #A32A4F;
  --blush: #F7EEEF; --lilac: #F1EFF5; --mint: #EAF3EE; --butter: #F7F2E4; --sky: #EDF2F7; --peach: #F8EFE8;
  --ok: #2F7D55;
  --r-sm: 2px;
  --r: 4px;
  --r-lg: 6px;
  --display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --body: 'Jost', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1320px;
  --mh: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-soft: 0 20px 40px -24px rgba(0, 0, 0, .28);
  --ai: #141414;
  --overlay: rgba(10, 10, 12, .38);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --ink: #F1F0EE; --ink-2: #A3A2A0; --line: #2A2A2C; --paper: #0E0E10; --soft: #18181B; --soft-2: #222225;
  --rose: #F0729A; --rose-dark: #F48AAB;
  --blush: #2A1E22; --lilac: #222029; --mint: #1A2621; --butter: #26231A; --sky: #1A2028; --peach: #28201B;
  --ok: #7FD1A4;
  --ai: #F1F0EE;
  --overlay: rgba(0, 0, 0, .6);
}

/* ---------- base ---------- */
body { font-family: var(--body); font-weight: 400; font-size: 15.5px; letter-spacing: .005em; background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-family: var(--body); font-weight: 500; font-size: 1rem; letter-spacing: .01em; }
b, strong { font-weight: 600; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 1px; }
.wrap { padding: 0 clamp(16px, 3vw, 40px); }
.muted { color: var(--ink-2); }
.eyebrow { margin: 0 0 12px; font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
[hidden] { display: none !important; }

/* ---------- buttons, chips, fields ---------- */
.btn { min-height: 46px; padding: 10px 26px; border-radius: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 500; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-primary:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-primary[disabled], .btn-primary[disabled]:hover { background: var(--soft-2); border-color: var(--soft-2); color: var(--ink-2); opacity: 1; }
.btn[disabled]:hover { background: transparent; color: var(--ink); }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-lg { min-height: 54px; padding: 12px 34px; font-size: .82rem; }
.btn-small { min-height: 36px; padding: 4px 16px; font-size: .72rem; }
.btn-wa { border-color: var(--line); color: var(--ink); }
.btn-wa::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.btn-wa:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ai { background: transparent; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn-ai:hover { background: transparent; color: var(--ink); border-color: var(--ink); filter: none; }
html[data-theme="dark"] .btn:hover, html[data-theme="dark"] .btn-primary { color: var(--paper); }
html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .btn-ai:hover { color: var(--ink); }
.icon-btn { color: inherit; border-radius: 50%; }
.icon-btn:hover { background: transparent; opacity: .65; }
.link-btn { color: var(--ink-2); font-size: .85rem; text-underline-offset: 3px; }
.chip { padding: 7px 14px; border-radius: 999px; background: transparent; box-shadow: inset 0 0 0 1px var(--line); font-weight: 400; font-size: .85rem; transition: box-shadow .2s, background .2s; }
.chip:hover { background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }
.field > span, .field legend { font-weight: 500; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { border: 1px solid var(--line); border-radius: 0; background: var(--paper); padding: 12px 14px; transition: border-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea { background: var(--paper); }
.seg { border: 1px solid var(--line); border-radius: 0; padding: 3px; }
.seg span { border-radius: 0; font-weight: 400; font-size: .85rem; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.swatches span { width: 26px; height: 26px; }
.swatches input:checked + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.swatches input:focus-visible + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); outline: 2px solid var(--ink); outline-offset: 3px; }
.swatches input:checked:focus-visible + span { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); outline: 2px solid var(--ink); outline-offset: 5px; }
.check input { accent-color: var(--ink); }
.alert { border-radius: 0; }
.flash { font-weight: 500; font-size: .92rem; }
.note { border-radius: 0; background: var(--soft); }
.toast { border-radius: 0; background: var(--ink); color: var(--paper); font-weight: 500; letter-spacing: .02em; padding: 14px 22px; bottom: 28px; }
.modal { border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }
.modal::backdrop { background: var(--overlay); }
.prose { line-height: 1.7; }

/* ---------- announcement bar ---------- */
.announce { height: 36px; background: var(--ink); color: var(--paper); font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; }
.announce-track { position: relative; height: 100%; max-width: var(--wrap); margin: 0 auto; }
.announce-item { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.announce-item.is-on { opacity: 1; transform: none; }

/* ---------- header ---------- */
.site-header.mh { position: sticky; top: 0; z-index: 40; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); -webkit-backdrop-filter: none; backdrop-filter: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s; }
html[data-theme="dark"] .site-header.mh { background: var(--paper); }
.mh.is-solid { box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35); }
.mh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--mh); max-width: 1600px; margin: 0 auto; padding: 0 clamp(12px, 2.6vw, 40px); }
.mh-left { display: flex; align-items: center; gap: 4px; height: 100%; min-width: 0; }
.mh .menu-toggle { display: none; margin-left: -8px; }
.mh .logo { justify-self: center; color: inherit; }
.mh .logo-svg { width: 148px; height: auto; }
.logo-modern text { fill: currentColor !important; }
.mh-right { justify-self: end; display: flex; align-items: center; gap: 0; }
.mh-right .icon-btn { width: 42px; height: 42px; }
.mh-right .cart-count { top: 3px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; font-size: .62rem; font-weight: 600; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2px var(--paper); }
.mh-nav { height: 100%; }
.mh-nav > ul { display: flex; align-items: stretch; gap: clamp(14px, 1.7vw, 30px); height: 100%; margin: 0; padding: 0; list-style: none; }
.mh-item { display: flex; align-items: center; }
.mh-link { position: relative; padding: 8px 0; font-size: .76rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: inherit; }
.mh-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease); }
.mh-item:hover .mh-link::after, .mh-item:focus-within .mh-link::after { transform: scaleX(1); transform-origin: left; }
.mh-link.mh-sale { color: var(--rose); }
/* mega menu: spans the whole header */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .3);
  opacity: 0; visibility: hidden; transform: translateY(-4px); pointer-events: none; transition: opacity .22s var(--ease), transform .22s var(--ease), visibility 0s linear .22s; }
.mh-item.has-mega:hover .mega, .mh-item.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: .06s, .06s, 0s; }
.mega-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 260px; gap: 48px; max-width: var(--wrap); margin: 0 auto; padding: 36px clamp(16px, 3vw, 40px) 44px; }
.mega-title { margin: 0 0 14px; font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.mega-list { columns: 2; column-gap: 32px; margin: 0 0 18px; padding: 0; list-style: none; }
.mega-list a, .mega-quick { display: inline-block; padding: 6px 0; text-decoration: none; font-size: .95rem; color: var(--ink-2); transition: color .2s, transform .2s; }
.mega-list a:hover, .mega-quick:hover { color: var(--ink); transform: translateX(3px); }
.mega-all { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-underline-offset: 5px; }
.mega-side { display: flex; flex-direction: column; padding-top: 48px; border-left: 1px solid var(--line); padding-left: 32px; }
.mega-feature { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); text-decoration: none; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
/* transparent header over the home hero */
html .mh.mh-overlay { margin-bottom: calc(-1 * var(--mh) - 1px); }
html .mh.mh-overlay:not(.is-solid):not(:hover):not(:focus-within):not(.is-searching) { background: transparent; border-color: transparent; color: #fff; }
html .mh.mh-overlay.mh-tone-dark:not(.is-solid):not(:hover):not(:focus-within):not(.is-searching) { color: #141414; }
html .mh.mh-overlay:not(.is-solid):not(:hover):not(:focus-within):not(.is-searching) .cart-count { background: #fff; color: #141414; box-shadow: none; }
html .mh.mh-overlay.mh-tone-dark:not(.is-solid):not(:hover):not(:focus-within):not(.is-searching) .cart-count { background: #141414; color: #fff; }
/* search panel */
.mh-search { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .3); animation: mDrop .25s var(--ease); }
.mh-search-inner { max-width: 880px; margin: 0 auto; padding: 28px clamp(16px, 3vw, 40px) 32px; }
.mh-search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 8px; }
.mh-search-form > svg { flex-shrink: 0; }
.mh-search-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 10px 0; font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 300; }
.mh-search-form .btn { min-height: 40px; padding: 6px 18px; }
.mh-search-pop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; margin-top: 18px; }
.mh-search-pop p { margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.mh-search-pop div { display: flex; flex-wrap: wrap; gap: 8px; }
.mh-search-backdrop { position: fixed; inset: 0; z-index: 39; background: var(--overlay); animation: mFade .2s; }
@keyframes mDrop { from { opacity: 0; transform: translateY(-6px); } }

/* mobile menu */
.m-menu-overlay { background: var(--overlay); }
.m-menu-panel { width: min(420px, 92vw); background: var(--paper); color: var(--ink); box-shadow: none; }
html[data-theme="dark"] .m-menu-panel { background-color: var(--paper); }
.m-menu-head { padding: 10px 10px 10px 20px; border-color: var(--line); }
.m-menu-head .logo { color: var(--ink); }
.m-menu-head .logo-svg { width: 132px; }
.m-search { display: flex; align-items: center; gap: 10px; margin: 14px 20px 6px; padding: 0 0 8px; border-bottom: 1px solid var(--ink); }
.m-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 16px; padding: 8px 0; }
.m-cats { padding: 8px 12px 4px; }
.m-cats > a, .m-cats summary { gap: 14px; justify-content: flex-start; padding: 10px 8px; border-radius: 0; font-weight: 400; font-size: 1.05rem; letter-spacing: .02em; }
.m-cats summary span, .m-cats > a span { flex: 1; }
.m-cats summary img, .m-cats > a img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--soft); flex-shrink: 0; }
.m-cats > a:hover, .m-cats summary:hover, .m-cats details a:hover { background: var(--soft); }
.m-cats details[open] summary { color: var(--ink); }
.m-cats details > div { margin-left: 30px; padding-left: 28px; border-left: 1px solid var(--line); }
.m-cats details a { font-weight: 400; color: var(--ink-2); border-radius: 0; }
.m-cats .nav-sale { color: var(--rose); padding-left: 66px; }
.m-links { border-color: var(--line); padding: 14px 12px 24px; }
.m-links a, .m-theme { font-weight: 400; font-size: .92rem; border-radius: 0; }

/* bottom tab bar (phones) */
.tabbar { display: none; }

/* ---------- home ---------- */
.m-hero { position: relative; display: flex; align-items: flex-end; min-height: min(92vh, 900px); min-height: min(92svh, 900px); overflow: hidden; background: #2B2B2E; color: #fff; }
.m-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: heroIn 1.6s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); opacity: .4; } }
.m-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .34) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .5) 100%); }
.m-hero.tone-dark { color: #141414; background: #EDEBE6; }
.m-hero.tone-dark::after { background: linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .55) 100%); }
.m-hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); padding-top: calc(var(--mh) + 40px); padding-bottom: clamp(56px, 10vh, 110px); animation: copyIn 1s .2s var(--ease) both; }
@keyframes copyIn { from { opacity: 0; transform: translateY(18px); } }
.m-hero h1 { max-width: 13ch; margin: 0 0 .25em; font-size: clamp(3rem, 8vw, 7rem); line-height: .92; letter-spacing: -.025em; }
.m-hero-lead { max-width: 46ch; margin: 0 0 30px; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 300; opacity: .92; }
.m-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.m-hero .btn-primary { background: #fff; border-color: #fff; color: #141414; }
.m-hero .btn-primary:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .75); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: #141414; border-color: #fff; }
.m-hero.tone-dark .btn-primary { background: #141414; border-color: #141414; color: #fff; }
.m-hero.tone-dark .btn-primary:hover { background: transparent; color: #141414; }
.m-hero.tone-dark .btn-glass { background: rgba(255, 255, 255, .35); border-color: #141414; color: #141414; }
.m-hero.tone-dark .btn-glass:hover { background: #141414; color: #fff; }
.m-hero-scroll { position: absolute; z-index: 1; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1px solid currentColor; border-radius: 14px; opacity: .7; color: inherit; }
.m-hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
/* split hero: no banner photo uploaded yet → product photo collage */
.m-hero.is-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch; min-height: min(80vh, 760px); background: var(--soft); color: var(--ink); }
.m-hero.is-split::after { display: none; }
.m-hero.is-split .m-hero-copy { align-self: center; padding: clamp(40px, 7vw, 96px) clamp(16px, 4vw, 72px); max-width: 640px; margin-left: auto; }
.m-hero.is-split h1 { font-size: clamp(2.8rem, 6vw, 5.6rem); }
.m-hero.is-split .btn-primary { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.m-hero.is-split .btn-primary:hover { background: transparent; color: var(--ink); }
.m-hero.is-split .btn-glass { background: transparent; border-color: var(--ink); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.m-hero.is-split .btn-glass:hover { background: var(--ink); color: var(--paper); }
.m-collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; min-height: 100%; }
.m-collage a { position: relative; display: block; overflow: hidden; background: var(--soft-2); }
.m-collage a:first-child { grid-row: span 2; }
.m-collage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.m-collage a:hover img { transform: scale(1.04); }
.m-collage.n1 { grid-template-columns: 1fr; } .m-collage.n2 { grid-template-columns: 1fr 1fr; } .m-collage.n2 a:first-child { grid-row: span 2; } .m-collage.n2 a:last-child { grid-row: span 2; }
.m-hero.is-split .m-hero-scroll { display: none; }

.m-block { padding-top: clamp(56px, 8vw, 112px); }
.m-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.6vw, 34px); }
.m-head h2 { margin: 0; }
.m-head-side { display: flex; align-items: center; gap: 18px; }
.m-more { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.m-more svg { transition: transform .25s var(--ease); }
.m-more:hover svg { transform: translateX(4px); }
.rail-nav { display: inline-flex; gap: 6px; }
.rail-nav button { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, opacity .2s; }
.rail-nav button:hover { border-color: var(--ink); }
.rail-nav button:disabled { opacity: .3; cursor: default; }
@media (hover: none) { .rail-nav { display: none; } }
.rail { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: max(clamp(16px, 3vw, 40px), calc((100% - var(--wrap)) / 2 + clamp(16px, 3vw, 40px)));
  padding-inline: max(clamp(16px, 3vw, 40px), calc((100% - var(--wrap)) / 2 + clamp(16px, 3vw, 40px))); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(158px, 23vw, 312px); gap: 18px; width: max-content; padding-bottom: 4px; }
.rail-track > * { scroll-snap-align: start; }
.rail-track::after { content: ''; width: 1px; }
.rail-cats .rail-track { grid-auto-columns: clamp(140px, 18vw, 250px); gap: 14px; }
.m-ages { display: flex; flex-wrap: wrap; gap: 8px; }
.m-ages a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .85rem; transition: border-color .2s, background .2s, color .2s; }
.m-ages a:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.m-cat { display: grid; gap: 4px; text-decoration: none; }
.m-cat-media { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); margin-bottom: 10px; }
.m-cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.m-cat:hover .m-cat-media img { transform: scale(1.05); }
.m-cat-name { font-size: .78rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.m-cat small { color: var(--ink-2); font-size: .82rem; line-height: 1.35; }
.m-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.m-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); color: #fff; text-decoration: none; }
.m-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.m-tile:hover img { transform: scale(1.04); }
.m-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .55)); }
.m-tile-copy { position: absolute; z-index: 1; left: clamp(18px, 3vw, 40px); right: 18px; bottom: clamp(20px, 3vw, 40px); display: grid; gap: 6px; }
.m-tile-copy small { font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.m-tile-copy b { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; }
.m-tile-copy em { display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.m-finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 24px 64px; align-items: center; }
.m-finder h2 { margin-bottom: 10px; }
.m-finder .muted { margin: 0; }
.ask { max-width: none; padding: 6px; border: 1px solid var(--ink); border-radius: 0; background: var(--paper); box-shadow: none; }
html[data-theme="dark"] .ask { box-shadow: none; border-color: var(--ink); background: var(--paper); }
.ask input { font-size: 1.05rem; font-weight: 300; padding: 10px 14px; }
.ask-small { box-shadow: none; }
.m-ai.ask-band, .ask-band { margin-top: 0; padding: clamp(24px, 4vw, 48px); border: 0; border-radius: 0; background: var(--soft); gap: clamp(18px, 3vw, 36px); }
html[data-theme="dark"] .ask-band, html[data-theme="dark"] .pitch, html[data-theme="dark"] .insight { background: var(--soft); border-color: var(--line); }
.ask-band h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.ask-band-avatar { flex-basis: 84px; height: 84px; background: var(--paper); box-shadow: none; }
.ask-chips .chip, .ai-sugg .chip { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 400; }
.ask-chips .chip:hover, .ai-sugg .chip:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
html[data-theme="dark"] .ask-chips .chip, html[data-theme="dark"] .ai-sugg .chip, html[data-theme="dark"] .ask-band-avatar { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.seo-text { padding-bottom: 0; }
.seo-text h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.seo-text .prose { font-size: .95rem; max-width: 80ch; }
.subcats { gap: 8px; }
.empty-shop, .empty { padding: 72px 20px; }

/* ---------- product cards ---------- */
.grid { gap: clamp(28px, 3.4vw, 48px) clamp(10px, 1.4vw, 18px); }
.card-media { border-radius: 0; background: var(--soft); }
.card-media img { transition: opacity .5s var(--ease), transform 1.1s var(--ease); }
.card-media:hover img:only-of-type { transform: scale(1.04); }
.card-media .alt { opacity: 0; transform: scale(1.02); }
.card-media:hover .alt { opacity: 1; transform: none; }
.badge { top: 10px; left: 10px; padding: 4px 8px; border-radius: 0; background: var(--paper); color: var(--ink); font-size: .64rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
html[data-theme="dark"] .badge { background: var(--paper); color: var(--ink); }
.badge-sale, html[data-theme="dark"] .badge-sale { background: var(--rose); color: #fff; }
.badge-out, html[data-theme="dark"] .badge-out { background: var(--ink); color: var(--paper); }
.badge-low { background: var(--paper); }
.card-body { padding: 12px 0 0; }
.card-body h3 { font-size: .92rem; font-weight: 400; letter-spacing: .01em; line-height: 1.35; min-height: 2.7em; margin: 2px 0 2px; }
.card-body h3 a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.card:hover .card-body h3 a { background-size: 100% 1px; }
.card-meta { font-size: .78rem; gap: 10px; }
.stars-mini { color: var(--ink); font-weight: 500; }
.price { font-size: .95rem; }
.price strong { font-weight: 500; }
.price del { font-size: .85em; }
.card .price del + strong { color: var(--rose); }
.dots { gap: 4px; }
.dots span { width: 10px; height: 10px; }
.ai-why { color: var(--ink-2); font-weight: 500; }
/* heart button: icon instead of the ♡ / ♥ text the script writes */
.fav-btn { font-size: 0 !important; background: transparent; box-shadow: none; color: var(--ink); width: 40px; height: 40px; }
.fav-btn::before { content: ''; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10Z' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.fav-btn.on { background: transparent; color: var(--rose); }
.fav-btn.on::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7.5-4.6-7.5-10A4.3 4.3 0 0 1 12 7.4 4.3 4.3 0 0 1 19.5 10c0 5.4-7.5 10-7.5 10Z' fill='black'/%3E%3C/svg%3E"); }
.card-fav { top: 6px; right: 6px; width: 36px; height: 36px; color: #141414; }
.card-fav:not(.on)::before { background: #141414; }
.card-fav::after { content: ''; position: absolute; inset: 4px; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .78); opacity: 0; transition: opacity .2s; }
.card:hover .card-fav::after, .card-fav.on::after, .card-fav:focus-visible::after { opacity: 1; }
@media (hover: none) { .card-fav::after { opacity: 1; } }

/* ---------- listing ---------- */
.page-head { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 8px; }
.page-head h1 { margin-bottom: .2em; }
.crumbs { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.crumbs li + li::before { content: "—"; margin: 0 6px 0 2px; }
.m-subcats { margin-top: 16px; }
.m-toolbar { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding-top: 14px; padding-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; }
.m-filter-btn { min-height: 40px; padding: 6px 16px; gap: 10px; }
.m-filter-n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: .66rem; letter-spacing: 0; }
.m-filter-btn:hover .m-filter-n { background: var(--paper); color: var(--ink); }
.m-count { margin: 0 auto 0 0; color: var(--ink-2); font-size: .85rem; }
.m-sort select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E") right center / 12px no-repeat;
  padding: 8px 22px 8px 4px; font-size: .85rem; cursor: pointer; color: var(--ink); }
.m-sort select option { background: var(--paper); color: var(--ink); }
.m-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 14px; }
.m-active .chip span { font-size: .7rem; margin-left: 2px; }
.m-clear { font-size: .82rem; color: var(--ink-2); text-underline-offset: 3px; margin-left: 6px; }
.m-shop { display: block; padding-top: 26px; }
.m-shop .grid-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.m-shop .filters, .m-shop .filters.open { position: fixed; z-index: 78; top: 0; bottom: 0; left: 0; width: min(420px, 92vw); display: flex; flex-direction: column; padding: 0; border-radius: 0;
  background: var(--paper); color: var(--ink); box-shadow: 30px 0 60px -30px rgba(0, 0, 0, .35); transform: translateX(-102%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s; -webkit-backdrop-filter: none; backdrop-filter: none; }
.m-shop .filters.open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.m-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 24px; border-bottom: 1px solid var(--line); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.m-filters-head b { font-weight: 500; }
.m-shop .filters form { position: static; flex: 1; overflow-y: auto; overscroll-behavior: contain; gap: 22px; padding: 22px 24px 0; }
.m-filters-foot { position: sticky; bottom: 0; z-index: 2; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; margin: auto -24px 0; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); }
.m-filters-foot .btn { padding: 8px 10px; }
.m-filters-backdrop { position: fixed; inset: 0; z-index: 77; background: var(--overlay); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.filters.open + .m-filters-backdrop { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.size-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.size-chips label { position: relative; }
.size-chips input { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; margin: 0; }
.size-chips span { display: block; min-width: 54px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); font-weight: 400; text-align: center; font-size: .82rem; cursor: pointer; transition: border-color .2s; }
.size-chips span:hover { border-color: var(--ink); }
.size-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size-chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.more { margin: clamp(36px, 5vw, 64px) 0 0; }

/* ---------- product page ---------- */
.pdp { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 4.5vw, 80px); padding-top: 10px; }
.gallery { top: calc(var(--mh) + 20px); }
.gallery:has(.thumbs) { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: start; }
.gallery:has(.thumbs) .gallery-main { grid-column: 2; grid-row: 1; }
.gallery:has(.thumbs) .thumbs { grid-column: 1; grid-row: 1; flex-direction: column; margin: 0; max-height: calc(100vh - var(--mh) - 60px); overflow-y: auto; scrollbar-width: none; padding: 0; }
.gallery-main { border-radius: 0; }
.g-zoom, .g-count, .g-nav { box-shadow: none; background: rgba(255, 255, 255, .9); color: #141414; }
.g-count { border-radius: 0; font-weight: 500; letter-spacing: .06em; }
.thumb { flex: 0 0 auto; width: 72px; border: 1px solid transparent; border-radius: 0; opacity: .6; transition: opacity .2s, border-color .2s; }
.thumb:hover { opacity: 1; }
.thumb.is-on { border-color: var(--ink); opacity: 1; }
.buybox { padding-top: 6px; }
.brand { margin-bottom: 10px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.brand a { text-decoration: none; }
.buybox h1 { font-family: var(--body); font-weight: 400; font-size: clamp(1.45rem, 2.4vw, 1.9rem); line-height: 1.2; letter-spacing: 0; }
.title-row { gap: 16px; }
.title-row .fav-btn { flex-shrink: 0; margin-top: -4px; border: 1px solid var(--line); border-radius: 50%; }
.rating-line { font-weight: 400; font-size: .88rem; }
.stars { background: linear-gradient(90deg, var(--ink) calc(var(--r) / 5 * 100%), var(--line) 0); -webkit-background-clip: text; background-clip: text; font-size: .95rem; }
.pdp-price { margin: 14px 0 18px; font-size: 1.35rem; }
.pdp-price strong { font-weight: 500; }
.pdp-price del + strong { color: var(--rose); }
.facts { gap: 0; margin-bottom: 26px; color: var(--ink-2); font-size: .85rem; }
.facts li { padding: 0; background: none; font-weight: 400; font-size: .85rem; }
.facts li + li::before { content: '·'; margin: 0 10px; }
html[data-bg] .facts li { background: none; }
.pick legend { font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.pick legend b { color: var(--ink); text-transform: none; letter-spacing: .02em; font-weight: 500; font-size: .9rem; }
.pick legend .link-btn { margin-left: auto; text-transform: none; letter-spacing: 0; font-size: .82rem; }
.color-pick { gap: 12px; }
.color-pick span { width: 30px; height: 30px; }
.color-pick input:checked + span { box-shadow: 0 0 0 2px var(--paper), 0 0 0 3px var(--ink); }
.size-pick { gap: 6px; }
.size-pick span { min-width: 60px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 0; font-weight: 400; font-size: .88rem; transition: border-color .2s; }
.size-pick span:hover { border-color: var(--ink); }
.size-pick input:checked + span, html[data-theme="dark"] .size-pick input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size-pick input:disabled + span { background: transparent; color: var(--ink-2); opacity: .5; }
.stock-note { color: var(--rose); font-weight: 500; font-size: .85rem; }
html[data-theme="dark"] .stock-note { color: var(--rose); }
.buy-row { gap: 8px; margin-top: 6px; }
.qty { border: 1px solid var(--line); border-radius: 0; }
.qty button { height: 54px; }
.ask-row .btn { min-height: 44px; }
.pitch { border-radius: 0; background: var(--soft); border: 0; }
.pitch-tag { color: var(--ink-2); letter-spacing: .16em; font-weight: 500; }
.pitch li::before { background: var(--ink); color: var(--paper); }
.pitch-combo { border-color: var(--line); }
.mini { border-radius: 0; }
.mini img { border-radius: 0; }
.tabs { margin-top: 30px; border-color: var(--line); }
.tabs summary { padding: 18px 0; font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.tabs summary::after { font-weight: 300; }
.tabs .prose { padding-bottom: 18px; color: var(--ink-2); font-size: .95rem; }
.reviews .block-head, .block-head { align-items: flex-end; }
.block { padding-top: clamp(56px, 7vw, 96px); }
.block-head a { color: var(--ink); font-size: .74rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.review-summary { border-radius: 0; background: var(--soft); }
.big-score { font-family: var(--display); font-weight: 400; }
.bar { background: var(--line); }
.bar i { background: var(--ink); }
html[data-theme="dark"] .bar { background: var(--line); }
.verified { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ok); font-weight: 500; border-radius: 0; }
.reply { border-radius: 0; }
.rv-photos img { border-radius: 0; }
.rate input:checked ~ label, .rate label:hover, .rate label:hover ~ label { color: var(--ink); }
/* sticky add-to-cart bar (phones; created by theme-modern.js) */
.m-atc { display: none; }

/* ---------- cart, checkout, order ---------- */
.cart-line { grid-template-columns: 96px 1fr 80px 120px 44px; border-color: var(--line); }
.cart-line img { border-radius: 0; }
.cl-info a { font-weight: 400; }
.cl-qty input { border-radius: 0; border: 1px solid var(--line); background: var(--paper); }
.summary { border-radius: 0; background: var(--soft); top: calc(var(--mh) + 20px); }
.summary h2 { font-size: 1.7rem; }
.sum-total { border-color: var(--line); font-size: 1.1rem; }
.ship-meter { border-radius: 0; background: var(--paper); font-weight: 400; }
.ship-meter .bar { background: var(--line); }
.ship-meter .bar i { background: var(--ink); }
.coupon-form input { border-radius: 0; border: 1px dashed var(--line); }
.mini-items img { border-radius: 0; }
.mini-items a, .mini-items span { font-weight: 500; }
.co-form h2 { font-size: 1.8rem; margin-top: 22px; display: flex; align-items: center; gap: 10px; }
.step-n { width: 30px; height: 30px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); font-size: .85rem; font-weight: 500; vertical-align: 0; margin-right: 0; }
.pay-opt > span { border: 1px solid var(--line); border-radius: 0; }
.pay-opt input:checked + span, .pay-opt.on > span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.card-slot { border: 1px solid var(--ink); border-top: 0; border-radius: 0; }
.invoice-box, .legal-form { border-radius: 0; }
.save { border-radius: 0; background: var(--mint); color: var(--ok); }
.pay-box, .notice-box, .card-form { border-radius: 0; background: var(--soft); }
.pay-box { background: var(--soft); }
.iban { border-radius: 0; background: var(--paper); }
.important { border-radius: 0; background: var(--butter); font-weight: 500; }
.code { border-radius: 0; }
.pay-amount { font-family: var(--display); font-weight: 400; }
.progress li { font-weight: 400; font-size: .8rem; }
.progress li.now::before { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.progress li.done::before { color: var(--paper); }
.map iframe { border-radius: 0; }

/* ---------- drawer, consent, assistant, floating buttons ---------- */
.drawer-backdrop { background: var(--overlay); }
.drawer-panel { background: var(--paper); color: var(--ink); }
.drawer-head { padding: 14px 18px 14px 24px; }
.drawer-head h2 { font-size: 1.7rem; }
.drawer-body { padding: 18px 24px; }
.consent { border-radius: 0; background: var(--paper); border-color: var(--line); box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .3); }
.wa-float { width: 50px; height: 50px; right: 18px; bottom: 18px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.wa-float svg { width: 24px; height: 24px; }
.ai-fab { background: var(--ink); color: var(--paper); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .55); padding: 5px 18px 5px 5px; font-weight: 500; letter-spacing: .02em; bottom: 80px; }
.ai-fab-cat { background: var(--paper); }
.ai-chat { border-radius: var(--r-lg); border-color: var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
.ai-head { background: var(--ink); color: var(--paper); }
.ai-head .icon-btn { color: var(--paper); }
.ai-avatar { background: var(--paper); }
.online { background: #5BE3A0; }
.msg p { border-radius: 14px; }
.msg.me p { background: var(--ink); color: var(--paper); }
.ai-input .btn { background: var(--ink); color: var(--paper); border-radius: 50%; }
.ai-input textarea { border-radius: 14px; border-width: 1px; }
.ai-input textarea:focus { border-color: var(--ink); }
.insight { border-radius: 0; border: 0; background: var(--soft); }

/* ---------- trust row + footer ---------- */
.trust { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.trust-row > div { display: flex; gap: 14px; align-items: flex-start; }
.trust-row svg { flex-shrink: 0; margin-top: 2px; }
.trust-row p { display: grid; gap: 2px; margin: 0; font-size: .88rem; }
.trust-row b { font-weight: 500; }
.trust-row span { color: var(--ink-2); }
.site-footer.mf, html[data-theme="dark"] .site-footer.mf { margin-top: 0; padding: clamp(48px, 6vw, 80px) 0 28px; background: var(--soft); color: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.mf .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px 40px; }
.mf .logo { display: inline-flex; color: var(--ink); margin-bottom: 14px; }
.mf .footer-grid h3 { color: var(--ink); margin-bottom: 16px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.mf .footer-grid a { color: var(--ink-2); font-size: .92rem; padding: 4px 0; }
.mf .footer-grid a:hover { color: var(--ink); text-decoration: none; }
.mf .mf-brand p { color: var(--ink-2); font-size: .92rem; margin-bottom: 6px; }
.mf .mf-brand p.muted { color: var(--ink); font-family: var(--display); font-size: 1.35rem; line-height: 1.2; margin-bottom: 14px; }
.mf .social a { display: inline-block; margin-right: 14px; color: var(--ink); text-underline-offset: 4px; }
.mf .footer-bottom { border-color: var(--line); color: var(--ink-2); font-size: .8rem; }
.mf .footer-bottom .credit { color: var(--ink-2); font-weight: 500; }
.mf .footer-bottom .credit:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .mh-nav > ul { gap: 14px; }
  .mh-link { font-size: .7rem; letter-spacing: .1em; }
  .mega-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 200px; gap: 32px; }
}
@media (max-width: 1024px) {
  .mh .menu-toggle { display: inline-grid; }
  .mh-nav { display: none; }
  .mh .theme-btn, .mh .hact-track { display: none; }
  .mh .logo-svg { width: 132px; }
  .m-shop .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .m-finder { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --mh: 58px; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .mh-row { padding: 0 8px; }
  .mh-right .icon-btn { width: 40px; height: 40px; }
  .mh .fav-link { display: none; }
  .tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: none; color: var(--ink-2); text-decoration: none; font: inherit; font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; }
  .tabbar [aria-current="page"] { color: var(--ink); }
  .tabbar .cart-count { top: 6px; right: calc(50% - 20px); min-width: 16px; height: 16px; font-size: .58rem; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2px var(--paper); }
  .page-urun .tabbar { display: none; }
  .page-urun { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: calc(74px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; }
  .ai-fab { bottom: calc(130px + env(safe-area-inset-bottom)); right: 14px; }
  .page-urun .wa-float { bottom: calc(88px + env(safe-area-inset-bottom)); }
  .page-urun .ai-fab { bottom: calc(144px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .consent { bottom: calc(72px + env(safe-area-inset-bottom)); }
  .mh-search-inner { padding-top: 18px; padding-bottom: 22px; }
  .mh-search-form .btn { display: none; }
  .m-hero.is-split { grid-template-columns: 1fr; min-height: 0; }
  .m-hero.is-split .m-hero-copy { max-width: none; margin: 0; padding: 40px 16px 32px; order: 2; }
  .m-collage { min-height: 0; aspect-ratio: 4 / 3.4; order: 1; }
  .m-split { grid-template-columns: 1fr; }
  .m-tile { aspect-ratio: 4 / 4.2; }
  .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 0; }
  .gallery:has(.thumbs) { display: block; }
  .gallery { margin: 0 calc(-1 * clamp(16px, 3vw, 40px)); }
  .gallery:has(.thumbs) .thumbs { flex-direction: row; max-height: none; overflow-x: auto; padding: 0 clamp(16px, 3vw, 40px); margin-top: 8px; }
  .thumb { width: 58px; }
  .m-atc { position: fixed; z-index: 46; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .m-atc.show { transform: none; }
  .m-atc div { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
  .m-atc b { font-weight: 400; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .m-atc span { font-weight: 500; font-size: .95rem; }
  .m-atc .btn { min-height: 46px; padding: 8px 18px; flex-shrink: 0; }
  .m-shop .grid-3, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid, .mf .footer-grid { grid-template-columns: 1fr 1fr; }
  .mf .mf-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .announce { height: 32px; font-size: .62rem; letter-spacing: .12em; }
  .mh .logo-svg { width: 118px; }
  .m-hero { min-height: 78svh; }
  .m-hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .m-hero-cta .btn { flex: 1 1 auto; padding-inline: 18px; }
  .m-hero-scroll { display: none; }
  .rail { padding-inline: 16px; scroll-padding-inline: 16px; }
  .rail-track { grid-auto-columns: 44vw; gap: 10px; }
  .rail-cats .rail-track { grid-auto-columns: 36vw; }
  .m-head { align-items: flex-start; }
  .m-head h2 { font-size: 1.9rem; }
  .m-toolbar { gap: 10px; }
  .m-count { display: none; }
  .m-sort { margin-left: auto; }
  .grid, .grid-3, .m-shop .grid-3 { gap: 28px 10px; }
  .card-body h3 { font-size: .86rem; }
  .card-meta { font-size: .74rem; }
  .ask { flex-direction: row; border-radius: 0; box-shadow: none; }
  .ask .btn { width: auto; min-width: 72px; }
  .trust-row { grid-template-columns: 1fr; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
  .footer-grid, .mf .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .cart-line { grid-template-columns: 76px 1fr 44px; }
  .co-form h2 { font-size: 1.5rem; }
  .ask-band { text-align: left; align-items: flex-start; }
  .ask-chips { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .m-hero-media img, .m-hero-copy { animation: none; }
}

/* ---------- membership (Modern) ---------- */
.mh-acct { position: relative; }
.mh-dot { position: absolute; right: 9px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 2px var(--paper); }
.acct-hello-bar, .acct-nav, .auth-perks, .acct-quick a, .ord-head { border-radius: 0; }
.acct-offer { border-width: 1px; border-color: var(--ink); border-style: solid; background: var(--soft); border-radius: 0; }
.acct-offer-ico { background: var(--ink); color: var(--paper); }
.acct-toggle { border-radius: 0; border-width: 1px; }
.acct-toggle input { accent-color: var(--ink); }
.acct-offer.is-open .acct-toggle, .acct-toggle:hover { border-color: var(--ink); box-shadow: none; }
.addr-opt > span { border-width: 1px; border-radius: 0; }
.addr-opt input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.auth-tabs { border-radius: 0; background: transparent; border-bottom: 1px solid var(--line); padding: 0; gap: 24px; }
.auth-tabs a { border-radius: 0; padding: 10px 2px; font-weight: 500; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.auth-tabs a[aria-current] { background: none; box-shadow: inset 0 -2px 0 var(--ink); }
.auth-card, .acct-card, .ord, .fav-row, .acct-stats a, .acct-empty { border-radius: 0; }
.auth-switch a, .auth-row a, .acct-sec-head a, .acct-hello-bar a:not(.btn) { color: var(--ink); font-weight: 500; text-underline-offset: 3px; }
.auth-perks li::before { background: var(--ink); color: var(--paper); }
.acct-head .eyebrow { color: var(--ink-2); font-weight: 500; letter-spacing: .22em; }
.acct-nav { background: transparent; padding: 0; border-top: 1px solid var(--line); }
.acct-nav a, .acct-out button { border-radius: 0; font-weight: 400; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.acct-nav a:hover, .acct-out button:hover { background: transparent; }
.acct-nav a[aria-current] { background: transparent; color: var(--ink); box-shadow: none; font-weight: 600; }
.acct-nav b { background: var(--ink); color: var(--paper); }
.acct-out { border: 0; margin: 0; padding: 0; }
.acct-stats b { font-weight: 400; }
.st { border-radius: 0; font-weight: 500; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.ord-items img, .ord-more, .fav-img img { border-radius: 0; }
.fav-info > a { font-weight: 500; }
.fav-tags span, .addr-card h3 span { border-radius: 0; font-weight: 500; }
.tag-drop { background: var(--rose); }
.pw-eye { border-radius: 0; font-weight: 500; }
.m-links .m-acct { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) {
  .mh .mh-acct { display: none; }   /* phones: the bottom bar has the account tab */
  .acct-nav { border: 0; border-bottom: 1px solid var(--line); gap: 18px; padding: 0; }
  .acct-nav a, .acct-out button { border: 0; padding: 10px 0; }
  .acct-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--ink); }
}

/* ---------- header: second row for categories when they don't fit beside the logo ---------- */
.mh.mh-two-row { --mh-nav: 46px; padding-bottom: var(--mh-nav); }
.mh.mh-two-row .mh-nav { position: absolute; left: 0; right: 0; top: var(--mh); height: var(--mh-nav); border-top: 1px solid var(--line); }
.mh.mh-two-row .mh-nav > ul { justify-content: center; flex-wrap: nowrap; gap: clamp(16px, 2.2vw, 36px); padding: 0 16px; overflow-x: auto; scrollbar-width: none; }
.mh.mh-two-row .mh-nav > ul::-webkit-scrollbar { display: none; }
html .mh.mh-two-row.mh-overlay { margin-bottom: calc(-1 * (var(--mh) + var(--mh-nav)) - 1px); }
html .mh.mh-two-row.mh-overlay:not(.is-solid):not(:hover):not(:focus-within):not(.is-searching) .mh-nav { border-top-color: rgba(255, 255, 255, .25); }
.mh.mh-two-row .mh-search { top: 100%; }

/* campaign popup + first-order box: square modern look */
.pop-card { border-radius: 0; }
.pop-body h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 1.9rem; }
.pop-foot .link-btn { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }
.welcome-offer { border-radius: 0; }

/* modern campaign hero slider */
.hero-slider.is-modern { max-width: var(--wrap, 1320px); margin: 18px auto 24px; padding: 0 16px; }
.hero-slider.is-modern .hs-track { width: 100%; aspect-ratio: 21 / 9; min-height: 240px; max-height: 440px; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 36px rgba(0, 0, 0, .08); }
.hero-slider.is-modern .hs-copy { max-width: var(--wrap); padding-bottom: clamp(44px, 7vw, 84px); }
.hero-slider.is-modern .hs-title { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5.6vw, 4.8rem); letter-spacing: -.02em; }
.hero-slider.is-modern .hs-slide.tone-light .btn-primary { background: #fff; border-color: #fff; color: #141414; }
.hero-slider.is-modern .hs-slide.tone-light .btn-primary:hover { background: transparent; color: #fff; }
.hero-slider.is-modern .hs-nav { border-radius: 0; background: rgba(255, 255, 255, .9); }
@media (max-width: 760px) {
  .hero-slider.is-modern { margin: 12px auto 16px; padding: 0 12px; }
  .hero-slider.is-modern .hs-track { aspect-ratio: 16 / 10; min-height: 190px; max-height: 300px; border-radius: 12px; }
}
