:root {
  /* Hızlı Paketle ile aynı marka ailesi: aynı kırmızı vurgu + nötr kart/arka plan sistemi. */
  --color-bg: #f8f7f7;
  --color-surface: #ffffff;
  --color-surface-2: #f8f7f7;
  --color-text: #232323;
  --color-muted: #8a8a8a;
  --color-border: #e8e8e8;
  --color-border-soft: #eeeeee;
  --color-accent: #a80000;
  --color-accent-dark: #8f0000;
  --color-accent-dim: #c65959;
  --color-green: #2f8f5b;
  --color-amber: #c07a2a;
  --radius: 12px;
  --wrap-width: 1120px;
  --shadow-soft: 0 10px 34px rgba(0, 0, 0, 0.06);
  --shadow-accent: 0 10px 28px rgba(168, 0, 0, 0.14);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 320px);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Başlıklar site genelinde Playfair Display ile — daha zarif, editoryal bir his için.
   Fiyat/buton/form gibi işlevsel metinler okunabilirlik için Inter'de kalıyor. */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.005em;
}

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}
.logo-img { height: 40px; width: auto; display: block; }
.nav-menu-box {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 4px;
  background: var(--color-bg);
  font-size: 14px;
  font-weight: 600;
}
.nav-menu-box a {
  padding: 7px 16px;
  border-radius: 999px;
}
.nav-menu-box a:hover { background: rgba(0,0,0,0.04); }
.nav-menu-box a.active {
  background: var(--color-text);
  color: #fff;
}
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
}
button.menu-toggle { display: none; }
.icon-btn {
  width: 40px; height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.icon-btn svg, .cart-link svg { width: 19px; height: 19px; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] {
  border-color: var(--color-accent-dim);
  color: var(--color-accent);
  background: rgba(168, 0, 0, 0.06);
}
.cart-link {
  position: relative;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.cart-link:hover {
  border-color: var(--color-accent-dim);
  color: var(--color-accent);
  background: rgba(168, 0, 0, 0.06);
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 2px solid var(--color-surface);
  transition: transform 0.2s ease;
}
.cart-count[hidden] { display: none; }
.cart-count.bump { animation: cart-bump 0.35s ease; }
@keyframes cart-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Mobil header: hamburger menü + ortalanmış logo — nav pilleri dar ekranda header'ı
   dolduruyor ve sepet ikonunu görünmez kılıyordu, bu yüzden mobilde açılır menüye taşındı. */
@media (max-width: 640px) {
  .site-header-inner { grid-template-columns: 1fr auto 1fr; }
  button.menu-toggle { display: inline-flex; justify-self: start; }
  .logo { justify-self: center; }
  .header-actions { justify-self: end; }
  .nav-menu-box {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 20px 14px;
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    font-size: 15px;
  }
  .nav-menu-box.open { display: flex; }
  .nav-menu-box a { padding: 12px 14px; border-radius: 8px; text-align: left; }
}

/* Search panel */
.search-panel {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  animation: search-panel-in 0.18s ease;
}
@keyframes search-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-panel-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
}
.search-panel-icon { width: 18px; height: 18px; color: var(--color-muted); flex: 0 0 auto; }
.search-panel-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  background: none;
  color: var(--color-text);
}
.search-panel-form input::placeholder { color: var(--color-muted); }

/* Hero slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: calc(100vh - 64px);
  min-height: 520px;
  max-height: 860px;
  background: #111;
  overflow: hidden;
}
@media (max-width: 640px) {
  /* Görsel geniş/panoramik (2.35:1) — vh tabanlı yükseklik dar ekranlarda aşırı kırpmaya yol
     açıyor (ürünler kenarlardan taşıyor), bu yüzden mobilde görselin oranına uygun sabit bir
     yükseklik kullanılıyor. */
  .hero-slider { height: 320px; min-height: 0; max-height: none; }
}
.hero-slider-frame { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.7s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 45%);
}
.hero-slide-caption {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  letter-spacing: 0.015em;
  text-align: center;
  white-space: nowrap;
  padding: 0 24px 40px;
}
@media (max-width: 640px) {
  .hero-slide-caption { font-size: 24px; padding-bottom: 28px; white-space: normal; }
}
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.hero-slider-arrow.prev { left: 16px; }
.hero-slider-arrow.next { right: 16px; }
.hero-slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
}
.hero-dot.active { background: #fff; }

/* Scroll-in fade */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Hero */
.hero {
  padding: 64px 0 32px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 12px;
}
.hero p {
  color: var(--color-muted);
  font-size: 16px;
  margin: 0;
}

/* Category grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  padding: 24px 0 64px;
}
.category-card-visual {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card-visual:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-accent);
}
.category-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.category-card-visual:hover img { transform: scale(1.04); }

.page-heading-tight { padding: 8px 0; }
.page-heading-tight h2 { margin: 0; font-size: 22px; }
.page-heading-center { text-align: center; padding-top: 48px; }
.page-heading-center h2 { font-size: 26px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.btn-outline:hover { background: var(--color-surface-2); box-shadow: none; }
.section-cta { text-align: center; margin: 4px 0 48px; }

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-size: 12.5px;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { color: var(--color-border); }
.breadcrumb-current { color: var(--color-text); font-weight: 600; }

/* Related products */
.related-products { padding: 8px 0 64px; }
.related-products h2 { font-size: 20px; margin: 0 0 16px; }

/* Page heading (category pages) */
.page-heading {
  padding: 40px 0 8px;
}
.page-heading h1 { margin: 0 0 6px; font-size: 28px; }
.page-heading p { margin: 0; color: var(--color-muted); }
.empty-state { color: var(--color-muted); padding: 40px 0; }
.empty-state-cart { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding: 24px 0 64px;
}
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: var(--color-border-soft);
}
.product-card-image {
  aspect-ratio: 1 / 1;
  background: #f2f0ec;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.product-card:hover .product-card-image img { transform: scale(1.08); }
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--color-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(168,0,0,0.25);
}
.product-card-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #eee, #f7f7f5);
}
.product-card-image-placeholder.large { aspect-ratio: 1/1; border-radius: var(--radius); }
.product-card-body { padding: 14px 16px 18px; }
.product-card-body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}
.product-card-subtitle {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--color-muted);
}
.product-card-link { display: block; }
.product-card-cart-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
  padding: 8px 16px 16px;
}
.qty-stepper-sm { height: 36px; flex: 0 0 auto; }
.qty-stepper-sm .qty-btn { width: 30px; font-size: 15px; }
.qty-stepper-sm input {
  width: 32px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.product-card-cart-btn { flex: 1; padding: 0 10px; font-size: 12.5px; white-space: nowrap; }
.product-card-out-of-stock {
  margin: 0;
  padding: 8px 16px 16px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-accent);
}
.product-card-price {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
}

/* Mobilde ürün kartları: tek sütun yerine 2 sütun, boyutlar yarıya iniyor. */
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 0 40px; }
  .product-card-body { padding: 8px 10px 10px; }
  .product-card-body h3 {
    font-size: 12px; margin: 0 0 4px; line-height: 1.3;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .product-card-subtitle { font-size: 10.5px; margin: 0 0 4px; }
  .product-card-price { font-size: 13px; }
  .product-badge { font-size: 9px; padding: 3px 7px; top: 6px; left: 6px; }
  .product-card-cart-form { padding: 6px 10px 10px; gap: 6px; flex-direction: column; align-items: stretch; }
  .qty-stepper-sm { height: 30px; align-self: center; }
  .qty-stepper-sm .qty-btn { width: 26px; font-size: 14px; }
  .qty-stepper-sm input { width: 30px; font-size: 12px; }
  .product-card-cart-btn { flex: none; width: 100%; font-size: 12px; padding: 8px 6px; }
  .product-card-out-of-stock { padding: 6px 10px 10px; font-size: 11px; }
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  padding: 40px 0 80px;
}
@media (max-width: 760px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
}
.product-main-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-main-image-frame:hover .product-main-image {
  transform: scale(1.35);
}
.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.product-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  line-height: 0;
}
.product-thumb img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  display: block;
}
.product-thumb.active { border-color: var(--color-accent); }
.product-thumb.active img { border-color: transparent; }
.product-title-row { display: flex; align-items: flex-start; }
.product-info h1 { font-size: 24px; margin: 0 0 12px; }

.product-chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 13px;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}
.chip-label { color: var(--color-muted); font-weight: 600; }
.chip-static { cursor: default; }
.favorite-btn { cursor: pointer; color: var(--color-muted); transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.favorite-btn:hover { border-color: var(--color-accent-dim); color: var(--color-accent); }
.favorite-icon { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.favorite-btn.active { color: var(--color-accent); border-color: var(--color-accent-dim); background: rgba(168, 0, 0, 0.06); }
.favorite-btn.active .favorite-icon { fill: var(--color-accent); stroke: var(--color-accent); }
.product-price { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.product-sold-count { margin: 0 0 20px; font-size: 13px; color: var(--color-muted); font-weight: 600; }

.variant-picker { margin-bottom: 24px; }
.variant-picker-label { font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.variant-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: inline-block;
  cursor: pointer;
}
.swatch-selected { border-color: var(--color-accent); box-shadow: 0 0 0 2px rgba(168,0,0,0.15); }
.swatch-out { opacity: 0.35; }
.variant-current-label { margin: 8px 0 0; font-size: 13px; color: var(--color-muted); }

.product-description {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.6;
}

.add-to-cart-form { display: flex; align-items: stretch; gap: 16px; }
.qty-field { font-size: 13px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.qty-field-label { font-weight: 600; color: var(--color-muted); }
.qty-stepper-lg { height: 46px; border-radius: var(--radius); }
.qty-stepper-lg .qty-btn { width: 46px; font-size: 20px; }
.qty-stepper-lg input {
  flex: 1;
  width: 100%;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}
.add-to-cart-form .btn { flex: 1; text-align: center; }
.out-of-stock { color: var(--color-accent); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-muted);
  font-size: 13px;
  margin-top: 40px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  padding: 44px 20px 32px;
}
@media (max-width: 820px) {
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .site-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.site-footer-col { display: flex; flex-direction: column; gap: 8px; }
.site-footer-brand { font-size: 16px; font-weight: 800; color: var(--color-text); margin: 0; }
.site-footer-desc { margin: 0; line-height: 1.6; max-width: 320px; }
.site-footer-heading { margin: 0 0 2px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text); }
.site-footer-col a { color: var(--color-muted); font-weight: 500; }
.site-footer-col a:hover { color: var(--color-accent); }
.site-footer-bottom {
  border-top: 1px solid var(--color-border-soft);
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-footer-bottom p { margin: 0; }
.site-footer-secure { font-weight: 600; color: var(--color-text); }

/* Legal pages */
.legal-content { padding: 24px 0 80px; }
.legal-content h1 { font-size: 25px; margin: 0 0 6px; }
.legal-content .legal-updated { color: var(--color-muted); font-size: 13px; margin: 0 0 28px; }
.legal-content h2 { font-size: 16.5px; margin: 30px 0 10px; }
.legal-content p { margin: 0 0 12px; color: var(--color-text); font-size: 14px; line-height: 1.7; }
.legal-content ul { margin: 0 0 12px; padding-left: 20px; color: var(--color-text); font-size: 14px; line-height: 1.7; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--color-accent); text-decoration: underline; }
.legal-example {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13.5px !important;
}
.legal-table-wrap { overflow-x: auto; margin: 0 0 16px; }
.legal-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.legal-table th, .legal-table td { text-align: left; padding: 9px 12px; border: 1px solid var(--color-border); white-space: nowrap; }
.legal-table th { background: var(--color-surface-2); font-weight: 700; }

/* Toptan Satış */
.wholesale-card {
  max-width: 420px;
  margin: 32px auto 80px;
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.wholesale-label { margin: 0 0 12px; color: var(--color-muted); font-size: 14px; }
.wholesale-phone {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}
.wholesale-note { margin: 0; color: var(--color-muted); font-size: 13px; }

/* Shared */
.wrap.narrow { max-width: 760px; }
.btn-small { padding: 8px 14px; font-size: 13px; }
.btn-full { width: 100%; text-align: center; }
.link-button {
  background: none; border: none; padding: 0;
  color: var(--color-muted); text-decoration: underline;
  font-size: 13px; cursor: pointer;
}
.optional { color: var(--color-muted); font-weight: 400; font-size: 12px; }

.form-errors {
  background: #fdecec;
  border: 1px solid #f3b8b8;
  color: #8a1c1c;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 14px;
}
.form-errors ul { margin: 0; padding-left: 18px; }

/* Cart */
.cart-list { display: flex; flex-direction: column; gap: 16px; padding: 16px 0; }
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-row-image {
  width: 72px; height: 72px;
  background: #f2f0ec;
  border-radius: 6px;
  overflow: hidden;
}
.cart-row-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-body h3 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.cart-row-variant { margin: 0 0 4px; font-size: 12.5px; color: var(--color-muted); }
.cart-row-price { margin: 0; font-size: 13px; color: var(--color-muted); }
.cart-row-warning { margin: 4px 0 0; font-size: 12px; color: var(--color-accent); }
.cart-row-qty {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start;
  font-size: 11.5px; font-weight: 600; color: var(--color-muted);
}
.cart-row-qty-label { font-size: 11.5px; font-weight: 600; color: var(--color-muted); }
.qty-stepper {
  display: flex; align-items: stretch;
  border: 1px solid var(--color-border); border-radius: 6px;
  overflow: hidden;
}
.qty-btn {
  width: 28px;
  border: none;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
}
.qty-btn:hover { background: var(--color-border); }
.qty-stepper input {
  width: 40px; padding: 6px 4px;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  text-align: center;
  font-size: 14px; font-weight: 400; color: var(--color-text);
  /* Tarayıcı native artır/azalt oklarını gizle — yerine hep görünen .qty-btn'ler kullanılıyor. */
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-row-total { font-weight: 700; font-size: 14px; white-space: nowrap; }

.cart-summary {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 24px 0 64px;
  border-top: 1px solid var(--color-border);
  margin-top: 16px;
}
.cart-summary-lines p { margin: 0 0 6px; font-size: 14px; color: var(--color-muted); }
.cart-summary-lines p strong { color: var(--color-text); }
.cart-total-line { font-size: 17px; margin-top: 10px !important; }
.cart-total-line strong { font-weight: 800; }

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 24px 0 64px;
}
@media (max-width: 700px) {
  .checkout-layout { grid-template-columns: 1fr; }
}
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.checkout-form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 600;
}
.checkout-form input, .checkout-form textarea, .checkout-form select {
  font-family: inherit;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.narrow-form { max-width: 420px; }
.invoice-type-field { display: flex; flex-direction: column; gap: 8px; }
.invoice-type-label { font-size: 13px; font-weight: 600; }
.invoice-type-options { display: flex; gap: 16px; }
.invoice-type-option { flex-direction: row !important; align-items: center; gap: 6px !important; font-weight: 400 !important; }
.invoice-type-option input { width: auto; }
.invoice-corporate-fields { display: flex; flex-direction: column; gap: 14px; padding: 14px; background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius); }
.invoice-corporate-fields[hidden] { display: none; }

.checkout-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  height: fit-content;
}
.checkout-summary h2 { font-size: 16px; margin: 0 0 14px; }
.checkout-summary-list { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checkout-summary-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--color-muted);
}
.checkout-summary-image {
  width: 44px; height: 44px; flex-shrink: 0;
  background: #f2f0ec;
  border-radius: 6px;
  overflow: hidden;
}
.checkout-summary-image img { width: 100%; height: 100%; object-fit: cover; }
.checkout-summary-name { flex: 1; }
.checkout-summary-price { white-space: nowrap; }
.checkout-summary-list em { color: var(--color-text); font-style: normal; }
.checkout-summary-line {
  display: flex; justify-content: space-between;
  margin: 0 0 6px; font-size: 13.5px; color: var(--color-muted);
}
.checkout-summary-total {
  display: flex; justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin: 10px 0 0;
  font-size: 15px;
}

/* Order status */
.order-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
}
.order-card-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.order-number { font-weight: 700; font-size: 16px; }
.status-badge {
  font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 999px;
  background: #f0ece4; color: #7a6a3f;
}
.status-badge.status-paid, .status-badge.status-delivered { background: #e5f5ea; color: #226b3e; }
.status-badge.status-cancelled { background: #fdecec; color: #8a1c1c; }
.status-badge.status-shipped, .status-badge.status-preparing { background: #eaf0fb; color: #2a4d8f; }
.status-badge.status-return-approved { background: #e5f5ea; color: #226b3e; }
.status-badge.status-return-rejected { background: #fdecec; color: #8a1c1c; }
.status-badge.status-return-pending { background: #fdf3e3; color: #966a1c; }

.order-items-list { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.order-items-list li { display: flex; justify-content: space-between; font-size: 14px; }
.order-items-list em { color: var(--color-muted); font-style: normal; }
.order-total {
  border-top: 1px solid var(--color-border);
  padding-top: 12px; margin: 0 0 16px; font-size: 15px;
}
.order-meta p { margin: 0 0 6px; font-size: 13.5px; color: var(--color-muted); }
.order-meta strong { color: var(--color-text); }
.order-lookup-link { text-align: center; padding-bottom: 48px; }
.return-card h2 { margin: 0 0 14px; font-size: 16px; }
.return-meta { font-size: 13px; color: var(--color-muted); margin: 6px 0; }
.return-meta strong { color: var(--color-text); }

/* 404 */
.not-found { text-align: center; padding: 96px 0 120px; }
.not-found-code {
  font-size: 88px; font-weight: 800; margin: 0; line-height: 1;
  color: var(--color-accent); opacity: 0.15; letter-spacing: -0.02em;
}
.not-found h1 { margin: 8px 0 10px; font-size: 26px; }
.not-found-text { color: var(--color-muted); margin: 0 0 28px; }
.not-found-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) {
  .not-found { padding: 64px 0 80px; }
  .not-found-code { font-size: 64px; }
}
