/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:    #e63329;
  --dark:   #f0f2f5;
  --darker: #e2e5ea;
  --card:   #ffffff;
  --border: rgba(0,0,0,0.1);
  --text:   #1a1d24;
  --muted:  #6b7280;
  --radius: 10px;
  --header-bg: rgba(255,255,255,0.95);
  --shadow: rgba(0,0,0,0.1);
}

/* ─── KOYU TEMA ─── */
body.dark {
  --dark:   #111318;
  --darker: #0a0c10;
  --card:   #1a1d24;
  --border: rgba(255,255,255,0.08);
  --text:   #e8e8e8;
  --muted:  #8a8f9e;
  --header-bg: rgba(10,12,16,0.95);
  --shadow: rgba(0,0,0,0.4);
}
/* Light (varsayılan) — hardcoded #fff text renklerini düzelt */
.logo-auto,
.hero h1, .hero h1 span,
.feature h3,
.section-header h2, .section-header p,
.card-body h3,
.price,
.about-text h2, .about-text p,
.stat-num, .stat-label,
.modal-info h2, .modal-info p,
.modal-price,
.footer-logo span,
footer p,
.hero-tag, .hero-desc { color: var(--text) !important; }

.hero-video-section { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; min-height: 500px; overflow: hidden; z-index: 0; }
.hero-spacer { height: 100vh; min-height: 500px; position: relative; z-index: 0; pointer-events: none; }
.card-img-wrap { background: #ffffff; }
.card-img-bottom { background: linear-gradient(to top, #ffffff 30%, transparent 100%); }
.filter-inner { background: #fff; }
.filter-chip { background: #f0f2f5; color: #444; }
.search-input { color: var(--text); background: var(--card); }
.btn-detail { color: var(--muted); border-color: var(--border); }
.btn-detail:hover { color: var(--text); border-color: var(--text); background: none; }
.card-price { color: var(--text); }
.product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.15); }
.features { background: var(--darker); }
.feature { border-color: var(--border); }
.about { background: var(--darker); }
.modal-overlay { background: rgba(0,0,0,0.5); }
.modal-img-wrap { background: #f0f2f5; }
header { box-shadow: 0 1px 12px rgba(0,0,0,0.1); }
.chip-count { background: rgba(0,0,0,0.08); color: var(--muted); }

/* Dark tema override'ları */
body.dark .logo-auto,
body.dark .feature h3,
body.dark .section-header h2, body.dark .section-header p,
body.dark .card-body h3, body.dark .price,
body.dark .about-text h2, body.dark .about-text p,
body.dark .stat-num, body.dark .stat-label,
body.dark .modal-info h2, body.dark .modal-info p,
body.dark .modal-price,
body.dark .footer-logo span, body.dark footer p,
body.dark .hero-tag, body.dark .hero-desc { color: var(--text) !important; }

body.dark .hero { background: linear-gradient(135deg, #111318 0%, #0a0c10 100%); }
body.dark .card-img-wrap { background: #1a1d24; }
body.dark .card-img-bottom { background: linear-gradient(to top, #1a1d24 30%, transparent 100%); }
body.dark .filter-inner { background: #1a1d24; }
body.dark .filter-chip { background: #111318; color: #e8e8e8; }
body.dark .search-input { color: #e8e8e8; background: #1a1d24; }
body.dark .btn-detail { color: #8a8f9e; border-color: rgba(255,255,255,0.08); }
body.dark .btn-detail:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
body.dark .card-price { color: #e8e8e8; }
body.dark .product-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
body.dark .modal-overlay { background: rgba(0,0,0,0.7); }
body.dark .modal-img-wrap { background: #111318; }
body.dark header { box-shadow: none; }
body.dark .chip-count { background: rgba(255,255,255,0.08); color: var(--muted); }

/* Tema geçiş animasyonu */
body, body * {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
}

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

/* ─── HEADER ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.logo-auto { color: var(--text); }
.logo-pit  { color: var(--red); }
.logo-3d   { color: var(--muted); font-size: 14px; font-weight: 500; margin-left: 3px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover { color: var(--text); background: rgba(128,128,128,0.1); }

/* ─── TEMA BUTONU ─── */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.3s;
}
.theme-toggle:hover {
  border-color: var(--red);
  color: var(--text);
  transform: rotate(20deg);
}
/* Light varsayılan: ay ikonu göster (dark'a geç), güneş gizle */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
/* Dark temada: güneş göster (light'a geç), ay gizle */
body.dark .theme-toggle .icon-sun  { display: block; }
body.dark .theme-toggle .icon-moon { display: none; }

.btn-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #25D366 !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: opacity 0.2s !important;
}
.btn-whatsapp:hover { opacity: 0.85; }

.btn-instagram {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: opacity 0.2s !important;
}
.btn-instagram:hover { opacity: 0.85; }

.btn-trendyol {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--red) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 6px;
  transition: opacity 0.2s !important;
}
.btn-trendyol:hover { opacity: 0.85; background: var(--red) !important; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--darker);
  border-bottom: 1px solid var(--border);
  padding: 8px 24px 16px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
}
.mobile-menu a:last-child { border-bottom: none; color: var(--red); }

/* ─── HERO ─── */
/* Hero Slider */
.main-content {
  position: relative; z-index: 1; background: var(--dark);
}

/* ─── HERO VIDEO ─── */
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-video-bg video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-video-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 30%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.75) 100%);
}
.hero-video-content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 40px;
}
.hero-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7); margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-video-content h1 {
  font-size: clamp(32px, 5vw, 56px); font-weight: 800; line-height: 1.1;
  color: #fff; margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}
.hero-video-content h1 em {
  font-style: normal; color: var(--red);
}
.hero-subtitle {
  font-size: 16px; color: rgba(255,255,255,0.75); max-width: 520px;
  line-height: 1.7; margin-bottom: 32px;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}
.hero-video-btns {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease 0.9s, transform 0.8s ease 0.9s;
}
body.hero-revealed .hero-eyebrow,
body.hero-revealed .hero-video-content h1,
body.hero-revealed .hero-subtitle,
body.hero-revealed .hero-video-btns {
  opacity: 1; transform: translateY(0);
}
.btn-hero-primary {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 700; padding: 14px 32px;
  border-radius: 8px; letter-spacing: 0.06em;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { opacity: 0.85; transform: translateY(-2px); }
.btn-hero-ghost {
  display: inline-block; color: #fff;
  font-size: 14px; font-weight: 600; padding: 14px 32px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.hero-badge {
  flex-shrink: 0;
}
.hero-logo-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 50%;
  display: block;
}
.badge-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(230,51,41,0.08);
}
.badge-circle span {
  font-size: 48px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}
.badge-circle small {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-weight: 600;
}

/* ─── FEATURES ─── */
.features {
  background: var(--darker);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 100%;
}

.feature {
  padding: 32px 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}
.feature:last-child { border-right: none; }

.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--muted); }

/* ─── PRODUCTS SECTION ─── */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}
.section-header p {
  font-size: 14px;
  color: var(--muted);
}

/* ─── LAYOUT: SIDEBAR + GRID ─── */
.products-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.products-main { flex: 1; min-width: 0; }

.part-sidebar {
  width: 148px;
  flex-shrink: 0;
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  scrollbar-width: none;
}
.part-sidebar::-webkit-scrollbar { display: none; }

.pcat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 8px 6px 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  width: 100%;
  color: var(--muted);
}
.pcat-btn:hover { border-color: rgba(230,51,41,0.45); color: var(--text); }
.pcat-btn.active {
  border-color: #e63329;
  background: rgba(230,51,41,0.08);
  color: #e63329;
}
.pcat-icon { display: block; line-height: 0; }
.pcat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.2;
}
.pcat-count {
  font-size: 10px;
  color: var(--muted);
  font-weight: 500;
}
.pcat-btn.active .pcat-count { color: rgba(230,51,41,0.7); }

/* Active state: svg paths that are base-colored become accent in active btn */
.pcat-btn.active .pcat-icon svg path,
.pcat-btn.active .pcat-icon svg ellipse,
.pcat-btn.active .pcat-icon svg rect,
.pcat-btn.active .pcat-icon svg circle { opacity: 1; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ─── PRODUCT CARD ─── */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230,51,41,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0e1016;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-wrap img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.35s;
}
.product-card:hover .card-img-wrap img { transform: scale(1.04); }

/* Alt overlay — gri */
.card-img-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28%;
  background: linear-gradient(to top, #1a1d24 30%, transparent 100%);
  pointer-events: none;
}

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}
.badge-stock { background: #1a3a1a; color: #4ade80; border: 1px solid #2d5a2d; }
.badge-out   { background: #2a1a1a; color: #f87171; border: 1px solid #5a2d2d; }

.card-cat {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.7);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.card-body {
  padding: 20px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 16px;
  min-height: 42px;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.price-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.card-plat-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  color: #fff;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.plat-ty  { background: var(--red); }
.plat-hb  { background: #ff6000; }
.plat-n11 { background: #7b2d8b; }

.card-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
}
.card-old-price {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
  text-decoration: line-through;
}

.price-na {
  font-size: 12px;
  color: var(--muted);
}

.btn-detail {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-detail:hover { color: #fff; border-color: rgba(255,255,255,0.25); }

/* ─── ABOUT ─── */
.about {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
}
.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}
.about-text p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 28px; }

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-shrink: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 36px;
  text-align: center;
}
.stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}

/* ─── FOOTER ─── */
footer {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
footer p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
footer a { font-size: 13px; color: var(--red); }
.copyright { font-size: 12px; color: var(--border); margin-top: 24px !important; }

/* ─── MODAL ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  z-index: 201;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  width: min(860px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  flex-direction: column;
  transition: transform 0.2s;
}
.modal.open {
  display: flex;
  transform: translate(-50%, -50%) scale(1);
}

.modal-top {
  display: flex;
  flex-direction: row;
  min-height: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,255,255,0.07);
  border: none;
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  z-index: 1;
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ─── İLGİLİ ÜRÜNLER ─── */
.modal-related {
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
  flex-shrink: 0;
}
.modal-related-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.modal-related-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.modal-related-slider::-webkit-scrollbar { height: 4px; }
.modal-related-slider::-webkit-scrollbar-track { background: transparent; }
.modal-related-slider::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.modal-rel-card {
  flex-shrink: 0;
  width: 110px;
  cursor: pointer;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.18s, transform 0.18s;
}
.modal-rel-card:hover {
  border-color: rgba(230,51,41,0.5);
  transform: translateY(-2px);
}
.modal-rel-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0e1016;
  display: block;
}
.modal-rel-name {
  font-size: 10px;
  color: var(--text);
  padding: 6px 7px 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal-rel-price {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px 8px;
}
.modal-rel-price .card-plat-badge { font-size: 9px; padding: 2px 5px; }
.modal-rel-price span:last-child { font-size: 11px; font-weight: 700; color: #fff; }

.modal-img-wrap {
  width: 340px;
  flex-shrink: 0;
  background: #0e1016;
  border-radius: 14px 0 0 0;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.15s ease;
  transform-origin: center center;
}
.modal-img-wrap.zoomed {
  cursor: zoom-out;
}
.modal-img-wrap.zoomed img {
  transform: scale(2.5);
}

.modal-info {
  padding: 36px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.modal-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-info h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 16px;
}

.modal-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 20px;
}
.modal-price s {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}

.modal-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 28px;
  flex: 1;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-video-section, .hero-spacer { min-height: 500px; }
  .hero-video-content { padding: 0 20px; }
  .hero-video-content h1 { font-size: clamp(26px, 7vw, 40px); }
  .hero-subtitle { font-size: 14px; }
  .hero-video-btns { flex-direction: column; align-items: center; }
  .btn-hero-primary, .btn-hero-ghost { width: 100%; max-width: 280px; text-align: center; }

  .features {
    grid-template-columns: 1fr;
  }
  .feature { border-right: none; border-bottom: 1px solid var(--border); }
  .feature:last-child { border-bottom: none; }

  .product-grid { grid-template-columns: 1fr; }
  .products-layout { flex-direction: column; gap: 12px; }
  .part-sidebar {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    top: 0;
    max-height: none;
    padding-bottom: 4px;
    gap: 8px;
  }
  .pcat-btn { flex-direction: row; flex-shrink: 0; width: auto; padding: 6px 10px; gap: 6px; }
  .pcat-count { display: none; }

  .about-inner {
    flex-direction: column;
    gap: 40px;
  }
  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .modal.open {
    max-height: 88vh;
  }
  .modal-top {
    flex-direction: column;
  }
  .modal-img-wrap {
    width: 100%;
    height: 200px;
    border-radius: 14px 14px 0 0;
  }
  .modal-info { padding: 20px 16px; }
  .modal-rel-card { width: 90px; }
  .modal-related { padding: 12px 16px 16px; }
}

@media (max-width: 480px) {
  .products-section, .about { padding: 48px 16px; }
}

/* ─── LOGO IMAGE ─── */
.logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
  display: inline-block;
}

/* ─── SEARCH ─── */
.search-wrap {
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Filtre butonu (3 çizgi) */
.filter-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s, background 0.2s;
}
.filter-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: background 0.2s, width 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
  border-color: var(--red);
  background: rgba(230,51,41,0.08);
}
.filter-btn.active span,
.filter-btn:hover span { background: var(--red); }
.filter-btn.active span:nth-child(2) { width: 12px; }

/* Filtre paneli */
.filter-panel {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}
.filter-panel.open {
  max-height: 300px;
  opacity: 1;
}

.filter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Her marka chip'i */
.filter-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #13151c;
  border: 1px solid var(--border);
  border-radius: 20px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--bc, rgba(230,51,41,0.5));
  background: var(--bc-bg, rgba(230,51,41,0.1));
  color: #fff;
}
.filter-chip.active {
  border-color: var(--bc, var(--red));
  background: var(--bc-bg, rgba(230,51,41,0.12));
  color: #fff;
}
.chip-logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: filter 0.2s, opacity 0.2s;
}
.filter-chip:hover .chip-logo,
.filter-chip.active .chip-logo {
  filter: none;
  opacity: 1;
}
.chip-icon { font-size: 14px; line-height: 1; }
.chip-label { font-size: 12px; }
.chip-count {
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}
.filter-chip.active .chip-count {
  background: rgba(230,51,41,0.3);
  color: #fff;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  font-size: 15px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--muted); }
.search-input:focus { border-color: rgba(255,255,255,0.25); }

/* ─── KART FİYAT (eski, artık kullanılmıyor — temizlendi) ─── */

/* ─── MODAL BUTTONS & HB ─── */
.modal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.modal-buttons .btn-primary {
  padding: 9px 16px;
  border-radius: var(--radius);
  font-size: 12px;
  letter-spacing: normal;
}
.btn-market {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 140px;
}
.btn-market-logo {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: contain;
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
}
.mkt-badge {
  font-size: 11px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.mkt-ty  { background: rgba(255,255,255,0.25); }
.mkt-hb  { background: rgba(255,255,255,0.25); }
.mkt-n11 { background: rgba(255,255,255,0.25); }
.btn-hb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #ff6000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s;
  flex: 1;
  min-width: 140px;
}
.btn-hb:hover { opacity: 0.88; }

.btn-n11 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #7b2d8b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s;
  flex: 1;
  min-width: 140px;
}
.btn-n11:hover { opacity: 0.88; }

/* ─── MARKETPLACE PRICE LIST ─── */
.modal-price-list { margin-bottom: 16px; }
.mp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  min-width: 90px;
  transition: opacity 0.2s, transform 0.15s;
}
.mp-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.mp-ty { background: #ff6000; }
.mp-hb { background: #ff6000; }
.mp-n11 { background: #7b2d8b; }
.mp-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--muted);
}
.mp-cheapest {
  font-size: 10px;
  font-weight: 700;
  color: #22c55e;
  background: rgba(34,197,94,0.12);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.04em;
}
.mp-own {
  margin-top: 12px;
  background: linear-gradient(135deg, rgba(230,51,41,0.08), rgba(230,51,41,0.03));
  border: 2px solid var(--red);
  border-radius: 12px;
  padding: 16px;
}
.mp-own-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.mp-own-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: 0.02em;
}
.mp-own-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
}
.mp-own-badge {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #22c55e;
  padding: 3px 10px;
  border-radius: 10px;
  letter-spacing: 0.03em;
}
.mp-own-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}
.mp-own-cart:hover { background: #c7271e; transform: translateY(-1px); }
.btn-fav-modal {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s;
}
.btn-fav-modal:hover { border-color: var(--red); }

/* ─── MODAL SEKMELER ─── */
.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 18px;
  margin-top: 6px;
}
.modal-tab {
  flex: 1;
  text-align: center;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: var(--muted);
  padding: 8px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  letter-spacing: 0.03em;
}
.modal-tab:hover { color: var(--text); }
.modal-tab.active { color: var(--red); border-bottom-color: var(--red); }

.modal-tab-pane { display: none; flex-direction: column; flex: 1; }
.modal-tab-pane.active { display: flex; }

/* ─── SPECS TABLOSU ─── */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 4px;
}
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 8px 10px;
  vertical-align: top;
  line-height: 1.5;
}
.specs-table td:first-child {
  color: var(--muted);
  font-weight: 600;
  width: 44%;
  font-size: 12px;
}
.specs-table td:last-child { color: var(--text); }
.specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

.specs-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 36px 16px;
  color: var(--muted);
  font-size: 13px;
}
.specs-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid var(--border);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.specs-empty {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 32px 16px;
}

/* light tema spec table */
body.dark .specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.03); }

/* ─── MÜŞTERİ YORUMLARI ─── */
.reviews-section {
  background: var(--darker);
  border-top: 1px solid var(--border);
  padding: 80px 24px;
}
.reviews-section .section-header { margin-bottom: 48px; }

/* Slider wrapper */
.reviews-slider-wrap {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.reviews-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 16px;
  scroll-behavior: smooth;
  padding: 8px 4px 16px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }

.rv-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px var(--shadow);
}
.rv-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rv-arrow-left { left: -20px; }
.rv-arrow-right { right: -20px; }

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.review-card:hover {
  transform: translateY(-2px);
  border-color: rgba(230,51,41,0.3);
}

/* Platform badge — yıldızların üstünde, ilk satır */
.review-plat-badge {
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  letter-spacing: 0.04em;
  align-self: flex-start;
}
.review-plat-ty  { background: #ff6000; }
.review-plat-hb  { background: #ff6000; }
.review-plat-n11 { background: #7b2d8b; }

.review-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-stars {
  font-size: 14px;
  letter-spacing: 1px;
  color: #f59e0b;
}
.review-stars.low { color: #94a3b8; }

.review-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-left: auto;
}
.review-date {
  font-size: 11px;
  color: var(--muted);
}

.review-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.review-product {
  font-size: 11px;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .reviews-section { padding: 48px 16px; }
  .review-card { min-width: 280px; }
  .rv-arrow-left { left: -8px; }
  .rv-arrow-right { right: -8px; }
}

/* Ürün kartı yorum badge */
.card-review-info {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #f59e0b;
  margin-top: 4px;
}
.card-review-info .rv-count {
  color: var(--muted);
  font-size: 11px;
}


/* ─── MODAL YORUMLAR SEKMESİ ─── */
.modal-tab-badge {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  margin-left: 4px;
  vertical-align: middle;
}

.prod-revs-heading {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 0 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

/* Review item */
.prod-rev-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.prod-rev-item:last-child { border-bottom: none; }
.prod-rev-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.prod-rev-stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.prod-rev-author { font-size: 12px; font-weight: 600; color: var(--text); }
.prod-rev-date { font-size: 11px; color: var(--muted); margin-left: auto; }
.prod-rev-text { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Q&A item */
.prod-qa-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.prod-qa-item:last-child { border-bottom: none; }
.prod-qa-question {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.prod-qa-q-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(230,51,41,0.15);
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.prod-qa-a-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.prod-qa-q-body, .prod-qa-a-body { flex: 1; min-width: 0; }
.prod-qa-q-text { font-size: 13px; color: var(--text); line-height: 1.55; }
.prod-qa-q-meta { font-size: 10px; color: var(--muted); margin-top: 2px; }
.prod-qa-answer {
  display: flex;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border-left: 2px solid rgba(74,222,128,0.35);
}
.prod-qa-a-text { font-size: 12px; color: var(--muted); line-height: 1.55; }
.prod-qa-a-meta { font-size: 10px; color: var(--muted); margin-top: 2px; opacity: 0.7; }

body.dark .prod-qa-answer { background: rgba(255,255,255,0.03); }

/* ─── CART TOGGLE (HEADER) ─── */
.recent-toggle {
  position: relative;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  animation: recentSpin 3s linear infinite;
}
.recent-toggle:hover { color: var(--red); }
@keyframes recentSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.cart-toggle {
  position: relative;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
}
.cart-badge {
  position: absolute;
  top: -2px; right: -6px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* ─── CART DRAWER ─── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 92vw;
  height: 100vh;
  background: var(--card);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.3);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 {
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  color: var(--text);
}
.cart-drawer-close {
  background: none; border: none;
  color: var(--muted); font-size: 22px;
  cursor: pointer;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 48px 0;
  font-size: 14px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.cart-item-img {
  width: 64px; height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--darker);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 13px;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--red);
  margin-top: 4px;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.cart-item-qty button {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--darker);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-qty span {
  font-size: 13px;
  color: var(--text);
  min-width: 20px;
  text-align: center;
}
.cart-item-remove {
  background: none; border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 18px;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.cart-item-remove:hover { opacity: 1; color: var(--red); }

.cart-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: var(--darker);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.cart-total span:last-child { color: var(--red); font-size: 20px; }

.cart-coupon-wrap {
  display: flex; gap: 6px; margin-bottom: 10px;
}
.cart-coupon-wrap input {
  flex: 1; padding: 8px 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 6px; color: var(--text);
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  font-family: inherit;
}
.cart-coupon-wrap input:focus { outline: none; border-color: var(--red); }
.cart-coupon-success {
  display: flex; align-items: center; gap: 8px;
  background: rgba(34,197,94,0.08); border-radius: 6px;
  padding: 6px 10px; margin-bottom: 8px; font-size: 12px;
}
.cart-coupon-success .cc-code { color: #22c55e; font-weight: 700; }
.cart-coupon-success .cc-disc { color: #22c55e; font-weight: 800; margin-left: auto; }
.cart-coupon-success .cc-remove { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 14px; }
.cart-checkout-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
}

/* ─── CART ADD BUTTON (modal + card) ─── */
.btn-cart-add {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  flex: 1;
  min-width: 140px;
  justify-content: center;
}
.btn-cart-add:hover { background: #c7271e; transform: translateY(-1px); }
.btn-cart-add.added {
  background: #22c55e;
  pointer-events: none;
}

/* ─── CARD ADD TO CART BUTTON ─── */
.card-add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: auto;
}
.card-add-cart:hover { background: #c7271e; }

.card-cart-btn {
  display: none;
}
.product-card:hover .card-cart-btn { opacity: 1; transform: scale(1); }
.card-cart-btn:hover { background: #c7271e; }

/* ─── CHECKOUT OVERLAY ─── */
.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.checkout-box {
  background: var(--card);
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
}
.checkout-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
}
.checkout-box h2 {
  color: var(--text);
  font-size: 22px;
  margin-bottom: 20px;
}

.checkout-summary {
  background: var(--darker);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
  max-height: 200px;
  overflow-y: auto;
}
.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.checkout-summary-item:last-child { border-bottom: none; }
.checkout-summary-item .cs-name { flex: 1; margin-right: 12px; }
.checkout-summary-item .cs-qty { color: var(--muted); margin-right: 12px; }
.checkout-summary-item .cs-price { font-weight: 700; color: var(--red); white-space: nowrap; }
.checkout-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 10px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}
.checkout-summary-total span:last-child { color: var(--red); }

/* Coupon section */
.coupon-section { margin-bottom: 20px; }
.coupon-input-wrap {
  display: flex; gap: 8px;
}
.coupon-input-wrap input {
  flex: 1; padding: 10px 12px;
  background: var(--darker); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text);
  font-size: 14px; font-weight: 700; letter-spacing: 2px;
  font-family: inherit;
}
.coupon-input-wrap input:focus { outline: none; border-color: var(--red); }
.coupon-apply-btn { padding: 10px 20px; font-size: 13px; border-radius: 8px; white-space: nowrap; }
.coupon-result-success {
  display: flex; align-items: center; gap: 10px;
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
  border-radius: 8px; padding: 10px 14px; margin-top: 8px;
}
.coupon-result-success .coupon-tag { color: #22c55e; font-weight: 700; font-size: 14px; }
.coupon-result-success .coupon-desc { color: var(--muted); font-size: 12px; flex: 1; }
.coupon-result-success .coupon-discount { color: #22c55e; font-weight: 800; font-size: 16px; }
.coupon-remove-btn {
  background: none; border: none; color: var(--muted);
  cursor: pointer; font-size: 16px; padding: 2px;
}
.coupon-result-error {
  color: #ef4444; font-size: 12px; margin-top: 6px;
}

.checkout-fields { display: flex; flex-direction: column; gap: 14px; }
.field-row { display: flex; gap: 14px; }
.field { flex: 1; }
.field.full { width: 100%; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 12px;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--red);
}
.field select { cursor: pointer; }

.payment-options {
  display: flex;
  gap: 16px;
}
.payment-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}
.payment-opt input[type="radio"] {
  width: auto;
  accent-color: var(--red);
}

.bank-info {
  background: rgba(230, 51, 41, 0.08);
  border: 1px solid rgba(230, 51, 41, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.6;
}
.bank-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.checkout-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  margin-top: 20px;
}

/* ─── ORDER SUCCESS ─── */
#orderSuccess {
  text-align: center;
  padding: 20px 0;
}
.order-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
#orderSuccess h2 {
  color: var(--text);
  margin-bottom: 12px;
}
.order-no {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 8px;
}
.order-no strong { color: var(--red); }
.order-success-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--card);
  color: var(--text);
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  z-index: 2000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── SCROLL TO TOP ─── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--red); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--red-hover, #c42a22); transform: translateY(-2px); }

/* ─── STORES DROPDOWN ─── */
.stores-dropdown {
  position: relative;
}
.stores-toggle {
  display: flex; align-items: center; gap: 6px;
  cursor: pointer; border: none;
}
.stores-arrow {
  transition: transform 0.2s;
}
.stores-dropdown.open .stores-arrow {
  transform: rotate(180deg);
}
.stores-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a1d24;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  min-width: 200px;
  padding: 6px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 100;
}
.stores-dropdown.open .stores-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.stores-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #e8e8e8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.stores-item:hover { background: rgba(255,255,255,0.06); }
.stores-item svg { margin-left: auto; opacity: 0.4; }
.stores-item:hover svg { opacity: 1; }
.stores-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 5px;
  color: #fff;
  flex-shrink: 0;
}
body.dark .stores-menu { background: #1a1d24; border-color: rgba(255,255,255,0.08); box-shadow: 0 12px 36px rgba(0,0,0,0.4); }
body.dark .stores-item { color: #e8e8e8; }
body.dark .stores-item:hover { background: rgba(255,255,255,0.05); }

/* ─── AUTH HEADER ─── */
.auth-header { display: flex; align-items: center; }
.auth-login-btn, .auth-profile-btn {
  display: flex; align-items: center; gap: 6px;
  background: none; border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 12px;
  color: var(--text); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.auth-login-btn:hover, .auth-profile-btn:hover {
  border-color: var(--red); background: rgba(230,51,41,0.08);
}
.auth-profile-btn { border-color: var(--red); }

/* ─── AUTH MODAL ─── */
.auth-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 1200;
}
.auth-modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--card); border-radius: 16px;
  max-width: 440px; width: 92%; padding: 32px;
  z-index: 1201; box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.auth-tabs {
  display: flex; gap: 4px; margin-bottom: 24px;
  background: var(--darker); border-radius: 10px; padding: 4px;
}
.auth-tab {
  flex: 1; padding: 10px; border: none; border-radius: 8px;
  background: transparent; color: var(--muted);
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.auth-tab.active { background: var(--red); color: #fff; }
.auth-pane { display: flex; flex-direction: column; gap: 14px; }
.auth-error {
  color: #ef4444; font-size: 12px; min-height: 16px;
  margin: 0; padding: 0;
}
.auth-submit { width: 100%; padding: 12px; font-size: 15px; border-radius: 10px; }

/* Verify code screen */
.verify-icon { text-align: center; font-size: 48px; margin-bottom: 12px; }
.verify-text { text-align: center; color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.verify-text strong { color: var(--text); }
.verify-resend { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.verify-resend-btn {
  background: none; border: none; color: var(--red);
  font-weight: 600; cursor: pointer; font-size: 13px;
  text-decoration: underline;
}

/* ─── PROFILE OVERLAY ─── */
.profile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  z-index: 1100; display: flex; align-items: center;
  justify-content: center; padding: 20px; overflow-y: auto;
}
.profile-box {
  background: var(--card); border-radius: 16px;
  max-width: 700px; width: 100%; max-height: 90vh;
  overflow-y: auto; padding: 32px; position: relative;
}
.profile-header {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: 20px; border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.profile-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; flex-shrink: 0;
}
.profile-info { flex: 1; }
.profile-info h3 { color: var(--text); font-size: 16px; }
.profile-info p { color: var(--muted); font-size: 13px; margin-top: 2px; }
.profile-logout { font-size: 12px; padding: 6px 14px; white-space: nowrap; }

.profile-tabs {
  display: flex; gap: 4px; margin-bottom: 20px;
  background: var(--darker); border-radius: 10px; padding: 4px;
  overflow-x: auto;
}
.profile-tab {
  padding: 8px 14px; border: none; border-radius: 8px;
  background: transparent; color: var(--muted);
  font-size: 13px; font-weight: 600; cursor: pointer;
  white-space: nowrap; transition: background 0.2s, color 0.2s;
}
.profile-tab.active { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,0.15); }

.profile-pane { display: none; }
.profile-pane.active { display: block; }
.profile-empty { color: var(--muted); text-align: center; padding: 40px 0; font-size: 14px; }

/* Profile: order cards */
.my-order-card {
  background: var(--darker); border-radius: 10px;
  padding: 16px; margin-bottom: 12px;
  border: 1px solid var(--border);
}
.my-order-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px; flex-wrap: wrap; gap: 8px;
}
.my-order-no { font-weight: 700; color: var(--text); font-size: 14px; }
.my-order-date { color: var(--muted); font-size: 12px; }
.my-order-items { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.my-order-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.my-order-total { font-weight: 700; color: var(--red); font-size: 15px; }
.my-order-tracking {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 13px;
}
.tracking-label { color: var(--muted); }
.tracking-no { color: #f59e0b; font-weight: 800; letter-spacing: 1px; }
.tracking-company { color: var(--muted); font-size: 12px; }

/* Profile: favorites grid */
.profile-fav-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}
.fav-card {
  background: var(--darker); border-radius: 10px;
  padding: 10px; text-align: center; cursor: pointer;
  border: 1px solid var(--border); transition: border-color 0.2s;
  position: relative;
}
.fav-card:hover { border-color: var(--red); }
.fav-card img { width: 100%; height: 100px; object-fit: cover; border-radius: 6px; }
.fav-card p { font-size: 11px; color: var(--text); margin-top: 6px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fav-card .fav-remove {
  position: absolute; top: 6px; right: 6px;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,0.5); color: #fff; border: none;
  font-size: 12px; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
}

/* Favorite heart on product cards */
.card-fav-btn {
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(0,0,0,0.4); color: #fff; border: none;
  cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 16px; z-index: 2;
  transition: background 0.2s, transform 0.15s;
}
.card-fav-btn:hover { background: rgba(230,51,41,0.8); transform: scale(1.1); }
.card-fav-btn.active { background: var(--red); }

/* Notifications */
.notif-options { display: flex; flex-direction: column; gap: 12px; }
.notif-option {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: var(--darker); border-radius: 10px;
  border: 1px solid var(--border);
}
.notif-option span { color: var(--text); font-size: 14px; }
.notif-option input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--red); cursor: pointer;
}

/* ─── WRITE REVIEW ─── */
.write-review-box {
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}
.write-review-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.star-pick {
  font-size: 26px;
  cursor: pointer;
  color: var(--muted);
  transition: color 0.15s, transform 0.15s;
  user-select: none;
}
.star-pick:hover { transform: scale(1.2); }
.star-pick.active { color: #facc15; }
.star-pick-label {
  font-size: 12px;
  color: var(--muted);
  margin-left: 8px;
}
.review-textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}
.review-textarea:focus { outline: none; border-color: var(--red); }
.write-review-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
}
.review-note {
  font-size: 11px;
  color: var(--muted);
  flex: 1;
}
.review-note.error { color: #ef4444; }
.review-note.success { color: #22c55e; }
.write-review-btn {
  padding: 8px 20px;
  font-size: 13px;
  border-radius: 8px;
  white-space: nowrap;
}

/* Site review cards */
.site-rev-card {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.site-rev-card:last-child { border-bottom: none; }
.site-rev-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.site-rev-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.site-rev-author {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.site-rev-date {
  font-size: 11px;
  color: var(--muted);
  margin-left: auto;
}
.site-rev-stars {
  color: #facc15;
  font-size: 14px;
  letter-spacing: 1px;
}
.site-rev-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-top: 4px;
}
.site-rev-badge {
  background: rgba(230,51,41,0.12);
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 6px;
}

/* ─── RECENTLY VIEWED ─── */
.recently-viewed {
  padding: 48px 32px;
  background: var(--darker);
}
.rv-slider-wrap {
  position: relative;
  overflow: hidden;
}
.rv-slider {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 0;
}
.rv-slider::-webkit-scrollbar { display: none; }
.rv-card {
  flex-shrink: 0;
  width: 160px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}
.rv-card:hover { border-color: var(--red); transform: translateY(-3px); }
.rv-card img {
  width: 100%; height: 120px;
  object-fit: cover;
  background: var(--darker);
}
.rv-card-body {
  padding: 10px;
}
.rv-card-name {
  font-size: 11px;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}
.rv-card-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
}
.rv-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.rv-arrow:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rv-arrow-left { left: 4px; }
.rv-arrow-right { right: 4px; }

/* ─── COMPARE BAR ─── */
.compare-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--card);
  border-top: 2px solid var(--red);
  z-index: 900;
  padding: 12px 24px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
  animation: compareSlideUp 0.3s ease;
}
@keyframes compareSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.compare-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.compare-bar-items {
  display: flex;
  gap: 10px;
  flex: 1;
  overflow-x: auto;
}
.compare-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--darker);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 0;
  flex-shrink: 0;
}
.compare-bar-item img {
  width: 40px; height: 40px;
  border-radius: 6px;
  object-fit: cover;
}
.compare-bar-item-info {
  min-width: 0;
}
.compare-bar-item-name {
  font-size: 11px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
.compare-bar-item-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
}
.compare-bar-item-remove {
  background: none; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 16px; padding: 2px;
  opacity: 0.6; transition: opacity 0.2s;
}
.compare-bar-item-remove:hover { opacity: 1; color: var(--red); }
.compare-bar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.compare-bar-btn {
  padding: 10px 24px;
  font-size: 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.compare-bar-clear {
  background: none; border: none;
  color: var(--muted); font-size: 12px;
  cursor: pointer; text-decoration: underline;
}

/* Compare button on cards */
.card-compare-btn {
  position: absolute;
  top: 8px; left: 8px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: #fff; border: none;
  cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  font-size: 14px; z-index: 2;
  transition: background 0.2s, transform 0.15s;
  opacity: 0; transform: scale(0.8);
}
.product-card:hover .card-compare-btn { opacity: 1; transform: scale(1); }
.card-compare-btn:hover { background: rgba(230,51,41,0.8); }
.card-compare-btn.active { background: var(--red); opacity: 1; transform: scale(1); }

/* ─── COMPARE OVERLAY ─── */
.compare-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.compare-box {
  background: var(--card);
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 0;
  position: relative;
}
.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card);
  z-index: 2;
  border-radius: 16px 16px 0 0;
}
.compare-header h2 {
  color: var(--text);
  font-size: 18px;
}
.compare-table-wrap {
  padding: 0;
  overflow-x: auto;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 500px;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  text-align: center;
}
.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--darker);
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 120px;
}
.compare-table th {
  background: var(--darker);
  padding: 16px;
}
.compare-product-img {
  width: 90px; height: 90px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--darker);
  display: block;
  margin: 0 auto 8px;
}
.compare-product-name {
  font-size: 11px;
  color: var(--text);
  line-height: 1.4;
  max-width: 180px;
  margin: 0 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.compare-table th {
  vertical-align: middle;
  min-width: 180px;
}
.compare-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
}
.compare-price-best {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  margin-left: 4px;
}
.compare-cell { font-size: 13px; color: var(--text); }
.compare-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.compare-actions .btn-primary { font-size: 12px; padding: 6px 14px; border-radius: 6px; }
.compare-remove-btn {
  background: none; border: none;
  color: var(--muted); font-size: 11px;
  cursor: pointer; text-decoration: underline;
}

/* ─── RESPONSIVE (cart/checkout/auth) ─── */
@media (max-width: 640px) {
  .field-row { flex-direction: column; gap: 14px; }
  .checkout-box { padding: 24px 16px; }
  .cart-drawer { width: 100vw; }
  .auth-modal { padding: 24px 16px; }
  .profile-box { padding: 24px 16px; }
  .profile-header { flex-wrap: wrap; }
  .auth-login-btn span, .auth-profile-btn span { display: none; }
  .profile-tabs { gap: 2px; }
  .profile-tab { font-size: 11px; padding: 7px 10px; }
  .compare-bar-inner { flex-wrap: wrap; }
  .compare-bar-item-name { max-width: 80px; }
  .compare-box { max-height: 95vh; }
}

/* === KATALOG MODU — sepet/checkout UI gizli (2026-05-06) === */
.cart-toggle,
.cart-overlay,
.cart-drawer,
.checkout-overlay,
.card-add-cart,
.mp-own-cart,
.btn-cart-add,
.pd-actions .btn-cart-add,
.cart-checkout-btn,
.cart-badge { display: none !important; }
