/* ==========================================================================
   HelmSeat — tasarim sistemi
   Tum sayfalar (index, checkout, success, contact, admin) bu dosyayi paylasir.
   ========================================================================== */

:root {
  --navy: #10233f;
  --navy-deep: #0a1830;
  --red: #c8102e;
  --red-dark: #a20d25;
  --ink: #151313;
  --muted: #595969;
  --muted-2: #6b6b6b;
  --line: #e1e1e5;
  --line-soft: #efeff2;
  --bg: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #ededf0;
  --green: #1a7f45;
  --star: #ffcc00;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(16, 35, 63, 0.06), 0 2px 8px rgba(16, 35, 63, 0.05);
  --shadow-md: 0 6px 24px rgba(16, 35, 63, 0.1);
  --shadow-lg: 0 24px 60px -18px rgba(10, 24, 48, 0.45);

  --page: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%; display: block;
  -webkit-user-drag: none; user-select: none; -webkit-touch-callout: none;
}
a { color: inherit; }
button { font-family: inherit; }

/* Icerik korumasi: vitrinde metin secilemez, ama FORM ALANLARINDA serbesttir
   (aksi halde musteri adresini yazip duzeltemez). Admin paneli muaftir —
   orada adres kopyalamak gerekiyor. */
body:not(.admin) { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
body:not(.admin) input,
body:not(.admin) textarea,
body:not(.admin) select,
body:not(.admin) [contenteditable] {
  -webkit-user-select: text; -moz-user-select: text; user-select: text;
}

.page { max-width: var(--page); margin: 0 auto; padding: 0 20px; }
.hide { display: none !important; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Flash sale bar ---------- */
.flash {
  background: var(--red);
  color: #fff;
  padding: 14px 20px;
}
.flash-in {
  display: flex; align-items: center; justify-content: center;
  gap: 34px; max-width: 1100px; margin: 0 auto;
}
.flash-copy { text-align: center; line-height: 1.05; }
.flash-title { font-size: 27px; font-weight: 800; letter-spacing: -0.6px; white-space: nowrap; }
.flash-sub { margin-top: 6px; font-size: 17px; font-weight: 600; white-space: nowrap; }
.flash-timer { display: flex; align-items: center; gap: 7px; }
.tbox {
  min-width: 66px; height: 62px; background: rgba(255, 255, 255, 0.17);
  border-radius: 10px; display: flex; flex-direction: column;
  justify-content: center; align-items: center;
}
.tbox b { font-size: 31px; line-height: 29px; font-weight: 800; font-variant-numeric: tabular-nums; }
.tbox small { font-size: 13px; line-height: 16px; font-weight: 500; opacity: 0.95; }
.tsep { font-size: 27px; font-weight: 700; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 12px 0; }
.ticker-track {
  display: flex; gap: 60px; width: max-content;
  animation: tick 45s linear infinite;
}
.ticker-track span { font-size: 16px; font-weight: 700; white-space: nowrap; letter-spacing: 0.3px; }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 60;
  background: #fff; border-bottom: 1px solid var(--line);
}
.hdr-in {
  max-width: var(--page); margin: 0 auto; padding: 10px 20px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.hdr-nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.hdr-nav a { text-decoration: none; }
.hdr-nav a:hover { color: var(--red); }
.hdr-logo { justify-self: center; }
.hdr-logo img { width: 190px; }
.hdr-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-btn {
  border: 0; background: none; padding: 8px; cursor: pointer; color: var(--navy);
  display: inline-flex; position: relative; border-radius: 8px;
}
.icon-btn:hover { background: var(--soft); }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--red); color: #fff; font-size: 11px;
  font-weight: 800; display: grid; place-items: center; padding: 0 5px;
}
.burger { display: none; }

/* ---------- Product layout ---------- */
.prod { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0 16px; }

.gallery-wrap { position: relative; }
.gallery-main {
  border-radius: var(--radius-lg); overflow: hidden; background: var(--soft);
  aspect-ratio: 1 / 1; position: relative; touch-action: pan-y;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
/* Takim degisince kisa bir gecis — sert siçrama yerine yumusak gecis. */
.gallery-main > * { animation: galIn 0.22s ease-out; }
@keyframes galIn { from { opacity: 0.35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gallery-main > * { animation: none; } }

/* Sol / sag oklar */
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.86); color: var(--ink);
  display: grid; place-items: center; padding: 0;
  box-shadow: 0 2px 10px rgba(16, 35, 63, 0.18);
  transition: background 0.15s, transform 0.1s;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.gal-arrow svg { width: 22px; height: 22px; }
.gal-arrow:hover { background: #fff; }
.gal-arrow:active { transform: translateY(-50%) scale(0.93); }
.gal-arrow:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.gal-prev { left: 12px; }
.gal-next { right: 12px; }

/* Nokta gostergesi — mobilde kucuk resim seridi yerine bunu gosteriyoruz. */
.gallery-dots {
  display: none; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 12px;
}
.gallery-dots button {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: #d3d3da; cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.gallery-dots button[aria-current="true"] { background: var(--red); transform: scale(1.35); }

.gallery-thumbs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px;
}
.thumb {
  border: 2px solid transparent; border-radius: 10px; overflow: hidden;
  background: var(--soft); cursor: pointer; padding: 0; aspect-ratio: 1 / 1;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--red); }

.pill-hot {
  display: inline-block; border: 2px solid var(--red); color: var(--red);
  font-weight: 800; font-size: 13px; letter-spacing: 0.5px;
  padding: 7px 14px; border-radius: 6px; margin-bottom: 14px;
}
.prod h1 { font-size: 40px; line-height: 1.1; margin: 0 0 10px; font-weight: 800; letter-spacing: -1px; }

.rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 18px; height: 18px; }
.rating small { color: var(--muted); font-weight: 600; font-size: 14px; }

.price-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.price-now { font-size: 30px; font-weight: 800; color: var(--red); }
.price-was { font-size: 20px; color: var(--muted); text-decoration: line-through; }
.badge-save {
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 800;
  padding: 6px 11px; border-radius: 6px; display: inline-flex; align-items: center; gap: 6px;
}

.field-label { font-weight: 700; font-size: 14px; margin: 0 0 7px; }
.select-wrap { position: relative; }
.select-wrap svg {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 12px; pointer-events: none; color: var(--muted);
}
select.sel {
  width: 100%; appearance: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 38px 13px 14px; font-size: 15px; font-weight: 600; background: #fff;
  color: var(--ink); cursor: pointer;
}
select.sel:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.sel-tint { background: #fdf1f3; border-color: #f3d4da; }

/* ---------- Bundle & save ---------- */
.bundle-head {
  display: flex; align-items: center; gap: 14px; margin: 26px 0 14px;
  font-weight: 800; font-size: 14px; letter-spacing: 1px; color: var(--ink);
}
.bundle-head::before, .bundle-head::after {
  content: ""; flex: 1; height: 1px; background: #f0c9cf;
}

.bundles { display: grid; gap: 12px; }
.bundle {
  position: relative; border: 2px solid var(--line); border-radius: var(--radius);
  background: var(--soft); cursor: pointer; overflow: hidden;
  transition: border-color 0.15s, background 0.15s;
}
.bundle:hover { border-color: #c9c9d2; }
.bundle[data-on="1"] { border-color: var(--red); background: #fff; }

.bundle-main { display: flex; align-items: center; gap: 12px; padding: 16px; }
/* Rozetli kartlarda ust bosluk birakilir, yoksa rozet fiyatin uzerine biner. */
.bundle[data-badge="1"] .bundle-main { padding-top: 32px; }
.radio {
  width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c3c3cc;
  flex: 0 0 auto; display: grid; place-items: center; background: #fff;
}
.bundle[data-on="1"] .radio { border-color: var(--red); }
.bundle[data-on="1"] .radio::after {
  content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--red);
}
.bundle-txt { flex: 1; min-width: 0; }
.bundle-line1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bundle-title { display: block; font-size: 20px; font-weight: 800; line-height: 1.15; }
.bundle-sub { display: block; font-size: 14px; color: var(--muted); line-height: 1.35; }
.bundle-price { text-align: right; flex: 0 0 auto; }
.bundle-price b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.bundle-price s { display: block; font-size: 14px; color: var(--muted); }
.bundle-label {
  background: rgba(14, 30, 47, 0.32); color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 8px; border-radius: 6px; white-space: nowrap;
}

.badge-pop, .badge-value {
  position: absolute; top: 8px; right: 10px; z-index: 2;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
  color: #fff; background: var(--red); padding: 5px 10px; border-radius: 20px;
  box-shadow: 0 4px 12px rgba(200, 16, 46, 0.35);
}

/* Paket icindeki takim secicileri */
.bundle-teams { padding: 0 16px 14px; display: none; }
.bundle[data-on="1"] .bundle-teams { display: block; }
.bteam-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.bteam-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.bteam-row:last-child { margin-bottom: 0; }
.bteam-thumb {
  width: 48px; height: 48px; border-radius: 6px; flex: 0 0 auto;
  background: var(--soft-2); object-fit: cover; overflow: hidden;
  display: grid; place-items: center;
}
.bteam-row .select-wrap { flex: 1; min-width: 0; }
.bteam-row select.sel { padding-top: 10px; padding-bottom: 10px; border-color: var(--red); }

/* Upsell satirlari */
.addons { border-top: 1px solid var(--line); display: none; }
.bundle[data-on="1"] .addons { display: block; }
.addon {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  background: rgba(147, 150, 154, 0.16); border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}
.addon:last-child { border-bottom: 0; }
.addon-box {
  width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--red);
  background: #fff; flex: 0 0 auto; display: grid; place-items: center; color: #fff;
}
.addon[data-on="1"] .addon-box { background: var(--red); }
.addon-box svg { width: 12px; opacity: 0; }
.addon[data-on="1"] .addon-box svg { opacity: 1; }
.addon-icon {
  width: 30px; height: 30px; border-radius: 4px; background: #fff; flex: 0 0 auto;
  display: grid; place-items: center; overflow: hidden;
}
.addon-icon svg { width: 22px; height: 22px; }
.addon-name { flex: 1; font-size: 13px; font-weight: 700; min-width: 0; }
.addon-price { text-align: right; flex: 0 0 auto; }
.addon-price b { display: block; font-size: 13px; font-weight: 800; }
.addon-price s { font-size: 12px; color: var(--muted-2); }
.addon-free { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: 0; border-radius: 10px; padding: 17px 20px;
  font-size: 16px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  cursor: pointer; text-decoration: none; transition: background 0.15s, transform 0.05s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: #fdf1f3; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn-stack { display: grid; gap: 10px; margin: 20px 0; }

.trust {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px;
}

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 16px 0;
  display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { margin-left: auto; transition: transform 0.2s; width: 12px; color: var(--muted); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc .acc-body { padding: 0 0 16px; color: var(--muted); font-size: 15px; }
.acc .acc-body strong { color: var(--ink); }
.acc .tick { color: var(--red); width: 18px; flex: 0 0 auto; }

.benefits { margin: 22px 0 0; font-size: 15px; line-height: 2; }

/* ---------- Wave divider ---------- */
.wave { line-height: 0; background: #fff; }
.wave svg { width: 100%; height: 46px; display: block; }
.wave-flip { transform: scaleY(-1); }
.band { background: var(--red); color: #fff; }
.band a { color: #fff; }

/* ---------- Sections ---------- */
.sec { padding: 44px 0; }
.sec h2 {
  font-size: 34px; font-weight: 800; letter-spacing: -0.8px;
  text-align: center; margin: 0 0 26px;
}
.band .sec h2 { color: #fff; }

.slider { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.slide { border-radius: var(--radius-lg); overflow: hidden; background: rgba(255,255,255,0.15); }
.slide img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--soft); border-radius: var(--radius-lg); padding: 26px 22px;
  text-align: center; border: 1px solid var(--line-soft);
}
.card .stars { justify-content: center; margin-bottom: 10px; }
.card h3 { margin: 0 0 8px; font-size: 19px; font-weight: 800; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.card b { font-size: 14px; }

.faq-wrap { max-width: 760px; margin: 0 auto; }

/* ---------- Footer ---------- */
.ftr { background: var(--navy); color: #fff; padding: 44px 0 28px; margin-top: 10px; }
.ftr-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.ftr h4 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.ftr p, .ftr a { color: rgba(255, 255, 255, 0.78); font-size: 14px; text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.news { display: flex; gap: 8px; margin-top: 12px; }
.news input {
  flex: 1; min-width: 0; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255,255,255,0.08);
  color: #fff; border-radius: 8px; padding: 12px 14px; font-size: 14px; font-family: inherit;
}
.news input::placeholder { color: rgba(255, 255, 255, 0.55); }
.news button {
  border: 0; background: var(--red); color: #fff; font-weight: 800; font-size: 14px;
  padding: 0 18px; border-radius: 8px; cursor: pointer;
}
.pay { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.pay img, .pay svg { height: 24px; width: auto; border-radius: 3px; }
.ftr-btm {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, 0.6);
}

/* ---------- Cart drawer ---------- */
.scrim {
  position: fixed; inset: 0; background: rgba(10, 24, 48, 0.5); z-index: 90;
  opacity: 0; pointer-events: none; transition: opacity 0.22s;
}
.scrim[data-on="1"] { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: #fff; z-index: 100; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.26s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-lg);
}
.drawer[data-on="1"] { transform: none; }
.drawer-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 20px 14px;
}
.drawer-hd h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.drawer-x { border: 0; background: none; cursor: pointer; padding: 6px; color: var(--muted); }
.reserve {
  background: #101010; color: #fff; text-align: center; font-size: 14px;
  font-weight: 700; padding: 11px 16px;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-ft { border-top: 1px solid var(--line); padding: 16px 20px 20px; }

.line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line-img {
  width: 74px; height: 74px; border-radius: 8px; background: var(--soft-2);
  flex: 0 0 auto; overflow: hidden; display: grid; place-items: center;
}
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-b { flex: 1; min-width: 0; }
.line-top { display: flex; justify-content: space-between; gap: 10px; }
.line-name { font-size: 15px; font-weight: 800; line-height: 1.25; }
.line-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.line-prices { display: flex; align-items: baseline; gap: 7px; margin-top: 4px; }
.line-prices s { color: var(--muted); font-size: 13px; }
.line-prices b { font-size: 15px; }
.chip {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700;
  background: var(--soft-2); color: var(--muted); border-radius: 20px; padding: 2px 8px;
  margin-left: 6px;
}
.line-rm { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 2px; }
.line-rm:hover { color: var(--red); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; margin-top: 8px; }
.qty button {
  border: 0; background: none; width: 32px; height: 32px; cursor: pointer;
  font-size: 17px; color: var(--ink); display: grid; place-items: center;
}
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; font-size: 14px; }

.totals { display: grid; gap: 8px; margin-bottom: 14px; }
.trow { display: flex; justify-content: space-between; font-size: 15px; }
.trow.big { font-size: 20px; font-weight: 800; }
.trow.save { color: var(--red); font-weight: 700; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty h3 { font-size: 20px; color: var(--ink); margin: 0 0 16px; }

/* ---------- Checkout sayfasi ---------- */
.co { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.co-left { padding: 34px 0 60px; }
.co-left-in { max-width: 560px; margin-left: auto; padding: 0 34px; width: 100%; }
.co-right { background: var(--soft); border-left: 1px solid var(--line); padding: 34px 0 60px; }
.co-right-in { max-width: 460px; padding: 0 34px; width: 100%; }
.co-hd { padding: 18px 0; border-bottom: 1px solid var(--line); }
.co-hd img { width: 160px; margin: 0 auto; }

.co h2 { font-size: 20px; font-weight: 700; margin: 26px 0 12px; }
.co h2:first-of-type { margin-top: 8px; }
.f { margin-bottom: 12px; position: relative; }
.f label {
  position: absolute; left: 13px; top: 13px; font-size: 15px; color: var(--muted-2);
  pointer-events: none; transition: all 0.13s; background: transparent;
}
.f input, .f select {
  width: 100%; border: 1px solid #c9c9d2; border-radius: 6px; padding: 22px 13px 8px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fff;
}
.f select { appearance: none; cursor: pointer; padding-right: 34px; }
.f .caret { position: absolute; right: 14px; top: 26px; width: 12px; color: var(--muted); pointer-events: none; }
.f input:focus, .f select:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.f input:focus + label, .f input:not(:placeholder-shown) + label,
.f.filled label { top: 6px; font-size: 11px; }
.f select + label { top: 6px; font-size: 11px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.co .err {
  color: #b3261e; font-size: 14px; margin: 10px 0; padding: 11px 13px;
  background: #fdecea; border-radius: 6px; display: none;
}
.co .err[data-on="1"] { display: block; }

/* Alan bazli hata: musteri hangi kutunun yanlis oldugunu aninda gorsun. */
.co .f.bad { margin-bottom: 26px; }
.co .f.bad input, .co .f.bad select { border-color: #b3261e; border-width: 2px; }
.co .f.bad input:focus, .co .f.bad select:focus { outline-color: #b3261e; border-color: #b3261e; }
.co .f.bad label { color: #b3261e; }
.co .f .fmsg {
  position: absolute; left: 2px; top: 100%; margin-top: 4px;
  font-size: 12.5px; font-weight: 600; color: #b3261e; line-height: 1.3;
}
.chk { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); margin: 6px 0 4px; }
.chk input { width: 17px; height: 17px; accent-color: var(--navy); }

.sum-line { display: flex; gap: 13px; align-items: center; padding: 11px 0; }
.sum-img {
  width: 62px; height: 62px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; position: relative; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center;
}
.sum-img img { width: 100%; height: 100%; object-fit: cover; }
.sum-qty {
  position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px;
  border-radius: 11px; background: #6b6b74; color: #fff; font-size: 12px; font-weight: 700;
  display: grid; place-items: center; padding: 0 6px;
}
.sum-b { flex: 1; min-width: 0; }
.sum-name { font-size: 14px; font-weight: 700; }
.sum-sub { font-size: 13px; color: var(--muted); }
.sum-p { text-align: right; font-size: 14px; }
.sum-p s { color: var(--muted); display: block; font-size: 13px; }
.sum-rows { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: grid; gap: 9px; }
.sum-rows .trow.big { font-size: 22px; }
.sum-save {
  display: flex; align-items: center; gap: 6px; color: var(--red);
  font-size: 13px; font-weight: 700; margin-top: 8px;
}

/* ---------- Success ---------- */
.done { max-width: 620px; margin: 0 auto; padding: 60px 20px 80px; text-align: center; }
.done .tickcirc {
  width: 74px; height: 74px; border-radius: 50%; background: #e8f5ee; color: var(--green);
  display: grid; place-items: center; margin: 0 auto 22px;
}
.done h1 { font-size: 34px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.8px; }
.done p { color: var(--muted); margin: 0 0 8px; }
.done .box {
  background: var(--soft); border-radius: var(--radius); padding: 20px;
  margin: 26px 0; text-align: left; display: grid; gap: 9px;
}
.done .box .trow { font-size: 15px; }

/* ---------- Yardimci ---------- */
.note { font-size: 13px; color: var(--muted); }
/* Fotografi henuz olmayan takimlar icin tasarlanmis yer tutucu.
   Olcuye gore kucuk kucuk resimlerde yalnizca kask, buyuk galeride
   kask + takim adi + not gorunur (container query yerine basit oranlar). */
.helmet-fallback {
  width: 100%; height: 100%; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4%; padding: 8%; text-align: center; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--hf-bg) 82%, #fff) 0%, var(--hf-bg) 70%);
}
.helmet-fallback .hf-art { width: 58%; height: auto; max-height: 52%; }
.helmet-fallback .hf-name {
  font-weight: 800; color: #fff; letter-spacing: 0.4px; line-height: 1.1;
  font-size: clamp(11px, 13cqw, 30px);
}
.helmet-fallback .hf-note {
  font-size: clamp(7px, 5cqw, 12px); font-weight: 600;
  color: rgba(255, 255, 255, 0.72); letter-spacing: 0.6px; text-transform: uppercase;
}
/* Kucuk kutularda yalniz kask kalsin; yazi okunmaz boyuta dusmesin. */
.bteam-thumb .helmet-fallback .hf-name,
.bteam-thumb .helmet-fallback .hf-note,
.line-img .helmet-fallback .hf-note,
.sum-img .helmet-fallback .hf-note,
.thumb .helmet-fallback .hf-note { display: none; }
.bteam-thumb .helmet-fallback .hf-art,
.line-img .helmet-fallback .hf-art { width: 74%; max-height: 74%; }

/* container query birimleri icin */
.gallery-main, .thumb, .bteam-thumb, .line-img, .sum-img { container-type: inline-size; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .prod { grid-template-columns: 1fr; gap: 28px; }
  .co { grid-template-columns: 1fr; }
  .co-right { border-left: 0; border-bottom: 1px solid var(--line); order: -1; }
  .co-left-in, .co-right-in { max-width: 620px; margin: 0 auto; }
  .ftr-grid { grid-template-columns: 1fr; }
  .slider, .cards { grid-template-columns: 1fr; }
}

@media (max-width: 749px) {
  .flash { padding: 11px 8px; }
  .flash-in { gap: 12px; }
  .flash-title { font-size: 14px; letter-spacing: -0.2px; }
  .flash-sub { font-size: 10px; margin-top: 4px; }
  .flash-timer { gap: 3px; }
  .tbox { min-width: 42px; width: 42px; height: 46px; border-radius: 7px; }
  .tbox b { font-size: 19px; line-height: 19px; }
  .tbox small { font-size: 8px; line-height: 11px; }
  .tsep { font-size: 17px; }

  .hdr-in { grid-template-columns: auto 1fr auto; }
  .hdr-nav { display: none; }
  .burger { display: inline-flex; }
  .hdr-logo img { width: 150px; }

  .prod { padding-top: 18px; }
  .prod h1 { font-size: 28px; }
  .price-now { font-size: 26px; }
  .sec { padding: 32px 0; }
  .sec h2 { font-size: 26px; }
  /* Mobilde kucuk resim seridi yerine nokta gostergesi. */
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .gal-arrow { width: 36px; height: 36px; }
  .gal-arrow svg { width: 19px; height: 19px; }
  .gal-prev { left: 8px; }
  .gal-next { right: 8px; }
  .co-left-in, .co-right-in { padding: 0 18px; }
  .f3 { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
}
