: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: "Fraunces", 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-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; }

.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; }

.store-address { display: flex; align-items: flex-start; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 13.5px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.store-address svg { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--brand-pressed); }
.store-address:hover span { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.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; }

.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 .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)); }
}

@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; }
  .store-name { margin-top: 16px; font-size: 30px; }
  .story { margin-top: 12px; font-size: 14px; }
  .chip { padding: 7px 12px 7px 7px; font-size: 12px; }
  .store-address { margin-top: 12px; font-size: 12.5px; }
  .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-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: #8b95a7; 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 — a plain fixed div, not a native <dialog>, so it never
   competes with Firebase's reCAPTCHA challenge for the browser's dialog top-layer. */
.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; }
/* Mounted once, outside every panel, so panel-switching never hides/re-creates the actual
   Firebase widget — see public-store.js's getRecaptchaVerifier/resetRecaptcha. */
#recaptcha-container { position: fixed; bottom: 0; left: 0; z-index: 60; }
.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; }

.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-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: #718096; 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; }
.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%; }
