/* Radar theme — a dark, high-contrast "pro gear" storefront.
   Colors/width come from theme settings via CSS variables set in the layout.
   Dependency-free; no build step. */

*, *::before, *::after { box-sizing: border-box; }

/* Form controls do not inherit the page's typeface — the browser gives them its own, so a
   button rendered in Arial next to body copy in the theme's font is the default, not a
   choice. One rule instead of remembering `font: inherit` on every new control; anything
   that wants its own size or weight still declares it and wins on specificity. */
input, textarea, select, button { font: inherit; color: inherit; }
textarea { resize: vertical; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    var(--bg, #0b0e13);
  color: var(--text, #e8edf2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display, "Helvetica Neue", Arial, sans-serif);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: var(--heading-transform, uppercase);
  line-height: 1.05;
  margin: 0;
}

.container { max-width: var(--page-width, 1280px); margin: 0 auto; padding: 0 24px; }
/* padding-block, not the shorthand: `padding: Npx 0` came after .container in the
   cascade and zeroed its 24px gutter, so every `container section` page — collection,
   search, blog, order, account — rendered flush against the viewport edge. */
.section { padding-block: 84px; }
.section__title { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.025em; margin: 0 0 28px; }

/* ---- tech "eyebrow" label + mono meta ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-2, #35d0c0); font-weight: 600;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent-2, #35d0c0); }
.mono { font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent, #ff5c35);
  color: #0b0e13;
  padding: 13px 24px;
  border: 1px solid var(--accent, #ff5c35);
  border-radius: 4px;
  font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--accent-2); color: var(--accent-2); box-shadow: none; }
.btn--block { width: 100%; }

/* ---- promo signal strip ---- */
.announcement { position: relative; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: inset 0 2px 0 var(--accent); overflow: hidden; }
.promo__track { display: flex; justify-content: center; }
.promo__group { display: flex; align-items: center; gap: 30px; padding: 9px 24px; white-space: nowrap; }
.promo__group + .promo__group { display: none; }
.promo__item { display: inline-flex; align-items: center; gap: 8px; position: relative; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--accent-2); }
.promo__item::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: hero-pulse 2s ease-out infinite; }
.promo__ico { display: inline-flex; color: var(--accent); opacity: 0.9; }
@media (max-width: 700px) {
  .promo__track { justify-content: flex-start; width: max-content; animation: promo-marquee 26s linear infinite; }
  .promo__group + .promo__group { display: flex; }
}
@keyframes promo-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--page-width, 1280px); margin: 0 auto; padding: 15px 24px;
}
.site-header__logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 900; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; white-space: nowrap;
}
.site-header__logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
/* Second tier: a full-width nav bar so the (potentially many, long) category
   links get the whole page width and never shrink-wrap mid-title. */
.site-nav-bar { border-top: 1px solid var(--border); }
.site-nav {
  display: flex; gap: 26px; align-items: stretch;
  max-width: var(--page-width, 1280px); margin: 0 auto; padding: 0 24px;
  /* Not a scroll container: `overflow-x: auto` clips on BOTH axes, which would swallow the
     dropdown panel the moment a menu has children. Wrapping onto a second line costs a few
     pixels of height and keeps every link reachable — a horizontal scroller in a nav bar is
     also routinely missed by people who never think to swipe it. */
  flex-wrap: wrap;
}
.site-nav a {
  flex: none; white-space: nowrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500;
  padding: 13px 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color .12s ease, border-color .12s ease;
}
.site-nav a:hover { color: var(--text); border-color: var(--accent); }

/* Dropdowns. <details> carries the open/closed state, so the menu works with no JS: it opens
   on click, on Enter and on touch, and it survives a failed theme.js. The panel is positioned
   against the nav bar rather than the summary so a long submenu does not clip inside the
   horizontally scrolling nav. */
.site-nav__group { position: relative; flex: none; }
.site-nav__group > summary {
  list-style: none; cursor: pointer; white-space: nowrap;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500;
  padding: 13px 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .12s ease, border-color .12s ease;
}
.site-nav__group > summary::-webkit-details-marker { display: none; }
.site-nav__group > summary:hover,
.site-nav__group[open] > summary { color: var(--text); border-color: var(--accent); }
.site-nav__caret {
  width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; transition: transform .12s ease;
}
.site-nav__group[open] .site-nav__caret { transform: rotate(180deg); }
.site-nav__menu {
  position: absolute; top: 100%; left: -14px; z-index: 40; min-width: 220px;
  display: flex; flex-direction: column;
  background: var(--bg, #fff); border: 1px solid var(--border); border-top: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.10);
}
.site-nav__menu a {
  padding: 11px 16px; border-bottom: none; margin-bottom: 0; text-transform: none;
  letter-spacing: 0.02em; font-size: 13px; font-family: inherit;
}
.site-nav__menu a:hover { background: var(--surface, rgba(0,0,0,.04)); color: var(--text); border-color: transparent; }
.site-header__actions { margin-left: auto; display: flex; gap: 18px; align-items: center; }
.site-header__actions a { font-size: 13px; font-weight: 600; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.site-header__actions a:hover { color: var(--text); }
.cart-link .count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: #0b0e13;
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
/* On phones the second-tier nav scrolls horizontally; fade its trailing edge and
   drop the account text label so the top row stays uncrowded. */
@media (max-width: 700px) {
  .site-header__inner { padding: 12px 16px; }
  .site-nav { padding: 0 16px; gap: 20px; -webkit-mask-image: linear-gradient(to right, #000 88%, transparent); mask-image: linear-gradient(to right, #000 88%, transparent); }
  .site-header__label { display: none; }
}

/* ============================ Hero — precision instrument ============================ */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, color-mix(in srgb, var(--text) 3.5%, transparent) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, color-mix(in srgb, var(--text) 3.5%, transparent) 39px 40px); }
.hero__sweep { position: absolute; top: -45%; right: -22%; width: 92vh; height: 92vh; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, color-mix(in srgb, var(--accent) 15%, transparent) 22deg, transparent 55deg);
  animation: hero-sweep 9s linear infinite; opacity: 0.55; }
.hero__glow { position: absolute; top: -28%; right: -8%; width: 58vh; height: 58vh; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-2) 13%, transparent), transparent 62%); filter: blur(22px); }
@keyframes hero-sweep { to { transform: rotate(360deg); } }

.hero__inner { position: relative; z-index: 1; max-width: var(--page-width); margin: 0 auto; padding: 96px 24px 0; }
.hero__grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 56px; align-items: center; }

.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px 7px 12px; background: color-mix(in srgb, var(--surface) 55%, transparent); }
.hero__eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); animation: hero-pulse 2s ease-out infinite; }
@keyframes hero-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent-2) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

.hero__title { font-size: clamp(40px, 6.6vw, 80px); line-height: 0.98; letter-spacing: -0.02em; margin: 22px 0 20px; }
.hero__title .accent { color: var(--accent); }
.hero__text { color: var(--muted); font-size: 18px; line-height: 1.6; max-width: 44ch; margin: 0 0 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Targeting-reticle product frame */
.hero__frame { position: relative; aspect-ratio: 5/4; }
.hero__frame-media { position: absolute; inset: 0; border-radius: 4px; overflow: hidden;
  background-color: var(--surface); background-size: cover; background-position: center;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7); }
.hero__frame--empty .hero__frame-media {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, transparent 0 25px, color-mix(in srgb, var(--text) 5%, transparent) 26px),
    repeating-linear-gradient(90deg, transparent 0 25px, color-mix(in srgb, var(--text) 5%, transparent) 26px),
    var(--surface); }
.hero__reticle { position: absolute; width: 26px; height: 26px; border: 2px solid var(--accent); z-index: 2; }
.hero__reticle--tl { top: -6px; left: -6px; border-right: 0; border-bottom: 0; }
.hero__reticle--tr { top: -6px; right: -6px; border-left: 0; border-bottom: 0; }
.hero__reticle--bl { bottom: -6px; left: -6px; border-right: 0; border-top: 0; }
.hero__reticle--br { bottom: -6px; right: -6px; border-left: 0; border-top: 0; }
.hero__scan { position: absolute; left: 0; right: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-2) 90%, transparent), transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent-2) 70%, transparent);
  animation: hero-scan 4.5s ease-in-out infinite; }
@keyframes hero-scan { 0%, 100% { top: 6%; opacity: 0; } 12% { opacity: 1; } 50% { top: 92%; opacity: 1; } 62%, 90% { opacity: 0; } }
.hero__frame-meta { position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; letter-spacing: 0.12em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,0.85); }
.hero__frame-live { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }

.hero__spec { position: relative; z-index: 1; margin: 60px 0 0; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__spec-cell { padding: 24px 26px 30px; border-right: 1px solid var(--border); }
.hero__spec-cell:last-child { border-right: 0; }
.hero__spec .k { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }
.hero__spec .v { margin-top: 7px; font-size: 16px; color: var(--text); }

@media (prefers-reduced-motion: reduce) { .hero__sweep, .hero__scan, .hero__eyebrow-dot { animation: none; } .hero__scan { opacity: 0; } }
@media (max-width: 860px) {
  .hero__inner { padding: 60px 20px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__frame { order: -1; }
  .hero__spec { grid-template-columns: repeat(2, 1fr); }
  .hero__spec-cell:nth-child(2) { border-right: 0; }
}

/* ---- product grid ---- */
.grid-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 32px; flex-wrap: wrap; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); box-shadow: 0 24px 50px -26px #000; }
.product-card__media { aspect-ratio: 1/1; background: var(--surface-2); position: relative; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
/* reticle corner brackets — the signature Radar motif, revealed on hover */
.product-card__media::before, .product-card__media::after {
  content: ""; position: absolute; width: 18px; height: 18px; z-index: 2;
  border: 2px solid var(--accent); opacity: 0; transition: opacity .16s ease; }
.product-card__media::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.product-card__media::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.product-card:hover .product-card__media::before, .product-card:hover .product-card__media::after { opacity: 1; }
.product-card__media .ph {
  position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in srgb, var(--text) 22%, transparent);
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
}
.product-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 16px; flex: 1; }
.product-card__title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 4px; }
.product-card__cta { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); transition: color .14s ease; }
.product-card:hover .product-card__cta { color: var(--accent); }
.price { color: var(--accent, #ff5c35); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 17px; }
.price--sale { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price__now { color: var(--accent); font-weight: 800; }
.price__was { color: var(--muted); font-weight: 500; font-size: 0.82em; text-decoration: line-through; }
.price__badge { align-self: center; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; color: #0b0e13; background: var(--accent-2); padding: 2px 7px; border-radius: 3px; }

/* ---- feature highlights — spec-sheet cards ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: feat; }
.feature {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 30px 28px 32px;
  counter-increment: feat; transition: border-color .16s ease, background .16s ease;
}
.feature::before { content: "0" counter(feat); position: absolute; top: 18px; right: 22px;
  font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 34px; font-weight: 700;
  color: color-mix(in srgb, var(--text) 8%, transparent); letter-spacing: -0.03em; }
.feature::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.feature:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.feature:hover::after { transform: scaleX(1); }
.feature__icon { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); margin-bottom: 20px; }
.feature__title { font-size: 18px; margin: 0 0 10px; }
.feature__text { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin: 0; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* ---- rich text — closing band ---- */
.rich-text { position: relative; text-align: center; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background:
    radial-gradient(700px 340px at 50% 0%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 43px, color-mix(in srgb, var(--text) 3%, transparent) 43px 44px),
    repeating-linear-gradient(90deg, transparent 0 43px, color-mix(in srgb, var(--text) 3%, transparent) 43px 44px); }
.rich-text .container { position: relative; max-width: 760px; }
.rich-text__heading { font-size: clamp(30px, 4.6vw, 52px); letter-spacing: -0.03em; margin: 0 0 18px; }
.rich-text__text { color: var(--muted); font-size: 17px; line-height: 1.65; margin: 0 auto 24px; }
.rich-text__image { border-radius: 4px; border: 1px solid var(--border); margin: 22px auto 0; }
.rich-text .btn { margin-top: 4px; }

/* ---- image with text ---- */
.image-with-text { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.image-with-text__media { position: relative; aspect-ratio: 4/3; border-radius: 4px; border: 1px solid var(--border); background: var(--surface-2); background-size: cover; background-position: center; }
.image-with-text__media::before, .image-with-text__media::after {
  content: ""; position: absolute; width: 24px; height: 24px; border: 2px solid var(--accent); z-index: 2; }
.image-with-text__media::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.image-with-text__media::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.image-with-text__media--empty {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 26px, color-mix(in srgb, var(--text) 5%, transparent) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 26px, color-mix(in srgb, var(--text) 5%, transparent) 27px),
    var(--surface);
}
.image-with-text__content h2 { font-size: clamp(24px, 3.4vw, 36px); margin: 0 0 14px; }
.image-with-text__content p { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 22px; }
@media (max-width: 760px) { .image-with-text { grid-template-columns: 1fr; gap: 26px; } }

/* ---- product page ---- */
.product { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; padding: 56px 0; }
.product__media { border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); overflow: hidden; align-self: start; }
.product__media img { width: 100%; }
.product__media .ph { aspect-ratio: 1/1; display: grid; place-items: center; color: color-mix(in srgb, var(--text) 22%, transparent); font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.2em; text-transform: uppercase; }
.product__info { position: sticky; top: 96px; align-self: start; }
.product__title { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 14px; }
.product__price { font-size: 26px; color: var(--accent); font-weight: 800; margin: 0 0 22px; font-variant-numeric: tabular-nums; }
.product__variant { display: block; margin: 0 0 20px; }
.product__variant-label { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.product__variant-select { width: 100%; max-width: 340px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 15px; background: var(--surface); color: var(--text); }
.product__variant-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 30%, transparent); }
.product__desc { color: var(--muted); margin: 22px 0; line-height: 1.7; }
.product__desc p { margin: 0 0 14px; }
.product__desc h4 { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); margin: 24px 0 12px; }
.product__desc ul { list-style: none; margin: 0 0 14px; padding: 0; }
.product__desc .feat li { position: relative; padding: 5px 0 5px 20px; color: var(--text); }
.product__desc .feat li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; background: var(--accent); }
.product__desc .specs li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.product__desc .specs li span:first-child { color: var(--muted); }
.product__desc .specs li span:last-child { color: var(--text); font-family: ui-monospace, Menlo, Consolas, monospace; text-align: right; }
.product__desc .desc-note { font-size: 12px; color: var(--muted); font-style: italic; margin-top: 18px; }
/* rich-text elements produced by the Tiptap description editor */
.product__desc h1, .product__desc h2, .product__desc h3 { color: var(--text); text-transform: none; letter-spacing: -0.01em; }
.product__desc h1 { font-size: 26px; margin: 26px 0 12px; }
.product__desc h2 { font-size: 22px; margin: 24px 0 12px; }
.product__desc h3 { font-size: 18px; margin: 22px 0 10px; }
.product__desc ol { list-style: decimal; padding-left: 22px; margin: 0 0 14px; }
.product__desc ul:not(.feat):not(.specs) { list-style: disc; padding-left: 22px; margin: 0 0 14px; }
.product__desc ul:not(.feat):not(.specs) li, .product__desc ol li { margin: 4px 0; color: var(--muted); }
.product__desc a { color: var(--accent-2); text-decoration: underline; }
.product__desc strong { color: var(--text); }
.product__desc blockquote { border-left: 3px solid var(--accent); padding: 2px 0 2px 16px; margin: 16px 0; color: var(--text); font-style: italic; }
.product__desc img { border-radius: 6px; margin: 12px 0; max-width: 100%; }
.product__desc iframe { width: 100%; max-width: 100%; height: auto; border: 0; border-radius: 8px; aspect-ratio: 16 / 9; margin: 14px 0; }
.product__desc pre { background: #0f1319; border: 1px solid var(--border); border-radius: 8px; padding: 14px; overflow-x: auto; margin: 14px 0; }
.product__desc pre code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--text); }
.product__desc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.product__desc th, .product__desc td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; vertical-align: top; }
.product__desc th { background: var(--surface); color: var(--text); font-weight: 600; }
/* Wide rich-text tables get a horizontal scroll context on narrow screens instead of overflowing the layout. */
@media (max-width: 600px) {
  .product__desc table { display: block; max-width: 100%; overflow-x: auto; white-space: nowrap; }
}
.product__buy .btn { min-width: 220px; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin: 26px 0 0; padding: 20px 0 0; border-top: 1px solid var(--border); }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.trust svg { color: var(--accent-2); }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; gap: 28px; } .product__info { position: static; } }

/* ---- cart ---- */
/* Cart — two columns: line-item list + a sticky order-summary card */
.cart-page__title { margin: 14px 0 28px; }
.cart-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.empty { color: var(--muted); margin: 0; }
.cart-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
@media (min-width: 900px) { .cart-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 44px; } }

.cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-item:first-child { padding-top: 0; }
.cart-item { transition: opacity 0.15s ease; }
.cart-item.is-removing { opacity: 0.35; }
.cart-item__media { display: block; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__ph { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--muted); }
.cart-item__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item__title { font-weight: 700; color: var(--text); }
.cart-item__title:hover { color: var(--accent-2); }
.cart-item__variant { color: var(--muted); font-size: 13.5px; }
.cart-item__unit { color: var(--muted); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.cart-item__actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.cart-item__price { align-self: center; font-size: 18px; white-space: nowrap; }

.cart-qty { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--border); border-radius: 8px; padding: 3px; background: var(--bg); }
.cart-qty__btn { width: 30px; height: 30px; border: 0; background: transparent; border-radius: 6px; font-size: 17px; line-height: 1; cursor: pointer; color: var(--text); }
.cart-qty__btn:hover { background: var(--surface-2); color: var(--accent); }
.cart-qty__btn:disabled { opacity: .4; cursor: default; }
.cart-qty__val { min-width: 30px; text-align: center; font-variant-numeric: tabular-nums; color: var(--text); }
.cart-remove { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.cart-remove:hover { color: #ff6b5e; }
.cart-remove:disabled { opacity: .5; cursor: default; }
.cart-continue { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 13.5px; }
.cart-continue:hover { color: var(--accent-2); }

.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; position: sticky; top: 20px; }
.cart-summary__title { font-size: 12px; letter-spacing: .1em; color: var(--muted); margin: 0 0 18px; }
.cart-coupon { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
.cart-coupon input { flex: 1; min-width: 140px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 14px; background: var(--bg); color: var(--text); }
.cart-coupon input:focus { outline: none; border-color: var(--accent); }
.cart-coupon .btn { padding: 11px 16px; }
.cart-coupon__applied { flex: 1; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--accent-2); font-size: 14px; }
.cart-coupon__remove { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.cart-coupon__remove:hover { color: var(--accent); }
.cart-coupon__error { flex-basis: 100%; margin: 0; color: #ff6b5e; font-size: 13px; }
.cart-totals { border-top: 1px solid var(--border); padding-top: 16px; display: grid; gap: 11px; }
.cart-totals__row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--muted); }
.cart-totals__row[hidden] { display: none; }
.cart-totals__row .price, .cart-totals__row strong { color: var(--text); }
.cart-totals__row--discount { color: var(--accent-2); }
.cart-totals__row--total { font-size: 20px; padding-top: 14px; margin-top: 3px; border-top: 1px solid var(--border); }
.cart-totals__row--total .price { color: var(--accent); }
.cart-checkout { margin-top: 20px; }
.cart-summary__note { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cart-summary__note svg { flex-shrink: 0; }
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 14px; }
  .cart-item__media { width: 72px; height: 72px; }
  .cart-item__price { font-size: 15.5px; }
  .cart-summary { padding: 20px; }
}

/* ---- checkout ---- */
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-h { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin: 12px 0 2px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.field input {
  padding: 12px 13px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px;
  background: var(--surface); color: var(--text);
}
.field input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 25%, transparent); }
.checkout-row { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; }
.checkout-methods { display: flex; flex-direction: column; gap: 8px; }
.pm { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; background: var(--surface); font-size: 14px; }
.pm:hover { border-color: var(--accent-2); }
.pm input { accent-color: var(--accent); }
.checkout-submit { margin-top: 12px; align-self: flex-start; }
.checkout-error { color: #ff6b6b; font-size: 14px; }
.checkout-summary { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; }
@media (max-width: 860px) { .checkout { grid-template-columns: 1fr; } }

/* ---- order confirmation ---- */
.order-confirm { max-width: 660px; margin: 0 auto; text-align: center; }
.order-check { width: 60px; height: 60px; border-radius: 50%; background: color-mix(in srgb, var(--accent-2) 20%, transparent); color: var(--accent-2); font-size: 30px; line-height: 60px; margin: 0 auto 18px; border: 1px solid color-mix(in srgb, var(--accent-2) 50%, transparent); }
.order-title { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.order-sub { color: var(--muted); margin: 0 0 30px; }
.order-card { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin: 0 0 20px; }
.order-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; }
.order-total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px; font-size: 17px; }
.order-muted { color: var(--muted); font-size: 13px; }
.order-pay-title { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 12px; }
.order-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

/* ---- account ---- */
.account-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.account-email { color: var(--muted); margin: 4px 0 26px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; }
.account-order { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.account-order:last-child { border-bottom: 0; }
/* ---- auth: centered, focused login / register card ---- */
.auth { max-width: 430px; margin: 48px auto 90px; padding: 0 20px; }
.auth-card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 34px 32px; }
.auth-title { font-size: 26px; margin: 0 0 6px; text-transform: none; letter-spacing: -0.01em; }
.auth-sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.auth-form { display: grid; gap: 15px; }
.auth-field { display: grid; gap: 6px; }
.auth-field > span { font-size: 12.5px; color: var(--muted); }
.auth-form input { padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.auth-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.auth-form .btn { margin-top: 6px; }
.auth-error { color: #ff6b5e; font-size: 13px; margin: 2px 0 0; }
.auth-switch { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }
.auth-switch a { color: var(--accent-2); font-weight: 600; }
.auth-switch a:hover { text-decoration: underline; }

/* ---- page ---- */
.page-content { color: var(--muted); line-height: 1.8; max-width: 760px; }
.page-content a { color: var(--accent-2); }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; background: color-mix(in srgb, var(--surface) 60%, var(--bg)); }
.site-footer__inner { max-width: var(--page-width); margin: 0 auto; padding: 52px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.site-footer__brand .site-header__logo { font-size: 18px; margin-bottom: 12px; }
.site-footer__brand p { color: var(--muted); font-size: 14px; margin: 0; max-width: 34ch; }
.site-footer h4 { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); margin: 0 0 14px; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { color: var(--text); font-size: 14px; }
.site-footer__links a:hover { color: var(--accent-2); }
.site-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer__contact li { color: var(--muted); font-size: 14px; line-height: 1.45; }
.site-footer__contact a { color: var(--text); }
.site-footer__contact a:hover { color: var(--accent-2); }
.site-footer__bar { border-top: 1px solid var(--border); }
.site-footer__bar-inner { max-width: var(--page-width); margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: 0.04em; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: 26px; } }

/* ============================ Checkout (Shopify-style, light) ============================ */
body.template-checkout { background: #fff; color: #1a1a1a; }
body.template-checkout #main { max-width: none; margin: 0; padding: 0; }
.co-topbar { background: #fff; border-bottom: 1px solid #e6e6e6; }
.co-topbar__inner { max-width: 1180px; margin: 0 auto; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; }
.co-brand { font-size: 22px; font-weight: 800; color: #1a1a1a; letter-spacing: -0.01em; display: inline-flex; align-items: center; }
/* The checkout bar is light while the rest of Radar is dark, so the logo gets its own size
   here rather than inheriting the header's. */
.co-logo { height: 30px; width: auto; display: block; }
.co-cart { color: var(--accent); display: inline-flex; }

.checkout { display: grid; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 1fr; } }
.checkout__main { background: #fff; }
.checkout__inner { max-width: 560px; margin-left: auto; padding: 44px 44px 90px; }
.checkout__aside { background: #f5f6f8; border-top: 1px solid #e6e6e6; }
@media (min-width: 900px) {
  .checkout__aside { border-top: 0; border-left: 1px solid #e6e6e6; min-height: calc(100vh - 65px); }
}
.checkout__summary { max-width: 560px; margin-right: auto; padding: 44px; position: sticky; top: 0; }

.co-block { margin-bottom: 34px; }
.co-block__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.co-block__head .co-h { margin: 0; }
.co-h { font-size: 18px; font-weight: 600; color: #1a1a1a; margin: 0 0 14px; letter-spacing: 0; text-transform: none; }
.co-link { color: var(--accent); font-size: 14px; }
.co-link:hover { text-decoration: underline; }
.co-sub { color: #6b7280; font-size: 13px; margin: -6px 0 14px; }
.co-muted { color: #9ca3af; font-size: 14px; margin: 0; padding: 14px 0; }

.co-field { display: block; margin-bottom: 12px; position: relative; }
.co-field input, .co-field select, .co-field textarea { width: 100%; padding: 14px 13px; border: 1px solid #cdcdcd; border-radius: 8px; font: inherit; font-size: 15px; background: #fff; color: #1a1a1a; box-sizing: border-box; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.co-field input::placeholder, .co-field textarea::placeholder { color: #8a8f98; }
.co-field textarea { min-height: 76px; }
.co-field--select .co-field__label { position: absolute; top: 7px; left: 14px; font-size: 11px; color: #6b7280; pointer-events: none; }
.co-field--select select { padding-top: 22px; padding-bottom: 7px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.co-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #4b5563; margin: 8px 0 4px; cursor: pointer; }
.co-check input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }

.co-options { border: 1px solid #cdcdcd; border-radius: 8px; overflow: hidden; }
.co-option { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-bottom: 1px solid #e6e6e6; cursor: pointer; font-size: 15px; color: #1a1a1a; }
.co-option:last-child { border-bottom: 0; }
.co-option input { width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; }
.co-option__label { flex: 1; }
.co-option__price { font-weight: 600; }
.co-option--on, .co-option:has(input:checked) { background: color-mix(in srgb, var(--accent) 7%, #fff); box-shadow: inset 0 0 0 1.5px var(--accent); }

.co-submit { width: 100%; margin-top: 8px; padding: 16px; font-size: 16px; }
.co-error { color: #dc2626; font-size: 14px; margin: 12px 0 0; }
.co-empty { text-align: left; }

.co-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; margin-bottom: 18px; }
.co-item__media { position: relative; width: 48px; height: 48px; }
.co-item__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid #e0e0e0; background: #fff; }
.co-item__qty { position: absolute; top: -9px; right: -9px; min-width: 21px; height: 21px; padding: 0 5px; background: #4b5563; color: #fff; border-radius: 999px; font-size: 12px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.co-item__info { min-width: 0; }
.co-item__title { display: block; font-size: 14px; color: #1a1a1a; font-weight: 500; }
.co-item__variant { display: block; font-size: 12.5px; color: #6b7280; }
.co-item__price { font-size: 14px; color: #1a1a1a; white-space: nowrap; }
.co-totals { border-top: 1px solid #e0e0e0; margin-top: 8px; padding-top: 18px; display: grid; gap: 13px; }
.co-totals__row { display: flex; justify-content: space-between; font-size: 14px; color: #4b5563; }
.co-totals__row--discount { color: #059669; }
.co-totals__row--total { font-size: 21px; color: #1a1a1a; padding-top: 6px; }
.co-totals__row--total strong { font-weight: 700; }

@media (max-width: 899px) {
  .co-topbar__inner { padding: 16px 20px; }
  .checkout__inner { max-width: none; margin: 0; padding: 28px 20px 60px; }
  .checkout__summary { max-width: none; margin: 0; padding: 28px 20px; position: static; }
}

/* ============================================================================
   Home v2 — modern dedektör store: categories, brands, packages, service, corporate.
   Shared instrument motifs: reticle brackets, tile scan-line, chips, mono-stat.
   ============================================================================ */

/* Generic reusable reticle corner brackets (parent must be position:relative) */
.reticle { position: absolute; width: 18px; height: 18px; border: 2px solid var(--accent); z-index: 3; pointer-events: none; transition: top .2s ease, left .2s ease, right .2s ease, bottom .2s ease, opacity .2s ease; }
.reticle--tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.reticle--tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.reticle--bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.reticle--br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* Shared tile scan-line (GPU transform) */
.tile__scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 3; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent-2) 90%, transparent), transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent-2) 70%, transparent); }
@keyframes tile-scan { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(3600%); opacity: 0; } }

/* Shared chip (hero category chips + authority pills) */
.chip { position: relative; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border); border-radius: 2px; padding: 8px 14px;
  background: color-mix(in srgb, var(--surface) 55%, transparent); font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: color .16s ease, border-color .16s ease; }
.chip::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
a.chip:hover { color: var(--text); border-color: var(--accent); }
a.chip:hover::after { transform: scaleX(1); }
.chip--auth { color: var(--accent-2); }
.chip--auth svg { color: var(--accent); }
.chip--auth::after { display: none; }

/* Shared mono-stat cell */
.mono-stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); line-height: 1; font-variant-numeric: tabular-nums; }
.mono-stat .k { margin-top: 7px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }

.section--tight { padding-top: 44px; }

/* ---- hero additions: search, authority, chips, watermark ---- */
.hero__search { position: relative; display: flex; gap: 8px; margin: 24px 0 4px; max-width: 540px; }
.hero__search-ico { position: absolute; left: 14px; top: 24px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.hero__search input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: 3px; padding: 13px 14px 13px 42px; color: var(--text); font-size: 14px; min-width: 0; }
.hero__search input::placeholder { color: var(--muted); }
.hero__search input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 22%, transparent); }
.hero__search .btn { padding: 0 20px; }
.hero__authority { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero__watermark { position: absolute; right: 8px; bottom: -8px; z-index: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 12vw, 150px); line-height: 1; color: color-mix(in srgb, var(--text) 4%, transparent); pointer-events: none; }
@media (max-width: 640px) {
  .hero__chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hero__chips .chip { scroll-snap-align: start; flex: 0 0 auto; }
}

/* ---- category bento grid ---- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.cat { position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 4px; aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--surface-2), var(--bg)); transition: border-color .18s ease; }
.cat--large { grid-column: span 2; grid-row: span 2; }
.cat__media { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; pointer-events: none; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--bg) 92%, transparent) 6%, transparent 62%); }
.cat__overlay { position: absolute; inset: 0; z-index: 2; }
.cat__body { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 18px; pointer-events: none; }
.cat__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cat__num { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: clamp(30px, 4vw, 56px); line-height: 1; color: color-mix(in srgb, var(--text) 13%, transparent); }
.cat__status { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.16em; color: var(--accent-2); border: 1px solid var(--border); padding: 4px 7px; border-radius: 2px; background: color-mix(in srgb, var(--bg) 55%, transparent); }
.cat__status--lock { display: none; color: var(--accent); }
.cat:hover .cat__status--idle { display: none; }
.cat:hover .cat__status--lock { display: inline; }
.cat__foot { display: flex; flex-direction: column; gap: 10px; }
.cat__subs { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cat__subs a { pointer-events: auto; position: relative; z-index: 5; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cat__subs a:hover { color: var(--accent-2); }
.cat__title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: clamp(15px, 1.5vw, 21px); }
.cat__go { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.14em; color: var(--accent); opacity: 0; transform: translateX(-4px); transition: opacity .18s ease, transform .18s ease; }
.cat:hover .cat__go { opacity: 1; transform: none; }
.cat:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.cat:hover .reticle--tl { top: 14px; left: 14px; }
.cat:hover .reticle--tr { top: 14px; right: 14px; }
.cat:hover .reticle--bl { bottom: 14px; left: 14px; }
.cat:hover .reticle--br { bottom: 14px; right: 14px; }
.cat:hover .tile__scan { animation: tile-scan .7s ease; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat--large { grid-column: auto; grid-row: auto; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---- brands wall ---- */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.brand { position: relative; overflow: hidden; display: grid; place-items: center; gap: 4px; text-align: center; aspect-ratio: 5 / 2; border: 1px solid var(--border); border-radius: 3px; background: var(--surface); padding: 12px; }
.brand__mark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(15px, 1.6vw, 20px); color: var(--muted); transition: color .16s ease; }
.brand__logo { max-height: 34px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.6); opacity: 0.8; transition: filter .16s ease, opacity .16s ease; }
.brand__tag { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.brand::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.brand:hover { border-color: var(--accent); }
.brand:hover .brand__mark { color: var(--text); }
.brand:hover .brand__logo { filter: none; opacity: 1; }
.brand:hover::after { transform: scaleX(1); }
@media (max-width: 600px) { .brands { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; } .brand { scroll-snap-align: start; } }

/* ---- packages ---- */
.pkgs { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
.pkg { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--surface-2); border: 1px solid var(--border); border-radius: 4px; padding: 24px 22px; --pkg: var(--accent); }
.pkg--teal { --pkg: var(--accent-2); }
.pkg::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pkg); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; z-index: 4; }
.pkg:hover::before { transform: scaleX(1); }
.pkg:hover { border-color: color-mix(in srgb, var(--pkg) 45%, var(--border)); }
.pkg:hover .tile__scan { animation: tile-scan .7s ease; }
.pkg__head { display: flex; align-items: center; justify-content: space-between; }
.pkg__tag { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pkg); border: 1px solid color-mix(in srgb, var(--pkg) 40%, var(--border)); padding: 4px 8px; border-radius: 2px; }
.pkg__num { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 30px; line-height: 1; color: color-mix(in srgb, var(--text) 12%, transparent); }
.pkg__title { font-size: 20px; margin: 16px 0 4px; }
.pkg__list { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-direction: column; }
.pkg__list li { display: flex; gap: 9px; align-items: center; color: var(--muted); padding: 5px 0; font-size: 14px; }
.pkg__list svg { color: var(--accent-2); flex: 0 0 auto; }
.pkg__price { margin: 0 0 16px; font-size: 18px; }
.pkg__cta { margin-top: auto; align-self: flex-start; }
@media (max-width: 600px) { .pkgs { grid-template-columns: 1fr; } }

/* ---- service / trust band ---- */
.service { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.service::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: repeating-linear-gradient(0deg, transparent 0 43px, color-mix(in srgb, var(--text) 3%, transparent) 43px 44px), repeating-linear-gradient(90deg, transparent 0 43px, color-mix(in srgb, var(--text) 3%, transparent) 43px 44px); }
.svc { position: relative; z-index: 1; background: var(--surface); padding: 26px 22px; display: flex; gap: 14px; align-items: flex-start; }
.svc__icon { position: relative; width: 44px; height: 44px; flex: 0 0 auto; display: grid; place-items: center; color: var(--accent-2); }
.svc__icon::before, .svc__icon::after { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--accent-2); }
.svc__icon::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.svc__icon::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.svc__title { font-size: 15px; margin: 2px 0 6px; }
.svc__cap { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; color: var(--muted); }
@media (max-width: 900px) { .service { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .service { grid-template-columns: 1fr; } }

/* ---- corporate split ---- */
.corp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.corp--rev .corp__media { order: 2; }
.corp__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: 4px; background: var(--surface-2); background-size: cover; background-position: center; }
.corp__media--empty { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 18%, transparent), transparent 55%), repeating-linear-gradient(0deg, transparent 0 25px, color-mix(in srgb, var(--text) 5%, transparent) 26px), repeating-linear-gradient(90deg, transparent 0 25px, color-mix(in srgb, var(--text) 5%, transparent) 26px), var(--surface); }
.corp__stamp { position: absolute; left: 14px; bottom: 12px; z-index: 4; font-size: 11px; letter-spacing: 0.16em; color: var(--accent-2); }
.corp__content { position: relative; }
.corp__watermark { position: absolute; right: 0; top: -34px; z-index: 0; font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 13vw, 170px); line-height: 1; color: color-mix(in srgb, var(--text) 4%, transparent); pointer-events: none; }
.corp__content > * { position: relative; z-index: 1; }
.corp__heading { font-size: clamp(26px, 3.4vw, 40px); margin: 14px 0 14px; }
.corp__text { color: var(--muted); font-size: 16.5px; line-height: 1.65; margin: 0 0 24px; max-width: 46ch; }
.corp__stats { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 24px; }
.refs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 0 0 24px; }
.refs .brand__mark { font-size: 15px; }
.refs__logo { max-height: 26px; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.75; }
@media (max-width: 820px) { .corp { grid-template-columns: 1fr; gap: 28px; } .corp--rev .corp__media { order: 0; } }

/* product-card taksit micro-line */
.pcard__taksit { display: block; margin-top: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px; letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .tile__scan { animation: none !important; opacity: 0 !important; }
  .promo__track { animation: none !important; transform: none !important; }
  .promo__item::before, .hero__eyebrow-dot, .hero__sweep, .hero__scan { animation: none !important; }
}

/* ---- accessibility: header icon sizing, keyboard focus, skip link ---- */
.site-header__actions svg { width: 18px; height: 18px; }
:where(a, button, .btn, input, select, [tabindex]):focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; border-radius: 2px; }
.cat__overlay:focus-visible { outline: 2px solid var(--accent-2); outline-offset: -3px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: #0b0e13; font-weight: 700; padding: 10px 16px; border-radius: 4px; transition: top .15s ease; }
.skip-link:focus { top: 12px; }

/* keyboard focus mirrors the hover reveal cues */
.cat:focus-within { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.cat:focus-within .cat__go { opacity: 1; transform: none; }
.cat:focus-within .cat__status--idle { display: none; }
.cat:focus-within .cat__status--lock { display: inline; }
a.chip:focus-visible::after { transform: scaleX(1); }
.brand:focus-within { border-color: var(--accent); }
.brand:focus-within::after { transform: scaleX(1); }

/* hero spec inter-row divider at the 2-column breakpoint */
@media (max-width: 860px) {
  .hero__spec-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
/* nudge the smallest mono labels up on small screens */
@media (max-width: 640px) {
  .brand__tag, .cat__status { font-size: 10.5px; letter-spacing: 0.1em; }
  .cat__subs a { font-size: 11px; }
}

/* --- Checkout: legal approvals (mesafeli satış / ön bilgilendirme) --- */
.co-consents { display: flex; flex-direction: column; gap: 10px; }
.co-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; cursor: pointer; }
.co-consent input { margin-top: 3px; flex: none; width: 16px; height: 16px; cursor: pointer; }
.co-consent a { color: inherit; text-decoration: underline; }
.co-consent-note { margin: 2px 0 0; font-size: 12.5px; opacity: 0.7; }

/* Brand logo image (Settings > Marka) — falls back to the wordmark when unset. */
.site-logo { height: 32px; width: auto; display: block; }

/* Account: confirmation note for the password-reset flow. */
.auth-note { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; opacity: 0.85; }

/* --- Cookie consent banner (non-essential tags load only after "Kabul et") --- */
.stando-cc { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; background: #fff; color: #1a1a1a; border: 1px solid rgba(0,0,0,.14); border-radius: 14px; padding: 14px 18px; box-shadow: 0 8px 30px rgba(0,0,0,.16); font-size: 14px; line-height: 1.5; max-width: 900px; margin: 0 auto; }
.stando-cc__t { margin: 0; flex: 1 1 320px; }
.stando-cc__t a { color: inherit; text-decoration: underline; }
.stando-cc__a { display: flex; gap: 8px; flex: 0 0 auto; }
.stando-cc__btn { font: inherit; font-size: 13.5px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(0,0,0,.2); background: #fff; color: #1a1a1a; cursor: pointer; }
.stando-cc__btn--p { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
@media (max-width: 560px) { .stando-cc { flex-direction: column; align-items: stretch; } .stando-cc__a { justify-content: stretch; } .stando-cc__btn { flex: 1; } }

/* --- Product reviews --- */
.reviews { max-width: 900px; margin: 56px auto 0; padding: 0 20px; }
.reviews__head { display: flex; align-items: baseline; gap: 14px; border-bottom: 1px solid var(--line, #e6e6e3); padding-bottom: 12px; }
.reviews__title { font-size: 22px; margin: 0; }
.reviews__avg { font-size: 14px; color: var(--muted, #6b6b6b); }
.reviews__empty { color: var(--muted, #6b6b6b); padding: 18px 0; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line, #eeeeec); }
.review__top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__stars { letter-spacing: 2px; }
.review__who { font-weight: 600; }
.review__badge { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #e6f4ec; color: #0c5132; }
.review__title { font-size: 16px; margin: 8px 0 4px; }
.review__body { margin: 0; line-height: 1.6; white-space: pre-wrap; }
.reviews__form { margin-top: 24px; }
.reviews__form summary { cursor: pointer; font-weight: 600; padding: 10px 0; }
.reviews__form form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.reviews__note { font-size: 13px; color: var(--muted, #6b6b6b); margin: 6px 0 0; }

/* --- Product spec table (metafields) --- */
.specs { max-width: 900px; margin: 44px auto 0; padding: 0 20px; }
.specs__title { font-size: 20px; margin: 0 0 12px; }
.specs__list { display: grid; grid-template-columns: minmax(140px, 30%) 1fr; gap: 0; margin: 0; border-top: 1px solid var(--line, #e6e6e3); }
.specs__list dt { padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--line, #eeeeec); }
.specs__list dd { padding: 10px 0; margin: 0; border-bottom: 1px solid var(--line, #eeeeec); }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; }
.blog-card__title { font-size: 20px; margin: 12px 0 6px; }
.blog-card__title a { color: inherit; text-decoration: none; }
.blog-card__excerpt { margin: 0; line-height: 1.6; }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 13px; }
.blog-card__tag { padding: 2px 9px; border-radius: 999px; border: 1px solid currentColor; text-decoration: none; font-size: 12px; }
.article { max-width: 760px; }
.article__title { font-size: 34px; line-height: 1.2; margin: 0 0 10px; }
.article__meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; margin-bottom: 18px; }
.article__cover { width: 100%; border-radius: 12px; margin-bottom: 22px; }
.article__body { line-height: 1.75; font-size: 17px; }
.article__body img { max-width: 100%; border-radius: 10px; }

/* --- Gift card + return request --- */
.co-gc { display: flex; gap: 10px; }
.co-gc__input {
  flex: 1; min-width: 0; padding: 12px 13px; border: 1px solid #cdcdcd; border-radius: 8px;
  font-size: 14px; background: #fff; color: #1a1a1a;
}
.co-gc__input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.co-gc__input::placeholder { color: #8a8f98; }
.co-gc__msg { margin: 8px 0 0; font-size: 13px; color: var(--muted, #6b6b6b); }
/* ---------------------------------- İade talebi ----------------------------------
   This form was wearing the CHECKOUT's clothes on the ORDER page: `.co-h`, `.co-field` and
   `var(--line, #e6e6e3)` are all light-palette, and Radar's order page is dark — so the
   heading was near-black on near-black, the select and textarea were white rectangles, and
   `--line` (which this theme never defines) fell back to a pale grey border. The quantity
   input had no rule at all beyond a width, so it rendered as a browser default.

   It also inherited `text-align: center` from `.order-confirm`. Centring a receipt is fine;
   centring a form's labels and inputs is not. */
.ret-box {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 0 0 20px;
}
.ret-head { margin-bottom: 18px; }
.ret-title {
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-2); margin: 0 0 6px;
}
.ret-window { color: var(--muted); font-size: 14px; margin: 0; line-height: 1.5; }
.ret-form { display: flex; flex-direction: column; gap: 18px; }
.ret-field { display: flex; flex-direction: column; gap: 7px; }
.ret-field > label { font-size: 13px; color: var(--muted); }
.ret-field select,
.ret-field textarea {
  width: 100%; padding: 12px 13px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 15px;
}
.ret-field select:focus,
.ret-field textarea:focus,
.ret-qty:focus {
  outline: none; border-color: var(--accent-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-2) 25%, transparent);
}
.ret-field textarea { resize: vertical; min-height: 84px; line-height: 1.5; }

.ret-lines { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.ret-line {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; background: var(--bg);
}
.ret-line + .ret-line { border-top: 1px solid var(--border); }
.ret-line__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ret-line__name { color: var(--text); font-size: 14.5px; line-height: 1.35; }
.ret-line__max {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted);
}
.ret-qty {
  flex: none; width: 76px; text-align: center; padding: 9px 8px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: 15px; font-variant-numeric: tabular-nums;
}
.ret-submit { width: 100%; }
.ret-msg { color: var(--muted); font-size: 13.5px; margin: 0; }
.ret-msg--ok { color: var(--accent-2); }
.ret-msg--err { color: #ff6b5e; }

@media (max-width: 520px) {
  .ret-box { padding: 18px 16px; }
  .ret-line { flex-wrap: wrap; }
  .ret-qty { width: 100%; }
}

/* --- Para birimi seçici (Pazarlar) --- */
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cur-switch select {
  font: inherit; font-size: 12px; font-weight: 600; color: var(--muted);
  background: transparent; border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 8px; cursor: pointer; letter-spacing: .02em;
}
.cur-switch select:hover { color: var(--text); }
.cur-note {
  margin: 0; padding: 6px 24px; font-size: 12px; color: var(--muted);
  background: var(--surface-2); border-top: 1px solid var(--border); text-align: right;
}

/* --- Koleksiyon: sıralama ve sayfalama --- */
.coll-bar { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.coll-bar__count { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.coll-sort { margin-left: auto; }
.coll-sort select { font: inherit; font-size: 13px; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.coll-sort-links { display: inline-flex; gap: 10px; flex-wrap: wrap; font-size: 13px; }
.coll-sort-links a[aria-current] { color: var(--accent); font-weight: 700; }
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 40px 0 8px; flex-wrap: wrap; }
.pager__step { font-size: 13px; font-weight: 600; border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; color: var(--text); }
.pager__step:hover { border-color: var(--accent); color: var(--accent); }
.pager__step.is-off { opacity: .35; pointer-events: none; }
.pager__pages { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.pager__page { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pager__page:hover { color: var(--text); background: var(--surface); }
.pager__page.is-current { background: var(--accent); color: #fff; }

/* --- Arama sayfası --- */
.search-form { display: flex; gap: 10px; max-width: 620px; margin: 0 0 18px; }
.search-form input { flex: 1; height: 46px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); font: inherit; font-size: 15px; padding: 0 18px; }
.search-form input:focus { outline: none; border-color: var(--accent); }
.search-count { font-size: 13px; color: var(--muted); margin: 0 0 22px; }

/* --- Benzer ürünler --- */
.related { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--border); }
.related__title { font-size: 22px; margin: 0 0 24px; }

/* --- Mağaza kredisi (ödeme adımı) --- */
.co-credit { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.co-credit input { margin-top: 3px; }
.co-credit__hint { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }

@media (max-width: 640px) {
  /* On a phone an absolutely positioned panel has nowhere to go, so an open group simply
     pushes the rest of the nav down. */
  .site-nav { gap: 16px; }
  .site-nav__group[open] { width: 100%; }
  .site-nav__menu {
    position: static; min-width: 0; border: none; box-shadow: none;
    padding-bottom: 8px;
  }
  .site-nav__menu a { padding: 8px 0 8px 14px; }
}

/* --- Ürün galerisi --- */
/* Rendered only when a product has more than one photo; a strip with one thumbnail is a
   control that does nothing. */
.product__thumbs { display: flex; gap: 10px; flex-wrap: wrap; padding: 12px; border-top: 1px solid var(--border); }
.product__thumb { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--surface); overflow: hidden; cursor: pointer; }
.product__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product__thumb:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
/* The active thumbnail is marked with a BORDER, not opacity: a dimmed strip reads as
   "disabled" and the shopper stops clicking it. */
.product__thumb.is-active { border-color: var(--accent); }
.product__thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* --- Görsel büyütme --- */
.product__zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.product__zoom img { display: block; width: 100%; }
/* The hint only appears on a pointer device: on touch there is no hover to reveal it and it
   would sit permanently over the photo. */
.product__zoom-hint { position: absolute; right: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgb(0 0 0 / 62%); color: #fff; font-size: 12px; opacity: 0; transition: opacity .14s ease; }
.product__zoom:hover .product__zoom-hint, .product__zoom:focus-visible .product__zoom-hint { opacity: 1; }
@media (hover: none) { .product__zoom-hint { display: none; } }
.product__zoom:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.pz-open { overflow: hidden; }
.pz { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgb(0 0 0 / 90%); padding: 48px 64px; }
.pz.is-open { display: flex; }
.pz__img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pz__close, .pz__nav { position: absolute; border: 0; background: rgb(255 255 255 / 12%); color: #fff; cursor: pointer; border-radius: 999px; line-height: 1; }
.pz__close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 26px; }
.pz__nav { top: 50%; transform: translateY(-50%); width: 44px; height: 44px; font-size: 30px; }
.pz__nav--prev { left: 12px; }
.pz__nav--next { right: 12px; }
.pz__close:hover, .pz__nav:hover { background: rgb(255 255 255 / 26%); }
.pz__close:focus-visible, .pz__nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pz__count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .pz { padding: 56px 12px; } .pz__nav { width: 38px; height: 38px; font-size: 24px; } }

/* Listing filters. Same behaviour as the default theme — links and a plain form, so it works
   with scripts blocked — but painted from THIS theme's variables: radar is dark, and the
   light panel it first inherited put near-invisible grey text on white. */
.filters {
  margin: 0 0 22px; border: 1px solid var(--border); border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.filters__toggle {
  cursor: pointer; padding: 13px 18px; font-weight: 600; list-style: none;
  display: flex; align-items: center; gap: 10px;
  font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase;
}
.filters__toggle::-webkit-details-marker { display: none; }
.filters__toggle::after { content: "▾"; margin-left: auto; color: var(--muted); letter-spacing: 0; }
.filters[open] .filters__toggle::after { content: "▴"; }
.filters__on {
  font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
  letter-spacing: .04em; background: var(--accent); color: var(--bg);
}
.filters__body {
  display: grid; gap: 24px; padding: 6px 18px 18px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid var(--border);
}
.filters__title {
  margin: 14px 0 10px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.filters__values {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 2px;
  max-height: 230px; overflow-y: auto;
}
.filters__value {
  display: flex; align-items: center; gap: 10px; padding: 6px 8px;
  border-radius: 8px; text-decoration: none; color: inherit; font-size: 14px;
}
.filters__value:hover { background: color-mix(in srgb, var(--muted) 14%, transparent); }
.filters__box {
  flex: none; width: 15px; height: 15px; border: 1px solid var(--border); border-radius: 4px;
}
.filters__value.is-on .filters__box {
  background: var(--accent); border-color: var(--accent); position: relative;
}
.filters__value.is-on .filters__box::after {
  content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.filters__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.filters__count { flex: none; font-size: 12px; color: var(--muted); }
.filters__range { display: flex; align-items: center; gap: 8px; }
.filters__range input {
  width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid var(--border);
  border-radius: 9px; font: inherit; font-size: 14px; background: var(--bg); color: inherit;
}
.filters__apply { flex: none; padding: 9px 14px; font-size: 13px; }
.filters__foot {
  margin: 0; padding: 13px 18px; border-top: 1px solid var(--border);
  font-size: 14px; color: var(--muted);
}
.filters__foot strong { color: inherit; }
.coll-empty { grid-column: 1 / -1; }
@media (max-width: 700px) {
  .filters__range { flex-wrap: wrap; }
  .filters__apply { width: 100%; }
}

/* Digital deliveries on the order page. */
.downloads { margin-top: 24px; }
.download {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid #eeeeec;
}
.download__left { font-size: 13px; opacity: .65; }

/* --- Ürün videosu ---
   The card carries its own aspect ratio so the strip does not reflow when a poster (or the
   player that replaces it) loads at a different size. */
.product__videos { margin-top: 18px; }
.product__videos-label { font-size: 13px; font-weight: 600; color: var(--muted, #9a9a9a); margin-bottom: 8px; }
.product__videos-row { display: flex; gap: 12px; flex-wrap: wrap; }
.product__video {
  position: relative; width: 220px; aspect-ratio: 16 / 9; padding: 0; overflow: hidden;
  border: 1px solid var(--line, #2a2a2a); border-radius: 12px; background: #101010; cursor: pointer;
}
.product__video-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.product__video-poster--empty {
  /* No still to show — a plate rather than a hole, so the play button has something to sit on. */
  background: linear-gradient(135deg, #1c1c1c, #333);
}
.product__video-play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; display: flex;
  align-items: center; justify-content: center; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: #111; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 120ms ease;
}
.product__video:hover .product__video-play { transform: scale(1.08); }
.product__video:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
/* Once playing, the card IS the player: no border radius fight, no letterboxed poster behind. */
.product__video[data-playing="1"] { width: 100%; max-width: 520px; background: #000; cursor: default; }
.product__video-player { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .product__video, .product__video[data-playing="1"] { width: 100%; max-width: none; }
}

/* --- Pakette neler var --- */
.product__bundle { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line, #2a2a2a); border-radius: 12px; }
.product__bundle-title { font-size: 13px; font-weight: 650; margin-bottom: 8px; }
.product__bundle-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.product__bundle-list li { font-size: 14px; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
/* The count leads the line: "2×" answers the first question a shopper has about a set. */
.product__bundle-qty { font-weight: 650; min-width: 28px; }
.product__bundle-variant { font-size: 12.5px; opacity: 0.7; }

/* --- Abonelik sayfası --- */
.sub-page { max-width: 620px; }
.sub-page__title { font-size: 24px; margin: 24px 0 16px; }
.sub-card { border: 1px solid var(--line, #2a2a2a); border-radius: 12px; padding: 4px 16px; }
.sub-card__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line, #222); font-size: 14px; }
.sub-card__row:last-child { border-bottom: 0; }
.sub-card__label { opacity: 0.7; }
.sub-card__value { text-align: right; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
/* Cancelling is not hidden, and not dressed up as the obvious choice either. */
.sub-cancel { margin-left: auto; }
.sub-note { margin-top: 14px; font-size: 13px; opacity: 0.8; }

/* --- Tek seferlik / abonelik seçimi --- */
.product__buytype { border: 1px solid var(--line, #2a2a2a); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.product__buytype-legend { font-size: 13px; font-weight: 650; padding: 0 4px; }
.product__buytype-opt { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: 14px; cursor: pointer; }
.product__buytype-opt input { margin: 0; }

/* Cancelling is present and honest, not dressed as the obvious choice: a link, beside the
   buttons, at the far end of the row. */
.sub-cancel { background: none; border: 0; padding: 6px 2px; font: inherit; font-size: 13px; color: inherit; opacity: 0.7; text-decoration: underline; cursor: pointer; }
.sub-cancel:hover { opacity: 1; }
