/* ============================================================
   PAR.AZ — TAM CSS
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b7a;
  --secondary: #1d3557;
  --vip: #8e44ad;
  --vip-light: #b06fc8;
  --success: #27ae60;
  --warning: #f39c12;
  --danger: #e74c3c;
  
  --bg: #f0f2f5;
  --card: #ffffff;
  --border: #e8e8e8;
  --text: #1a1a1a;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-primary: 0 6px 20px rgba(230,57,70,0.35);
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
  --transition-slow: cubic-bezier(0.4, 0, 0.2, 1) 0.35s;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: var(--bg);
  color: var(--text);
  padding-bottom: 90px;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

/* ============================================================
   ICON STİLLƏRİ
   ============================================================ */
.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  stroke-width: 1.8;
  stroke: currentColor;
  fill: none;
  flex-shrink: 0;
}

.icon-xs { width: 14px; height: 14px; stroke-width: 2; }
.icon-sm { width: 18px; height: 18px; stroke-width: 1.8; }
.icon-md { width: 22px; height: 22px; }
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 32px; height: 32px; stroke-width: 1.5; }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  gap: 12px;
}

.site-logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -1px;
  flex: 1;
  margin-left: 4px;
}

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

.menu-toggle-btn {
  background: transparent !important;
  border: none !important;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.menu-toggle-btn:hover { transform: scale(1.1); }
.menu-toggle-btn:active { transform: scale(0.9); }

.menu-toggle-btn::before {
  content: '';
  display: block;
  width: 22px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round'><line x1='1' y1='2' x2='21' y2='2'/><line x1='1' y1='8' x2='21' y2='8'/><line x1='1' y1='14' x2='21' y2='14'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.dark-mode .menu-toggle-btn::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 16' fill='none' stroke='%23f0f0f5' stroke-width='2' stroke-linecap='round'><line x1='1' y1='2' x2='21' y2='2'/><line x1='1' y1='8' x2='21' y2='8'/><line x1='1' y1='14' x2='21' y2='14'/></svg>");
}

.top-icons { display: flex; gap: 8px; align-items: center; }

.icon-btn, .back-btn {
  background: #f5f5f7;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text);
  flex-shrink: 0;
}

.icon-btn:hover, .back-btn:hover { background: #ebebef; transform: scale(1.05); }
.icon-btn:active, .back-btn:active { transform: scale(0.92); }

.theme-toggle-btn {
  background: transparent;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: transform var(--transition);
}

.theme-toggle-btn:hover { transform: scale(1.15); }
.theme-toggle-btn:active { transform: scale(0.9); }

.add-btn-round {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  padding-bottom: 3px;
}

.add-btn-round:hover { transform: scale(1.08); }
.add-btn-round:active { transform: scale(0.92); }

/* ============================================================
   TOP SEARCH BAR
   ============================================================ */
.top-search { padding: 0 16px 12px; }
.top-search form { width: 100%; }
.top-search-box { position: relative; display: flex; align-items: center; }
.top-search-icon {
  position: absolute;
  left: 14px;
  font-size: 16px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 2;
}

.top-search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: none;
  background: #f0f2f5;
  border-radius: var(--radius-full);
  font-size: 14px;
  color: var(--text);
  font-family: inherit;
  transition: all var(--transition);
}

.top-search input:focus {
  outline: none;
  background: #e8eaee;
  box-shadow: inset 0 0 0 2px var(--primary);
}

.top-search input::placeholder { color: var(--text-muted); }

/* ============================================================
   FILTER TABS
   ============================================================ */
.filter-tabs {
  display: flex;
  gap: 8px;
  padding: 10px 12px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.tab {
  background: #f5f5f7;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
  display: inline-block;
  flex: 0 0 auto;
}

.tab:hover { background: #ebebef; color: var(--text); }

.tab.active {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d3a 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

/* ============================================================
   PRODUCTS GRID
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
}

.product-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card:active { transform: scale(0.98); }

.product-card.vip {
  border: 2px solid var(--vip);
  box-shadow: 0 4px 20px rgba(142,68,173,0.25);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #e8e8ec 0%, #d8d8dc 100%);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition);
}

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

.photo-count {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.95);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.favorite-btn:hover { transform: scale(1.12); }
.favorite-btn:active { transform: scale(0.92); }

.badges {
  position: absolute;
  bottom: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
  align-items: center;
}

.badge {
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}

.badge-crown { background: linear-gradient(135deg, #ffd700, #ffb700); }
.badge-v { background: linear-gradient(135deg, #ff9500, #ff7b00); }
.badge-vip {
  background: linear-gradient(135deg, var(--vip), var(--vip-light));
  font-size: 10px;
  font-weight: 800;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-price {
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.product-price .currency { font-size: 14px; color: var(--text-secondary); }

.product-name {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}

.product-details { font-size: 12px; color: var(--text-muted); }

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  border-top: 1px solid #f5f5f5;
}

.salon-badge {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10px;
  background: rgba(230,57,70,0.08);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

/* ============================================================
   BOTTOM NAV (ilex.az kimi - hündürlük azaldılmış)
   ============================================================ */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  padding: 6px 0 10px;
  z-index: 100;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  transition: background 0.3s, border-color 0.3s;
  overflow: visible;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #9ca3af;
  font-size: 11px;
  padding: 2px 6px;
  flex: 1;
  transition: all 0.2s;
  font-weight: 500;
  background: none;
  border: none;
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.nav-item.active {
  color: #e63946;
  font-weight: 700;
}

.nav-icon {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  transition: all 0.2s;
}

.nav-item.active .nav-icon {
  transform: scale(1.1);
}

.nav-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  display: block;
}

.nav-item.active .nav-icon .icon {
  stroke-width: 2.2;
  stroke: #e63946;
}

.nav-label {
  font-weight: inherit;
  font-size: 10px;
  line-height: 1.2;
}

/* ORTA + DÜYMƏSİ (YUXARI QALXMIŞ) */
.nav-add {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: #e63946;
  color: #fff;
  margin-top: -28px;
  margin-bottom: 4px;
  border: 4px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(230,57,70,0.4);
  transition: all 0.2s;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.nav-add:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 28px rgba(230,57,70,0.5);
}

.nav-add:active {
  transform: scale(0.92);
}

.nav-add .icon {
  width: 26px;
  height: 26px;
  stroke: #ffffff;
  stroke-width: 2.5;
  display: block;
  margin: 0;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: #fff; width: 100%; overflow: hidden; }

.gallery-main {
  position: relative;
  width: 100%;
  height: 320px;
  background: #1a1a1a;
  overflow: hidden;
}

@media (max-width: 400px) { .gallery-main { height: 260px; } }
@media (min-width: 500px) { .gallery-main { height: 400px; } }

.gallery-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide.active { opacity: 1; pointer-events: auto; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.gallery-empty {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: #999; gap: 12px; font-size: 14px;
}

.gallery-counter {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: #1a1a1a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: all 0.2s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.gallery-nav:hover { background: #fff; transform: translateY(-50%) scale(1.05); }
.gallery-nav:active { transform: translateY(-50%) scale(0.92); }

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }

.gallery-thumbs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 8px;
  padding: 10px 12px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  background: #fff;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.gallery-thumbs::-webkit-scrollbar { display: none; }

.gallery-thumb {
  flex: 0 0 70px !important;
  width: 70px !important;
  min-width: 70px !important;
  max-width: 70px !important;
  height: 70px !important;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  background: #f0f0f0;
  display: block;
}

.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.gallery-thumb.active { border-color: #e63946; }
.gallery-thumb.active img { opacity: 1; }

/* ============================================================
   DETAIL
   ============================================================ */
.detail-body {
  padding: 20px;
  background: var(--card);
  margin-top: -20px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  position: relative;
  z-index: 2;
  transition: background 0.3s;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--primary);
}

.detail-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
  color: var(--text);
}

.detail-meta {
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.detail-meta span { display: flex; align-items: center; gap: 4px; }

.detail-info {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  background: #fafafa;
  border-radius: var(--radius);
  overflow: hidden;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.info-row:last-child { border-bottom: none; }
.info-row span:first-child { color: var(--text-secondary); }
.info-row span:last-child { font-weight: 600; color: var(--text); }

/* ============================================================
   SELLER
   ============================================================ */
.seller-card {
  background: #f9f9f9;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.seller-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.seller-info { flex: 1; }
.seller-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.seller-loc { font-size: 12px; color: var(--text-muted); }

/* ============================================================
   PROMO GRID
   ============================================================ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.promo-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

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

.promo-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.promo-sub { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   DETAIL ACTIONS
   ============================================================ */
.detail-actions {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  background: var(--card);
  border-top: 1px solid var(--border);
  transition: background 0.3s;
}

.btn-primary, .btn-secondary {
  flex: 1;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #25D366 0%, #1eb553 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:active { transform: scale(0.97); }

.btn-secondary {
  background: linear-gradient(135deg, #1d3557 0%, #2a4a75 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(29,53,87,0.3);
}

.btn-secondary:hover { transform: translateY(-2px); }
.btn-secondary:active { transform: scale(0.97); }

/* ============================================================
   PRODUCT TAGS (SEO)
   ============================================================ */
.product-tags {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.product-tags-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.product-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-tag {
  display: inline-block;
  padding: 8px 14px;
  background: #f5f5f7;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.product-tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* ============================================================
   FORM
   ============================================================ */
.form { padding: 20px; background: var(--card); transition: background 0.3s; }
.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  background: #fafafa;
  transition: all var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(230,57,70,0.1);
}

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

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  margin-top: 12px;
  box-shadow: var(--shadow-primary);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover { transform: translateY(-2px); }
.form-submit:active { transform: scale(0.98); }

/* ============================================================
   ALERT / TOAST
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin: 16px;
  font-size: 14px;
  font-weight: 600;
}

.alert-error { background: #fff5f5; color: var(--danger); border: 1px solid #fed7d7; }
.alert-success { background: #f0fff4; color: var(--success); border: 1px solid #c6f6d5; }

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90%;
  text-align: center;
  pointer-events: none;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ============================================================
   EMPTY
   ============================================================ */
.empty { text-align: center; padding: 100px 30px; }
.empty-icon { font-size: 72px; margin-bottom: 20px; opacity: 0.6; }
.empty-text { color: var(--text-secondary); font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.empty-sub { color: var(--text-muted); font-size: 13px; }

/* ============================================================
   SEARCH BAR (axtarış səhifəsi)
   ============================================================ */
.search-bar { padding: 12px 16px; background: var(--card); transition: background 0.3s; }

.search-bar input {
  width: 100%;
  padding: 14px 20px;
  border: none;
  background: #f5f5f7;
  border-radius: var(--radius-full);
  font-size: 15px;
  color: var(--text);
}

.search-bar input:focus { outline: none; background: #ececef; box-shadow: inset 0 0 0 2px var(--primary); }

/* ============================================================
   SEARCH RESULT INFO
   ============================================================ */
.search-result-info {
  grid-column: 1 / -1;
  background: var(--card);
  padding: 16px;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.search-result-count {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.5;
}

.search-result-count strong {
  color: var(--primary);
  font-weight: 800;
  font-size: 16px;
  margin: 0 2px;
}

/* ============================================================
   PROFILE
   ============================================================ */
.profile-card {
  background: var(--card);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 10px;
  transition: background 0.3s;
}

.profile-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-primary);
}

.profile-name { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.profile-note { color: var(--text-secondary); font-size: 13px; }

.menu-list { background: var(--card); margin-bottom: 10px; transition: background 0.3s; }

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
  width: 100%;
  text-align: left;
}

.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: #fafafa; }

.menu-left { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.menu-icon { font-size: 22px; width: 32px; text-align: center; }
.menu-arrow { color: var(--text-muted); font-size: 20px; font-weight: 300; }

/* ============================================================
   LIMIT BOX
   ============================================================ */
.limit-box {
  background: var(--card);
  margin: 12px;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: background 0.3s;
}

.limit-count {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
  line-height: 1;
}

.limit-info { color: var(--text-secondary); font-size: 13px; margin-top: 8px; }

.progress-bar {
  height: 10px;
  background: #f0f0f0;
  border-radius: var(--radius-full);
  margin-top: 16px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  transition: width 0.6s var(--transition);
  border-radius: var(--radius-full);
}

/* ============================================================
   PACKAGES
   ============================================================ */
.packages { display: grid; gap: 12px; padding: 12px; }

.package {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: var(--text);
}

.package:hover { border-color: var(--primary); transform: translateY(-2px); }
.package.popular { border-color: var(--primary); }

.package.popular::after {
  content: 'ƏN POPULYAR';
  position: absolute;
  top: -10px; right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 10px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

.package-amount { font-size: 22px; font-weight: 800; }
.package-amount span { font-size: 13px; color: var(--text-secondary); font-weight: 500; display: block; margin-top: 4px; }
.package-price { font-size: 24px; font-weight: 800; color: var(--primary); }

/* ============================================================
   UPLOAD
   ============================================================ */
.upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: #fafafa;
  transition: all var(--transition);
}

.upload-area:hover { border-color: var(--primary); background: #fff; }
.upload-icon { font-size: 48px; margin-bottom: 10px; opacity: 0.6; }
.upload-text { color: var(--text-secondary); font-size: 14px; }
.upload-text strong { color: var(--primary); font-weight: 700; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.image-preview {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
}

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

.image-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.75);
  color: #fff;
  border: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-cover-badge {
  position: absolute;
  bottom: 6px; left: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 800;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
}

.sidebar-overlay.open { opacity: 1; visibility: visible; }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--card);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 40px rgba(0,0,0,0.15);
  overflow-y: auto;
}

.sidebar.open { transform: translateX(0); }

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.sidebar-title { font-size: 18px; font-weight: 800; }

.sidebar-close {
  background: rgba(255,255,255,0.2);
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.sidebar-close:hover { background: rgba(255,255,255,0.35); transform: rotate(90deg); }

.sidebar-body { flex: 1; padding: 12px 0; }
.sidebar-section { padding: 8px 0; }

.sidebar-section-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 8px 20px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
  text-decoration: none;
}

.sidebar-item:hover { background: #fafafa; }
.sidebar-item-left { display: flex; align-items: center; gap: 14px; }
.sidebar-item-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-item-icon .icon { width: 20px; height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 30px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-brand {
  text-align: center;
  margin-bottom: 24px;
}

.footer-logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
}

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

.footer-desc {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
  max-width: 400px;
  margin: 0 auto;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  font-size: 13px;
  padding: 5px 0;
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--text-secondary);
}

.social-btn:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: #fff;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-tags {
  font-size: 10px !important;
  opacity: 0.7;
}

.footer-developer {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.footer-developer strong {
  color: var(--primary);
  font-weight: 800;
}

/* ============================================================
   DARK MODE
   ============================================================ */
body.dark-mode {
  --bg: #0f0f14;
  --card: #1a1a22;
  --border: #2a2a35;
  --text: #f0f0f5;
  --text-secondary: #b0b0c0;
  --text-muted: #808090;
  --shadow-sm: 0 2px 6px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.5);
}

body.dark-mode { background: #0f0f14; color: #f0f0f5; }

body.dark-mode .top-bar { background: rgba(26,26,34,0.98); border-bottom-color: #2a2a35; }
body.dark-mode .site-logo { color: #ff6b7a; }
body.dark-mode .site-logo span { color: #f0f0f5; }

body.dark-mode .icon-btn,
body.dark-mode .back-btn { background: #25252e; color: #f0f0f5; }

body.dark-mode .icon-btn:hover,
body.dark-mode .back-btn:hover { background: #2f2f3a; }

body.dark-mode .theme-toggle-btn { color: #f0f0f5; }

body.dark-mode .top-search input { background: #25252e; color: #f0f0f5; }
body.dark-mode .top-search input:focus { background: #2f2f3a; }
body.dark-mode .top-search input::placeholder { color: #6a6a7a; }

body.dark-mode .tab { background: #25252e; color: #b0b0c0; }
body.dark-mode .tab:hover { background: #2f2f3a; color: #f0f0f5; }
body.dark-mode .tab.active { background: linear-gradient(135deg, #f0f0f5, #b0b0c0); color: #0f0f14; }

body.dark-mode .product-card { background: #1a1a22; }
body.dark-mode .product-image { background: linear-gradient(135deg, #25252e 0%, #1f1f28 100%); }
body.dark-mode .product-price { color: #f0f0f5; }
body.dark-mode .product-price .currency { color: #b0b0c0; }
body.dark-mode .product-name { color: #f0f0f5; }
body.dark-mode .product-details { color: #808090; }
body.dark-mode .product-footer { border-top-color: #2a2a35; }

body.dark-mode .favorite-btn { background: rgba(37,37,46,0.95); color: #f0f0f5; }

/* BOTTOM NAV - DARK MODE */
body.dark-mode .bottom-nav {
  background: #1a1a22;
  border-top-color: #2a2a35;
}

body.dark-mode .nav-item { color: #808090; }
body.dark-mode .nav-item.active { color: #ff6b7a; }
body.dark-mode .nav-item.active .nav-icon .icon { stroke: #ff6b7a; }
body.dark-mode .nav-add { border-color: #1a1a22; }

body.dark-mode .gallery { background: #0f0f14; }
body.dark-mode .gallery-thumbs { background: #0f0f14; }
body.dark-mode .gallery-thumb { background: #25252e; }

body.dark-mode .detail-body { background: #1a1a22; }
body.dark-mode .detail-title { color: #f0f0f5; }
body.dark-mode .detail-meta { color: #b0b0c0; }
body.dark-mode .detail-info { background: #25252e; }
body.dark-mode .info-row { border-bottom-color: #2a2a35; }
body.dark-mode .info-row span:first-child { color: #b0b0c0; }
body.dark-mode .info-row span:last-child { color: #f0f0f5; }

body.dark-mode .seller-card { background: #25252e; }
body.dark-mode .seller-name { color: #f0f0f5; }
body.dark-mode .seller-loc { color: #808090; }

body.dark-mode .detail-actions { background: #1a1a22; border-top-color: #2a2a35; }

body.dark-mode .product-tags { border-top-color: #2a2a35; }
body.dark-mode .product-tag { background: #25252e; color: #b0b0c0; }
body.dark-mode .product-tag:hover { background: var(--primary); color: #fff; }

body.dark-mode .promo-card { background: #1a1a22; border-color: #2a2a35; }
body.dark-mode .promo-card:hover { border-color: #e63946; }
body.dark-mode .promo-title { color: #f0f0f5; }

body.dark-mode .form { background: #1a1a22; }
body.dark-mode .form-group label { color: #f0f0f5; }
body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
  background: #25252e;
  color: #f0f0f5;
  border-color: #2a2a35;
}

body.dark-mode .form-group input::placeholder,
body.dark-mode .form-group textarea::placeholder { color: #6a6a7a; }

body.dark-mode .form-group input:focus,
body.dark-mode .form-group select:focus,
body.dark-mode .form-group textarea:focus {
  background: #2a2a35;
  border-color: #e63946;
}

body.dark-mode .form-group select option { background: #25252e; color: #f0f0f5; }

body.dark-mode .search-bar { background: #1a1a22; }
body.dark-mode .search-bar input { background: #25252e; color: #f0f0f5; }
body.dark-mode .search-bar input:focus { background: #2f2f3a; }

body.dark-mode .search-result-info {
  background: #1a1a22;
  border-bottom-color: #2a2a35;
}

body.dark-mode .search-result-count { color: #b0b0c0; }
body.dark-mode .search-result-count strong { color: #ff6b7a; }

body.dark-mode .profile-card,
body.dark-mode .menu-list,
body.dark-mode .limit-box { background: #1a1a22; }

body.dark-mode .profile-name { color: #f0f0f5; }
body.dark-mode .profile-note { color: #b0b0c0; }

body.dark-mode .menu-item { border-bottom-color: #2a2a35; color: #f0f0f5; }
body.dark-mode .menu-item:hover { background: #25252e; }
body.dark-mode .menu-arrow { color: #808090; }
body.dark-mode .limit-info { color: #b0b0c0; }
body.dark-mode .progress-bar { background: #2a2a35; }

body.dark-mode .empty-text { color: #b0b0c0; }
body.dark-mode .empty-sub { color: #808090; }

body.dark-mode .package { background: #1a1a22; border-color: #2a2a35; color: #f0f0f5; }
body.dark-mode .package-amount { color: #f0f0f5; }
body.dark-mode .package-amount span { color: #b0b0c0; }

body.dark-mode .sidebar { background: #1a1a22; }
body.dark-mode .sidebar-item { color: #f0f0f5; }
body.dark-mode .sidebar-item:hover { background: #25252e; }
body.dark-mode .sidebar-section-title { color: #808090; }
body.dark-mode .sidebar-overlay { background: rgba(0,0,0,0.7); }

body.dark-mode .site-footer { background: #1a1a22; border-top-color: #2a2a35; }
body.dark-mode .footer-logo span { color: #f0f0f5; }
body.dark-mode .footer-column h4 { color: #f0f0f5; }
body.dark-mode .footer-column a { color: #b0b0c0; }
body.dark-mode .footer-column a:hover { color: #ff6b7a; }
body.dark-mode .social-btn { background: #25252e; color: #b0b0c0; }
body.dark-mode .social-btn:hover { background: var(--primary); color: #fff; }
body.dark-mode .footer-bottom { border-top-color: #2a2a35; }
body.dark-mode .footer-developer { color: #808090; border-top-color: #2a2a35; }
body.dark-mode .footer-developer strong { color: #ff6b7a; }

body.dark-mode .alert-error { background: #2a1a1a; color: #ff8080; border-color: #4a2525; }
body.dark-mode .alert-success { background: #1a2a1f; color: #80e0a0; border-color: #254a2f; }

body.dark-mode .toast { background: linear-gradient(135deg, #f0f0f5, #d0d0d8); color: #1a1a22; }

body.dark-mode .upload-area { background: #25252e; border-color: #2a2a35; }
body.dark-mode .upload-area:hover { background: #2a2a35; border-color: #e63946; }
body.dark-mode .upload-text { color: #b0b0c0; }

body.dark-mode [style*="color:#888"],
body.dark-mode [style*="color:#999"] { color: #b0b0c0 !important; }
body.dark-mode [style*="color:#bbb"] { color: #9090a0 !important; }
body.dark-mode [style*="color:#555"] { color: #c0c0d0 !important; }
body.dark-mode [style*="color:#333"] { color: #e0e0e8 !important; }
body.dark-mode [style*="background:#f9f9f9"] { background: #25252e !important; }
body.dark-mode [style*="background:#fafafa"] { background: #25252e !important; }
body.dark-mode [style*="background:#f0f7ff"] { background: #1a2a3a !important; }

body.dark-mode strong { color: #f0f0f5; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  body { max-width: 1200px; }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .bottom-nav { max-width: 1200px; }
}

@media (max-width: 600px) {
  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  
  .footer-logo { font-size: 24px; }
  .footer-desc { font-size: 12px; }
  .footer-column h4 { font-size: 12px; }
  .footer-column a { font-size: 12px; }
  .social-btn { width: 38px; height: 38px; font-size: 16px; }
  .social-btn .icon { width: 18px; height: 18px; }
}
/* ============================================================
   PRODUCT CARD İKON DÜZƏLİŞLƏRİ
   ============================================================ */

/* Bəyənmə düyməsi */
.favorite-btn {
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.favorite-btn .icon {
  width: 20px;
  height: 20px;
  stroke: #e63946;
  stroke-width: 2;
  fill: none;
  display: block;
}

.favorite-btn .icon[fill="#e63946"] {
  fill: #e63946;
  stroke: #e63946;
}

body.dark-mode .favorite-btn {
  background: rgba(37,37,46,0.95);
}

body.dark-mode .favorite-btn .icon {
  stroke: #ff6b7a;
}

body.dark-mode .favorite-btn .icon[fill="#e63946"] {
  fill: #ff6b7a;
  stroke: #ff6b7a;
}

/* Məhsul detalı (baxış ikonu + yazı) */
.product-details {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  flex-wrap: wrap;
}

.product-details .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
  position: relative;
  top: -1px;
}

/* Şəhər ikonu (footer) */
.product-footer .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -1px;
}

/* Badge ikonları */
.badge .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  vertical-align: middle;
  display: inline-block;
  position: relative;
  top: -1px;
  margin-right: 2px;
}
/* ============================================================
   FAVORITE (ÜRƏK) DÜYMƏSİ - DÜZGÜN RƏNG
   ============================================================ */

/* Ürək düyməsinin özü */
.favorite-btn {
  background: rgba(255,255,255,0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Boş ürək - qırmızı kontur */
.favorite-btn .icon {
  width: 20px;
  height: 20px;
  stroke: #e63946 !important;
  stroke-width: 2;
  fill: none !important;
  display: block;
}

/* Dolu ürək - qırmızı dolu */
.favorite-btn .icon[fill="#e63946"],
.favorite-btn svg[fill="#e63946"],
.favorite-btn svg.filled {
  fill: #e63946 !important;
  stroke: #e63946 !important;
}

/* Dark mode */
body.dark-mode .favorite-btn {
  background: rgba(37,37,46,0.95);
}

body.dark-mode .favorite-btn .icon {
  stroke: #ff6b7a !important;
}

body.dark-mode .favorite-btn .icon[fill="#e63946"],
body.dark-mode .favorite-btn svg[fill="#e63946"] {
  fill: #ff6b7a !important;
  stroke: #ff6b7a !important;
}
/* ============================================================
   FAVORITE DÜYMƏSİ - TAM DÜZƏLİŞ
   ============================================================ */

/* Düymə - həmişə ağ fon, həmişə qırmızı kontur */
.favorite-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ffffff !important;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.2s;
  padding: 0;
  cursor: pointer;
  z-index: 5;
}

.favorite-btn:hover {
  transform: scale(1.1);
  background: #ffffff !important;
}

.favorite-btn:active {
  transform: scale(0.92);
}

/* SVG ikonu - həmişə qırmızı */
.favorite-btn svg.icon {
  width: 20px !important;
  height: 20px !important;
  stroke: #e63946 !important;
  stroke-width: 2 !important;
  fill: none !important;
  display: block !important;
}

/* Dolu ürək (bəyənilmiş) - qırmızı dolu */
.favorite-btn svg.icon[fill="#e63946"],
.favorite-btn svg.icon.filled,
.favorite-btn svg.icon[fill="currentColor"] {
  fill: #e63946 !important;
  stroke: #e63946 !important;
}

/* SVG içində path varsa onu da qırmızı et */
.favorite-btn svg path {
  stroke: #e63946 !important;
}

.favorite-btn svg.icon[fill="#e63946"] path,
.favorite-btn svg.icon.filled path {
  fill: #e63946 !important;
  stroke: #e63946 !important;
}

/* Dark mode - düymə ağ qalır, ürək qırmızı qalır */
body.dark-mode .favorite-btn {
  background: #ffffff !important;
}

body.dark-mode .favorite-btn svg.icon {
  stroke: #e63946 !important;
}

body.dark-mode .favorite-btn svg.icon[fill="#e63946"],
body.dark-mode .favorite-btn svg.icon.filled {
  fill: #e63946 !important;
  stroke: #e63946 !important;
}

/* Detail səhifəsində ürək düyməsi */
.detail-fav-btn svg.icon,
.icon-btn svg.icon[data-fav] {
  stroke: #e63946 !important;
}

.detail-fav-btn svg.icon[fill="#e63946"],
.icon-btn svg.icon[data-fav="true"] {
  fill: #e63946 !important;
}

/* ============================================================
   PRODUCT META İKON DÜZƏLİŞİ (yazı ilə eyni səviyyə)
   ============================================================ */
.product-details {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  flex-wrap: wrap;
}

.product-details .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
  flex-shrink: 0;
}

.product-footer .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.badge .icon {
  width: 12px;
  height: 12px;
  stroke-width: 2.5;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -1px;
  margin-right: 2px;
}