:root {
  --primary: #f58220;
  --secondary: #494949;
  --third: #575d61;
  --text: #363232;
  --sub: #7a7474;
  --border: #ededed;
  --bg: #f3f3f3;
  --white: #fff;
  --wa: #25d366;
  --fb: #485a96;
  --gg: #4285f4;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  --container: 1240px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: Rubik, Arial, sans-serif;
  font-size: 14px;
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
img { max-width: 100%; }
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus { left: 8px; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
h2 {
  margin: 0 0 22px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--secondary);
}

.topbar { border-bottom: 1px solid var(--border); background: #fff; }
.topbar-grid {
  min-height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.top-contact, .top-user { display: flex; align-items: center; gap: 12px; }
.top-user { justify-content: flex-end; position: relative; }
.top-contact a, .login-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
}
.top-contact strong { font-weight: 600; }
.wa-link { color: var(--wa); }
.ticker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.ticker::before { content: "‹ "; color: var(--sub); }
.ticker::after { content: " ›"; color: var(--sub); }

.midbar { background: var(--bg); padding: 18px 0 28px; }
.mid-grid {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search { flex: 1; min-width: 0; position: relative; z-index: 6; }
.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--text); }
.logo { display: inline-flex; align-items: baseline; gap: 8px; flex: none; font-weight: 700; font-size: 26px; letter-spacing: 0.04em; line-height: 1; position: relative; z-index: 6; }
.logo-mat { color: var(--third); }
.logo-oto { color: var(--primary); }
.search { position: relative; }
.search svg { position: absolute; left: 14px; top: 13px; }
.search input {
  width: 100%;
  height: 44px;
  border: 0;
  background: #fff;
  padding: 0 88px 0 42px;
  color: var(--text);
  font-size: 14px;
}
.search input::placeholder { color: var(--sub); }
.search-preview {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  max-height: min(70vh, 480px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 30;
}
.search-preview svg { position: static; }
.sp-note { margin: 0; padding: 14px 16px; color: var(--sub); }
.sp-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.sp-item[aria-selected="true"] { background: #fff4e8; }
.sp-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: #f7f7f7;
  display: grid;
  place-items: center;
}
.sp-thumb .part { width: 80%; height: 80%; }
.sp-body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sp-name {
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-meta { font-size: 12px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-price { font-weight: 600; white-space: nowrap; text-align: right; display: flex; flex-direction: column; }
.sp-price s { color: var(--sub); font-weight: 400; font-size: 11px; }
.search-preview .sp-all {
  position: static;
  display: block;
  width: 100%;
  height: 42px;
  background: var(--bg);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0;
  border: 0;
  cursor: pointer;
}
.search-preview .sp-all:hover { background: var(--primary); color: #fff; }
.search button {
  position: absolute;
  right: 0;
  top: 0;
  width: 78px;
  height: 44px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.mid-actions { display: flex; align-items: center; gap: 16px; }
.icon-hit, .cart-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
}
.cart-wrap { position: relative; }
.cart-text { display: flex; flex-direction: column; align-items: flex-start; font-size: 12px; line-height: 1.2; }
.cart-text strong { font-size: 13px; }
.cart-badge {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
  margin-top: -16px;
}

.main-nav { background: var(--primary); margin-top: -16px; position: relative; z-index: 5; }
.nav-wrap { position: relative; min-height: 48px; }
.nav-mark { position: absolute; left: 0; top: -18px; z-index: 2; pointer-events: none; }
.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 4px 0 4px 86px;
  gap: 0;
}
.nav-list > li { position: static; }
.nav-wrap { display: flex; align-items: center; }
.nav-list { flex: 1; min-width: 0; }
.nav-social {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
}
.nav-social:hover, .nav-social:focus-visible { color: var(--secondary); background: rgba(255,255,255,.2); }
.nav-list > li > a, .nav-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 12px;
  color: #fff;
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.nav-list > li > a:hover, .nav-list > li > button:hover,
.nav-list > li.open > button { color: var(--secondary); }
.submenu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  z-index: 20;
}
.nav-list > li.open > .submenu { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 16px; }
.submenu a { display: block; padding: 8px 0; color: var(--text); font-size: 13px; }
.submenu a:hover { color: var(--primary); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 320px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 18px;
  z-index: 30;
}
.drop-title { margin: 0 0 4px; font-weight: 600; }
.drop-sub { margin: 0 0 12px; color: var(--sub); font-size: 13px; }
.login-panel input[type="email"], .login-panel input[type="password"], .page input, .page textarea, .news input, .product-dialog input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--border);
  padding: 0 12px;
  margin-bottom: 10px;
}
.login-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; margin-bottom: 10px; color: var(--sub); }
.login-bottom { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); }
.account-menu a { display: block; padding: 8px 0; border-bottom: 1px solid var(--border); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.btn-block { width: 100%; margin-bottom: 8px; }
.btn-ghost { background: #fff; color: var(--text); border: 1px solid var(--border); }
.btn-fb { background: var(--fb); }
.btn-gg { background: var(--gg); }
.btn:hover { filter: brightness(0.96); }

.hero { position: relative; height: 381px; overflow: hidden; background: #1b1c1e; }
.hero-art { width: 100%; height: 100%; display: block; }
.hero.has-media .hero-art { display: none; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15) 45%, rgba(0,0,0,.25));
  pointer-events: none;
}
.hero-stage { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease, visibility 0s linear .6s;
}
.hero-slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-arrow {
  position: absolute;
  top: calc(50% - 64px);
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 56px;
  border: 0;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.hero-arrow:hover, .hero-arrow:focus-visible { background: var(--primary); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 140px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  padding: 0;
  cursor: pointer;
}
.hero-dots button.on { background: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.on { transition: none; }
}
.finder-wrap { position: relative; z-index: 3; margin-top: -128px; }
.finder-title {
  margin: 0 0 14px;
  text-align: center;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.04em;
}
.finder {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--primary);
  padding: 16px 22px 8px;
  flex-wrap: wrap;
}
.finder-label { color: #fff; font-weight: 600; letter-spacing: 0.06em; min-width: 130px; }
.finder-fields { display: flex; flex: 1; gap: 12px; flex-wrap: wrap; }
.finder select, .finder input[type="search"], .finder-btn {
  height: 50px;
  border: 0;
  background-color: #fff;
  color: var(--sub);
  padding: 0 14px;
  flex: 1;
  min-width: 160px;
}
.finder select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%237a7474' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.finder input[type="search"] { flex: 1.6; color: var(--text); font-size: 14px; }
.finder input[type="search"]::placeholder { color: var(--sub); }
.finder-search { position: relative; display: flex; flex: 1.6; min-width: 160px; }
.finder-search input[type="search"] { flex: 1; min-width: 0; }
/* Öneri adları büyük harfe çevrilir; marka başlığının letter-spacing'i kutuya sızmasın. */
.finder-preview { letter-spacing: normal; }
.finder select:disabled { opacity: 1; color: #b7b1b1; background-color: #fff; }
.finder-btn {
  flex: 1.2;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.block { padding: 36px 0 10px; }
/* Oklar kartların üstüne binmesin: kenarlarda ok genişliği kadar boşluk bırakılır. */
.carousel { position: relative; padding: 0 44px; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 16px; width: 100%; transition: transform .35s ease; }
.card {
  flex: 0 0 calc((100% - 64px) / 5);
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 10px 14px;
  min-width: 0;
}
.card-hit { display: block; text-align: left; width: 100%; border: 0; background: transparent; padding: 0; cursor: pointer; color: inherit; }
/* Fareyle tıklayınca kalan siyah odak çerçevesi gizlenir; klavyeyle gezinmede (Tab) çerçeve görünür. */
.card button, .arrow, .dots button { -webkit-tap-highlight-color: transparent; }
.card button:focus:not(:focus-visible), .arrow:focus:not(:focus-visible), .dots button:focus:not(:focus-visible) { outline: none; }
.card-hit:focus-visible, .arrow:focus-visible, .dots button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.card-visual {
  position: relative;
  aspect-ratio: 1;
  background: #f7f7f7;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}
.card.sold .card-visual { opacity: 0.45; }
.sold-tag, .sale-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 12px;
  font-weight: 600;
}
.sale-tag { background: var(--primary); color: #fff; padding: 2px 6px; }
.card-brand { color: var(--text); font-size: 12px; font-weight: 600; margin-bottom: 4px; }
.card-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
  font-size: 13px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-price { font-weight: 600; }
.card-old { color: var(--sub); text-decoration: line-through; font-weight: 400; font-size: 12px; margin-right: 6px; }
.card-actions { display: flex; gap: 6px; margin-top: 10px; }
.card-actions .btn, .card-actions .ghost {
  flex: 1;
  height: 36px;
  font-size: 12px;
}
.ghost {
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.ghost[disabled], .btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.arrow {
  position: absolute;
  top: 38%;
  width: 34px;
  height: 62px;
  border: 1px solid var(--border);
  background: var(--bg);
  cursor: pointer;
  z-index: 2;
}
.arrow:hover:not([disabled]) { background: var(--primary); color: #fff; }
.arrow[disabled] { opacity: 0.35; cursor: default; }
.arrow.prev { left: 0; }
.arrow.next { right: 0; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots button {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  padding: 0;
  cursor: pointer;
}
.dots button.on { background: var(--primary); }

.cats-block { background: linear-gradient(#fff, #f6f6f6 40%, #fff); padding-bottom: 20px; }
.cat-grid { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.cat-card {
  width: 180px;
  background: #ececec;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 16px;
  color: var(--secondary);
}
.cat-card:hover { outline: 2px solid var(--primary); }
.cat-logo { font-weight: 700; letter-spacing: 0.12em; font-size: 18px; }
.cat-logo.dacia { letter-spacing: 0.2em; }
.cat-logo.oil {
  width: 54px;
  height: 70px;
  border: 3px solid #333;
  border-radius: 6px 6px 10px 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  letter-spacing: 0;
}

.promo {
  margin: 10px auto 10px;
  background: #2b2d31;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
}
.promo span { display: block; color: #ddd; margin-top: 4px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.brand-row button {
  border: 1px solid var(--border);
  background: #fff;
  min-width: 110px;
  height: 64px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8d8d8d;
  cursor: pointer;
}
.brand-row button:hover { color: var(--primary); border-color: var(--primary); }
.seo { padding: 10px 0 40px; max-width: 860px; }
.seo h2 { text-align: left; letter-spacing: 0; font-size: 20px; color: var(--text); }
.seo p { color: var(--sub); line-height: 1.7; margin: 0; }

.site-footer { background: #fafafa; border-top: 1px solid var(--border); margin-top: 20px; }
.trust { padding: 28px 0; border-bottom: 1px solid var(--border); }
.trust-grid, .footer-grid { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: center; }
.trust-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-items div { display: flex; flex-direction: column; }
.trust-items strong { color: var(--primary); }
.trust-items span, .footer-contact a span { color: var(--sub); font-size: 13px; }
.footer-grid { padding: 28px 0; align-items: start; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact a { display: flex; flex-direction: column; }
.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c13584;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}
.socials { display: flex; gap: 8px; }
.socials a.fb { background: var(--fb); }
.socials a.yt { background: #e62117; }
.news p { margin: 0 0 8px; font-weight: 600; letter-spacing: 0.04em; }
.news div { display: flex; }
.news input { flex: 1; margin: 0; border-right: 0; }
.news button { border: 0; background: var(--secondary); color: #fff; padding: 0 16px; cursor: pointer; font-weight: 600; }
.form-note { min-height: 18px; color: #2e7d32; font-weight: 500; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.footer-links h3 { margin: 0 0 8px; font-size: 13px; letter-spacing: 0.06em; }
.footer-links a { display: block; padding: 4px 0; color: var(--sub); font-size: 13px; }
.footer-links a:hover { color: var(--primary); }
.copy { color: var(--sub); font-size: 12px; margin-top: 18px; }
.footer-bottom { background: #fff; border-top: 1px solid var(--border); padding: 14px 0 22px; }
.footer-bottom a { color: var(--primary); font-weight: 600; }

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  z-index: 40;
}
/* WhatsApp'ın solunda, aynı yükseklikte hap biçimli "Tanıtım videosu" butonu. */
.video-float {
  position: fixed;
  right: 86px;
  bottom: 18px;
  height: 56px;
  border: 0;
  border-radius: 28px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  cursor: pointer;
  z-index: 40;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.video-float[hidden] { display: none; }
.video-float-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.video-float-icon svg { display: block; }
.video-float-icon::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.7);
  animation: video-pulse 2.2s ease-out infinite;
}
@keyframes video-pulse {
  0% { transform: scale(.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}
.video-float:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.video-float:focus:not(:focus-visible) { outline: none; }
.video-float:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
@media (max-width: 560px) {
  .video-float { width: 56px; padding: 0; justify-content: center; }
  .video-float-text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .video-float-icon::after { animation: none; opacity: 0; }
  .video-float { transition: none; }
}
.video-dialog {
  width: min(880px, calc(100% - 24px));
  border: 0;
  padding: 20px;
  background: #111;
  color: #fff;
  box-shadow: var(--shadow);
}
.video-dialog::backdrop { background: rgba(0,0,0,.7); }
.video-dialog h2 { color: #fff; text-align: left; margin: 0 40px 14px 0; }
.video-dialog video { width: 100%; max-height: 75vh; display: block; background: #000; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 40; }
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 88vw);
  height: 100%;
  background: #fff;
  z-index: 50;
  overflow: auto;
  padding: 12px 16px 32px;
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-head button { border: 0; background: none; font-size: 28px; cursor: pointer; }
.drawer a, .drawer button.linkish {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  font-size: 14px;
  cursor: pointer;
}
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}
.popup-card {
  width: min(420px, 100%);
  background: #111;
  color: #fff;
  padding: 28px 24px 24px;
  position: relative;
  text-align: center;
}
.popup-card h2 { color: #ff3b30; letter-spacing: 0.04em; line-height: 1.25; font-size: 26px; }
.popup-visual {
  height: 140px;
  margin-bottom: 8px;
  background:
    radial-gradient(circle at 30% 60%, #f58220 0 18px, transparent 19px),
    radial-gradient(circle at 70% 40%, #c0392b 0 28px, transparent 29px),
    linear-gradient(#2b2b2b, #111);
}
.popup-card.has-image {
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.popup-card.has-image .popup-visual { display: none; }
.popup-card.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35) 55%, rgba(0,0,0,.1));
  pointer-events: none;
}
.popup-card.has-image > *:not(.popup-bg) { position: relative; z-index: 2; }
.popup-card.has-image > .popup-x { position: absolute; z-index: 3; }
.popup-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
#popupText { white-space: pre-line; }
.rich { line-height: 1.7; max-width: 860px; }
.rich h2 { text-align: left; font-size: 20px; letter-spacing: 0; color: var(--text); margin: 24px 0 10px; }
.rich h3, .rich h4 { margin: 20px 0 8px; }
.rich a { color: var(--primary); text-decoration: underline; }
.rich ul, .rich ol { padding-left: 22px; }
.rich blockquote { margin: 12px 0; padding: 8px 16px; border-left: 3px solid var(--primary); background: var(--bg); }
.rich table { border-collapse: collapse; width: 100%; margin: 12px 0; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
.rich th { background: var(--bg); }
.popup-x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border: 0;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}
.product-dialog {
  width: min(720px, calc(100% - 24px));
  border: 0;
  padding: 20px;
  box-shadow: var(--shadow);
}
.product-dialog::backdrop { background: rgba(0,0,0,.45); }
.product-layout { display: grid; grid-template-columns: 240px 1fr; gap: 20px; }
.product-layout h3 { margin: 0 0 8px; text-transform: uppercase; }
.qty { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.page { padding: 28px 0 48px; }
.page h1 { font-size: 26px; margin: 0 0 8px; }
.lead { color: var(--sub); margin-top: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.crumb { font-size: 13px; color: var(--sub); margin-bottom: 12px; }
.crumb button { border: 0; background: none; color: var(--primary); cursor: pointer; padding: 0; }
.cart-line { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.cart-line button { border: 0; background: none; color: #c0392b; cursor: pointer; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--secondary);
  color: #fff;
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.part { width: 70%; height: 70%; }

@media (max-width: 1100px) {
  .card { flex-basis: calc((100% - 32px) / 3); }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .topbar-grid { grid-template-columns: 1fr auto; }
  .ticker { display: none; }
  .nav-mark { display: none; }
  .nav-list { padding-left: 0; }
}
@media (max-width: 860px) {
  .menu-btn { display: flex; }
  .main-nav { display: none; }
  .mid-grid { flex-wrap: wrap; }
  .search { order: 4; flex: 1 1 100%; }
  .logo { font-size: 20px; }
  .cart-text { display: none; }
  .finder { display: block; }
  .finder-fields { display: grid; }
  .finder-title { color: var(--text); }
  .finder-wrap { margin-top: 0; }
  .hero { height: 220px; }
  .hero-arrow { top: 50%; width: 32px; height: 44px; font-size: 22px; }
  .hero-arrow.prev { left: 8px; }
  .hero-arrow.next { right: 8px; }
  .hero-dots { bottom: 12px; }
  .card { flex-basis: calc((100% - 16px) / 2); }
  .trust-grid, .footer-grid, .product-layout { grid-template-columns: 1fr; }
  .trust-items, .footer-links, .grid { grid-template-columns: 1fr 1fr; }
  .promo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .card, .grid, .trust-items, .footer-links { grid-template-columns: 1fr; }
  .card { flex-basis: 100%; }
  .carousel { padding: 0 36px; }
  .arrow { width: 30px; }
  .top-contact span { display: none; }
}

.banner {
  background: #fff4e8;
  border: 1px solid var(--primary);
  padding: 10px 14px;
  margin: 12px 0;
}
.card-visual img { width: 100%; height: 100%; object-fit: contain; }
/* Ürün detayı çoklu görsel galerisi: yana kaydırmalı (touch + oklar + noktalar). */
.card-visual.gallery { display: block; overflow: hidden; }
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: grid;
  place-items: center;
  background: #f7f7f7;
}
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.gallery-arrow.prev { left: 6px; }
.gallery-arrow.next { right: 6px; }
.gallery-arrow:disabled { opacity: 0.35; cursor: default; }
.gallery-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.gallery-dots button.on { background: var(--primary); }
.card-code { color: var(--sub); font-size: 12px; margin-bottom: 4px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 22px 0; }
.pager button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.pager button:disabled { opacity: 0.45; cursor: not-allowed; }
/* ---- Sepet / Alışverişi tamamla ---- */
.bag { --ok: #2e7d32; }
.bag h1, .bag h2 { text-align: left; letter-spacing: 0; color: var(--text); }
.bag-muted { color: var(--sub); }
.bag-steps {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 4px 0 22px;
  padding: 0;
  counter-reset: none;
}
.bag-steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--border);
  color: var(--sub);
  font-size: 13px;
  font-weight: 500;
}
.bag-steps li.on { border-color: var(--primary); color: var(--text); }
.bag-steps li.done { border-color: var(--primary); color: var(--primary); }
.bag-step-no {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
}
.bag-steps li.on .bag-step-no, .bag-steps li.done .bag-step-no { background: var(--primary); color: #fff; }

.bag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.bag-card { background: #fff; border: 1px solid var(--border); padding: 20px; }
.bag-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.bag-head h1 { font-size: 24px; margin: 0; }
.bag-count { font-size: 14px; font-weight: 400; color: var(--sub); margin-left: 6px; }

.bag-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--border);
  background: #fff;
  margin-bottom: 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.bag-item:hover { border-color: #e2e2e2; box-shadow: 0 6px 18px rgba(0,0,0,.05); }
.bag-item-open { border: 0; padding: 0; background: none; cursor: pointer; }
.bag-thumb { width: 96px; height: 96px; background: #f7f7f7; display: grid; place-items: center; }
.bag-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bag-thumb .part { width: 64%; height: 64%; }
.bag-item-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bag-brand { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.bag-name {
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: inherit;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bag-name:hover { color: var(--primary); }
.bag-code { font-size: 12px; color: var(--sub); }
.bag-unit { font-size: 13px; }
.bag-unit s { color: var(--sub); font-size: 12px; }
.bag-item-side { display: grid; grid-template-columns: auto 110px 36px; align-items: center; gap: 14px; }
.bag-qty { display: inline-flex; align-items: center; border: 1px solid var(--border); height: 38px; }
.bag-qty-btn {
  width: 36px;
  height: 100%;
  border: 0;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
  color: var(--text);
}
.bag-qty-btn:hover:not(:disabled) { background: var(--bg); color: var(--primary); }
.bag-qty-btn:disabled { color: #c8c8c8; cursor: not-allowed; }
.bag-qty-val { min-width: 34px; text-align: center; font-weight: 600; }
.bag-line-total { text-align: right; font-size: 15px; white-space: nowrap; }
.bag-remove {
  width: 36px;
  height: 36px;
  border: 0;
  background: none;
  color: #9a9a9a;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.bag-remove:hover { color: #c0392b; background: #fdf0ee; }
.bag-continue { display: inline-block; margin-top: 6px; color: var(--primary); font-weight: 500; }
.bag-continue:hover { text-decoration: underline; }

.bag-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.bag-total h2, .checkout h2 { font-size: 17px; margin: 0 0 14px; }
.bag-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.bag-save { color: var(--ok); }
.bag-grand { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 16px; }
.bag-grand strong { color: var(--primary); font-size: 22px; }

.checkout { margin: 0; }
.checkout h2 { margin-bottom: 4px; }
.checkout .hint { color: var(--sub); font-size: 12px; margin: 0 0 12px; }
.bag-fields { display: flex; flex-wrap: wrap; gap: 0 12px; }
.bag-field { flex: 1 1 100%; min-width: 0; }
.bag-field.half { flex-basis: calc(50% - 6px); }
.checkout label { display: block; font-weight: 500; font-size: 13px; margin: 8px 0 4px; }
.checkout .req { color: #c0392b; }
.checkout .opt { color: var(--sub); font-weight: 400; font-size: 12px; }
.page .checkout input, .page .checkout textarea {
  width: 100%;
  height: 44px;
  margin: 0;
  border: 1px solid #dcdcdc;
  background: #fff;
  padding: 0 12px;
  font: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page .checkout textarea { height: auto; min-height: 64px; padding: 10px 12px; resize: vertical; }
.page .checkout input:focus, .page .checkout textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, .18);
}
.page .checkout [aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.bag-submit { height: 52px; margin: 18px 0 0; font-size: 16px; letter-spacing: .02em; }
.bag-submit.busy { opacity: .75; cursor: progress; }
.checkout .form-note { margin: 8px 0 0; min-height: 0; font-size: 13px; }
.bag-trust { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--border); display: grid; gap: 8px; }
.bag-trust li { display: flex; align-items: center; gap: 8px; color: var(--sub); font-size: 12px; }
.bag-trust svg { color: var(--primary); flex: none; }

.bag-empty { text-align: center; padding: 48px 16px 56px; max-width: 460px; margin: 0 auto; }
.bag-empty-icon, .bag-done-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff4e8;
  color: var(--primary);
}
.bag-empty h1 { text-align: center; font-size: 24px; margin: 0 0 8px; }
.bag-empty p { color: var(--sub); margin: 0 0 20px; }

.bag-done { max-width: 560px; margin: 0 auto; text-align: center; padding: 32px 24px; }
.bag-done-icon { background: #eaf6eb; color: var(--ok); }
.bag-done h1 { text-align: center; font-size: 26px; margin: 0 0 8px; }
.bag-done-lead { margin: 0 0 20px; }
.bag-done-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  background: var(--bg);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.bag-done-code span { color: var(--sub); font-size: 13px; }
.bag-done-code strong { font-size: 28px; letter-spacing: .12em; color: var(--text); }
.bag-copy { border: 1px solid var(--border); background: #fff; padding: 6px 10px; font: inherit; font-size: 12px; cursor: pointer; }
.bag-copy:hover { border-color: var(--primary); color: var(--primary); }
.bag-done-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.bag-wa { background: var(--wa); }

@media (max-width: 960px) {
  .bag-grid { grid-template-columns: 1fr; }
  .bag-aside { position: static; }
}
@media (max-width: 560px) {
  .bag-item { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .bag-thumb { width: 72px; height: 72px; }
  .bag-item-side { grid-column: 1 / -1; grid-template-columns: auto 1fr 36px; }
  .bag-field.half { flex-basis: 100%; }
  .bag-steps li { font-size: 12px; }
  .bag-card { padding: 16px; }
  .bag-done-code strong { font-size: 24px; }
}
.form-note.error { color: #c0392b; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.detail-text { white-space: pre-wrap; line-height: 1.6; }
.stock { color: var(--sub); font-size: 13px; }
