/* =========================================================================
   Sevgin Eğitim Kurumları - Ana Stil Dosyası (assets/css/style.css)
   ========================================================================= */

:root {
  /* Renk Paleti */
  --primary: #0F2A4A;
  --primary-light: #1E3E62;
  --primary-dark: #09192C;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --accent-light: #EFF6FF;
  --gold: #F59E0B;
  --gold-hover: #D97706;
  --gold-light: #FEF3C7;
  --success: #10B981;
  --success-light: #D1FAE5;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --warning: #F97316;

  /* Nötr Renkler */
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-light: #F1F5F9;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Gölgeler & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition: all 0.25s ease-in-out;
}

/* Reset & Temel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

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

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================================
   ÜST BİLGİ & HEADER
   ========================================================================= */

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: #CBD5E1;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.top-bar-links a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-links a:hover {
  color: #FFFFFF;
}

.top-bar-badge {
  background: var(--gold);
  color: var(--primary-dark);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 11px;
}

/* Ana Header */
.main-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 52px;
  width: auto;
}

/* Arama Çubuğu */
.header-search {
  flex: 1;
  max-width: 520px;
}

.search-form {
  display: flex;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 12px 18px;
  padding-right: 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 14px;
  background: #F8FAFC;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Header Aksiyonları (Üye + Sepet) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition);
}

.header-action-btn:hover {
  background: var(--accent-light);
  border-color: #BFDBFE;
  color: var(--accent);
}

.header-action-icon {
  font-size: 18px;
  color: var(--primary);
}

.header-cart-btn {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  position: relative;
}

.header-cart-btn:hover {
  background: var(--primary-light);
  color: #FFFFFF;
}

.header-cart-btn .header-action-icon {
  color: var(--gold);
}

.cart-badge {
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -6px;
  box-shadow: var(--shadow-sm);
}

/* Navigasyon / Kategori Menüsü */
.main-nav {
  background: var(--primary);
  color: #FFFFFF;
  position: relative;
  z-index: 90;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  width: 100%;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 15px;
  color: #E2E8F0;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 0;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-item > a:hover,
.nav-item.active > a {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

/* Dropdown Menü (Diğer Kategoriler) */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
}

.nav-dropdown-toggle::after {
  content: ' ▾';
  font-size: 11px;
  margin-left: 2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 8px 0;
  display: none;
  z-index: 1000;
  animation: fadeInDown 0.2s ease;
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent);
  padding-left: 22px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav-item-highlight a {
  background: var(--gold);
  color: var(--primary-dark) !important;
  font-weight: 700;
  border-radius: 4px;
  margin-left: 6px;
  padding: 8px 14px;
}

.nav-item-highlight a:hover {
  background: #FBBF24;
  color: var(--primary-dark) !important;
}

/* Mobil Menü Butonu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
}

/* =========================================================================
   HERO / BANNER ALANI
   ========================================================================= */
.hero-section {
  padding: 30px 0;
}

.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #1D4ED8 100%);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.2);
  color: var(--gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 38px;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-desc {
  font-size: 16px;
  color: #E2E8F0;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-preview {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transform: rotate(2deg);
  box-shadow: var(--shadow-xl);
  max-width: 320px;
}

.hero-card-preview img {
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

/* =========================================================================
   ÖNE ÇIKAN AVANTAJLAR (Feature Bar)
   ========================================================================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.feature-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #BFDBFE;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.feature-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* =========================================================================
   KATEGORİ KARTLARI
   ========================================================================= */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin: 20px 0 40px;
}

.category-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.category-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cat-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: #F1F5F9;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.category-card:hover .cat-icon-wrapper {
  background: var(--accent);
  color: #FFFFFF;
}

.cat-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

/* =========================================================================
   ÜRÜN KARTLARI & GRID
   ========================================================================= */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.section-title {
  font-size: 24px;
  color: var(--primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent);
}

.view-all-link {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #BFDBFE;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  z-index: 2;
  box-shadow: var(--shadow-sm);
}

.product-thumb {
  position: relative;
  background: #F8FAFC;
  padding: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1 / 1.25;
  overflow: hidden;
}

.product-thumb img {
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  border-radius: var(--radius-sm);
}

.product-card:hover .product-thumb img {
  transform: scale(1.04);
}

.product-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 42px;
}

.product-author {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 12.5px;
  color: var(--text-light);
  text-decoration: line-through;
}

.current-price {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--primary);
}

.btn-add-cart {
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-add-cart:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* =========================================================================
   ÜRÜN DETAY SAYFASI
   ========================================================================= */
.product-detail-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 40px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px;
  margin: 30px 0;
  box-shadow: var(--shadow-sm);
}

.detail-gallery {
  position: relative;
  background: #F8FAFC;
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
}

.detail-gallery img {
  max-height: 480px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-category-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 12px;
  width: fit-content;
}

.detail-title {
  font-size: 28px;
  margin-bottom: 12px;
}

.detail-meta-list {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.detail-meta-list span strong {
  color: var(--text-main);
}

.detail-price-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.detail-price {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
}

.detail-actions-form {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
}

.quantity-btn {
  background: #F8FAFC;
  border: none;
  width: 40px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition);
}

.quantity-btn:hover {
  background: #E2E8F0;
}

.quantity-input {
  width: 50px;
  height: 44px;
  text-align: center;
  border: none;
  font-size: 16px;
  font-weight: 700;
  outline: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
}

.detail-specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}

.detail-specs-table tr {
  border-bottom: 1px solid var(--border-color);
}

.detail-specs-table td {
  padding: 10px 0;
}

.detail-specs-table td:first-child {
  font-weight: 600;
  color: var(--text-muted);
  width: 140px;
}

/* =========================================================================
   SEPET SAYFASI (Cart)
   ========================================================================= */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 30px;
  margin: 30px 0;
}

.cart-table-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.free-shipping-bar {
  background: var(--accent-light);
  border: 1px solid #BFDBFE;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
}

.progress-track {
  background: #DBEAFE;
  height: 8px;
  border-radius: var(--radius-full);
  margin-top: 8px;
  overflow: hidden;
}

.progress-fill {
  background: var(--accent);
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
}

.cart-table td {
  padding: 18px 12px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-thumb {
  width: 64px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cart-item-title {
  font-weight: 700;
  color: var(--text-main);
  font-size: 14.5px;
}

.cart-item-cat {
  font-size: 12px;
  color: var(--text-muted);
}

.cart-summary-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  height: fit-content;
}

.summary-title {
  font-size: 18px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14.5px;
}

.summary-row.total {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  border-top: 2px solid var(--border-color);
  padding-top: 14px;
  margin-top: 14px;
}

/* =========================================================================
   ÖDEME & SİPARİŞ TAMAMLAMA (Checkout)
   ========================================================================= */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 30px;
  margin: 30px 0;
}

.form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.form-card-title {
  font-size: 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  background: #FFFFFF;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

/* Ödeme Yöntemi Seçici */
.payment-methods-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.payment-tab-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.payment-tab-option.active {
  border-color: var(--accent);
  background: var(--accent-light);
}

.bank-info-box {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  font-size: 13.5px;
  line-height: 1.6;
}

/* =========================================================================
   SİPARİŞ BAŞARILI (Order Success)
   ========================================================================= */
.success-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  max-width: 680px;
  margin: 40px auto;
  box-shadow: var(--shadow-md);
}

.success-icon-badge {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--success-light);
  color: var(--success);
  font-size: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.order-code-badge {
  display: inline-block;
  background: #F1F5F9;
  border: 1px dashed var(--accent);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0 24px;
}

/* =========================================================================
   AUTH SAYFALARI (Login & Register)
   ========================================================================= */
.auth-wrapper {
  max-width: 460px;
  margin: 40px auto;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.auth-header {
  text-align: center;
  margin-bottom: 26px;
}

.auth-title {
  font-size: 24px;
  margin-bottom: 6px;
}

.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--text-muted);
}

/* =========================================================================
   BİLDİRİMLER & ALERTLER
   ========================================================================= */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.alert-success { background: var(--success-light); color: #065F46; border: 1px solid #A7F3D0; }
.alert-danger { background: var(--danger-light); color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background: var(--gold-light); color: #92400E; border: 1px solid #FDE68A; }
.alert-info { background: var(--accent-light); color: #1E40AF; border: 1px solid #BFDBFE; }

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: var(--transition);
}

.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn-gold { background: var(--gold); color: var(--primary-dark); font-weight: 700; }
.btn-gold:hover { background: var(--gold-hover); color: #FFFFFF; }
.btn-outline { background: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background: #F1F5F9; border-color: #CBD5E1; }
.btn-danger-outline { background: transparent; border: 1px solid #FECACA; color: var(--danger); }
.btn-danger-outline:hover { background: var(--danger-light); }
.btn-block { width: 100%; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--primary);
  color: #CBD5E1;
  padding-top: 50px;
  margin-top: 60px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget-title {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
}

.footer-links a {
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-bottom {
  padding: 20px 0;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  color: #94A3B8;
}

/* Toast Bildirim */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast {
  background: #1E293B;
  color: #FFFFFF;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid var(--accent);
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* =========================================================================
   RESPONSIVE DÜZEN
   ========================================================================= */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .hero-banner { grid-template-columns: 1fr; padding: 28px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 28px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout { grid-template-columns: 1fr; padding: 20px; }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout-layout { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
}
