:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-strong: #eef2f7;
  --text: #101a26;
  --muted: #5c6b7e;
  --line: #e4e9f0;
  --primary: #1a5cff;
  --primary-strong: #0b3fc4;
  --primary-soft: #eaf1ff;
  --ink: #0b1220;
  --success: #127849;
  --danger: #b42318;
  --warning: #b54708;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 26, 38, 0.05), 0 4px 12px rgba(16, 26, 38, 0.05);
  --shadow: 0 12px 34px rgba(16, 26, 38, 0.09);
  --shadow-lg: 0 24px 60px rgba(16, 26, 38, 0.12);
  /* Tek font ailesi: tüm site (gövde + başlıklar) Manrope kullanır. */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700; /* Tüm site kalın (bold) — ince/normal ağırlık yerine tek kalın görünüm */
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3,
.brand strong {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

/* Form elemanları ve placeholder da kalın (tarayıcı varsayılanı 400 olmasın). */
input, textarea, select, button, optgroup { font-weight: 700; }
::placeholder { font-weight: 700; }

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  top: 8px;
  left: 8px;
  z-index: 20;
  width: auto;
  height: auto;
  padding: 10px 12px;
  clip: auto;
  background: var(--surface);
  border: 1px solid var(--primary);
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}

.topbar__lead {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.topbar__meta span,
.topbar__meta a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.topbar__meta span::before,
.topbar__meta a::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%);
}

.topbar__meta > :first-child::before {
  display: none;
}

.topbar__meta a {
  color: #fff;
  font-weight: 700;
}

.topbar__meta a:hover {
  color: var(--primary-soft);
}

.site-header {
  background: var(--surface);
}

.sticky-header-row {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand img {
  width: 54px;
  height: 54px;
  max-height: 54px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 8px;
}

.brand strong {
  display: block;
  font-size: 20px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  max-width: 220px;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  border-radius: var(--radius);
  overflow: hidden;
}

.search-form input,
.search-form button {
  border: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-form input {
  min-width: 0;
  padding: 0 14px;
  background: transparent;
}

.search-form button {
  padding: 0 18px;
  background: var(--primary);
  color: #fff;
}

.header-actions {
  display: flex;
  gap: 10px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
}

.icon-link b {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.primary-nav {
  border-top: 1px solid var(--line);
}

.primary-nav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  border-color: var(--primary);
}

.hero {
  background: linear-gradient(135deg, #eaf3ff 0%, #ffffff 55%, #f5f7fb 100%);
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 36px;
  align-items: center;
  min-height: 520px;
  padding: 48px 0;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  color: var(--muted);
  max-width: 650px;
}

.hero__actions,
.product-actions,
.buy-box {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero__panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.hero__panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--surface-strong);
  border-radius: var(--radius);
}

.hero__panel h2 {
  margin: 12px 0 6px;
  font-size: 24px;
}

.hero__panel strong {
  font-size: 26px;
}

.page-hero {
  padding: 64px 0;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--primary-soft) 0%, transparent 45%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-hero--success {
  background:
    radial-gradient(120% 140% at 50% 0%, #d9f4e6 0%, transparent 55%),
    #eef9f3;
  text-align: center;
}

.success-hero {
  max-width: 620px;
  margin: 0 auto;
}

.success-hero .eyebrow {
  color: var(--success);
}

.success-check {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  box-shadow: 0 12px 30px rgba(18, 120, 73, 0.3);
  animation: success-pop 420ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes success-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .success-check { animation: none; }
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.section {
  padding: 56px 0;
}

.section--muted {
  background: var(--surface-strong);
}

.section__heading {
  margin-bottom: 24px;
}

.section__heading h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: 0;
}

.section__heading--inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.button--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(26, 92, 255, 0.24);
}

.button--primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(26, 92, 255, 0.3);
}

.search-form button:hover {
  background: var(--primary-strong);
}

.button--secondary {
  background: var(--ink);
  color: #fff;
}

.button--secondary:hover {
  background: #000;
  transform: translateY(-2px);
}

.button--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line);
}

.button--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.button--full {
  width: 100%;
  margin-top: 10px;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

/* Kategoriler yatay carousel */
.cat-carousel {
  position: relative;
}

.cat-carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-carousel__track::-webkit-scrollbar {
  display: none;
}

.cat-carousel__track .category-card {
  flex: 0 0 230px;
  min-height: 0;
  scroll-snap-align: start;
}

.cat-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.cat-carousel__nav:hover {
  background: var(--ink);
  color: #fff;
}

.cat-carousel__nav--prev {
  left: -14px;
}

.cat-carousel__nav--next {
  right: -14px;
}

@media (max-width: 860px) {
  .cat-carousel__track .category-card {
    flex-basis: 200px;
  }

  .cat-carousel__nav {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .cat-carousel__nav--prev {
    left: 0;
  }

  .cat-carousel__nav--next {
    right: 0;
  }
}

@media (max-width: 480px) {
  .cat-carousel__track .category-card {
    flex-basis: 160px;
  }
}

.category-card,
.product-card,
.summary-card,
.cart-panel,
.checkout-form-panel,
.success-card,
.product-info-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-card {
  display: grid;
  gap: 12px;
  padding: 20px 16px;
  align-content: start;
  min-height: 180px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.category-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--surface-strong);
  color: var(--primary);
}

.category-card__icon svg {
  width: 32px;
  height: 32px;
}

.category-card__icon--image {
  overflow: hidden;
  background: #f6f8fc;
  border: 1px solid var(--line);
}

.category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 7px;
}

.category-card:hover .category-card__icon:not(.category-card__icon--image) {
  background: var(--primary);
  color: #fff;
}

.category-card strong,
.category-card small {
  display: block;
}

.category-card small {
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.product-card__image {
  position: relative;
  display: block;
  padding: 20px;
  background: var(--surface-strong);
}

.product-card__image img {
  transition: transform 260ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.04);
}

.product-card__image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.product-card__media {
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 700;
}

.product-card__media .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.badge--sale {
  background: var(--danger);
  color: #fff;
}

.badge--new {
  background: var(--ink);
  color: #fff;
}

.product-card__fav {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.fav-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  backdrop-filter: blur(4px);
  transition: transform 150ms ease, color 150ms ease, border-color 150ms ease;
}

.fav-btn:hover {
  transform: scale(1.08);
  color: var(--danger);
  border-color: var(--danger);
}

.fav-btn.is-active {
  color: var(--danger);
  border-color: var(--danger);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.product-card h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card h2 a:hover {
  color: var(--primary-strong);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-meta span {
  padding: 5px 9px;
  background: var(--surface-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.product-meta__stock {
  background: #e7f6ee !important;
  color: var(--success) !important;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 12px;
}

.product-card__foot .price {
  margin: 0 0 12px;
}

.product-card__add {
  width: 100%;
  gap: 8px;
  min-height: 44px;
}

.product-meta--detail span {
  font-size: 14px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: auto;
}

.price__old {
  color: var(--muted);
  text-decoration: line-through;
}

.price__current {
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
}

.product-actions form {
  flex: 1 1 130px;
}

.product-actions .button {
  width: 100%;
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.split-band h2 {
  margin: 0;
  font-size: 36px;
}

.split-band p {
  color: var(--muted);
}

.stats {
  display: grid;
  gap: 12px;
}

.stats span {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  background: var(--surface-strong);
  border-radius: var(--radius);
}

.corporate-notice {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.corporate-notice__intro h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.corporate-notice__body {
  display: grid;
  gap: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.corporate-notice__body p {
  margin: 0;
}

.corporate-notice__body h3 {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
}

.corporate-notice__body strong {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 860px) {
  .corporate-notice {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .corporate-notice {
    padding: 20px;
  }

  .corporate-notice__body {
    font-size: 14px;
    line-height: 1.65;
  }

  .corporate-notice__body h3 {
    font-size: 18px;
  }
}

.shop-layout,
.cart-layout,
.checkout-layout,
.success-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.cart-layout,
.checkout-layout,
.success-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.filters,
.summary-card {
  position: sticky;
  top: 138px;
}

.filters {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.filters h2,
.summary-card h2,
.cart-panel h2,
.checkout-form-panel h2,
.success-card h2,
.product-info-grid h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.filters a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 700;
  transition: background 150ms ease, color 150ms ease;
}

.filters__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
}

.filters__ico svg {
  width: 20px;
  height: 20px;
}

.filters__name {
  flex: 1;
  min-width: 0;
}

.filters a.is-active .filters__ico {
  color: #fff;
}

.filters__count {
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.filters a:hover {
  background: var(--surface-strong);
  color: var(--ink);
}

.filters a.is-active {
  background: var(--primary);
  color: #fff;
}

.filters a.is-active .filters__count {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* Alt kategori grubu (açılır/kapanır) — parent satırı normal kategori gibi görünür */
.filters__group {
  display: grid;
  gap: 2px;
}

/* Chevron TIKLAMA butonu (ok): küçük layout ayak izi (negatif margin) ama geniş
   dokunma alanı (30px). İsmin 2 satır kalması için ismin genişliğini azaltmaz.
   Sadece OK tıklanınca alt menü açılır/kapanır; ada tıklamak kategori sayfasına gider. */
.filters__chevron-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 32px;
  margin: -8px -10px -8px -9px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--muted);
  transition: background 150ms ease, color 150ms ease;
}

.filters__chevron-btn:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink);
}

.filters__parent.is-active .filters__chevron-btn {
  color: rgba(255, 255, 255, 0.85);
}

.filters__parent.is-active .filters__chevron-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.filters__chevron {
  width: 14px;
  height: 14px;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filters__group.is-open .filters__chevron {
  transform: rotate(180deg);
}

/* Açılır/kapanır animasyon: grid-template-rows 0fr -> 1fr ile GERÇEK yüksekliği
   iki yönde de akıcı animasyonlar (max-height tahmini yok, profesyonel geçiş). */
.filters__sub-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.filters__group.is-open .filters__sub-wrap {
  grid-template-rows: 1fr;
}

.filters__sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  margin-left: 15px;
  padding-left: 13px;
  border-left: 2px solid var(--line);
  transition: opacity 260ms ease;
}

.filters__group.is-open .filters__sub {
  opacity: 1;
}

.filters .filters__sub a {
  padding: 8px 10px;
  font-size: 13.5px;
}

.filter-note {
  margin-top: 12px;
  padding: 14px;
  background: var(--primary-soft);
  border: 1px solid #cfe0ff;
  border-radius: var(--radius-sm);
  color: var(--primary-strong);
  font-size: 14px;
}

.filter-note strong {
  display: block;
  margin-bottom: 4px;
}

.filter-note span {
  color: var(--muted);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 220px) minmax(160px, 220px) auto;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  min-height: 44px;
  padding: 10px 12px;
}

textarea {
  resize: vertical;
}

input,
select,
textarea {
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.16);
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

.result-count {
  margin: 0 0 16px;
  color: var(--muted);
}

.empty-state {
  padding: 48px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0 auto 20px;
  max-width: 380px;
}

.product-detail__grid,
.product-info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.product-gallery {
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-gallery__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--surface-strong) 70%);
  cursor: zoom-in;
}

.product-gallery__frame img,
.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius);
  display: block;
  transition: transform 120ms ease-out;
}

.product-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px rgba(180, 35, 24, 0.28);
}

.product-gallery__hint {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}

@media (pointer: coarse) {
  .product-gallery__frame { cursor: default; }
  .product-gallery__hint { display: none; }
}

/* Sepet: ücretsiz kargo ilerleme çubuğu */
.ship-progress {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.ship-progress.is-reached {
  background: #eaf8f1;
  border-color: rgba(18, 120, 73, 0.22);
}

.ship-progress__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--primary-strong);
}

.ship-progress.is-reached .ship-progress__head {
  color: var(--success);
}

.ship-progress__icon {
  display: inline-flex;
  flex-shrink: 0;
}

.ship-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ship-progress__bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--primary-strong));
  transition: width 500ms ease;
}

.ship-progress.is-reached .ship-progress__bar span {
  background: linear-gradient(90deg, #16a34a, var(--success));
}

/* Ödeme adımları göstergesi */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0 0 6px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  counter-reset: step;
  overflow-x: auto;
}

.checkout-steps__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: max-content;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.checkout-steps__item:not(:last-child)::after {
  content: "";
  flex: 1;
  height: 2px;
  min-width: 24px;
  border-radius: 2px;
  background: var(--line);
}

.checkout-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-steps__item.is-done {
  color: var(--success);
}

.checkout-steps__item.is-done .checkout-steps__num {
  background: #eaf8f1;
  color: var(--success);
}

.checkout-steps__item.is-done:not(:last-child)::after {
  background: var(--success);
}

.checkout-steps__item.is-active {
  color: var(--primary-strong);
}

.checkout-steps__item.is-active .checkout-steps__num {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(26, 92, 255, 0.14);
}

@media (max-width: 560px) {
  .checkout-steps__label {
    display: none;
  }
  .checkout-steps__item {
    flex: 0 0 auto;
  }
  .checkout-steps__item:not(:last-child)::after {
    min-width: 40px;
  }
}

.product-summary h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.product-summary__short {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.breadcrumb {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.breadcrumb .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: var(--muted);
  transition: color 150ms ease;
}

.breadcrumb a:hover {
  color: var(--primary-strong);
}

.breadcrumb [aria-current] {
  color: var(--ink);
  font-weight: 700;
}

.breadcrumb__sep,
.breadcrumb span[aria-hidden] {
  color: var(--line);
}

.product-meta--detail {
  margin: 16px 0 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.pill--stock {
  background: #e7f6ee;
  color: var(--success);
}

.pill--accent {
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.buy-card {
  margin-top: 4px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.buy-box {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  gap: 12px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: var(--surface);
}

.qty-stepper__btn {
  width: 44px;
  height: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
}

.qty-stepper__btn:hover {
  background: var(--surface-strong);
}

.qty-stepper input {
  width: 46px;
  height: 48px;
  border: 0;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  font-weight: 700;
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-add {
  flex: 1 1 auto;
  gap: 8px;
}

.buy-now {
  flex: 0 0 auto;
}

.wish-form {
  margin-bottom: 16px;
}

.buy-wish {
  width: 100%;
  gap: 8px;
}

.buy-wish.is-active {
  border-color: var(--danger);
  color: var(--danger);
}

.buy-trust {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.buy-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.buy-trust svg {
  color: var(--success);
  flex-shrink: 0;
}

.product-info-grid article {
  padding: 24px;
}

.spec-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt {
  color: var(--muted);
  font-weight: 700;
}

.spec-list dd {
  margin: 0;
}

.cart-panel,
.checkout-form-panel,
.success-card,
.summary-card {
  padding: 20px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto auto 36px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.cart-item:hover {
  border-color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.cart-item__img {
  display: block;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
}

.cart-item h2 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.3;
}

.cart-item__info p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
}

.cart-item__unit {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.cart-item__total {
  font-family: var(--font-display);
  font-size: 17px;
  white-space: nowrap;
}

.cart-item .qty-stepper__btn {
  width: 36px;
  height: 40px;
  font-size: 18px;
}

.cart-item .qty-stepper input {
  width: 40px;
  height: 40px;
}

.cart-item__remove {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

.cart-item__remove:hover {
  border-color: var(--danger);
  background: var(--danger);
  color: #fff;
}

.cart-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.coupon-form {
  display: grid;
  gap: 8px;
  margin: 18px 0 8px;
}

.coupon-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.totals {
  display: grid;
  gap: 10px;
}

.totals div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.totals__grand {
  font-size: 20px;
}

.summary-items {
  margin-bottom: 12px;
}

.summary-items span {
  color: var(--muted);
}

.summary-note {
  color: var(--muted);
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.form-grid__full {
  grid-column: 1 / -1;
}

.flash {
  margin: 16px auto 0;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}

.flash--success {
  border-color: rgba(18, 120, 73, 0.25);
  background: #eaf8f1;
  color: var(--success);
}

.flash--error {
  border-color: rgba(180, 35, 24, 0.25);
  background: #fff0ed;
  color: var(--danger);
}

.flash--info {
  border-color: rgba(24, 90, 180, 0.22);
  background: #eef4fd;
  color: #1a4d8f;
}

.flash.is-settled {
  opacity: 0.92;
}

.site-footer {
  background: var(--ink);
  color: #dbe7f5;
  padding: 42px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 28px;
}

.footer-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 7px;
  margin-bottom: 12px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 17px;
}

.site-footer a,
.site-footer p {
  display: block;
  margin: 0 0 8px;
  color: #c3cfdd;
}

.site-footer a {
  transition: color 150ms ease;
}

.site-footer a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: #dbe7f5;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #aebbd0;
  font-size: 14px;
}

/* Ana vitrin düzeni */
.container {
  width: min(1280px, calc(100% - 48px));
}

@media (min-width: 861px) {
  .sticky-header-row {
    position: sticky;
    top: 0;
    z-index: 30;
    box-shadow: 0 6px 20px rgba(16, 26, 38, 0.06);
  }
}

.header-main {
  grid-template-columns: auto minmax(320px, 1fr) auto;
  min-height: 84px;
  gap: 28px;
  padding: 0;
}

.brand {
  min-width: 0;
  gap: 14px;
}

.brand img {
  width: 62px;
  height: 62px;
  max-height: 62px;
}

.brand strong {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand small {
  display: none;
}

.search-form {
  grid-template-columns: minmax(0, 1fr) 52px;
  min-height: 54px;
  border-radius: 999px;
  background: var(--surface-strong);
  border-color: var(--line);
}

.category-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 54px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.category-pill::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 14px;
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  transform: translateY(-2px) rotate(45deg);
}

.search-form input {
  padding: 0 20px;
  font-size: 15px;
}

.search-form button {
  align-self: center;
  justify-self: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
}

.header-actions {
  align-items: center;
  gap: 10px;
}

.icon-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 50%;
  border-color: var(--line);
  background: var(--surface);
  font-size: 22px;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.icon-link:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}

.icon-link--cart {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.icon-link--cart:hover {
  background: #000;
}

.icon-link b {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  background: var(--primary);
  border: 2px solid var(--surface);
}

.primary-nav {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.primary-nav__inner {
  min-height: 58px;
  justify-content: flex-start;
  overflow: visible;
}

.primary-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
  overflow-x: auto;
}

.primary-nav a {
  min-height: 58px;
  padding: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.primary-nav a.is-active,
.primary-nav a:hover {
  color: var(--ink);
  border-color: var(--primary);
}

.nav-selectors {
  display: none;
  align-items: center;
  gap: 12px;
  margin-left: 24px;
}

.nav-selectors span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  min-height: 58px;
  padding: 0 24px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.hero--reference {
  padding: 30px 0 0;
  background: #fff;
  border-bottom: 0;
}

.hero-frame {
  position: relative;
  min-height: 668px;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(58% 78% at 84% 18%, color-mix(in srgb, var(--hero-accent, #1a5cff) 34%, transparent) 0%, transparent 60%),
    radial-gradient(48% 62% at 8% 92%, rgba(26, 92, 255, 0.20) 0%, transparent 55%),
    linear-gradient(135deg, #0a1120 0%, #111d36 52%, #0b1424 100%);
  isolation: isolate;
  transition: background 320ms ease;
}

/* İnce teknoloji ızgara dokusu + üst ışıltı */
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(80% 80% at 60% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 80% at 60% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 7;
  max-width: 780px;
  padding: 178px 0 0 176px;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-copy a,
.hero-copy button {
  pointer-events: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.hero-label::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--hero-accent, var(--primary));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hero-accent, #1a5cff) 30%, transparent);
}

.hero-copy h1 {
  margin: 28px 0 18px;
  color: #ffffff;
  font-size: clamp(46px, 3.7vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
}

.hero-copy p {
  max-width: 480px;
  margin: 0 0 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.hero-button {
  min-width: 208px;
  min-height: 58px;
  border-radius: 18px;
  font-size: 17px;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--hero-accent, #1a5cff) 45%, transparent);
}

.hero-button:hover {
  box-shadow: 0 16px 42px color-mix(in srgb, var(--hero-accent, #1a5cff) 55%, transparent);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  pointer-events: auto;
}

.hero-dots {
  position: relative;
  z-index: 9;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.hero-dots button {
  width: 36px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.hero-dots button.is-active {
  width: 58px;
  background: var(--hero-accent, #4f7eff);
}

.hero-product {
  position: absolute;
  z-index: 3;
  right: 6%;
  bottom: 46px;
  display: grid;
  place-items: center;
  width: min(39vw, 600px);
  height: 520px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.hero-product__panel {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  height: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 60px rgba(16, 26, 38, 0.14);
}

.hero-product img {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 74%;
  max-height: 70%;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(16, 26, 38, 0.14));
}


.hero-product__caption {
  position: absolute;
  z-index: 3;
  left: 28px;
  right: 28px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.10);
}

.hero-product__caption span,
.hero-product__caption strong {
  display: block;
}

.hero-product__caption span {
  color: #667085;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-product__caption strong {
  color: #111;
  font-size: 18px;
}

.hero-price {
  position: absolute;
  z-index: 6;
  left: -10px;
  top: -10px;
  display: grid;
  place-items: center;
  width: 122px;
  height: 124px;
  border: 7px solid #fff;
  border-radius: 50%;
  background: var(--hero-accent, var(--primary));
  color: #fff;
  text-align: center;
  gap: 3px;
  box-shadow: 0 18px 40px rgba(16, 26, 38, 0.22);
}

.hero-price span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.85;
}

.hero-price strong {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hero-arrow {
  position: absolute;
  z-index: 8;
  top: 52%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.10);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: var(--hero-accent, #4f7eff);
  color: #fff;
  transform: translateY(-2px);
}

.hero-arrow--left {
  left: 68px;
}

.hero-arrow--right {
  right: 50px;
}

.hero-frame.is-changing .hero-copy,
.hero-frame.is-changing .hero-product {
  opacity: 0;
  transform: translateY(8px);
}

.hero-frame.is-changing .hero-price {
  opacity: 0;
}

.purchase-toast {
  position: fixed;
  z-index: 40;
  left: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  width: 398px;
  min-height: 128px;
  overflow: visible;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.16);
  transition: opacity 180ms ease, transform 180ms ease;
}

.purchase-toast.is-changing {
  opacity: 0.2;
  transform: translateY(4px);
}

.purchase-toast.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
}

.purchase-toast img {
  width: 120px;
  height: 128px;
  object-fit: contain;
  padding: 20px;
  border-right: 1px solid #e5e7eb;
  mix-blend-mode: multiply;
}

.purchase-toast span,
.purchase-toast small {
  display: block;
  color: #555;
  font-size: 13px;
}

.purchase-toast strong {
  display: block;
  margin: 4px 0;
  color: #000;
  font-size: 24px;
  line-height: 1.1;
}

.purchase-toast button {
  position: absolute;
  right: -12px;
  top: -10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--primary-strong);
}

.value-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.value-card span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

.document-heading {
  max-width: 780px;
}

.document-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.document-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.document-card {
  display: grid;
  grid-template-columns: minmax(150px, 210px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.document-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.document-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  transition: transform 180ms ease;
}

.document-card__media:hover img {
  transform: scale(1.02);
}

.document-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.document-card__label {
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.document-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.document-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.document-card .button {
  min-height: 42px;
  margin-top: 4px;
  padding: 0 18px;
  font-size: 14px;
}

@media (max-width: 980px) {
  .document-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .document-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .document-card {
    grid-template-columns: 1fr;
    align-content: start;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-sm);
  }

  .document-card__media {
    width: 100%;
    border-radius: 9px;
  }

  .document-card__body {
    gap: 7px;
  }

  .document-card__label {
    font-size: 10px;
    letter-spacing: 0.7px;
  }

  .document-card h3 {
    font-size: 14px;
    line-height: 1.28;
  }

  .document-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .document-card .button {
    width: 100%;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }
}

.benefit-strip {
  padding: 26px 0;
  background: var(--surface);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

/* Marquee ikinci kopya set: masaüstünde gizli, yalnızca mobil kayan şeritte görünür.
   (.benefit-grid div specificity'sini geçmek için .benefit-grid ile nitelendirildi.) */
.benefit-grid .benefit-dupe { display: none; }

.benefit-grid div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.benefit-grid div:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.benefit-text {
  display: block;
  min-width: 0;
}

.benefit-text strong {
  display: block;
  font-size: 15px;
}

.benefit-text span {
  display: block;
  color: #6b7280;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .header-main {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand strong {
    font-size: 24px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .primary-nav__links {
    gap: 22px;
  }

  .hero-copy {
    padding-left: 90px;
  }

  .hero-product {
    right: 2%;
    width: min(46vw, 560px);
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .footer-bottom,
  .section__heading--inline {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__meta {
    display: none;
  }

  .topbar__lead {
    text-align: center;
    width: 100%;
    font-size: 12px;
  }

  .header-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 6px;
    min-height: auto;
    padding: 12px 0;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    max-height: 36px;
  }

  .brand strong {
    font-size: 18px;
  }

  .brand small {
    display: none;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }

  .search-form {
    flex: 1 1 100%;
    order: 5;
    grid-template-columns: 1fr 46px;
    min-height: 48px;
    border-radius: 12px;
  }

  .category-pill {
    display: none;
  }

  .icon-link {
    width: 40px;
    height: 40px;
    min-height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    font-size: 19px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    border-radius: 50%;
    flex: 0 0 auto;
    font-size: 0;
    color: var(--ink);
  }

  .menu-toggle::before {
    content: "";
    width: 18px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  .menu-toggle[aria-expanded="true"] {
    background: var(--ink);
    color: #fff;
  }

  .primary-nav {
    display: none;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav__inner {
    display: grid;
    gap: 0;
    padding: 6px 0;
  }

  .primary-nav__links {
    display: grid;
    gap: 0;
  }

  .primary-nav a {
    min-height: 48px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a:last-child {
    border-bottom: 0;
  }

  .hero__grid,
  .split-band,
  .shop-layout,
  .cart-layout,
  .checkout-layout,
  .success-layout,
  .product-detail__grid,
  .product-info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: 0;
  }

  .hero--reference {
    padding-top: 16px;
  }

  .hero-frame {
    min-height: auto;
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .hero-frame::before {
    inset: 0;
  }

  .hero-frame::after {
    display: none;
  }

  .hero-copy {
    padding: 0;
    max-width: none;
  }

  .hero-copy h1 {
    font-size: 38px;
    margin: 16px 0 12px;
  }

  .hero-copy p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .hero-button {
    min-height: 50px;
  }

  .hero-product {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 380px);
    height: auto;
    min-height: 260px;
    margin: 18px auto 0;
  }

  .hero-product__panel {
    height: 260px;
    border-radius: 22px;
  }

  .hero-product img {
    min-height: 0;
    max-height: 230px;
  }

  .hero-product__caption {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }

  .hero-price {
    left: auto;
    right: -8px;
    top: auto;
    bottom: -8px;
    width: 96px;
    height: 96px;
    border-width: 7px;
    transform: none;
  }

  .hero-arrow {
    top: auto;
    bottom: 156px;
    display: grid;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .hero-arrow--left {
    left: 22px;
  }

  .hero-arrow--right {
    right: 22px;
  }

  .purchase-toast {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    min-height: 0;
    grid-template-columns: 52px 1fr auto;
    border-radius: 14px;
  }

  .purchase-toast img {
    width: 52px;
    height: 52px;
    padding: 8px;
  }

  .purchase-toast span,
  .purchase-toast small {
    font-size: 11px;
  }

  .purchase-toast strong {
    margin: 2px 0;
    font-size: 15px;
  }

  .purchase-toast button {
    right: -8px;
    top: -8px;
    width: 26px;
    height: 26px;
    font-size: 18px;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters,
  .summary-card {
    position: static;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr) 32px;
    grid-template-areas:
      "img info remove"
      "img qty total";
    gap: 8px 12px;
    align-items: center;
  }

  .cart-item__img {
    grid-area: img;
    align-self: start;
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-item__info {
    grid-area: info;
  }

  .cart-item .qty-stepper {
    grid-area: qty;
    justify-self: start;
  }

  .cart-item__total {
    grid-area: total;
    justify-self: end;
  }

  .cart-item__remove {
    grid-area: remove;
    justify-self: end;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .section {
    padding: 38px 0;
  }

  .toolbar,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .category-card {
    padding: 10px;
    min-height: 0;
  }

  .category-card strong {
    font-size: 14px;
  }

  .category-card small {
    font-size: 12px;
  }

  .product-card__body {
    padding: 12px;
    gap: 8px;
  }

  .product-card h2 {
    font-size: 14px;
  }

  .product-card__body > p {
    display: none;
  }

  .product-card .eyebrow {
    font-size: 10px;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .product-actions form {
    width: 100%;
  }

  .product-actions .button {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    font-size: 13px;
  }

  .brand strong {
    font-size: 18px;
  }

  .topbar {
    font-size: 14px;
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-label {
    min-height: 34px;
    padding: 0 16px;
  }

  .hero-price {
    display: none;
  }

  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .benefit-grid div {
    min-height: 0;
    padding: 14px;
  }

  .benefit-grid strong {
    font-size: 14px;
  }

  .benefit-grid span {
    font-size: 12px;
  }

  .hero__panel,
  .cart-panel,
  .checkout-form-panel,
  .success-card,
  .summary-card {
    padding: 16px;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .buy-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
  }

  .qty-stepper {
    grid-row: 1;
  }

  .buy-add {
    grid-row: 1;
  }

  .buy-now {
    grid-column: 1 / -1;
  }

  .coupon-form div {
    grid-template-columns: 1fr;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===== Ödeme (checkout) ===== */
.checkout-login-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--primary-soft);
  border: 1px solid #cfe0ff;
  border-radius: var(--radius);
  color: var(--primary-strong);
  font-weight: 700;
}

.checkout-login-hint .button {
  min-height: 40px;
}

.checkout-form {
  display: grid;
  gap: 20px;
}

.checkout-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.checkout-block__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-block__head h2 {
  margin: 0;
  font-size: 18px;
}

.checkout-block__head h2 small {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.checkout-step {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.checkout-form .form-grid {
  margin-bottom: 0;
}

.checkout-note {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.pay-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pay-method {
  position: relative;
  cursor: pointer;
}

.pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-method__body {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.pay-method:hover .pay-method__body {
  border-color: var(--muted);
}

.pay-method input:checked + .pay-method__body {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: 0 0 0 1px var(--primary) inset;
}

.pay-method input:focus-visible + .pay-method__body {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.pay-method__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--ink);
}

.pay-method input:checked + .pay-method__body .pay-method__icon {
  background: #fff;
  color: var(--primary-strong);
}

.pay-method__text {
  display: grid;
  min-width: 0;
}

.pay-method__text strong {
  font-size: 15px;
}

.pay-method__text small {
  color: var(--muted);
  font-size: 12px;
}

.card-fields {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.card-fields[hidden] {
  display: none;
}

.card-preview {
  aspect-ratio: 1.585 / 1;
  padding: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1a2740 0%, #0b1220 55%, #22406e 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.card-preview__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-preview__chip {
  width: 42px;
  height: 30px;
  border-radius: 6px;
  background: linear-gradient(135deg, #e9c46a, #c9962f);
}

.card-preview__brand {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 1px;
  opacity: 0.9;
}

.card-preview__number {
  font-size: 19px;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

.card-preview__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.card-grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.card-grid__full {
  grid-column: 1 / -1;
}

.card-grid input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 15px;
}

.checkout-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.checkout-trust svg {
  color: var(--success);
  flex-shrink: 0;
}

.checkout-submit {
  min-height: 54px;
  font-size: 16px;
}

.summary-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--surface-strong);
  border-radius: 8px;
  padding: 4px;
}

.summary-item__info {
  display: grid;
  min-width: 0;
}

.summary-item__info span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-item__info small {
  color: var(--muted);
  font-size: 12px;
}

.summary-item strong {
  font-size: 14px;
  white-space: nowrap;
}

.summary-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.summary-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.summary-badges svg {
  color: var(--success);
}

@media (max-width: 720px) {
  .pay-methods {
    grid-template-columns: 1fr;
  }

  .card-fields {
    grid-template-columns: 1fr;
  }

  .card-preview {
    max-width: 320px;
  }
}

.content-page {
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 48px;
}

.content-page h2 {
  position: relative;
  margin: 34px 0 14px;
  padding-left: 16px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.content-page h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(var(--primary), var(--primary-strong));
}

.content-page h2:first-child {
  margin-top: 0;
}

.content-page p,
.content-page li {
  margin: 0 0 14px;
}

.content-page a {
  color: var(--primary-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.content-page a:hover {
  color: var(--primary);
}

.content-page ul {
  margin: 0 0 16px;
  padding-left: 4px;
  list-style: none;
}

.content-page ul li {
  position: relative;
  padding-left: 24px;
}

.content-page ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

@media (max-width: 620px) {
  .content-page {
    padding: 28px 24px;
  }
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.faq-list details:hover {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
}

.faq-list details[open] {
  border: 1px solid var(--primary);
  box-shadow: 0 8px 24px rgba(26, 92, 255, 0.08);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background:
    linear-gradient(var(--primary), var(--primary)) center/12px 2px no-repeat,
    linear-gradient(var(--primary), var(--primary)) center/2px 12px no-repeat,
    var(--primary-soft);
  transition: transform 220ms ease, background-color 220ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(135deg);
}

.faq-list p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.contact-card h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--ink);
  font-weight: 700;
}

a.contact-row {
  color: var(--ink);
}

a.contact-row:hover {
  color: var(--primary-strong);
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--primary-strong);
}

.contact-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.social-links a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form .flash {
  margin-bottom: 16px;
}

.contact-form button {
  margin-top: 6px;
}

@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto;
}

.auth-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%),
    linear-gradient(160deg, var(--ink), #1a2740);
  color: #fff;
}

.auth-aside img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-bottom: 22px;
}

.auth-aside h2 {
  margin: 0 0 20px;
  font-size: 22px;
  color: #fff;
}

.auth-benefits {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.auth-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.4;
}

.auth-benefits svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #6ee7a8;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

@media (max-width: 780px) {
  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 460px;
  }

  .auth-aside {
    display: none;
  }
}

.auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.auth-form input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
}

.auth-form input:disabled {
  background: var(--surface-strong);
  color: var(--muted);
}

.auth-switch {
  margin: 4px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.account-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
  align-items: start;
}

.account-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 20px;
}

.account-card h2 {
  margin: 0 0 16px;
  font-size: 18px;
}

.account-card .auth-form {
  padding: 0;
  border: 0;
  box-shadow: none;
  max-width: none;
}

.account-empty {
  color: var(--muted);
  margin-bottom: 16px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 18px;
}

.order-item summary {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--ink);
}

.order-item summary::-webkit-details-marker {
  display: none;
}

.order-item__date,
.order-item__total {
  font-weight: 700;
  color: var(--muted);
}

.order-item__status {
  justify-self: start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface-strong);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.order-item__body {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: grid;
  gap: 8px;
}

.order-item__row {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 860px) {
  .account-grid {
    grid-template-columns: 1fr;
  }

  .order-item summary {
    grid-template-columns: 1fr 1fr;
    row-gap: 6px;
  }
}

/* 404 sayfası */
.error-page__inner {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.error-page__code {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(80px, 18vw, 150px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(160deg, var(--primary), var(--primary-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.error-page h1 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 4vw, 34px);
}

.error-page p {
  color: var(--muted);
  margin: 0 auto 26px;
  max-width: 460px;
}

.error-page__search {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 18px;
}

.error-page__search input {
  flex: 1;
  border-radius: 999px;
  padding: 0 20px;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 30px;
}

.error-page__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.error-page__cats a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: border-color 150ms ease, color 150ms ease;
}

.error-page__cats a:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

/* ============ Müşteri revizyonları ============ */

/* Bayi başvuru alanları (kayıt formu) */
/* Bayi (toptan) hesabı başvuru paneli — profesyonel */
.dealer-apply {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.dealer-apply__toggle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  background:
    radial-gradient(120% 180% at 100% 0%, var(--primary-soft) 0%, transparent 60%),
    var(--surface);
}

.dealer-apply__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dealer-apply__switch {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--line);
  transition: background 180ms ease;
}

.dealer-apply__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 26, 38, 0.25);
  transition: transform 180ms ease;
}

.dealer-apply__toggle input:checked ~ .dealer-apply__switch {
  background: var(--primary);
}

.dealer-apply__toggle input:checked ~ .dealer-apply__switch::after {
  transform: translateX(20px);
}

.dealer-apply__toggle input:focus-visible ~ .dealer-apply__switch {
  box-shadow: 0 0 0 3px rgba(26, 92, 255, 0.25);
}

.dealer-apply__label strong {
  display: block;
  font-size: 15px;
}

.dealer-apply__label small {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.dealer-apply__body {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
}

.dealer-apply__body[hidden] {
  display: none;
}

.dealer-apply__benefits {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dealer-apply__benefits li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 700;
}

.dealer-apply__benefits svg {
  color: var(--success);
  flex-shrink: 0;
}

.dealer-apply__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dealer-apply__grid label {
  display: grid;
  gap: 5px;
}

.dealer-apply__grid span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

/* ============================================================
   Header iletişim açılır kutusu (telefon ikonu)
   ============================================================ */
.contact-pop { position: relative; display: inline-flex; }
/* <button> olduğu için tarayıcı varsayılanlarını sıfırla; görünüm .icon-link
   (52px yuvarlak) ile birebir aynı kalsın — background/border ezilmemeli. */
.contact-pop__btn {
  cursor: pointer;
  font: inherit;
  color: inherit;
  border-style: solid;
  border-width: 1px;
  -webkit-appearance: none;
  appearance: none;
}
.contact-pop__btn[aria-expanded="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.contact-pop__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  width: 270px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 6px;
}
.contact-pop__panel[hidden] { display: none; }
.contact-pop__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.contact-pop__head strong { font-size: 14px; }
.contact-pop__close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  padding: 0 2px;
}
.contact-pop__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text);
  transition: background .15s ease;
}
.contact-pop__row:hover { background: var(--bg); }
.contact-pop__row span:last-child { display: grid; line-height: 1.25; min-width: 0; }
.contact-pop__row small { font-size: 11px; color: var(--muted); }
.contact-pop__row strong { font-size: 13.5px; font-weight: 700; word-break: break-word; }
.contact-pop__ico {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-pop__ico--call { background: var(--primary-soft); color: var(--primary-strong); }
.contact-pop__ico--wa { background: rgba(37, 211, 102, .14); color: #1da851; }
.contact-pop__ico--mail { background: var(--bg); color: var(--muted); }
.contact-pop__all {
  margin-top: 2px;
  padding: 6px 8px 2px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}
.contact-pop__backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(11, 18, 32, .45);
}
@media (max-width: 640px) {
  /* Mobilde alttan tam genişlik sayfa: taşma/kesilme olmaz */
  .contact-pop__panel {
    position: fixed;
    top: auto;
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    padding: 14px;
    border-radius: 16px;
  }
  .contact-pop__row { padding: 11px 8px; }
  .contact-pop__ico { width: 34px; height: 34px; }
}

.dealer-apply__filehint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.dealer-apply__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 12.5px;
  line-height: 1.5;
}

.dealer-apply__note svg {
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 520px) {
  .dealer-apply__grid {
    grid-template-columns: 1fr;
  }
}

/* Fiyat Teklifi Al – floating buton + panel */
.quote-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(31, 74, 143, 0.32);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.quote-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(31, 74, 143, 0.4);
}

.quote-panel {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 46;
  width: min(360px, calc(100vw - 32px));
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.quote-panel[hidden] {
  display: none;
}

/* "Bize Ulaşın" – sağ kenar, alt tarafta sabit buton + panel.
   Panel açılınca buton yerinden oynamasın diye alttan hizalanır (flex-end). */
.reach-fab {
  position: fixed;
  right: 0;
  bottom: 96px;
  z-index: 44;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.reach-fab__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px 13px 14px;
  border: none;
  border-radius: 12px 0 0 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  box-shadow: -6px 8px 22px rgba(11, 63, 196, 0.3);
  transition: transform 160ms ease, box-shadow 160ms ease, padding 160ms ease;
}

.reach-fab__btn:hover {
  transform: translateX(-3px);
  box-shadow: -10px 12px 30px rgba(11, 63, 196, 0.4);
}

.reach-fab__btn svg {
  flex-shrink: 0;
}

.reach-panel {
  width: min(300px, calc(100vw - 24px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}

.reach-panel[hidden] {
  display: none;
}

.reach-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.reach-panel__head strong {
  font-size: 15px;
}

.reach-panel__close {
  border: none;
  background: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
  padding: 2px 4px;
}

.reach-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.reach-contact:first-of-type {
  border-top: none;
}

.reach-contact__info strong {
  display: block;
  font-size: 13.5px;
}

.reach-contact__info span {
  font-size: 12px;
  color: var(--muted);
}

.reach-contact__actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.reach-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  text-decoration: none;
  transition: transform 140ms ease;
}

.reach-btn:hover {
  transform: translateY(-1px);
}

.reach-btn--call {
  width: 34px;
  padding: 0;
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.reach-btn--wa {
  background: #25d366;
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .reach-fab__btn span {
    display: none;
  }

  .reach-fab__btn {
    padding: 14px;
    border-radius: 50% 0 0 50%;
  }
}

.quote-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.quote-panel__head strong {
  font-size: 16px;
}

.quote-panel__close {
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.quote-panel__field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.quote-panel__field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.quote-panel__field select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.quote-results {
  display: grid;
  gap: 8px;
}

.quote-note {
  margin: 0;
  padding: 8px 0;
  font-size: 13px;
  color: var(--muted);
}

.quote-result {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 150ms ease, background 150ms ease;
}

.quote-result:hover {
  border-color: var(--primary);
  background: var(--surface);
}

.quote-result img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.quote-result__info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.quote-result__info strong {
  font-size: 13px;
  line-height: 1.3;
}

.quote-result__info small {
  font-size: 11px;
  color: var(--muted);
}

.quote-result__price {
  font-size: 14px;
  color: var(--primary-strong);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .quote-fab {
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    max-width: calc(100vw - 28px);
    min-height: 48px;
    padding: 12px 15px;
    gap: 7px;
    font-size: 13px;
    white-space: nowrap;
  }
  .quote-panel {
    right: 16px;
    left: 16px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    width: auto;
  }
}

/* Kampanya vurgu linkleri */
.filters__campaign {
  color: var(--danger);
  font-weight: 700;
}

.primary-nav__campaign {
  color: var(--danger);
  font-weight: 700;
}

/* Yeni gelenler banner'ı */
.arrival-banner {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.arrival-item {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.arrival-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.arrival-item__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.arrival-item__media {
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  background: var(--surface-strong);
  overflow: hidden;
}

.arrival-item__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.arrival-item__body {
  display: grid;
  gap: 4px;
}

.arrival-item__body small {
  color: var(--muted);
  font-size: 12px;
}

.arrival-item__body strong {
  font-size: 14px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.arrival-item__cta {
  color: var(--primary-strong);
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .arrival-banner {
    grid-auto-columns: minmax(160px, 70%);
  }
}

/* Hesap sayfası genel bakış */
.account-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.account-stat {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.account-stat__label {
  font-size: 13px;
  color: var(--muted);
}

.account-stat__value {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 720px) {
  .account-overview {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Hesabım > Adreslerim */
.account-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.account-card__head h2 {
  margin: 0;
}

.account-muted {
  font-size: 13px;
  color: var(--muted);
}

.address-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 18px;
}

.address-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
}

.address-card.is-default {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary) inset;
}

.address-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.address-card__head strong {
  font-size: 15px;
}

.address-badge {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 11px;
  font-weight: 700;
}

.address-card__name {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 14px;
}

.address-card__body {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.address-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.button--sm {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.address-del {
  color: var(--danger);
}

.address-form-wrap {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.address-form-wrap > summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--primary-strong);
  list-style: none;
  padding: 6px 0;
}

.address-form-wrap > summary::-webkit-details-marker {
  display: none;
}

.address-form-wrap > summary::before {
  content: "+ ";
  font-weight: 800;
}

.address-form-wrap[open] > summary::before {
  content: "− ";
}

.address-form-wrap .form-grid {
  margin: 12px 0;
}

.address-default-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

.address-default-toggle input {
  width: 18px;
  height: 18px;
}

@media (max-width: 620px) {
  .address-list {
    grid-template-columns: 1fr;
  }
}

/* Bayi haritası (gerçek il bazlı Türkiye SVG) */
.dealer-map {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.dealer-map__canvas {
  width: 100%;
}

.dealer-map__svg {
  width: 100%;
  height: auto;
  display: block;
}

.dealer-map__loading {
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
}

/* İl grupları: varsayılan sönük, bayi olan iller marka renginde */
.map-province path {
  fill: var(--surface-strong);
  stroke: #fff;
  stroke-width: 0.8;
  transition: fill 160ms ease;
}

.map-province:hover path {
  fill: color-mix(in srgb, var(--primary) 22%, var(--surface-strong));
  cursor: pointer;
}

.map-province.has-dealer path {
  fill: var(--primary);
  cursor: pointer;
}

.map-province.has-dealer:hover path {
  fill: var(--primary-strong);
}

.dealer-map__empty {
  text-align: center;
  color: var(--muted);
  margin: 14px 0 0;
}

.icon-link--cargo img {
  display: block;
  width: 39px;
  height: auto;
  max-height: 32px;
  object-fit: contain;
}

@media (max-width: 480px) {
  .icon-link--cargo img {
    width: 32px;
    max-height: 24px;
  }
}

.cargo-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
}

.cargo-brand img {
  display: block;
}

.cargo-brand strong {
  color: var(--text);
}

/* Ürün detay sayfasında fiyatı baskın yap (kartları etkilemez) */
.product-summary .price {
  align-items: baseline;
  gap: 12px;
  margin: 4px 0 6px;
}

.product-summary .price__current {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-summary .price__old {
  font-size: 18px;
}

.map-popover {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: min(320px, calc(100% - 40px));
  max-height: 320px;
  overflow-y: auto;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

.map-popover[hidden] {
  display: none;
}

.map-popover__close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--muted);
}

.map-popover__city {
  margin: 0 0 12px;
  font-size: 16px;
  padding-right: 20px;
}

.map-popover__empty {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.map-dealer {
  display: grid;
  gap: 3px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.map-dealer:first-of-type {
  border-top: none;
  padding-top: 0;
}

.map-dealer strong {
  font-size: 14px;
}

.map-dealer__addr {
  font-size: 13px;
  color: var(--muted);
}

.map-dealer__link {
  font-size: 13px;
  color: var(--primary-strong);
  font-weight: 700;
}

@media (max-width: 640px) {
  .map-popover {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

/* Havale / EFT bilgi kartı (checkout) */
.bank-transfer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
}

.bank-transfer__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bank-transfer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--primary);
}

.bank-transfer__head strong {
  display: block;
  font-size: 15px;
}

.bank-transfer__head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.bank-transfer__details {
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.bank-transfer__details > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 8px;
  align-items: center;
}

.bank-transfer__details dt {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.bank-transfer__details dd {
  margin: 0;
  font-weight: 700;
}

.bank-transfer__iban {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.bank-transfer__copy {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  color: var(--primary-strong);
}

.bank-transfer__copy:hover {
  border-color: var(--primary);
}

.bank-transfer__pending {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 480px) {
  .bank-transfer__details > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* Kargo takip sayfası */
.tracking-layout {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  gap: 24px;
  align-items: start;
}

.tracking-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.tracking-form label {
  display: grid;
  gap: 6px;
}

.tracking-form span {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.tracking-form input {
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
}

.tracking-result {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.tracking-result--empty {
  color: var(--muted);
}

.tracking-result__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.tracking-result__head h2 {
  margin: 4px 0 0;
}

.tracking-result__grid {
  display: grid;
  gap: 14px;
  margin: 0;
}

.tracking-result__grid > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.tracking-result__grid > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tracking-result__grid dt {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.tracking-result__grid dd {
  margin: 0;
}

.tracking-pending {
  color: var(--muted);
  font-size: 14px;
}

.order-item__tracking {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
}

.order-item__tracking a {
  color: var(--primary-strong);
  font-weight: 700;
}

.success-tracking-note {
  margin: 4px 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.success-tracking-note a {
  color: var(--primary-strong);
  font-weight: 700;
}

@media (max-width: 820px) {
  .tracking-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hesap sekmeleri (account.php) + Bayi Paneli bölümleri
   ========================================================================== */
.account-tabs__nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.account-tabs__btn {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: color 150ms ease, border-color 150ms ease;
}

.account-tabs__btn:hover {
  color: var(--text, #1a1a2e);
}

.account-tabs__btn.is-active {
  color: var(--primary, #303090);
  border-bottom-color: var(--primary, #303090);
}

.account-tabs__logout {
  margin-left: auto;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
}

.account-tabs__logout:hover {
  color: var(--danger, #c0392b);
}

.account-tab {
  display: none;
}

.account-tab.is-active {
  display: block;
}

@media (max-width: 640px) {
  .account-tabs__nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .account-tabs__logout {
    margin-left: 12px;
  }
}

.dealer-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.dealer-summary__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 12px);
  padding: 14px 16px;
  background: var(--surface-2, #f7f8fb);
}

.dealer-summary__item span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.dealer-summary__item strong {
  font-size: 20px;
  font-weight: 700;
}

/* Bakiye USD değerinin altındaki ₺ karşılığı (bayi paneli) */
.account-stat__sub,
.dealer-summary__sub {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}

.dealer-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.dealer-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 10px);
  font: inherit;
}

.dealer-toolbar select {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 10px);
  font: inherit;
  background: var(--surface);
}

.dealer-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm, 12px);
}

.dealer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

.dealer-table th,
.dealer-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.dealer-table thead th {
  background: var(--surface-2, #f7f8fb);
  font-weight: 700;
  font-size: 13px;
  color: var(--muted);
  position: sticky;
  top: 0;
}

.dealer-table tbody tr:last-child td {
  border-bottom: 0;
}

.dealer-table .dealer-price-cell {
  font-weight: 700;
  white-space: nowrap;
}

.dealer-table .is-debit {
  color: #c0392b;
  font-weight: 700;
}

.dealer-table .is-credit {
  color: #1f8a4c;
  font-weight: 700;
}

.dealer-table .is-overdue {
  color: #c0392b;
  font-weight: 700;
}

.dealer-qty {
  width: 76px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  text-align: center;
}

.dealer-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(48, 48, 144, 0.1);
  color: var(--primary, #303090);
  vertical-align: middle;
}

@media (max-width: 640px) {
  .dealer-summary {
    grid-template-columns: 1fr;
  }
}

/* Fiyat listesi yazdırma: yalnızca aktif sekme (fiyat listesi) görünür; site
   çerçevesi, sekme çubuğu, özet şeridi ve .no-print öğeleri gizlenir. */
@media print {
  .site-header,
  .sticky-header-row,
  .primary-nav,
  .breadcrumb,
  .page-hero,
  .site-footer,
  .quote-fab,
  .quote-panel,
  .purchase-toast,
  .account-overview,
  .account-tabs__nav,
  .no-print {
    display: none !important;
  }

  .account-tab .account-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .dealer-table-wrap {
    overflow: visible;
    border: 0;
  }

  .dealer-table {
    min-width: 0;
  }
}

/* ============================================================
   Fiyat Teklifi Alın (perakende müşteri → il bazlı bayi iletişimi)
   ============================================================ */
.product-card__quote { width: 100%; justify-content: center; }
.buy-quote { display: grid; gap: 10px; }
.buy-quote__lead { margin: 0; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.buy-quote .buy-add { width: 100%; justify-content: center; }

.qr-modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.qr-modal[hidden] { display: none; }
.qr-modal__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, 0.55); }
.qr-modal__box { position: relative; z-index: 1; width: 100%; max-width: 460px; max-height: 88vh; overflow-y: auto; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px; animation: qrPop .28s cubic-bezier(.22, 1, .36, 1); }
@keyframes qrPop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.qr-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: none; background: var(--bg); border-radius: 50%; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; transition: background .15s, color .15s; }
.qr-modal__close:hover { background: #fee2e2; color: #dc2626; }
.qr-modal__head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; padding-right: 30px; }
.qr-modal__icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); }
.qr-modal__head h3 { margin: 0; font-size: 1.2rem; }
.qr-modal__product { margin: 2px 0 0; font-size: 0.9rem; color: var(--primary); font-weight: 700; }
.qr-modal__product:empty { display: none; }
.qr-modal__lead { margin: 6px 0 16px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.qr-modal__field { display: grid; gap: 6px; margin-bottom: 16px; }
.qr-modal__field span { font-size: 0.85rem; font-weight: 700; color: var(--text); }
.qr-modal__field select { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; background: #fff; }
.qr-modal__field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.qr-results { display: grid; gap: 12px; }
.qr-empty, .qr-none { color: var(--muted); font-size: 0.92rem; text-align: center; padding: 14px; background: var(--bg); border-radius: var(--radius-sm); line-height: 1.55; }
.qr-none strong { color: var(--text); }
.qr-none a { color: var(--primary); font-weight: 700; }
.qr-city-head { margin: 0 0 2px; font-size: 0.9rem; color: var(--muted); }
.qr-city-head strong { color: var(--text); }
.qr-dealer { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px; display: grid; gap: 6px; transition: border-color .15s, box-shadow .15s; }
.qr-dealer:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.qr-dealer__name { font-size: 1rem; color: var(--ink); }
.qr-dealer__addr { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.qr-dealer__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.qr-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 700; text-decoration: none; transition: transform .12s, filter .15s; }
.qr-btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.qr-btn--call { background: var(--primary-soft); color: var(--primary-strong); }
.qr-btn--wa { background: #25d366; color: #fff; }
.qr-btn--mail { background: var(--bg); color: var(--text); border: 1px solid var(--line); }
body.qr-open { overflow: hidden; }
@media (max-width: 520px) { .qr-modal__box { padding: 20px; } }

/* ============================================================
   1) Geniş marka görseli (logo + yazı tek görselde)
   ============================================================ */
.brand--full { gap: 0; min-width: 0; }
.brand--full img {
  width: auto;
  height: 68px;
  max-height: 68px;
  max-width: 360px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: none;
  object-fit: contain;
}

/* ============================================================
   2) Pazarlama başlıklarında baş harfler büyük.
   Yalnızca bölüm/hero başlıklarına uygulanır — ürün kartı başlıkları
   ("JCID iPhone 11 ...") KAPSAM DIŞI, yoksa "iPhone" -> "Iphone" bozulurdu.
   lang="tr" olduğundan tarayıcı Türkçe büyük harfe çevirir (ör. "iletişim" -> "İletişim").
   ============================================================ */
.section__heading h2,
.page-hero h1,
.hero-copy h1 { text-transform: capitalize; }

/* ============================================================
   3) Mobil header düzeni: logo+menü tek satır, arama tam satır,
   ikonlar tam satır (hiçbir şey küçültülmeden düzgün hizalanır).
   ============================================================ */
@media (max-width: 860px) {
  .header-main { align-items: center; gap: 10px 8px; }
  /* Satır 1: logo + arama + hamburger yan yana. Satır 2: ikonlar. */
  .brand { order: 1; flex: 0 0 auto; min-width: 0; }
  .brand--full img { height: 46px; max-height: 46px; max-width: 150px; }
  .search-form {
    order: 2;
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
  }
  .search-form input { min-width: 0; }
  .menu-toggle { order: 3; margin-left: 0; flex: 0 0 auto; }
  .header-actions {
    order: 4;
    flex: 1 1 100%;
    justify-content: space-between;
    gap: 8px;
  }
}

/* ============================================================
   4) Mobil avantaj şeridi: tek yatay satırda soldan sağa kayan
   (marquee) animasyon. Masaüstünde normal 4'lü grid kalır.
   ============================================================ */
@media (max-width: 860px) {
  .benefit-strip { overflow: hidden; }
  .benefit-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    max-width: none;
    gap: 0;
    padding: 0;
    margin: 0;
    animation: benefitMarquee 26s linear infinite;
  }
  .benefit-grid:hover,
  .benefit-grid:active { animation-play-state: paused; }
  .benefit-grid div {
    flex: 0 0 auto;
    width: 230px;
    margin-right: 12px;
    min-height: 66px;
  }
  .benefit-grid div:hover { transform: none; box-shadow: none; }
  .benefit-dupe { display: flex !important; }
}
@keyframes benefitMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
