/* ============================================
   SMARD BIKE - Ana Stil Dosyası
   ============================================ */

/* CSS Variables */
:root {
  --background: #f8fafc;
  --foreground: #1e2a5e;
  --card: #ffffff;
  --card-foreground: #1e2a5e;
  --primary: #b89a4a;
  --primary-foreground: #ffffff;
  --secondary: #e8e4da;
  --secondary-foreground: #1e2a5e;
  --muted: #f5f3ee;
  --muted-foreground: #6b7280;
  --accent: #a6893f;
  --accent-foreground: #ffffff;
  --destructive: #ef4444;
  --border: #d4cfc4;
  --input: #e8e4da;
  --ring: #b89a4a;
  --radius: 0.625rem;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* yatay scroll engelle — body'de kullanmak position:fixed'ı kırar */
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* iOS Safari: backdrop-filter + position:fixed kombinasyonu için GPU katmanı */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  /* Sayfa üstünde: saydam, gölgesiz, kenarsız */
  background-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  /* Tüm geçişler smooth */
  transition:
    background-color  0.38s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter   0.38s cubic-bezier(0.4, 0, 0.2, 1),
    -webkit-backdrop-filter 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    border-color      0.38s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow        0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll'a geçince aktif olan solid navbar */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.04),
    0 6px 24px rgba(0, 0, 0, 0.07);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Scroll'da navbar hafifçe kompaktlaşır */
.header.scrolled .header-container {
  height: 62px;
}

/* ---- Sayfa başı: tüm header öğeleri beyaz ---- */
.header .nav-link {
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.header .nav-link:hover {
  color: #ffffff;
}
.header .nav-chevron {
  transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s ease, opacity 0.22s;
  color: rgba(255, 255, 255, 0.80);
}
.header .btn-icon {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s;
}
.header .btn-icon:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
}
.header .logo-text {
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.header .logo-text span {
  color: #ffffff;
  transition: color 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Scrolled: orijinal renkler ---- */
.header.scrolled .nav-link {
  color: var(--muted-foreground);
}
.header.scrolled .nav-link:hover {
  color: var(--foreground);
}
.header.scrolled .nav-chevron {
  color: currentColor;
}
.header.scrolled .btn-icon {
  color: var(--muted-foreground);
}
.header.scrolled .btn-icon:hover {
  color: var(--foreground);
  background-color: var(--muted);
}
.header.scrolled .logo-text {
  color: var(--foreground);
}
.header.scrolled .logo-text span {
  color: var(--primary);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background-color: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  font-weight: 700;
  font-size: 0.875rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.logo-text span {
  color: var(--primary);
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-img {
    height: 45px;
  }
}

/* Navigation */
.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--foreground);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: background-color 0.2s;
}

.btn-icon:hover {
  background-color: var(--muted);
}

.btn-icon svg {
  width: 20px;
  height: 20px;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  /* Non-homepage: header her zaman scrolled (62px); homepage JS top'u 72px/62px ayarlar */
  top: 62px;
  left: 0;
  right: 0;
  z-index: 1100; /* header(1000) üzerinde */
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  max-height: calc(100vh - 62px);
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.mobile-nav.active {
  display: block;
}


.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--foreground);
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-nav-link:hover {
  background-color: var(--muted);
}

/* ============================================
   DROPDOWN NAV (Desktop + Mobile)
   ============================================ */

/* Desktop: konumlandırma kapsayıcısı — flex container OLMAMALI */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.22s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.header .nav-item:hover .nav-chevron,
.header .nav-item:focus-within .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 240px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.12),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity    0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform  0.22s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.22s;
  z-index: 200;
  white-space: nowrap;
}

/* Üçgen ok — box'ın dışında, üstünde, ortada */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid rgba(0, 0, 0, 0.06);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  transition:
    background-color 0.15s ease,
    color            0.15s ease,
    transform        0.15s ease;
  position: relative;
}

/* Ok ikonu — her itemın sağında, hover'da görünür */
.nav-dropdown-link::after {
  content: '→';
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  color: var(--primary);
}

.nav-dropdown-link:hover {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.08) 0%, rgba(20, 184, 166, 0.04) 100%);
  color: var(--primary);
  transform: translateX(2px);
}

.nav-dropdown-link:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* Birden fazla item varsa aralarına ince ayırıcı */
.nav-dropdown-link + .nav-dropdown-link {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* --- Mobil: akordeon alt menü --- */
.mobile-nav-item {
  border-radius: 8px;
  overflow: hidden;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--foreground);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.mobile-nav-toggle:hover { background-color: var(--muted); }

.mobile-nav-toggle .mob-chev {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
  opacity: 0.5;
  flex-shrink: 0;
}

.mobile-nav-item.is-open .mobile-nav-toggle .mob-chev {
  transform: rotate(180deg);
  opacity: 1;
}

.mobile-nav-sub {
  display: none;
  padding: 4px 0 4px 12px;
}

.mobile-nav-item.is-open .mobile-nav-sub { display: block; }

.mobile-nav-sub-link {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
  border-radius: 6px;
  transition: background-color 0.15s, color 0.15s;
  text-decoration: none;
}

.mobile-nav-sub-link:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 72px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 8s ease-out;
}

.hero-slide.active .hero-bg {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.4));
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.hero-text {
  max-width: 900px;
  color: #ffffff;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: rgba(20, 184, 166, 0.2);
  border: 1px solid rgba(20, 184, 166, 0.5);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #5eead4;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
    hyphens: none;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-title span {
  color: var(--primary);
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-stats-wrap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 20;
  background: rgba(27, 38, 59, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  padding: 1.25rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
}

.slider-dots-wrap {
  position: absolute;
  bottom: 110px; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
}
@media (max-width: 767px) {
  .slider-dots-wrap { bottom: 100px; }
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Slider Controls */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
}

.slider-nav.prev {
  left: 1rem;
}

.slider-nav.next {
  right: 1rem;
}

@media (min-width: 1024px) {
  .slider-nav.prev {
    left: 2rem;
  }
  .slider-nav.next {
    right: 2rem;
  }
}

.slider-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.slider-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  cursor: pointer;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  background-color: var(--primary);
  width: 32px;
  border-radius: 4px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-mouse-wheel {
  width: 4px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: var(--accent);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline-dark:hover {
  background-color: var(--muted);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-block {
  width: 100%;
}

/* ============================================
   CATEGORIES
   ============================================ */
.categories {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(20, 184, 166, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  position: relative;
  height: 340px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(30, 42, 94, 0.08);
  transition: box-shadow 0.35s, transform 0.35s;
}

.category-card:hover {
  box-shadow: 0 12px 40px rgba(30, 42, 94, 0.18);
  transform: translateY(-4px);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 26, 54, 0.92) 0%,
    rgba(20, 26, 54, 0.55) 45%,
    rgba(20, 26, 54, 0.08) 75%,
    transparent 100%
  );
  transition: background 0.35s;
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    to top,
    rgba(20, 26, 54, 0.95) 0%,
    rgba(20, 26, 54, 0.45) 50%,
    rgba(20, 26, 54, 0.05) 80%,
    transparent 100%
  );
}

.category-content {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-count {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.category-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.category-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.15rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1e2a5e;
  background: linear-gradient(135deg, #cba750, #b8943e);
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.25s;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(184, 148, 62, 0.25);
}

.category-link:hover {
  background: linear-gradient(135deg, #d4b45a, #cba750);
  box-shadow: 0 4px 16px rgba(184, 148, 62, 0.35);
}

.category-link svg {
  transition: transform 0.25s;
}

.category-card:hover .category-link {
  background: linear-gradient(135deg, #d4b45a, #c9a84c);
  gap: 0.65rem;
}

.category-card:hover .category-link svg {
  transform: translateX(2px);
}

/* ============================================
   PRODUCTS
   ============================================ */
.products {
  padding: 5rem 0;
  background-color: var(--muted);
}

.products-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  color: var(--muted-foreground);
  background-color: var(--card);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Product Card */
.product-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.product-badge.bestseller {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.product-badge.new {
  background-color: #3b82f6;
  color: #ffffff;
}

.product-badge.sale {
  background-color: var(--destructive);
  color: #ffffff;
}

.product-badge.premium {
  background-color: #1B263B;
  color: #ffffff;
}

.product-favorite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.2s;
  opacity: 0;
}

.product-card:hover .product-favorite {
  opacity: 1;
}

.product-favorite:hover,
.product-favorite.active {
  background-color: #fef2f2;
  color: var(--destructive);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0.25rem 0 0.5rem;
  transition: color 0.2s;
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.product-stars svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.product-rating-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.product-price-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price-old {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-add-btn {
  width: 100%;
  padding: 0.75rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  font-weight: 500;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
  margin-top: auto;
}

.product-add-btn:hover {
  background-color: var(--accent);
}

.product-add-btn.added {
  background-color: #16a34a;
}

/* Loading Spinner */
.loading-spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem;
  color: var(--muted-foreground);
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   FEATURES
   ============================================ */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background-color: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 5rem 0;
  background-color: var(--muted);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-content {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.newsletter-content {
  text-align: center;
  color: #ffffff;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .newsletter-title {
    font-size: 2.5rem;
  }
}

.newsletter-desc {
  color: rgba(255, 255, 255, 0.8);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-btn {
  padding: 1rem 2rem;
  background-color: #1B263B;
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background-color 0.2s;
}

.newsletter-btn:hover {
  background-color: #0f172a;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: #1B263B;
  color: #ffffff;
  padding: 4rem 0 0;
  font-size: 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1rem 0;
  max-width: 300px;
}

.footer-certs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.footer-cert-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-cert-logo:hover {
  opacity: 1;
}

.footer-social-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.45);
  margin: 1rem 0 0.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--primary);
}

.footer-title {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.25rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 1.25rem;
  z-index: 9998;
  width: 44px;
  height: 44px;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(184, 154, 74, 0.35);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .scroll-top { bottom: 90px; right: 1rem; width: 40px; height: 40px; }
  .scroll-top svg { width: 20px; height: 20px; }
}

/* ============================================
   MODALS
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.modal-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Görev 6 - Gömülü Ödeme Modalı (Stripe Embedded Checkout / PayPal Smart Buttons) */
.payment-modal {
  position: relative;
  background-color: var(--card);
  border-radius: var(--radius);
  width: 95vw;
  max-width: 960px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.5rem 2rem 2rem;
}

@media (max-width: 640px) {
  .payment-modal {
    width: 100%;
    max-width: 100%;
    padding: 2.5rem 1rem 1rem;
  }
}

/* Stripe Embedded Checkout / PayPal Buttons; konteyner ve içindeki tüm
   sarmalayıcı elemanlar (iframe dahil) modal genişliğini tam olarak
   kaplasın. Stripe.js, iframe'i kendi sabit genişlikli bir <div> içine
   yerleştirebildiğinden sadece iframe'i değil tüm alt elemanları hedefleriz. */
#stripeCheckoutContainer,
#paypalButtonContainer {
  width: 100%;
}

#stripeCheckoutContainer *,
#paypalButtonContainer * {
  max-width: 100% !important;
}

#stripeCheckoutContainer iframe,
#paypalButtonContainer iframe {
  width: 100% !important;
}

.payment-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background-color: var(--muted);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.payment-modal-close:hover {
  background-color: var(--border);
}

.payment-modal-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--foreground);
}

.payment-modal-loading {
  text-align: center;
  color: var(--muted-foreground);
  padding: 2.5rem 0;
}

.payment-modal-body {
  min-height: 60px;
}

/* Video Modal */
.video-modal-content {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 16/9;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
}

/* Search Modal */
.search-modal {
  background-color: var(--card);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
}

.search-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-input-wrapper svg {
  width: 20px;
  height: 20px;
  color: var(--muted-foreground);
}

.search-input {
  flex: 1;
  border: none;
  background: none;
  font-size: 1rem;
  color: var(--foreground);
}

.search-input:focus {
  outline: none;
}

.search-results {
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius);
  transition: background-color 0.2s;
}

.search-result-item:hover {
  background-color: var(--muted);
}

.search-result-image {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  object-fit: cover;
}

.search-result-info {
  flex: 1;
}

.search-result-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.search-result-category {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.search-result-price {
  font-weight: 600;
  color: var(--primary);
}

.search-tags {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
}

.search-tags-title {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.search-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-tag {
  padding: 0.25rem 0.75rem;
  background-color: var(--muted);
  border-radius: 9999px;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: all 0.2s;
}

.search-tag:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  width: 100%;
  max-width: 420px;
  background-color: var(--card);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.cart-drawer.active {
  transform: translateX(0);
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-size: 1.25rem;
  font-weight: 600;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1.5rem;
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.cart-empty p {
  color: var(--muted-foreground);
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 600;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.cart-item-quantity button {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-quantity span {
  width: 32px;
  text-align: center;
}

.cart-item-remove {
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.cart-item-remove:hover {
  color: var(--destructive);
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.cart-shipping {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cart-total span:last-child {
  color: var(--primary);
}

/* ============================================
   AUTH PAGES (Login & Register)
   ============================================ */
.auth-page {
  min-height: 100vh;
  display: flex;
}

.auth-side {
  display: none;
  width: 50%;
  background: linear-gradient(135deg, rgba(27, 38, 59, 0.95), rgba(27, 38, 59, 0.8)), 
              url('https://images.unsplash.com/photo-1571068316344-75bc76f77890?w=1200') center/cover;
  padding: 3rem;
  position: relative;
}

@media (min-width: 1024px) {
  .auth-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.auth-side-content {
  color: #ffffff;
  max-width: 400px;
}

.auth-side-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.auth-side-desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.auth-side-stats {
  display: flex;
  gap: 2rem;
}

.auth-side-stat {
  color: #ffffff;
}

.auth-side-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.auth-side-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-container {
  width: 100%;
  max-width: 420px;
}

.auth-form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.auth-form-subtitle {
  color: var(--muted-foreground);
}

.auth-form-subtitle a {
  color: var(--primary);
  font-weight: 500;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.form-link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--border);
}

.auth-divider span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.social-buttons {
  display: flex;
  gap: 1rem;
}

.social-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 500;
  transition: background-color 0.2s;
}

.social-btn:hover {
  background-color: var(--muted);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail {
  padding-top: 100px;
  padding-bottom: 4rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-main-image {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--secondary);
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbnails {
  display: flex;
  gap: 0.75rem;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s;
}

.product-thumbnail.active,
.product-thumbnail:hover {
  border-color: var(--primary);
}

.product-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-info-category {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-info-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.product-info-price-current {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.product-info-price-old {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-info-price-badge {
  padding: 0.25rem 0.75rem;
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--destructive);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
}

.product-info-desc {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.product-options {
  margin-bottom: 2rem;
}

.product-option-label {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.product-colors {
  display: flex;
  gap: 0.5rem;
}

.product-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.product-color.active {
  border-color: var(--foreground);
  transform: scale(1.1);
}

.product-sizes {
  display: flex;
  gap: 0.5rem;
}

.product-size {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.product-size:hover,
.product-size.active {
  border-color: var(--primary);
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.product-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.product-quantity button {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.product-quantity span {
  width: 48px;
  text-align: center;
  font-weight: 500;
}

.product-specs {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.product-specs h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .product-specs-list {
    grid-template-columns: 1fr;
  }
}

.product-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background-color: var(--muted);
  border-radius: var(--radius);
}

.product-spec-full {
  grid-column: 1 / -1;
}

.product-spec-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-foreground);
}

.product-spec-label svg {
  flex-shrink: 0;
}

.product-spec-value {
  font-weight: 500;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* ============================================
   LAZY LOAD & FADE EFFECT
   ============================================ */
.lazy-image {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Placeholder while loading */
.image-placeholder {
  position: relative;
  background: linear-gradient(
    90deg,
    var(--secondary) 25%,
    var(--muted) 50%,
    var(--secondary) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Blur-up effect for progressive loading */
.lazy-image.blur-up {
  filter: blur(10px);
  transform: scale(1.02);
}

.lazy-image.blur-up.loaded {
  filter: blur(0);
  transform: scale(1);
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(27, 38, 59, 0.9), rgba(27, 38, 59, 0.7));
  z-index: 1;
}

.about-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.about-hero-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero-content p {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Story Section */
.about-story {
  padding: 5rem 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-story-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-story-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.about-story-content p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-story-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Stats Section */
.about-stats {
  padding: 4rem 0;
  background: var(--primary);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .about-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.about-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* Values Section */
.about-values {
  padding: 5rem 0;
  background: var(--muted);
}

.about-values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .about-values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-value-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-value-icon {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
}

.about-value-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.about-value-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Team Section */
.about-team {
  padding: 5rem 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .about-team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.about-team-card {
  text-align: center;
}

.about-team-image {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

.about-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.about-team-card:hover .about-team-image img {
  transform: scale(1.05);
}

.about-team-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.about-team-card span {
  color: var(--primary);
  font-size: 0.875rem;
}

/* CTA Section */
.about-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  text-align: center;
}

.about-cta-content h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.about-cta-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.about-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-cta-buttons .btn-primary {
  background: white;
  color: var(--primary);
}

.about-cta-buttons .btn-primary:hover {
  background: var(--muted);
}

.about-cta-buttons .btn-outline {
  border-color: white;
  color: white;
}

.about-cta-buttons .btn-outline:hover {
  background: white;
  color: var(--primary);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-hero {
  padding: 6rem 0 3rem;
  background: var(--muted);
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-hero p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact-info h2,
.contact-form-wrapper h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-info > p {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-social {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.contact-social h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.contact-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link-lg {
  width: 44px;
  height: 44px;
  background: var(--secondary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--foreground);
  transition: all 0.3s;
}

.social-link-lg:hover {
  background: var(--primary);
  color: white;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form {
  margin-top: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.form-checkbox input {
  width: auto;
  margin-top: 0.25rem;
}

.form-checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  color: var(--muted-foreground);
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Contact Success */
.contact-success {
  text-align: center;
  padding: 3rem 1rem;
}

.contact-success-icon {
  width: 80px;
  height: 80px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.contact-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.contact-success p {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}

/* Map Section */
.contact-map {
  padding: 0 0 4rem;
}

.map-wrapper {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.contact-faq {
  padding: 4rem 0;
  background: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-item {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   CHECKOUT PAGE STYLES
   ============================================ */
.checkout-header {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.checkout-main {
  padding: 100px 0 4rem;
  background: var(--muted);
  min-height: calc(100vh - 80px);
}

/* Progress Steps */
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.progress-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: all 0.3s;
}

.progress-step span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
}

.progress-step.active .progress-step-number {
  background: var(--primary);
  color: white;
}

.progress-step.active span {
  color: var(--primary);
}

.progress-step.completed .progress-step-number {
  background: var(--primary);
  color: white;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .progress-line {
    width: 100px;
  }
}

/* Checkout Grid */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .checkout-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

/* Checkout Steps */
.checkout-step {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
}

.checkout-step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

.checkout-subtitle {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin: 1.5rem 0 1rem;
}

/* Account Options */
.account-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.account-option {
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  overflow: hidden;
}

.account-option-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.account-option-header:hover {
  background: var(--muted);
}

.account-option-radio {
  position: relative;
  margin-top: 0.25rem;
}

.account-option-radio input {
  position: absolute;
  opacity: 0;
}

.radio-custom {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  transition: all 0.2s;
}

.account-option-radio input:checked + .radio-custom {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 4px white;
}

.account-option-info h3 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.account-option-info p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.account-option-content {
  display: none;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--muted);
}

.account-option-content.active {
  display: block;
}

/* Shipping Options */
.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.shipping-option:hover {
  border-color: var(--primary);
}

.shipping-option.active {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.05);
}

.shipping-option input {
  display: none;
}

.shipping-option-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.shipping-option-info strong {
  display: block;
  color: var(--foreground);
}

.shipping-option-info span {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.shipping-option-price {
  font-weight: 600;
  color: var(--primary);
}

/* Payment Methods */
.payment-methods {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.payment-method {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-method:hover {
  border-color: var(--primary);
}

.payment-method.active {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.05);
}

.payment-method input {
  display: none;
}

.payment-method-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--foreground);
  font-weight: 500;
}

/* Card Preview */
.card-preview {
  margin-bottom: 1.5rem;
}

.card-preview-front {
  width: 100%;
  max-width: 360px;
  height: 200px;
  background: linear-gradient(135deg, #1e2a5e 0%, #b89a4a 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
  position: relative;
  box-shadow: 0 10px 30px rgba(27, 38, 59, 0.3);
}

.card-chip {
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card-number-preview {
  font-size: 1.25rem;
  letter-spacing: 2px;
  font-family: monospace;
  margin-bottom: 1rem;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
}

.card-holder-preview span,
.card-expiry-preview span {
  display: block;
  font-size: 0.625rem;
  opacity: 0.7;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.card-holder-preview div,
.card-expiry-preview div {
  font-size: 0.875rem;
  text-transform: uppercase;
}

.card-brand {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.card-brand img {
  height: 30px;
}

/* Input with Icon */
.input-with-icon {
  position: relative;
}

.card-icons {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 0.5rem;
}

.card-icon {
  height: 20px;
  opacity: 0.5;
}

.cvv-tooltip {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  cursor: help;
}

.tooltip-content {
  display: none;
  position: absolute;
  bottom: 100%;
  right: 0;
  background: var(--foreground);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  width: 200px;
  margin-bottom: 0.5rem;
}

.cvv-tooltip:hover .tooltip-content {
  display: block;
}

/* Installment Options */
.installment-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .installment-options {
    grid-template-columns: repeat(4, 1fr);
  }
}

.installment-option {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.installment-option:hover {
  border-color: var(--primary);
}

.installment-option.active {
  border-color: var(--primary);
  background: rgba(20, 184, 166, 0.05);
}

.installment-option input {
  display: none;
}

.installment-content span {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.installment-content strong {
  color: var(--foreground);
  font-size: 0.875rem;
}

/* Bank Transfer Info */
.info-box {
  background: var(--muted);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.info-box h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.bank-details {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bank-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bank-detail span {
  color: var(--muted-foreground);
  min-width: 100px;
}

.btn-copy {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  cursor: pointer;
}

/* Checkout Terms */
.checkout-terms {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Checkout Buttons */
.checkout-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.checkout-buttons .btn-outline {
  flex: 0 0 auto;
}

.checkout-buttons .btn-primary {
  flex: 1;
}

/* Order Summary Sidebar */
.checkout-sidebar {
  position: sticky;
  top: 100px;
}

.order-summary {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.order-summary-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.order-items {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.order-item {
  display: flex;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.order-item:last-child {
  border-bottom: none;
}

.order-item-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.5rem;
  background: var(--muted);
}

.order-item-info {
  flex: 1;
}

.order-item-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.order-item-info p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.order-item-qty {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.order-item-price {
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
}

/* Order Coupon */
.order-coupon {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.order-coupon input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* Order Totals */
.order-totals {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.order-total-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.order-total-row.discount {
  color: var(--primary);
}

.order-total-row.total {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Security Badge */
.order-security {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.security-badge svg {
  color: var(--primary);
}

.payment-logos {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.payment-logos img {
  height: 20px;
  opacity: 0.6;
}

/* Order Help */
.order-help {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
}

.order-help h4 {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.order-help p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.help-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.help-phone:hover {
  text-decoration: underline;
}

/* Order Success */
.order-success {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary);
}

.order-success h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.order-success > p {
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.success-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--muted);
  border-radius: 0.75rem;
}

.success-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.success-detail svg {
  color: var(--primary);
}

.success-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Success step: sidebar gizlenince grid tek sütuna döner ve
   checkout-forms ekranda ortalanır (mobilde zaten 1fr). */
.checkout-grid.success-mode {
  grid-template-columns: 1fr;
}

.checkout-grid.success-mode .checkout-forms {
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 1023px) {
  .checkout-grid.success-mode .checkout-forms {
    max-width: 100%;
  }
}

/* Form utilities */
.form-row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.form-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.875rem;
}

.form-link:hover {
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.text-center {
  text-align: center;
}

.text-muted {
  color: var(--muted-foreground);
}

/* ============================================
   LOAD MORE / INFINITE SCROLL
   ============================================ */
.load-more-trigger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  min-height: 100px;
}

.loading-spinner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.all-loaded {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.hidden {
  display: none !important;
}

/* ============================================
   FORUM BILDUNGSZENTRUM - SINAV SISTEMI EKLERI
   ============================================ */

/* Sınav kartı - tarih rozeti (product-image alanı icinde) */
.exam-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--muted) 0%, var(--secondary) 100%);
}

.exam-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.exam-date-day {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--foreground);
}

.exam-date-month {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.exam-date-year {
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.product-badge.info {
  background-color: var(--muted-foreground);
  color: #ffffff;
}

/* Sınav kartı meta bilgileri (saat, salon, kooperasyon ortağı) */
.exam-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0.5rem 0 0.75rem;
}

.exam-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.825rem;
  color: var(--muted-foreground);
}

.exam-meta-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--primary);
}

/* Sınav listesi bos durumu */
.exam-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
}

.exam-empty-state h3 {
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Section icindeki "tum sinavlari gor" baglantisi */
.section-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================
   FORUM BILDUNGSZENTRUM - SINAV DETAY SAYFASI
   (SinavDetay_view.php)
   ============================================ */

/* Ürün galerisi yerine kullanılan büyük "sınav özeti" kartı */
.exam-detail-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--muted) 0%, var(--secondary) 100%);
  padding: 2rem;
  text-align: center;
}

.exam-detail-hero.has-image .exam-detail-hero-group,
.exam-detail-hero.has-image .exam-detail-hero-title {
  color: #fff;
}

.exam-detail-hero-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.exam-detail-hero-date .exam-date-day {
  font-size: 3rem;
}

.exam-detail-hero-date .exam-date-month {
  font-size: 1rem;
}

.exam-detail-hero-date .exam-date-year {
  font-size: 0.85rem;
}

.exam-detail-hero-group {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.exam-detail-hero-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Sınav türü/işbirliği ortağı bilgi kartı (gallery altında) */
.exam-detail-partner {
  margin-top: 1rem;
  padding: 1.25rem;
  background-color: var(--muted);
  border-radius: var(--radius);
}

.exam-detail-partner h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.exam-detail-partner-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.exam-detail-partner-item:last-child {
  margin-bottom: 0;
}

.exam-detail-partner-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: var(--primary);
}

/* Kontenjan / son başvuru durumu bildirimleri */
.exam-detail-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.exam-detail-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.exam-detail-notice.notice-success {
  background-color: rgba(20, 184, 166, 0.08);
  color: var(--primary);
}

.exam-detail-notice.notice-warning {
  background-color: rgba(245, 158, 11, 0.1);
  color: #b45309;
}

.exam-detail-notice.notice-danger {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--destructive);
}

/* Sınav açıklama metinleri (prufungstyp.Aciklama / sinavlar.Aciklama) */
.exam-detail-description {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 3rem;
}

.exam-detail-description h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.exam-detail-description-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--foreground);
}

.exam-detail-description-content p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.exam-detail-description-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.exam-detail-description-content ul li {
  margin-bottom: 0.35rem;
}

/* "Diğer Sınav Tarihleri" bölümü */
.exam-other-dates {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 3rem;
}

.exam-other-dates h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ============================================
   FORUM BILDUNGSZENTRUM - ANMELDUNG SIHIRBAZI
   (Anmeldung_view.php)
   ============================================ */

/* Form alanlarındaki zorunlu alan işareti */
.required-marker {
  color: var(--destructive);
}

/* AJAX form gönderim sonucu uyarı kutuları */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-alert svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.form-alert.form-alert-error {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--destructive);
}

.form-alert ul {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

/* Sınav özeti (sipariş özeti yerine) */
.exam-summary-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.exam-summary-item:last-child {
  border-bottom: none;
}

.exam-summary-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.exam-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

/* Ödeme yöntemi açıklama kutuları (kart/PayPal/havale) */
.payment-method-info {
  margin-bottom: 1.5rem;
}

.payment-method-info p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ============================================
   FORUM BILDUNGSZENTRUM - ODEME SONUC SAYFASI
   (OdemeSonuc_view.php)
   ============================================ */

/* Stripe/PayPal donus sayfasi (basarili/beklemede/iptal/hata) icin
   tek sutunlu, ortalanmis sonuc karti. */
.checkout-result {
  max-width: 640px;
  margin: 0 auto;
}

/* "success-icon" varsayilan olarak --primary (yesil/teal) renginde;
   beklemede/iptal durumlari icin sari, hata durumu icin kirmizi varyant. */
.success-icon.icon-warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.success-icon.icon-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--destructive);
}

/* Banka havalesi bilgi kutusu (.info-box / .bank-details) odeme sonuc
   kartinin icinde sola yasli ve diger bloklardan ayrik gorunsun. */
.order-success .info-box {
  margin: 1.5rem 0;
  text-align: left;
}

.order-success .info-box .text-muted {
  margin-top: 1rem;
  margin-bottom: 0;
  font-size: 0.8rem;
}
