/* Self-hosted (SIL Open Font License); latin and latin-ext only, both fonts are variable. */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/playfair-display-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('/fonts/playfair-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #009FE3;
  --brand-pressed: #0087C2;
  --brand-soft: #E6F7FF;
  --brand-accent: #1AB8FF;
  --ink: #10212B;
  --muted: #61727E;
  --subtle: #8A9AA5;
  --line: #D9E4EC;
  --paper: #FFFFFF;
  --soft: #F7FAFC;
  --dark: #071016;
  --dark-raised: #0D1820;
  --radius: 24px;
  --shadow: 0 18px 55px rgba(20, 37, 63, .09);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2,.75,.25,1);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
.theme-ocean { --brand: #007cae; --brand-pressed: #005c83; --brand-soft: #eaf5f9; --paper: #fbfdfe; --soft: #f0f6f8; --ink: #172d38; --muted: #526b78; --line: #dce7ed; }
.theme-night { --brand: #6550c7; --brand-pressed: #4d399f; --brand-soft: #efedf8; --brand-accent: #9b8cff; --paper: #fcfbff; --soft: #f3f1f8; --ink: #29253c; --muted: #6a637c; --line: #e4dfef; --dark: #201e30; --dark-raised: #2c293e; }
.theme-nature { --brand: #28704f; --brand-pressed: #1b5139; --brand-soft: #edf3ec; --brand-accent: #7bc49f; --paper: #fafcf8; --soft: #f0f4ec; --ink: #26392c; --muted: #61715f; --line: #dde5d8; --dark: #1d3025; --dark-raised: #2b4032; }
.theme-sunset { --brand: #b94f36; --brand-pressed: #923c2a; --brand-soft: #fbefe7; --brand-accent: #ffad66; --paper: #fffcf9; --soft: #faf1eb; --ink: #432e27; --muted: #7b655b; --line: #eddfd5; --dark: #3b2824; --dark-raised: #513a32; }
.theme-rose { --brand: #650a34; --brand-pressed: #4b0726; --brand-soft: #f6b3c1; --brand-accent: #f6b3c1; --paper: #fbe3e9; --soft: #f6b3c1; --ink: #650a34; --muted: #8a4a63; --line: #f1c6d1; --dark: #3d0620; --dark-raised: #55102f; }
.theme-atelier { --brand: #866b35; --brand-pressed: #695226; --brand-soft: #eae4d5; --brand-accent: #b8a16f; --paper: #f7f5ef; --soft: #f0eee6; --ink: #252b2d; --muted: #6e6b60; --line: #e2ded2; --dark: #252b2f; --dark-raised: #343a3b; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--paper); color: var(--ink); }
button, a { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img { display: block; width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }


/* ── Store page: hero, catalog, contact ─────────────────────────────────────── */
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
h1, h2, h3 { font-family: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.stickybar { position: fixed; z-index: 35; top: 0; right: 0; left: 0; pointer-events: none; }
.stickybar-inner { display: flex; align-items: center; gap: 12px; padding: 10px 32px; background: color-mix(in srgb, var(--paper) 86%, transparent); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px) saturate(1.3); opacity: 0; transform: translateY(-100%); transition: transform .45s var(--ease), opacity .3s; }
.stickybar.show { pointer-events: auto; }
.stickybar.show .stickybar-inner { opacity: 1; transform: none; }
.stickybar.is-static { position: sticky; }
.stickybar-brand { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
.stickybar-name { overflow: hidden; font-size: 14px; font-weight: 800; letter-spacing: .02em; text-overflow: ellipsis; white-space: nowrap; }
.cart-mini { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); cursor: pointer; font-size: 13px; font-weight: 700; }
.cart-mini[hidden] { display: none; }

.logo-tile { display: grid; flex: none; width: 104px; height: 104px; place-items: center; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 12%, transparent), inset 0 0 0 1px var(--line); }
/* height: inherit — a percentage height does not resolve inside the grid tile, so a tall logo would overflow it. */
.logo-tile img { width: 100%; height: inherit; padding: 10px; object-fit: contain; }
.logo-tile .mono { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.02em; color: var(--brand); }
.logo-tile.mini-logo { width: 34px; height: 34px; border-radius: 10px; }
.logo-tile.mini-logo img { padding: 3px; }
.logo-tile.mini-logo .mono { font-size: 14px; }

.hero { position: relative; display: grid; min-height: 640px; align-items: center; overflow: hidden; isolation: isolate; }
.silk, .hero-cover { position: absolute; inset: 0; z-index: -2; }
.silk { background: linear-gradient(135deg, var(--soft), var(--brand-soft)); }
.silk svg { position: absolute; inset: -10%; width: 120%; height: 120%; animation: drift 22s ease-in-out infinite alternate; }
.silk .blob { filter: blur(60px); opacity: .75; }
.silk .wave { fill: none; stroke-linecap: round; opacity: .55; }
.wave.w1 { animation: flow 9s ease-in-out infinite alternate; }
.wave.w2 { animation: flow 12s ease-in-out infinite alternate-reverse; }
.wave.w3 { animation: flow 15s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.02) rotate(-1deg); } to { transform: translate3d(2%, 1.5%, 0) scale(1.08) rotate(1.5deg); } }
@keyframes flow { to { transform: translateY(26px) translateX(-18px); } }
.hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.grain { position: absolute; inset: 0; z-index: -1; opacity: .18; mix-blend-mode: multiply; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero.has-cover .grain { opacity: .1; }

/* "Yalnızca logo": the cover shown whole, only the logo on it. Each logo size is 50% larger. */
.hero-logo-only { position: relative; overflow: hidden; }
.hero-logo-only-cover { display: block; width: 100%; height: auto; }
.hero-logo-only .logo-tile { position: absolute; top: 50%; left: 12%; transform: translateY(-50%); }
.hero-logo-only .logo-tile.logo-medium { width: 156px; height: 156px; border-radius: 36px; }
.hero-logo-only .logo-tile.logo-medium img { padding: 15px; }
.hero-logo-only .logo-tile.logo-medium .mono { font-size: 60px; }
.hero-logo-only .logo-tile.logo-large { width: 234px; height: 234px; border-radius: 54px; }
.hero-logo-only .logo-tile.logo-large img { padding: 22px; }
.hero-logo-only .logo-tile.logo-large .mono { font-size: 90px; }
.hero-contact-link { position: absolute; top: 20px; right: 24px; padding: 10px 18px; border-radius: 999px; background: var(--brand); color: #fff; box-shadow: 0 10px 30px color-mix(in srgb, var(--ink) 18%, transparent); font-size: 14px; font-weight: 800; text-decoration: none; }
.hero-contact-link:hover { background: var(--brand-pressed); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px; }
.brand-card { position: relative; min-width: 0; padding: 36px; border: 1px solid color-mix(in srgb, #fff 60%, transparent); border-radius: 32px; background: color-mix(in srgb, var(--paper) 78%, transparent); box-shadow: 0 30px 80px color-mix(in srgb, var(--ink) 14%, transparent); backdrop-filter: blur(22px) saturate(1.2); }
.card-head { display: flex; align-items: center; gap: 20px; }
.store-name { margin: 8px 0 0; font-family: var(--display); font-size: 52px; font-weight: 600; line-height: 1.02; letter-spacing: -.02em; overflow-wrap: anywhere; text-wrap: balance; }
.story { margin: 22px 0 0; color: var(--muted); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.story p { margin: 0; white-space: pre-line; }
.story .rest { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.story .rest > p { overflow: hidden; opacity: 0; transition: opacity .4s; }
.story.open .rest { grid-template-rows: 1fr; }
.story.open .rest > p { padding-top: 10px; opacity: 1; }
.story-toggle { margin-top: 8px; padding: 0; border: 0; background: none; color: var(--brand-pressed); cursor: pointer; font-size: 13px; font-weight: 700; }
.story-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--paper) 70%, transparent); color: var(--ink); cursor: pointer; font-size: 12.5px; font-weight: 600; transition: transform .25s var(--ease), border-color .2s, background .2s; }
.chip svg { width: 18px; height: 18px; flex: none; }
.chip .ic { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand-pressed); }
.chip:hover { border-color: var(--brand); transform: translateY(-2px); }
.chip.wa .ic { background: #25d366; color: #fff; }
.chip.wa:hover { border-color: #25d366; }

.fan { position: relative; height: 440px; perspective: 1200px; }
.fan-inner { position: absolute; inset: 0; transition: transform .2s ease-out; }
.fan-card { position: absolute; top: 50%; left: 50%; width: 230px; padding: 10px 10px 16px; border-radius: 26px; background: var(--paper); box-shadow: 0 30px 60px color-mix(in srgb, var(--ink) 22%, transparent); color: var(--ink); transform-style: preserve-3d; transition: transform .9s var(--ease); }
.fan-art { display: block; overflow: hidden; aspect-ratio: 1; border-radius: 18px; background: var(--soft); }
.fan-art img { width: 100%; height: 100%; object-fit: contain; }
.fan-title { display: block; margin: 12px 6px 0; overflow: hidden; font-size: 13.5px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.fan-price { display: block; margin: 3px 6px 0; color: var(--brand); font-size: 15px; font-weight: 800; }
.fan-card:nth-child(1) { transform: translate(-50%, -50%) translate(-150px, 30px) rotate(-12deg); }
.fan-card:nth-child(2) { transform: translate(-50%, -50%) translate(150px, 30px) rotate(12deg); }
.fan-card:nth-child(3) { z-index: 2; transform: translate(-50%, -50%) translateY(-14px); }
.fan:hover .fan-card:nth-child(1) { transform: translate(-50%, -50%) translate(-190px, 22px) rotate(-16deg); }
.fan:hover .fan-card:nth-child(2) { transform: translate(-50%, -50%) translate(190px, 22px) rotate(16deg); }
.fan:hover .fan-card:nth-child(3) { transform: translate(-50%, -50%) translateY(-30px) scale(1.04); }
.fan[data-count="1"] .fan-card:nth-child(1), .fan[data-count="1"]:hover .fan-card:nth-child(1) { transform: translate(-50%, -50%) rotate(-3deg); }
.fan[data-count="2"] .fan-card:nth-child(1) { transform: translate(-50%, -50%) translate(-90px, 10px) rotate(-8deg); }
.fan[data-count="2"] .fan-card:nth-child(2) { transform: translate(-50%, -50%) translate(90px, 10px) rotate(8deg); }
.fan[data-count="2"]:hover .fan-card:nth-child(1) { transform: translate(-50%, -50%) translate(-125px, 4px) rotate(-12deg); }
.fan[data-count="2"]:hover .fan-card:nth-child(2) { transform: translate(-50%, -50%) translate(125px, 4px) rotate(12deg); }

.rise { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
.rise-1 { animation-delay: .1s; }
.rise-2 { animation-delay: .25s; }
.rise-3 { animation-delay: .4s; }
.rise-4 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.catalog { padding-block: 88px 72px; }
.cat-head { display: flex; align-items: end; justify-content: flex-end; gap: 24px; margin-bottom: 28px; }
.kicker { display: block; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.search svg { width: 17px; height: 17px; flex: none; }
.search input { width: 170px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.search input::placeholder { color: var(--muted); }
.catalog-empty { padding: 48px 0; color: var(--muted); font-size: 14px; text-align: center; }
.catalog-empty[hidden] { display: none; }
.delivery-offers { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 24px; padding: 0; list-style: none; }
.delivery-offers li { padding: 8px 14px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-pressed); font-size: 13.5px; font-weight: 700; }
.catalog-empty button { padding: 0; border: 0; background: none; color: var(--brand-pressed); cursor: pointer; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: color-mix(in srgb, #fff 55%, var(--paper)); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product-card[hidden] { display: none; }
.product-card:hover { box-shadow: 0 28px 60px color-mix(in srgb, var(--ink) 13%, transparent); transform: translateY(-6px); }
.reveal-ready .product-card.reveal { opacity: 0; transform: translateY(30px); }
.reveal-ready .product-card.reveal.in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s; }
.product-card .media { position: relative; overflow: hidden; aspect-ratio: 1; margin: 10px; border-radius: 20px; background: var(--soft); }
.media-link { display: block; width: 100%; height: 100%; }
.media-link img { width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.product-card:hover .media-link img { transform: scale(1.06); }
.media-link .product-placeholder { height: 100%; aspect-ratio: auto; border: 0; border-radius: 0; }
.badge { position: absolute; top: 12px; left: 12px; padding: 7px 11px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 85%, transparent); color: var(--ink); font-size: 11px; font-weight: 700; backdrop-filter: blur(8px); pointer-events: none; }
.product-card .body { display: flex; flex: 1; flex-direction: column; padding: 8px 22px 22px; }
.product-card h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -.01em; overflow-wrap: anywhere; }
.product-card h3 a:hover { color: var(--brand-pressed); }
.product-card .product-code { display: block; margin-top: 4px; overflow: hidden; color: var(--muted); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.product-card .body > p { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: var(--muted); font-size: 13px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.product-card .price { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.product-card .price small { margin-left: 2px; color: var(--muted); font-size: 13px; font-weight: 700; }
.product-pricing-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 10px; color: var(--muted); font-size: 12.5px; font-weight: 700; }
.product-pricing-note .pricing-own { color: var(--brand-pressed); }
.product-pricing-note .pricing-tier { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; }
.product-pricing-note .pricing-tier:hover { border-color: var(--brand); color: var(--brand-pressed); }
.buy .cart-control { flex: none; padding: 0; }
/* "Izgara": six small cards a row; the square photo keeps its proportions (object-fit: contain). */
.product-grid-compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.product-grid-compact .product-card { border-radius: 18px; }
.product-grid-compact .product-card:hover { transform: translateY(-3px); }
.product-grid-compact .product-card .media { margin: 6px; border-radius: 13px; }
.product-grid-compact .badge, .product-grid-compact .product-card .product-code, .product-grid-compact .product-card .body > p, .product-grid-compact .product-pricing-note { display: none; }
.product-grid-compact .product-card .body { padding: 4px 10px 10px; }
.product-grid-compact .product-card h3 { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-grid-compact .buy { flex-direction: column; align-items: stretch; gap: 6px; padding-top: 8px; }
.product-grid-compact .product-card .price { font-size: 15px; }
.product-grid-compact .product-card .price small { font-size: 11px; }
.product-grid-compact .buy .cart-control .add-btn { width: 100%; padding: 8px; font-size: 12px; }
.product-grid-compact .buy .cart-control .stepper { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 34px; }
.product-grid-compact .price-ask { text-align: center; font-size: 12px; }

.contact { padding-bottom: 40px; }
.contact-card { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; overflow: hidden; padding: 36px 40px; border-radius: 32px; background: var(--dark); color: #fff; }
.contact-card::after { content: ""; position: absolute; top: -120px; right: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-accent) 45%, transparent), transparent 70%); pointer-events: none; }
.contact-card .kicker { color: var(--brand-accent); }
.contact-card h2 { margin: 6px 0 0; font-family: var(--display); font-size: 30px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-card .about { max-width: 560px; margin: 10px 0 0; color: #fff; font-size: 14.5px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; }
.contact-card .addr { max-width: 460px; margin: 10px 0 0; color: #fff; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
.actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.act { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; padding: 13px 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; background: rgba(255,255,255,.08); font-size: 13.5px; font-weight: 700; transition: background .2s, transform .25s var(--ease); }
.act:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.act svg { width: 18px; height: 18px; flex: none; }
.act.wa { border-color: #25d366; background: #25d366; color: #07301a; }
.act.wa:hover { background: #3ee07a; }

.platform-strip { padding: 9px 16px; background: var(--dark); color: #fff; font-size: 12px; text-align: center; }
/* Teslim.ai's own blue, not the store theme: it is the platform's signature. */
.platform-strip b { color: #009fe3; }
.platform-strip a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.store-footer { padding: 8px 0 40px; color: var(--muted); font-size: 12px; text-align: center; }
.store-footer b { color: var(--ink); }
.store-footer a:hover b { text-decoration: underline; text-underline-offset: 3px; }

.flyer { position: fixed; z-index: 70; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: var(--brand-soft); box-shadow: 0 12px 30px rgba(0,0,0,.25); pointer-events: none; transition: transform .75s cubic-bezier(.55,-0.2,.35,1), opacity .75s ease; }
.flyer img { width: 100%; height: 100%; object-fit: cover; }
.store-toast { position: fixed; z-index: 80; top: 20px; left: 50%; max-width: calc(100% - 32px); padding: 12px 18px; overflow: hidden; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: 0 16px 40px rgba(0,0,0,.25); font-size: 13.5px; font-weight: 700; opacity: 0; pointer-events: none; text-overflow: ellipsis; transform: translate(-50%, -160%); transition: transform .45s var(--ease), opacity .3s; white-space: nowrap; }
.store-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 721px) and (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; }
  .fan { display: none; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid-compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .stickybar-inner { padding: 10px 16px; }
  .hero { min-height: 0; align-items: start; }
  .silk, .hero-cover, .grain { bottom: auto; height: 260px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; padding-block: 150px 36px; }
  .brand-card { padding: 22px; border-radius: 26px; background: var(--paper); backdrop-filter: none; }
  .card-head { gap: 14px; }
  .brand-card .logo-tile { width: 76px; height: 76px; margin-top: -60px; align-self: flex-start; border-radius: 20px; }
  .brand-card .logo-tile .mono { font-size: 30px; }
  .hero-logo-only .logo-tile { left: 16px; width: 56px; height: 56px; border-radius: 14px; }
  .hero-logo-only .logo-tile img { padding: 5px; }
  .hero-logo-only .logo-tile .mono { font-size: 22px; }
  .hero-logo-only .logo-tile.logo-medium { width: 84px; height: 84px; border-radius: 20px; }
  .hero-logo-only .logo-tile.logo-medium img { padding: 8px; }
  .hero-logo-only .logo-tile.logo-medium .mono { font-size: 33px; }
  .hero-logo-only .logo-tile.logo-large { width: 126px; height: 126px; border-radius: 30px; }
  .hero-logo-only .logo-tile.logo-large img { padding: 12px; }
  .hero-logo-only .logo-tile.logo-large .mono { font-size: 50px; }
  .hero-contact-link { top: 10px; right: 12px; padding: 7px 12px; font-size: 12px; }
  .store-name { margin-top: 16px; font-size: 30px; }
  .story { margin-top: 12px; font-size: 14px; }
  .chip { padding: 7px 12px 7px 7px; font-size: 12px; }
  .chips { gap: 6px; margin-top: 16px; }
  .fan { display: none; }
  .catalog { padding-block: 24px 40px; }
  .cat-head { flex-direction: column; align-items: stretch; gap: 16px; margin-bottom: 18px; }
  .search input { width: 100%; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .product-card { border-radius: 20px; }
  .product-card:hover { box-shadow: none; transform: none; }
  .product-card .media { margin: 6px; border-radius: 15px; }
  .badge { top: 8px; left: 8px; padding: 5px 8px; font-size: 10px; }
  .product-card .body { padding: 6px 12px 12px; }
  .product-card h3 { font-size: 14px; }
  .product-card .product-code { font-size: 11px; }
  .product-card .body > p { font-size: 12px; }
  .buy { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 10px; }
  .product-card .price { font-size: 17px; }
  .buy .cart-control .add-btn { width: 100%; padding: 10px; font-size: 12.5px; }
  .buy .cart-control .stepper { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 38px; }
  .contact-card { grid-template-columns: 1fr; gap: 20px; padding: 24px; border-radius: 24px; }
  .contact-card h2 { font-size: 24px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .act { justify-content: center; padding: 12px; }
  .act-primary { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .reveal-ready .product-card.reveal { opacity: 1; transform: none; animation: none; }
  .silk svg, .silk .wave { animation: none; }
}


/* ── Shared: product imagery, cart controls ─────────────────────────────────── */
.image-button { position: relative; width: 100%; aspect-ratio: 1.14; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius); background: var(--soft); cursor: zoom-in; }
.image-button img { height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.75,.25,1); }
.image-button:hover img { transform: scale(1.045); }
.zoom-icon { position: absolute; right: 13px; bottom: 13px; display: grid; width: 37px; height: 37px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 6px 18px rgba(0,0,0,.12); font-size: 16px; font-weight: 900; backdrop-filter: blur(8px); }
.photo-count { position: absolute; top: 13px; left: 13px; padding: 8px 11px; border-radius: 999px; background: rgba(17,24,39,.78); color: #fff; font-size: 10px; font-weight: 800; backdrop-filter: blur(7px); }
.product-placeholder { display: grid; aspect-ratio: 1.14; place-content: center; justify-items: center; gap: 10px; border: 1px dashed #d7dce5; border-radius: var(--radius); background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 700; }
.product-placeholder svg { width: 40px; fill: #bbc3d0; }
.cart-control { padding: 10px 5px 0; }
.add-btn { padding: 12px 18px; border: 0; border-radius: 13px; background: var(--brand); color: #fff; cursor: pointer; font-size: 13px; font-weight: 700; transition: background .2s, transform .2s; }
.add-btn:hover { background: var(--brand-pressed); }
.add-btn:active { transform: scale(.96); }
.stepper { display: inline-grid; grid-template-columns: 38px 64px 38px; align-items: center; height: 42px; overflow: hidden; border-radius: 13px; background: var(--brand-soft); }
.stepper button { height: 100%; border: 0; background: transparent; color: var(--brand-pressed); cursor: pointer; font-size: 18px; font-weight: 800; }
.stepper button:hover { background: var(--brand); color: #fff; }
.stepper .qty-input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.stepper .qty-input::-webkit-outer-spin-button,
.stepper .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper .qty-input:focus { outline: 2px solid var(--brand); outline-offset: -2px; }
.stepper.stepper-invalid { box-shadow: inset 0 0 0 2px #dc3545; }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

body.cart-open { padding-bottom: 100px; }
/* Between the cart bar (30) and the checkout screen (50): always reachable while browsing the
   catalogue, hidden behind checkout instead of floating over the order form. --cart-bar-height is
   set by public-store.js only while the bar is visible, so the button lifts above it. */
.store-whatsapp-fab { position: fixed; z-index: 40; right: 24px; bottom: calc(24px + var(--cart-bar-height, 0px) + env(safe-area-inset-bottom)); display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: #25D366; box-shadow: 0 4px 16px rgba(37,211,102,.45); color: #fff; transition: transform .2s ease, bottom .2s ease; }
.store-whatsapp-fab:hover { transform: translateY(-3px); }
.store-whatsapp-fab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.store-whatsapp-fab svg { width: 30px; height: 30px; fill: currentColor; }

.cart-bar { position: fixed; z-index: 30; bottom: calc(22px + env(safe-area-inset-bottom)); left: 50%; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 20px; border-radius: 20px; background: var(--ink); color: var(--paper); box-shadow: 0 20px 50px rgba(0,0,0,.28); transform: translateX(-50%); white-space: nowrap; animation: cart-bar-in .55s var(--ease); }
.cart-bar[hidden] { display: none; }
.cart-bar.bump { animation: cart-bar-bump .45s var(--ease); }
@keyframes cart-bar-in { from { transform: translate(-50%, 140%); } }
@keyframes cart-bar-bump { 40% { transform: translateX(-50%) scale(1.06); } }
.cart-bar-info { font-size: 13px; }
.cart-bar-info strong { margin-left: 4px; font-size: 17px; }
.cart-bar button { padding: 12px 18px; border: 0; border-radius: 14px; background: var(--brand); color: #fff; cursor: pointer; font-size: 13.5px; font-weight: 700; }
.cart-bar button:hover { background: var(--brand-pressed); }

.btn-primary { display: inline-block; padding: 14px 26px; border: 0; border-radius: 14px; background: var(--brand); color: #fff; cursor: pointer; font-size: 14px; font-weight: 800; text-align: center; transition: background .18s ease; }
.btn-primary:hover { background: var(--brand-pressed); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.btn-primary[hidden], .map-actions[hidden] { display: none; }
.btn-ghost { padding: 10px 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--muted); cursor: pointer; font-size: 12.5px; font-weight: 750; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-pressed); }

/* Single full-screen checkout surface. */
.checkout-screen { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--paper); color: var(--ink); }
.checkout-screen[hidden] { display: none; }
.checkout-head { display: flex; flex: none; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.checkout-head h3 { flex: 1; margin: 0; font-size: 17px; letter-spacing: -.03em; text-align: center; }
.checkout-back, .checkout-close { display: grid; width: 36px; height: 36px; flex: none; place-items: center; border: 0; border-radius: 50%; background: var(--soft); color: var(--muted); cursor: pointer; font-size: 20px; line-height: 1; }
/* visibility, not display:none — keeps the header's flex layout (and the centered title) stable
   as Back/Kapat come and go between states, instead of the title jumping sideways. */
.checkout-back[hidden], .checkout-close[hidden] { visibility: hidden; }
.checkout-back svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.checkout-body { flex: 1 1 auto; min-height: 0; padding: 20px 22px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.checkout-panel[hidden] { display: none; }
.checkout-loading { display: flex; min-height: 260px; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 700; text-align: center; }
.spinner { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkout-foot { display: flex; flex: none; flex-direction: column; gap: 10px; padding: 16px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--soft); }
.checkout-foot[hidden] { display: none; }
.error-mark { background: #FDECEC; color: #B3261E; }

.cart-lines { margin: 0; padding: 0; list-style: none; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 4px 12px; padding: 14px 0; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
.cart-line-image { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--soft); }
.cart-line-image-placeholder { display: grid; place-items: center; border: 1px dashed var(--line); color: var(--subtle); }
.cart-line-image-placeholder svg { width: 22px; fill: currentColor; opacity: .6; }
.cart-line-info { min-width: 0; }
.cart-line-info h4 { margin: 0; font-size: 14px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-line-info small { color: var(--muted); font-size: 12px; }
.cart-line-end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.cart-line-end .line-total { color: var(--brand); font-size: 15px; font-weight: 850; white-space: nowrap; }
.cart-line .stepper { grid-template-columns: 32px 58px 32px; height: 36px; border-radius: 11px; }
.cart-empty { margin: 22px 0; color: var(--muted); font-size: 14px; text-align: center; }
.cart-total { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 700; }
.cart-total strong { color: var(--brand); font-size: 21px; letter-spacing: -.03em; }

.checkout-summary { margin-bottom: 16px; padding: 13px 16px; border-radius: 14px; background: var(--soft); color: var(--muted); font-size: 13px; font-weight: 700; }
.checkout-summary strong { color: var(--brand); }
.form-note { margin: 0 0 16px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.form-note a { color: var(--brand); font-weight: 800; text-decoration: underline; }
.form-alert { margin: 0 0 16px; padding: 12px 16px; border-radius: 13px; background: #FDECEC; color: #B3261E; font-size: 13px; font-weight: 700; }
.form-alert.is-info { background: var(--brand-soft); color: var(--brand-pressed); }
.form-alert[hidden] { display: none; }
.checkout-foot .form-alert { margin: 0; }

.field { display: block; margin-bottom: 14px; }
.field[hidden] { display: none; }
.field > span { display: block; margin-bottom: 6px; font-size: 12.5px; font-weight: 750; }
.field > span small { color: var(--subtle); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #E5484D; }
.field input[readonly], .field textarea[readonly] { background: var(--soft); color: var(--muted); cursor: default; }
.field-hint { display: block; margin-top: 5px; color: var(--subtle); font-size: 11.5px; }
.field-hint[hidden] { display: none; }
.checkout-consents { display: grid; gap: 10px; margin: 4px 0 14px; }
.checkout-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 12.5px; line-height: 1.5; cursor: pointer; }
.checkout-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); }
.checkout-payment { padding: 0; border: 0; }
.checkout-payment.is-invalid .checkout-payment-option { border-color: #B3261E; }
.checkout-payment-option { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 13px; background: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.checkout-payment-option input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--brand); }
.checkout-payment-option small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; font-weight: 500; line-height: 1.45; overflow-wrap: anywhere; }
.checkout-totals { display: grid; gap: 6px; margin: 4px 0 16px; padding: 13px 16px; border-radius: 14px; background: var(--soft); font-size: 14px; }
.checkout-total-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-weight: 600; }
.checkout-total-row strong { color: var(--brand); font-size: 17px; }
.checkout-totals:empty { display: none; }
.checkout-payment-option:has(input:disabled) { opacity: .6; cursor: not-allowed; }
.checkout-option-body { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.checkout-option-fee { flex: 0 0 auto; align-self: center; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.checkout-option-fee.is-free { border-color: transparent; background: #E6F4EA; color: #1E7B34; }
.checkout-consent a { color: var(--brand); font-weight: 800; text-decoration: underline; }
.phone-field { display: flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.phone-field:focus-within { border-color: var(--brand); }
.phone-field .phone-prefix { padding: 12px 12px 12px 14px; color: var(--muted); font-size: 14px; font-weight: 750; }
.phone-field input { border: 0; border-radius: 0; }
.phone-field input:focus { border: 0; }
.otp-input { letter-spacing: .55rem; text-align: center; font-size: 20px; }

.map-actions { display: flex; gap: 9px; margin-bottom: 12px; }
.map-wrapper { margin-bottom: 14px; }
.map-wrapper[hidden] { display: none; }
#checkout-map { height: 240px; border: 1px solid var(--line); border-radius: 14px; }
.map-wrapper small { display: block; margin-top: 6px; color: var(--subtle); font-size: 11.5px; }

.checkout-done { padding: 12px 0 6px; text-align: center; }
.checkout-done .done-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-size: 30px; font-weight: 900; }
.checkout-done h4 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.03em; }
.checkout-done p { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.checkout-done .btn-primary { text-decoration: none; }
.checkout-done .btn-ghost { display: block; margin: 10px auto 0; }


.gallery-modal { width: min(940px, calc(100% - 30px)); max-width: none; padding: 0; overflow: visible; border: 0; border-radius: 27px; background: transparent; color: white; }
.gallery-modal::backdrop { background: rgba(5,11,22,.91); backdrop-filter: blur(8px); }
.gallery-modal figure { margin: 0; max-height: calc(100vh - 30px); max-height: calc(100dvh - 30px); overflow-y: auto; border-radius: 27px; background: var(--dark-raised); }
.gallery-modal figure img { width: 100%; height: min(60vh, 620px); object-fit: contain; }
.gallery-modal figcaption { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 16px 20px; text-align: center; font-size: 16px; font-weight: 700; background: var(--dark-raised); }
.gallery-modal figcaption small { color: rgba(255,255,255,.55); font-size: 13px; font-weight: 600; }
.gallery-modal .gallery-product-code[hidden] { display: none; }
.gallery-close, .gallery-nav { position: fixed; z-index: 2; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; backdrop-filter: blur(9px); }
.gallery-close { top: 22px; right: 22px; width: 44px; height: 44px; font-size: 27px; }
.gallery-nav { top: 50%; width: 50px; height: 50px; font-size: 21px; transform: translateY(-50%); }
.gallery-prev { left: 25px; }.gallery-next { right: 25px; }
.modal-open { overflow: hidden; }

.not-found-page { min-height: 100vh; overflow: hidden; background: var(--brand); color: #fff; }
.not-found-page::before, .not-found-page::after { content: ""; position: fixed; border-radius: 50%; pointer-events: none; }
.not-found-page::before { right: -180px; top: -220px; width: 620px; height: 620px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 75px rgba(255,255,255,.035), 0 0 0 150px rgba(255,255,255,.02); }
.not-found-page::after { left: -80px; bottom: -120px; width: 270px; height: 270px; background: var(--brand-soft); opacity: .16; }
.not-found-shell { position: relative; z-index: 1; display: flex; width: min(720px, calc(100% - 40px)); min-height: 100vh; margin: auto; flex-direction: column; align-items: center; justify-content: center; padding: 90px 0 55px; text-align: center; }
.not-found-brand { position: absolute; top: 28px; }
.not-found-card { display: flex; flex-direction: column; align-items: center; }
.lost-qr { position: relative; width: 148px; height: 148px; margin-bottom: 30px; border-radius: 35px; background: rgba(255,255,255,.97); box-shadow: 0 25px 60px rgba(0,39,115,.26); transform: rotate(-3deg); }
.qr-corner { position: absolute; width: 34px; height: 34px; border: 7px solid var(--ink); border-radius: 4px; }
.c1 { top: 23px; left: 23px; }.c2 { top: 23px; right: 23px; }.c3 { bottom: 23px; left: 23px; }
.qr-pixel { position: absolute; width: 10px; height: 10px; border-radius: 2px; background: var(--ink); }
.p1 { right: 27px; bottom: 28px; }.p2 { right: 47px; bottom: 28px; }.p3 { right: 27px; bottom: 48px; }.p4 { left: 68px; bottom: 23px; }
.search-face { position: absolute; right: -12px; bottom: -8px; width: 54px; height: 54px; border: 7px solid var(--brand-soft); border-radius: 50%; background: var(--brand); }
.search-face::after { content: ""; position: absolute; right: -13px; bottom: -9px; width: 23px; height: 8px; border-radius: 5px; background: var(--brand-soft); transform: rotate(45deg); }
.search-face i, .search-face b { position: absolute; top: 17px; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.search-face i { left: 11px; }.search-face b { right: 11px; }
.error-code { margin-bottom: 14px; color: var(--brand-soft); font-size: 11px; font-weight: 850; letter-spacing: .18em; }
.not-found-card h1 { margin: 0; font-size: clamp(45px, 8vw, 72px); line-height: 1; letter-spacing: -.06em; }
.not-found-card > p { max-width: 510px; margin: 22px 0 30px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.65; }
.not-found-actions { display: flex; gap: 10px; margin-top: 30px; }
.not-found-actions button, .not-found-actions a { min-width: 145px; padding: 14px 20px; border: 1px solid rgba(255,255,255,.25); border-radius: 14px; background: transparent; color: #fff; cursor: pointer; font-size: 13px; font-weight: 800; }
.not-found-actions button { background: #fff; color: var(--brand-pressed); }
.help-note { position: absolute; bottom: 26px; margin: 0; color: rgba(255,255,255,.45); font-size: 11px; }

@media (max-width: 600px) {
  .store-whatsapp-fab { right: 16px; bottom: calc(16px + var(--cart-bar-height, 0px) + env(safe-area-inset-bottom)); }
  .gallery-modal { width: calc(100% - 20px); }
  .gallery-close { top: 14px; right: 14px; width: 38px; height: 38px; font-size: 22px; }
  .gallery-nav { top: auto; bottom: 16px; width: 44px; height: 44px; transform: none; }
  .gallery-prev { left: 14px; }.gallery-next { right: 14px; }
  .gallery-modal figure { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); }
  .gallery-modal figure img { height: 46vh; }
  /* Keep the caption clear of the fixed gallery controls. */
  .gallery-modal figcaption { padding: 14px 16px 76px; font-size: 15px; }
  .gallery-modal figcaption small { font-size: 12px; }
  .cart-line { grid-template-columns: 44px 1fr auto; gap: 4px 8px; }
  .cart-line-image { width: 44px; height: 44px; border-radius: 10px; }
  .checkout-head, .checkout-body, .checkout-foot { padding-inline: 17px; }
  .not-found-card h1 { font-size: 47px; }
  .not-found-card > p { font-size: 14px; }
  .not-found-actions { width: 100%; flex-direction: column; }
  .help-note { position: static; margin-top: 40px; }
}

@media (max-width: 720px) {
  .cart-bar { right: 12px; left: 12px; justify-content: space-between; transform: none; animation-name: cart-bar-in-mobile; }
  .cart-bar.bump { animation: cart-bar-bump-mobile .45s var(--ease); }
}
@keyframes cart-bar-in-mobile { from { transform: translateY(140%); } }
@keyframes cart-bar-bump-mobile { 40% { transform: scale(1.04); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Product detail page */
.pro-section-title span, .pro-store-label { color: var(--brand); font-size: 13px; font-weight: 650; letter-spacing: .035em; }
.pro-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.pro-product-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 6px 20px rgba(25, 30, 28, .035); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.pro-product-card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-4px); }
.pro-card-link { display: block; color: inherit; text-decoration: none; }
.pro-card-media { position: relative; overflow: hidden; aspect-ratio: 1 / 1; background: var(--soft); }
.pro-card-media .product-placeholder { width: 100%; height: 100%; border-radius: 0; }
.pro-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s ease; }
.pro-product-card:hover .pro-card-media img { transform: scale(1.035); }
.pro-card-copy { display: flex; flex-direction: column; gap: 8px; padding: 17px 17px 16px; }
.pro-card-copy > div { min-width: 0; }
.pro-card-copy h3 { min-height: 44px; margin: 0; font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.pro-product-card { display: flex; flex-direction: column; }
.pro-card-copy .product-code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.pro-card-copy .price, .pro-card-copy > strong { margin-top: 13px; color: var(--brand-pressed); font-size: 21px; }

.store-breadcrumb { display: flex; gap: 8px; align-items: center; padding: 30px 0 22px; color: var(--muted); font-size: 13px; }
.store-breadcrumb a { color: var(--brand-pressed); font-weight: 750; text-decoration: none; }
.store-breadcrumb span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pro-product-page { padding-bottom: 80px; }
.pro-product-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: clamp(36px, 6vw, 84px); padding: clamp(25px, 4vw, 52px); border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.pro-gallery, .pro-product-info { min-width: 0; }
.pro-gallery-main { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 22px; background: var(--soft); }
.pro-main-image, .pro-main-image img { width: 100%; height: 100%; }
.pro-main-image img { max-width: 100%; object-fit: contain; }
.pro-main-image .zoom-icon { width: auto; padding: 0 14px; border-radius: 999px; font-size: 11px; }
.pro-gallery-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding: 2px; }
.pro-thumb { flex: 0 0 70px; width: 70px; height: 70px; overflow: hidden; padding: 4px; border: 2px solid transparent; border-radius: 13px; background: #f5f7fa; cursor: pointer; }
.pro-thumb.is-active { border-color: var(--brand); background: #fff; }
.pro-thumb img { width: 100%; height: 100%; object-fit: contain; }
.pro-product-info { align-self: center; }
.pro-product-info h1 { margin: 10px 0 12px; color: var(--ink); font-size: clamp(30px, 4vw, 50px); line-height: 1.08; letter-spacing: -.035em; overflow-wrap: anywhere; }
.pro-product-info .product-code { overflow-wrap: anywhere; }
.pro-detail-price { display: block; margin: 30px 0 20px; color: var(--brand-pressed); font-size: 36px; letter-spacing: -.03em; }
.pro-detail-price small { font-size: .55em; }
.pro-detail-cart { max-width: 420px; padding: 0; }
.pro-detail-cart .add-btn { width: 100%; min-height: 54px; font-size: 15px; }
.pro-detail-cart .stepper { display: grid; grid-template-columns: 54px 1fr 54px; min-height: 54px; }
/* The teslim.ai guarantee line under the order buttons: one quiet, tappable row. */
.trust-badge { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin-top: 14px; padding: 9px 12px 9px 10px; border: 1px solid color-mix(in srgb, var(--brand) 22%, var(--line)); border-radius: 14px; background: color-mix(in srgb, var(--brand-soft) 55%, var(--paper)); color: var(--muted); font-size: 12.5px; line-height: 1.35; text-decoration: none; transition: border-color .2s var(--ease), background .2s var(--ease); }
.trust-badge b { color: var(--ink); font-weight: 800; }
.trust-badge svg { flex: none; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.trust-badge-shield { width: 18px; height: 18px; color: var(--brand); stroke-width: 2; }
.trust-badge-arrow { width: 14px; height: 14px; stroke-width: 2.4; transition: transform .2s var(--ease); }
.trust-badge:hover { border-color: var(--brand); background: var(--brand-soft); }
.trust-badge:hover .trust-badge-arrow { transform: translateX(2px); }
.trust-badge:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.checkout-foot .trust-badge { align-self: center; margin-top: 2px; }
.pro-product-info .trust-badge { display: flex; width: 100%; max-width: 420px; justify-content: center; }
@media (max-width: 420px) { .trust-badge { gap: 7px; padding-inline: 10px; font-size: 11.5px; white-space: nowrap; } .trust-badge-arrow { display: none; } }
@media (max-width: 360px) { .trust-badge { white-space: normal; } }
.pro-assurances { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.pro-assurances span { padding: 14px; border-radius: 14px; background: var(--brand-soft); color: var(--muted); font-size: 12px; line-height: 1.45; }
.pro-assurances b { display: block; margin-bottom: 2px; color: var(--ink); }
.pro-description { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pro-description h2 { margin: 0 0 10px; font-size: 17px; }
.pro-description p { margin: 0; color: var(--muted); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.pro-related { padding-bottom: 100px; }
.pro-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.pro-section-title h2 { margin: 5px 0 0; font-size: clamp(25px, 4vw, 38px); letter-spacing: -.03em; }
.pro-section-title a { color: var(--brand-pressed); font-weight: 800; text-decoration: none; }
.pro-related .pro-product-grid { display: grid; }
.pro-related .pro-card-copy span { color: var(--brand); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.pro-related .pro-card-copy strong { display: block; }

@media (max-width: 900px) {
  .pro-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pro-product-layout { grid-template-columns: minmax(0, 1fr); }
  .pro-product-info { align-self: auto; }
}

@media (max-width: 600px) {
  .pro-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .pro-product-card { border-radius: 15px; }
  .pro-card-copy { padding: 12px 11px 8px; }
  .pro-card-copy h3 { min-height: 36px; font-size: 13px; }
  .pro-card-copy .product-code { display: none; }
  .pro-card-copy .price, .pro-card-copy > strong { margin-top: 9px; font-size: 17px; }
  .store-breadcrumb { padding-top: 20px; }
  .pro-product-page { padding-bottom: 58px; }
  .pro-product-layout { gap: 24px; padding: 14px; border-radius: 20px; }
  .pro-gallery-main { border-radius: 15px; }
  .pro-thumb { flex-basis: 58px; width: 58px; height: 58px; }
  .pro-product-info h1 { font-size: 30px; }
  .pro-detail-price { margin: 22px 0 16px; font-size: 30px; }
  .pro-assurances { grid-template-columns: 1fr; }
  .pro-related { padding-bottom: 80px; }
  .pro-section-title { align-items: start; }
  .pro-section-title a { font-size: 12px; white-space: nowrap; }
}

/* Optional product choices ("Seçenek seç") */
.cart-control-note { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.cart-line-info .cart-line-options { display: block; color: var(--ink); }
.option-dialog { width: min(480px, calc(100% - 32px)); max-width: none; padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); }
.option-dialog::backdrop { background: rgba(5,11,22,.6); }
.option-dialog-card { display: flex; flex-direction: column; gap: 14px; max-height: calc(100dvh - 48px); padding: 20px; overflow-y: auto; }
.option-dialog-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.option-dialog-card h2 { margin: 0; font-size: 18px; overflow-wrap: anywhere; }
.option-dialog-close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 999px; background: var(--soft); color: var(--ink); cursor: pointer; font-size: 20px; line-height: 1; }
.option-dialog-hint { margin: 0; color: var(--muted); font-size: 13px; }
.option-dialog-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.option-dialog-group legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; }
.option-dialog-values { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; max-width: 100%; padding: 6px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer; font-size: 13.5px; font-weight: 600; overflow-wrap: anywhere; }
.option-chip img { flex: none; width: 36px; height: 36px; border-radius: 8px; object-fit: cover; }
.option-chip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft, var(--soft)); box-shadow: inset 0 0 0 1px var(--brand); }
.option-chip:focus-visible, .option-dialog-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 40%, transparent); outline-offset: 2px; }
.option-dialog-add { width: 100%; }

/* Category strip (was category-strip.css; one stylesheet means one request before the page draws). */
/* Store page category strip, "Tüm kategoriler" panel and category path. Colours and radii
   come from the storefront theme tokens only. */
.cat-strip { padding-top: 56px; }
.cat-strip + .catalog { padding-top: 32px; }
.cat-strip-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cat-strip-head .kicker { display: block; color: var(--brand); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.cat-strip-tools { display: flex; align-items: center; gap: 8px; }
.cat-all { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--muted); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; transition: background .2s, border-color .2s, color .2s; }
.cat-all:hover { border-color: var(--ink); color: var(--ink); }
.cat-all[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.cat-arrow { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .2s, color .2s, transform .2s var(--ease); }
.cat-arrow:hover { border-color: var(--brand); color: var(--brand-pressed); }
.cat-arrow:active { transform: scale(.94); }
.cat-arrow svg { width: 18px; height: 18px; }
.cat-strip:not(.is-moving) .cat-arrow { display: none; }

.cat-viewport { display: flex; gap: 12px; margin: -10px -4px -14px; padding: 16px 4px 30px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.cat-viewport::-webkit-scrollbar { display: none; }
.cat-strip.is-moving .cat-viewport { cursor: grab; }
.cat-strip.is-dragging .cat-viewport { cursor: grabbing; user-select: none; }
.cat-strip.is-dragging .cat-card { pointer-events: none; }
.cat-strip.is-moving .cat-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }

.cat-card { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; --lift: 0px; position: relative; isolation: isolate; display: flex; flex: none; align-items: center; gap: 12px; width: 232px; min-height: 76px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: 20px; background: color-mix(in srgb, #fff 55%, var(--paper)); color: var(--ink); cursor: pointer; font: inherit; text-align: left; transform: perspective(700px) translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .45s var(--ease), border-color .2s, background .2s, box-shadow .45s var(--ease); }
.cat-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(180px circle at var(--mx) var(--my), color-mix(in srgb, var(--brand-accent) 38%, transparent), color-mix(in srgb, var(--brand-accent) 10%, transparent) 45%, transparent 70%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.cat-card::after { content: ""; position: absolute; inset: -1px; border: 1.5px solid transparent; border-radius: inherit; background: radial-gradient(150px circle at var(--mx) var(--my), var(--brand), color-mix(in srgb, var(--brand-accent) 70%, transparent) 40%, transparent 72%) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cat-viewport.is-lit .cat-card::after { opacity: 1; }
.cat-card:hover::before { opacity: 1; }
.cat-card > * { position: relative; }
.cat-card .cat-thumb { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cat-card:hover { --lift: -4px; border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: 0 12px 26px color-mix(in srgb, var(--brand) 20%, transparent), 0 4px 10px color-mix(in srgb, var(--ink) 8%, transparent); }
.cat-card:hover .cat-thumb { box-shadow: 0 8px 18px color-mix(in srgb, var(--ink) 16%, transparent); transform: translateY(-2px) scale(1.06); }
.cat-card .cat-ripple { position: absolute; z-index: -1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: color-mix(in srgb, var(--brand-accent) 55%, transparent); pointer-events: none; animation: cat-ripple .7s var(--ease) forwards; }
@keyframes cat-ripple { to { opacity: 0; transform: scale(34); } }
.cat-card[aria-pressed="true"] { animation: cat-breathe 2.8s ease-in-out infinite; }
@keyframes cat-breathe { 0%, 100% { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 0 color-mix(in srgb, var(--brand-accent) 0%, transparent); } 50% { box-shadow: inset 0 0 0 1px var(--brand), 0 0 0 6px color-mix(in srgb, var(--brand-accent) 22%, transparent), 0 10px 30px color-mix(in srgb, var(--brand) 22%, transparent); } }
.cat-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.cat-thumb { display: grid; flex: none; width: 54px; height: 54px; place-items: center; overflow: hidden; border-radius: 14px; background: var(--soft); }
.cat-thumb svg { width: 100%; height: 100%; }
.cat-thumb img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.cat-thumb .cat-num { display: grid; justify-items: center; gap: 2px; color: var(--brand-pressed); font-family: var(--display); font-size: 21px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.cat-thumb .cat-num small { font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: 0; }
.cat-card.no-image .cat-thumb { background: var(--brand-soft); }
.cat-text { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.cat-parent { overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cat-name { display: -webkit-box; overflow: hidden; font-size: 14.5px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere; }
.cat-count { color: var(--muted); font-size: 12px; font-weight: 600; }
.cat-card[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.cat-card[aria-pressed="true"] .cat-name { color: var(--brand-pressed); }
.cat-card.in-scope { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); background: color-mix(in srgb, var(--brand-soft) 55%, var(--paper)); }
.cat-card[aria-pressed="true"] .cat-parent, .cat-card[aria-pressed="true"] .cat-count { color: var(--ink); }
.cat-card[aria-pressed="true"] .cat-thumb { background: var(--paper); }
.cat-card.no-image[aria-pressed="true"] .cat-thumb { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }

.cat-filter-info { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); font-size: 13.5px; font-weight: 600; animation: cat-info-in .35s var(--ease); }
.cat-filter-info[hidden] { display: none; }
.cat-filter-info b { color: var(--brand-pressed); font-weight: 800; }
.cat-filter-info button { margin-left: auto; padding: 0; border: 0; background: none; color: var(--brand-pressed); cursor: pointer; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
@keyframes cat-info-in { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 720px) {
  .cat-strip { padding-top: 28px; }
  .cat-strip-head { margin-bottom: 10px; }
  .cat-arrow { display: none; }
    .cat-viewport { gap: 8px; margin: -6px -4px -8px; padding: 10px 4px 14px; }
  .cat-card { flex-direction: column; align-items: flex-start; gap: 8px; width: 118px; min-height: 0; padding: 8px 10px 10px 8px; border-radius: 16px; }
  .cat-thumb { width: 42px; height: 42px; border-radius: 11px; }
  .cat-thumb .cat-num { font-size: 17px; }
  .cat-thumb .cat-num small { font-size: 8.5px; }
  .cat-parent { display: none; }
  .cat-name { min-height: 2.5em; font-size: 13px; line-height: 1.25; }
  .cat-count { font-size: 11.5px; }
  .cat-strip.is-moving .cat-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-card, .cat-filter-info { transition: none; animation: none; }
  .cat-card, .cat-card:hover { --lift: 0px; --rx: 0deg; --ry: 0deg; }
  .cat-card:hover .cat-thumb { transform: none; }
  .cat-card[aria-pressed="true"] { animation: none; }
  .cat-card .cat-ripple { display: none; }
}
@media (hover: none) {
  .cat-viewport.is-lit .cat-card::after { opacity: 0; }
}

.cat-browse { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; transition: border-color .2s, color .2s, box-shadow .3s var(--ease); }
.cat-browse svg { width: 16px; height: 16px; }
.cat-browse:hover { border-color: var(--brand); color: var(--brand-pressed); box-shadow: 0 8px 20px color-mix(in srgb, var(--brand) 16%, transparent); }
.cat-browse:focus-visible, .cat-all:focus-visible, .cat-arrow:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.cat-crumbs { margin: 0 0 20px; padding: 12px 16px; border-radius: 14px; background: var(--brand-soft); color: var(--ink); animation: cat-info-in .35s var(--ease); }
.cat-crumbs[hidden] { display: none; }
.cat-crumbs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.cat-path { min-width: 0; flex: 0 1 auto; }
.cat-path ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; font-size: 13.5px; font-weight: 600; }
.cat-path li { display: inline-flex; align-items: center; }
.cat-path li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px 0 6px; border-top: 1.5px solid var(--muted); border-right: 1.5px solid var(--muted); transform: rotate(45deg); }
.cat-path button { padding: 4px 2px; border: 0; border-radius: 6px; background: none; color: var(--brand-pressed); cursor: pointer; font: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand-pressed) 35%, transparent); text-underline-offset: 4px; }
.cat-path button:hover { text-decoration-color: currentColor; }
.cat-path [aria-current] { color: var(--ink); font-weight: 800; }
.cat-crumbs-count { color: var(--ink); font-size: 13px; font-weight: 600; }
.cat-crumbs-count::before { content: "·"; margin-right: 10px; }
.cat-crumbs-clear svg { display: none; width: 14px; height: 14px; }
.cat-crumbs-clear { margin-left: auto; padding: 0; border: 0; background: none; color: var(--brand-pressed); cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.cat-path button:focus-visible, .cat-crumbs-clear:focus-visible, .cat-kid:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.cat-kids { position: relative; display: flex; align-items: center; gap: 8px; margin-top: 10px; padding-top: 10px; overflow-x: auto; border-top: 1px solid color-mix(in srgb, var(--brand) 18%, transparent); scrollbar-width: none; }
.cat-kids::-webkit-scrollbar { display: none; }
.cat-kids-label { flex: none; color: var(--ink); font-size: 12px; font-weight: 700; }
.cat-kid { flex: none; padding: 7px 12px; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); border-radius: 999px; background: var(--paper); color: var(--ink); cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap; transition: border-color .2s, background .2s; }
.cat-kid small { margin-left: 4px; color: var(--muted); font-size: 11.5px; }
.cat-kid:hover { border-color: var(--brand); }
.cat-kid[aria-pressed="true"] { border-color: var(--brand); background: var(--brand); color: #fff; }
.cat-kid[aria-pressed="true"] small { color: #fff; }

.cat-panel { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: color-mix(in srgb, var(--dark) 55%, transparent); backdrop-filter: blur(6px); overscroll-behavior: contain; animation: cat-fade .25s ease; }
.cat-panel[hidden] { display: none; }
html.cat-panel-open { overflow: hidden; }
@keyframes cat-fade { from { opacity: 0; } }
.cat-panel-sheet { outline: none; will-change: transform; display: flex; flex-direction: column; width: min(980px, 100%); max-height: min(760px, calc(100% - 24px)); overflow: hidden; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.3); animation: cat-pop .45s var(--ease); }
@keyframes cat-pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.cat-panel-head, .cat-panel-search { flex: none; }
.cat-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 28px 14px; }
.cat-panel-head h2 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: -.01em; }
.cat-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; }
.cat-panel-close { display: grid; flex: none; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.cat-panel-close svg { width: 18px; height: 18px; }
.cat-panel-close:hover { background: var(--line); }
.cat-panel-search { display: flex; align-items: center; gap: 8px; height: 44px; margin: 0 28px 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, #fff 55%, var(--paper)); color: var(--muted); }
.cat-panel-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.cat-panel-search svg { width: 17px; height: 17px; flex: none; }
.cat-panel-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; }
.cat-panel-body { position: relative; padding: 6px 28px 28px; overflow-y: auto; overscroll-behavior: contain; }
.cat-panel-all { margin-bottom: 14px; }
.cat-tree { columns: 3 240px; column-gap: 28px; }
.cat-root { break-inside: avoid; margin-bottom: 22px; }
.cat-root[hidden], .cat-mid[hidden], .cat-tree li[hidden], .cat-panel-all[hidden], .cat-panel-empty[hidden] { display: none; }
.cat-root-name { display: block; margin-bottom: 6px; padding: 4px 8px; border: 0; border-radius: 8px; background: none; color: var(--brand); cursor: pointer; font: inherit; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-align: left; text-transform: uppercase; }
.cat-root-name small { margin-left: 4px; color: var(--muted); letter-spacing: 0; }
.cat-mid { margin-bottom: 10px; }
.cat-mid-name, .cat-leaf, .cat-panel-all { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; width: 100%; padding: 7px 10px; border: 0; border-radius: 10px; background: none; color: var(--ink); cursor: pointer; font: inherit; text-align: left; transition: background .15s; }
.cat-mid-name { font-family: var(--display); font-size: 17px; font-weight: 600; }
.cat-panel-all { font-size: 14.5px; font-weight: 800; }
.cat-leaf { padding-left: 18px; font-size: 14px; font-weight: 600; }
.cat-mid-name small, .cat-leaf small, .cat-panel-all small { flex: none; color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 700; }
.cat-tree ul { margin: 0; padding: 0; list-style: none; }
.cat-mid-name:hover, .cat-leaf:hover, .cat-panel-all:hover, .cat-root-name:hover { background: var(--soft); }
.cat-panel [aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-pressed); }
.cat-panel [aria-pressed="true"] small { color: var(--ink); }
.cat-panel button:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.cat-panel-empty { margin: 24px 0; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 720px) {
  .cat-browse span { display: none; }
  .cat-browse { width: 40px; padding: 0; justify-content: center; }
  .cat-crumbs { padding: 10px 12px; }
  .cat-crumbs-row { flex-wrap: nowrap; }
  .cat-path { overflow-x: auto; scrollbar-width: none; }
  .cat-path::-webkit-scrollbar { display: none; }
  .cat-path ol { flex-wrap: nowrap; white-space: nowrap; font-size: 12.5px; }
  .cat-crumbs-count { display: none; }
    .cat-path li.is-root:not(:last-child) { display: none; }
  .cat-crumbs-clear { display: grid; flex: none; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: var(--paper); text-decoration: none; }
  .cat-crumbs-clear span { display: none; }
  .cat-crumbs-clear svg { display: block; }
    .cat-panel { place-items: end stretch; padding: 0; backdrop-filter: none; background: color-mix(in srgb, var(--dark) 62%, transparent); }
  .cat-panel-sheet { width: 100%; max-height: 88%; max-height: 88dvh; border-radius: 26px 26px 0 0; animation: cat-up .4s cubic-bezier(.2,.8,.2,1); }
  .cat-panel-search input { font-size: 16px; }
  @keyframes cat-up { from { transform: translateY(100%); } }
  .cat-panel-head { padding: 20px 20px 10px; }
  .cat-panel-head h2 { font-size: 23px; }
  .cat-panel-search { margin: 0 20px 8px; }
  .cat-panel-body { padding: 4px 16px 24px; }
  .cat-tree { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-crumbs, .cat-panel, .cat-panel-sheet { animation: none; }
}

/* A product without a price: "Fiyat sor" instead of the price and the cart controls. */
.price-missing { color: var(--muted); font-size: 14px; font-weight: 700; }
.price-ask { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s; }
.price-ask:hover, .price-ask:focus-visible { background: var(--brand-pressed); color: #fff; }
.price-ask-large { min-height: 48px; margin-top: 16px; padding: 0 24px; font-size: 15px; }
.price-ask-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
