/* ==========================================================================
   MULTİMERKEZ - Markaya Özel E-Ticaret Tasarım Sistemi
   Renk Paleti:
   - Ana Renk: #2457F5
   - Koyu Metin: #161A22
   - Açık Yüzey: #F4F6FA
   - Beyaz: #FFFFFF
   - Kenarlık: #E5E7EB
   - Köşe Yuvarlama: ~14px (Kartlar), 9999px (Pill/Butonlar)
   - Font: Inter (Türkçe karakter destekli)
   ========================================================================== */

:root {
  --primary: #2457F5;
  --primary-hover: #1946D6;
  --primary-light: #EBF2FE;
  --primary-glow: rgba(36, 87, 245, 0.15);
  
  --dark: #161A22;
  --dark-soft: #2E3440;
  --muted: #64748B;
  --muted-light: #94A3B8;
  
  --surface-light: #F4F6FA;
  --surface-card: #FFFFFF;
  --surface-alt: #F8FAFC;
  
  --border-light: #E5E9F0;
  --border-subtle: #EDF0F5;
  --border-focus: #2457F5;
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-subtle: 0 2px 8px rgba(22, 26, 34, 0.04);
  --shadow-card: 0 4px 16px rgba(22, 26, 34, 0.06);
  --shadow-hover: 0 8px 24px rgba(22, 26, 34, 0.09);
  --shadow-drawer: -4px 0 24px rgba(22, 26, 34, 0.12);
  
  --header-height: 72px;
  --bottom-nav-height: 64px;
  --max-width: 1280px;
}

/* Reset & Temel Ayarlar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  color: var(--dark);
  background-color: #FFFFFF;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

input, select, textarea {
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.container {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

/* ==========================================================================
   1. DUYURU ŞERİDİ (Top Announcement Bar)
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 7px 0;
  text-align: center;
}

.top-bar .desktop-text {
  display: block;
}

.top-bar .mobile-text {
  display: none;
}

/* ==========================================================================
   2. BAŞLIK ALANI (Main Header)
   ========================================================================== */
.main-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

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

/* Mobil Hamburger Menü Butonu */
.mobile-menu-btn {
  display: none;
  padding: 8px;
  color: var(--dark);
}

/* Arama Kutusu */
.search-container {
  flex: 1;
  max-width: 620px;
  position: relative;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 2px 18px;
  transition: all 0.2s;
  height: 44px;
}

.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
  color: var(--muted);
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: var(--dark);
  font-size: 14px;
}

.search-input::placeholder {
  color: #94A3B8;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-results-dropdown.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 14px;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: background-color 0.15s;
}

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

.search-result-item img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface-light);
}

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

.search-result-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.search-result-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* Header Eylemleri (Hesap, Favoriler, Sepet) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--dark);
  transition: all 0.2s;
}

.header-action-btn:hover {
  background-color: var(--surface-light);
  color: var(--primary);
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   3. KATEGORİ MENÜSÜ (Navigation Bar)
   ========================================================================== */
.nav-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 13.5px;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 44px;
  list-style: none;
}

.nav-item-all {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--dark);
}

.nav-links a {
  color: #334155;
  transition: color 0.15s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* ==========================================================================
   4. ANA BANNER (Hero Banner)
   ========================================================================== */
.hero-section {
  padding: 24px 0 16px;
}

.hero-banner {
  background: #E8F1FD;
  background: linear-gradient(135deg, #EBF3FE 0%, #DDEBFC 100%);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 290px;
  position: relative;
  box-shadow: var(--shadow-subtle);
}

.hero-left {
  flex: 1.1;
  padding: 40px 48px;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 15.5px;
  color: #475569;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(36, 87, 245, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(36, 87, 245, 0.32);
}

.btn-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s;
}

.btn-link:hover {
  transform: translateX(3px);
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100%;
  position: relative;
}

.hero-img {
  max-height: 290px;
  width: auto;
  object-fit: cover;
  object-position: right center;
}

/* ==========================================================================
   5. TELEFONUNA UYGUN AKSESUARI BUL (Compatibility Filter)
   ========================================================================== */
.finder-section {
  padding: 12px 0 24px;
}

.finder-card {
  background-color: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.finder-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}

.finder-fields {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.finder-select-wrapper {
  flex: 1;
  position: relative;
}

.finder-select {
  width: 100%;
  height: 42px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 36px 0 14px;
  appearance: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
}

.finder-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted);
}

.finder-btn {
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13.5px;
  height: 42px;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

/* ==========================================================================
   6. KATEGORİ KUTULARI (Category Boxes)
   ========================================================================== */
.categories-section {
  padding: 8px 0 24px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.category-card {
  background-color: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  background-color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.category-img-wrap {
  width: 72px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.category-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.category-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-top: auto;
}

/* ==========================================================================
   7. GÜNÜN FAVORİLERİ & ÜRÜN KARTLARI (Products Section)
   ========================================================================== */
.products-section {
  padding: 16px 0 28px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
}

.section-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

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

/* Tekil Ürün Kartı (Referanstaki Birebir Tasarım) */
.product-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
}

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

.product-card-top {
  position: relative;
  width: 100%;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  cursor: pointer;
}

.product-card-top img {
  max-width: 90%;
  max-height: 135px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

.favorite-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 3;
}

.favorite-btn:hover {
  color: var(--danger);
  background-color: #FFFFFF;
  transform: scale(1.1);
}

.favorite-btn.active {
  color: var(--danger);
}

.favorite-btn.active svg {
  fill: var(--danger);
}

.product-info {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

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

.product-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.product-original-price {
  font-size: 12px;
  color: var(--muted-light);
  text-decoration: line-through;
  margin-left: 4px;
}

/* Mavi Yuvarlak Sepete Ekle Butonu (+) */
.add-to-cart-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background-color: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(36, 87, 245, 0.3);
}

.add-to-cart-btn:hover {
  background-color: var(--primary-hover);
  transform: scale(1.08);
}

/* ==========================================================================
   8. ALT BİLGİ ŞERİDİ (Trust Badges Row)
   ========================================================================== */
.trust-section {
  padding: 12px 0 28px;
}

.trust-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
}

.trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
}

/* ==========================================================================
   9. MULTİMERKEZ HAKKINDA BÖLÜMÜ (About Us)
   ========================================================================== */
.about-section {
  padding: 24px 0 36px;
  background-color: var(--surface-light);
  border-top: 1px solid var(--border-light);
}

.about-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 32px;
  box-shadow: var(--shadow-subtle);
}

.about-img-wrap {
  flex: 1;
  max-height: 320px;
  overflow: hidden;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text-wrap {
  flex: 1.2;
  padding: 32px 36px 32px 0;
}

.about-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.about-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.about-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark);
}

.about-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.about-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #F58529, #D62976, #962FBF, #4F5BD5);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-instagram-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(214, 41, 118, 0.3);
}

/* ==========================================================================
   10. ALT BİLGİ (Footer)
   ========================================================================== */
.main-footer {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col-brand p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 14px 0 18px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.15s;
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted-light);
}

/* ==========================================================================
   11. YÜZEN BUTONLAR (Floating WhatsApp & Admin)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 84px;
  right: 20px;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 40;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.admin-quick-toggle {
  position: fixed;
  bottom: 84px;
  left: 20px;
  background-color: var(--dark);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.admin-quick-toggle:hover {
  background-color: var(--primary);
}

/* ==========================================================================
   12. MOBİL SABİT ALT MENÜ (Mobile Bottom Navigation)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bottom-nav-height);
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  z-index: 60;
  padding: 0 10px;
}

.bottom-nav-items {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 100%;
}

.bottom-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  flex: 1;
  position: relative;
  transition: color 0.15s;
}

.bottom-nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.bottom-nav-link .badge-count {
  top: -2px;
  right: 18px;
}

/* ==========================================================================
   13. ÇEKMECELER & MODALLAR (Drawers & Modals)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(22, 26, 34, 0.5);
  backdrop-filter: blur(2px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: #FFFFFF;
  z-index: 100;
  box-shadow: var(--shadow-drawer);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

.drawer-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.drawer-close {
  color: var(--muted);
  padding: 4px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
}

.drawer-footer {
  padding: 18px 22px;
  border-top: 1px solid var(--border-light);
  background-color: var(--surface-light);
}

/* Sepet Kalemleri */
.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-light);
  object-fit: contain;
  flex-shrink: 0;
}

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

.cart-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  background-color: #FFFFFF;
}

.qty-btn {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: 600;
}

.qty-value {
  font-size: 12.5px;
  font-weight: 600;
  padding: 0 8px;
}

.cart-remove-btn {
  color: var(--muted-light);
  transition: color 0.15s;
}

.cart-remove-btn:hover {
  color: var(--danger);
}

/* Modal Kutusu */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(22, 26, 34, 0.6);
  backdrop-filter: blur(3px);
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

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

.modal-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-card);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.modal-body {
  padding: 24px;
}

/* ==========================================================================
   14. E-TİCARET SAYFA GÖRÜNÜMLERİ (Views: Detail, Checkout, Admin)
   ========================================================================== */
.view-container {
  display: none;
  padding: 28px 0 48px;
}

.view-container.active {
  display: block;
}

/* Ürün Detay Görünümü */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.detail-gallery {
  position: sticky;
  top: 96px;
}

.main-image-wrap {
  width: 100%;
  height: 420px;
  background-color: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  margin-bottom: 16px;
}

.main-image-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  background-color: var(--surface-light);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
}

.gallery-thumb.active {
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.detail-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.25;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 16px;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  background-color: var(--surface-light);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.detail-current-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
}

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

.variant-picker {
  margin-bottom: 24px;
}

.variant-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  display: block;
}

.color-options {
  display: flex;
  gap: 10px;
}

.color-option {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px var(--border-light);
  cursor: pointer;
  transition: all 0.15s;
}

.color-option.active {
  box-shadow: 0 0 0 2px var(--primary);
  transform: scale(1.1);
}

.model-select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-weight: 500;
}

.detail-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
}

.detail-qty {
  height: 48px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.btn-add-detail {
  flex: 1;
  height: 48px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

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

.detail-trust-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.trust-pill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dark-soft);
}

/* Teknik Özellikler Tablosu */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 13.5px;
}

.specs-table th, .specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.specs-table th {
  width: 35%;
  color: var(--muted);
  font-weight: 500;
}

.specs-table td {
  color: var(--dark);
  font-weight: 600;
}

/* Ödeme ve Sipariş Ekranı */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
}

.checkout-box {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.checkout-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num {
  width: 24px;
  height: 24px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  height: 42px;
  padding: 0 12px;
}

.form-group textarea {
  height: 80px;
  padding: 10px 12px;
  resize: vertical;
}

.payment-method-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.payment-method-card.active {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.payment-method-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--primary);
}

.payment-info-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.payment-info-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.order-summary-card {
  background-color: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  position: sticky;
  top: 96px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  margin-bottom: 10px;
  color: var(--muted);
}

.summary-total {
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
}

.btn-complete-order {
  width: 100%;
  height: 48px;
  background-color: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  margin-top: 20px;
  transition: all 0.2s;
}

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

/* Entegrasyon Uyarısı Bildirimi */
.integration-alert {
  background-color: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12.5px;
  color: #92400E;
  margin-top: 16px;
  line-height: 1.5;
}

/* Toast Bildirimleri */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 120;
  pointer-events: none;
}

.toast {
  background-color: var(--dark);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   15. YÖNETİM PANELİ (Admin Dashboard)
   ========================================================================== */
.admin-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
}

.admin-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.admin-table th, .admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
}

.admin-table th {
  background-color: var(--surface-light);
  color: var(--dark);
  font-weight: 700;
}

.admin-action-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background-color: var(--surface-light);
  border: 1px solid var(--border-light);
  color: var(--dark);
  margin-right: 6px;
}

.admin-action-btn:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.admin-action-btn.delete:hover {
  background-color: var(--danger);
  border-color: var(--danger);
}

/* ==========================================================================
   16. MOBİL DUYARLILIK (Mobile Responsive Layout)
   Ekran Genişliği: 360px - 768px
   ========================================================================== */
@media (max-width: 768px) {
  /* Duyuru Şeridi */
  .top-bar .desktop-text {
    display: none;
  }
  .top-bar .mobile-text {
    display: block;
  }
  
  /* Header Düzeni */
  .main-header {
    padding: 8px 0;
  }
  
  .header-content {
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .brand-logo {
    margin: 0 auto;
  }
  
  .brand-logo img {
    height: 28px;
  }
  
  .header-actions .header-action-btn:not(#header-cart-btn) {
    display: none;
  }
  
  /* Tam Genişlik Arama Kutusu */
  .search-container {
    order: 3;
    max-width: 100%;
    width: 100%;
  }
  
  .search-box {
    height: 40px;
  }
  
  /* Kategori Menüsü (Masaüstü yatay menüsü mobilde gizlenir) */
  .nav-bar {
    display: none;
  }
  
  /* Banner (Mobilde sıralama: Tag -> Title -> Subtitle -> Image -> Buttons) */
  .hero-section {
    padding: 12px 0;
  }
  
  .hero-banner {
    flex-direction: column;
    padding: 24px 20px 20px;
    min-height: auto;
    text-align: left;
  }
  
  .hero-left {
    padding: 0;
    width: 100%;
  }
  
  .hero-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 8px;
  }
  
  .hero-subtitle {
    font-size: 13.5px;
    margin-bottom: 16px;
  }
  
  .hero-right {
    width: 100%;
    margin: 12px 0 20px;
    justify-content: center;
  }
  
  .hero-img {
    max-height: 200px;
    width: auto;
  }
  
  .hero-buttons {
    flex-direction: row;
    gap: 14px;
    width: 100%;
  }
  
  .hero-buttons .btn-primary {
    padding: 10px 20px;
    font-size: 13px;
  }
  
  /* Telefonuna Uygun Aksesuarı Bul (Mobilde 2 alan yan yana, buton altta) */
  .finder-card {
    flex-direction: column;
    padding: 16px;
    gap: 14px;
  }
  
  .finder-title {
    align-self: flex-start;
  }
  
  .finder-fields {
    width: 100%;
    gap: 10px;
  }
  
  .finder-btn {
    width: 100%;
  }
  
  /* Kategori Kutuları (Mobilde Yatay Kaydırılabilir Dokunmatik Liste) */
  .categories-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .categories-grid::-webkit-scrollbar {
    display: none;
  }
  
  .category-card {
    flex: 0 0 110px;
    scroll-snap-align: start;
    padding: 12px 8px 10px;
  }
  
  .category-img-wrap {
    width: 52px;
    height: 48px;
  }
  
  /* Ürünler Grid (Mobilde 2 Sütun) */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .product-card {
    padding: 12px;
  }
  
  .product-card-top {
    height: 120px;
  }
  
  .product-card-top img {
    max-height: 105px;
  }
  
  .product-name {
    font-size: 12.5px;
    min-height: 32px;
  }
  
  .product-price {
    font-size: 14.5px;
  }
  
  .add-to-cart-btn {
    width: 30px;
    height: 30px;
  }
  
  /* Güvenlik Şeridi */
  .trust-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
  }
  
  /* Hakkında Alanı */
  .about-card {
    flex-direction: column;
    gap: 0;
  }
  
  .about-text-wrap {
    padding: 24px;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  /* Sabit Alt Menü Aktif */
  .mobile-bottom-nav {
    display: block;
  }
  
  /* Sayfa Alt Boşluğu (Menüye çarpmaması için) */
  body {
    padding-bottom: var(--bottom-nav-height);
  }
  
  .whatsapp-float {
    bottom: calc(var(--bottom-nav-height) + 16px);
    right: 16px;
    width: 46px;
    height: 46px;
  }
  
  .admin-quick-toggle {
    bottom: calc(var(--bottom-nav-height) + 16px);
    left: 16px;
  }
  
  /* Ürün Detay ve Checkout Grid */
  .product-detail-grid,
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
