/* ============================================================
   Frontend Ana CSS — Hadi Sepetle Teması
   ============================================================ */

:root {
  --primary:      #ef233c;
  --primary-dark: #c81a2e;
  --dark:         #07101a;
  --dark2:        #0b1622;
  --dark3:        #1e2a36;
  --text:         #111827;
  --text-muted:   #707985;
  --border:       #e6e9ed;
  --bg-light:     #f7f8fa;
  --success:      #28a745;
  --danger:       #ef233c;
  --radius:       4px;
  --shadow:       0 2px 10px rgba(0,0,0,.06);
  --transition:   .22s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: Inter, 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg-light);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; }

/* Container XL — max 1160px */
.container-xl {
  width: 100%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  background: var(--dark);
  color: #cfd7df;
  font-size: 12px;
  height: 28px;
  border-bottom: 1px solid #172230;
  position: relative;
  z-index: 1001;
}

.topbar a { color: #dce3e9; }
.topbar a:hover { color: var(--primary); }

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 18px;
}

.topbar-social a {
  color: #dce3e9;
  margin-left: 17px;
  font-size: 13px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: #08121d;
  border-bottom: 1px solid #172330;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 0;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  color: var(--primary);
  font-size: 28px;
}

.logo-text .name {
  display: block;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  line-height: .85;
  letter-spacing: -1px;
}

.logo-text .sub {
  display: block;
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  line-height: .85;
  letter-spacing: -1px;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 560px;
  position: relative;
}

.search-form {
  display: flex;
  height: 39px;
  border-radius: var(--radius);
  overflow: hidden;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 14px;
  font-size: 13px;
  background: #fff;
}

.search-select {
  border: none;
  border-left: 1px solid #ddd;
  outline: none;
  padding: 0 10px;
  font-size: 12px;
  background: #fff;
  color: #555;
  cursor: pointer;
  max-width: 135px;
}

.search-btn {
  width: 46px;
  background: var(--primary);
  border: none;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: background var(--transition);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.search-btn:hover { background: var(--primary-dark); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #fff;
}

.header-phone strong { color: #fff; font-size: 13px; }

.header-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
}

.header-btn i { font-size: 22px; color: #e8edf2; }
.header-btn span { line-height: 1.3; }
.header-btn strong { display: block; color: #fff; }
.header-btn:hover i { color: var(--primary); }

.cart-badge {
  position: absolute;
  top: -9px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  padding: 2px 6px;
  line-height: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-nav {
  height: 48px;
  background: #08121d;
  border-bottom: 1px solid #172330;
  position: relative;
  overflow: visible;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  height: 48px;
  overflow: visible;
}

/* Kategori Butonu */
.cat-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  height: 36px;
  align-self: center;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition);
}

.cat-toggle:hover { background: var(--primary-dark); }

/* Nav Links */
.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  margin-left: 16px;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 17px 14px 14px;
  height: 48px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transition: color var(--transition);
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: #fff;
  border-bottom: 2px solid var(--primary);
}

/* Dropdown */
.nav-links .dropdown { position: relative; }

.nav-links .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 8px 30px rgba(0,0,0,.15);
  display: none;
  z-index: 9997;
  padding: 6px 0;
}

.nav-links .dropdown:hover .dropdown-menu { display: block; }

.nav-links .dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: var(--text);
  font-size: 13px;
  transition: background var(--transition), color var(--transition);
}

.nav-links .dropdown-menu a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Store Status */
.store-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 12px;
  color: #cbd5df;
}

.store-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s infinite;
}

.store-dot.closed { background: #f87171; animation: none; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* Support phone in nav */
.nav-support {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5df;
  padding: 0 16px;
}
/* ============================================================
   HERO / SLIDER
   ============================================================ */
.hero-section {
  background: var(--dark);
  padding: 0;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  min-height: 350px;
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 350px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
  align-items: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active { display: flex; }

/* Gradient overlay */
.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2,8,15,.82) 0%, rgba(2,8,15,.58) 37%, rgba(2,8,15,.08) 70%);
  z-index: 1;
}

.hero-content {
  padding: 60px 0;
  color: #fff;
  z-index: 2;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 41px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero-title span { color: var(--primary); }

.hero-desc {
  font-size: 17px;
  color: #f0f3f7;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 13px 25px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}

.hero-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  padding: 12px 25px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: all var(--transition);
}

.hero-btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Hero Features Bar */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 44px;
}

.hero-feature {
  display: flex;
  gap: 10px;
  color: #fff;
  align-items: center;
  padding-right: 35px;
  border-right: 1px solid rgba(255,255,255,.18);
  margin-right: 35px;
}

.hero-feature:last-child { border-right: 0; margin-right: 0; }
.hero-feature i { color: var(--primary); font-size: 22px; }
.hero-feature b { display: block; font-size: 12px; }
.hero-feature small { color: #c9d0d7; font-size: 11px; }

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--transition);
  border: none;
}

.slider-dot.active { background: var(--primary); }

/* ============================================================
   FEATURES BAR
   ============================================================ */
.features-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(239,35,60,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.feature-text .title { font-size: 12px; font-weight: 700; color: var(--dark); }
.feature-text .sub   { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-title {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  position: relative;
  padding-bottom: 0;
}

.section-title::after { display: none; }

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 22px;
}

.section-link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid #d7dbe0;
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 18px;
}

.section-link:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 5px;
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}

.product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.badge-new      { background: #f4d000; color: #111; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 12px; }
.badge-campaign { background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 12px; }
.badge-featured { background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 12px; }

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.product-img-wrap img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: transform var(--transition);
}

.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(0);
}

.action-btn {
  width: 34px;
  height: 34px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.action-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.product-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-brand {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 3px;
}

.product-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 6px;
  flex: 1;
  min-height: 34px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-name:hover { color: var(--primary); }

/* Stars */
.product-stars {
  color: #ffb21f;
  font-size: 11px;
  margin: 4px 0;
}

.product-price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}

.price-old {
  font-size: 12px;
  color: #999;
  text-decoration: line-through;
}

/* Cart + Fav row */
.product-cart-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
}

.btn-add-cart {
  flex: 1;
  height: 31px;
  border: 1px solid #d9dde2;
  background: #fff;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text);
}

.btn-add-cart:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-add-cart:disabled { background: #f0f0f0; color: #aaa; cursor: not-allowed; }

.btn-fav {
  width: 35px;
  height: 31px;
  border: 1px solid #d9dde2;
  border-radius: var(--radius);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.btn-fav:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-fav.active { color: var(--primary); }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  display: block;
  color: var(--text);
}

.cat-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  color: var(--primary);
}

.cat-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
}

.cat-card .cat-icon {
  font-size: 36px;
  color: var(--primary);
  margin: 20px 0 10px;
  display: block;
}

.cat-card .cat-name {
  font-size: 14px;
  font-weight: 800;
  margin: 13px 0 3px;
}

.cat-card .cat-count {
  font-size: 12px;
  color: #777;
  margin-bottom: 12px;
}

/* ============================================================
   PRODUCT TABS
   ============================================================ */
.product-tabs {
  border-bottom: 1px solid #eee;
  text-align: center;
  margin-bottom: 22px;
}

.product-tabs .tab-item {
  display: inline-block;
  padding: 13px 22px;
  color: #6b7280;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}

.product-tabs .tab-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.product-tabs .tab-item:hover { color: var(--primary); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--dark);
  color: #fff;
  border-radius: 5px;
  padding: 20px 0;
  margin-top: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid #24313e;
  padding: 8px 0;
}

.stat-item:last-child { border-right: 0; }
.stat-item i { color: var(--primary); font-size: 27px; }
.stat-item b { font-size: 20px; display: block; }
.stat-item small { color: #cbd5df; font-size: 12px; }

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section h3 { font-size: 22px; font-weight: 900; }

.why-item {
  display: flex;
  gap: 12px;
  margin: 13px 0;
  align-items: flex-start;
}

.why-icon {
  width: 31px;
  height: 31px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 14px;
}

.why-item b { display: block; font-size: 13px; font-weight: 800; }
.why-item small { color: #667085; font-size: 12px; }

.why-img {
  border-radius: 8px;
  width: 100%;
  height: 230px;
  object-fit: cover;
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 35px 0;
}

.newsletter-section p { color: #aab5c0; }

.newsletter-form {
  display: flex;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  height: 40px;
  background: #0b1622;
  border: 1px solid #263443;
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}

.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--primary); }

.newsletter-btn {
  height: 40px;
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 800;
  padding: 0 24px;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-btn:hover { background: var(--primary-dark); }

/* ============================================================
   FLOAT CART BUTTON
   ============================================================ */
.float-cart {
  position: fixed;
  right: 24px;
  bottom: 305px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(239,35,60,.35);
  z-index: 3;
  border: none;
  cursor: pointer;
  transition: transform var(--transition);
}

.float-cart:hover { transform: scale(1.08); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #cbd5df;
  padding: 35px 0 18px;
  border-top: 1px solid #182534;
}

.footer-logo .name { font-size: 25px; font-weight: 900; font-style: italic; color: #fff; letter-spacing: -1px; }
.footer-logo .sub  { font-size: 12px; color: rgba(255,255,255,.5); }

.footer-desc {
  font-size: 13px;
  color: #cbd5df;
  line-height: 1.7;
  margin: 14px 0 20px;
}

.footer-social {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 16px;
  transition: all var(--transition);
}

.social-btn:hover { background: var(--primary); color: #fff; }

.footer-title {
  font-size: 14px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 7px; }

.footer-links a {
  font-size: 13px;
  color: #cbd5df;
  transition: color var(--transition);
  display: block;
}

.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
  color: #cbd5df;
}

.footer-contact-item i {
  color: var(--primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Newsletter in footer */
.newsletter-form {
  display: flex;
  gap: 0;
  margin-top: 12px;
}

.newsletter-input {
  flex: 1;
  height: 40px;
  background: #0b1622;
  border: 1px solid #263443;
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  outline: none;
  border-radius: var(--radius) 0 0 var(--radius);
}

.newsletter-input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-input:focus { border-color: var(--primary); }

.newsletter-btn {
  height: 40px;
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 800;
  padding: 0 18px;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-btn:hover { background: var(--primary-dark); }

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #182534;
  margin-top: 25px;
  padding-top: 16px;
  font-size: 12px;
  color: #cbd5df;
}

.footer-copyright {
  font-size: 12px;
  color: #cbd5df;
}

.footer-copyright a {
  color: #cbd5df;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copyright a:hover { color: var(--primary); }

.payment-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.payment-icon {
  display: inline-block;
  background: #fff;
  color: #0b1622;
  border-radius: 3px;
  padding: 2px 7px;
  font-weight: 900;
  font-size: 11px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.page-breadcrumb {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.breadcrumb { margin: 0; font-size: 13px; }
.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ============================================================
   STORE CLOSED BANNER
   ============================================================ */
.store-closed-banner {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .header-phone { display: none; }
  .hero-title   { font-size: 31px; }
  .hero-feature { border-right: 0; }
  .stats-bar .stat-item { border-right: 0; border-bottom: 1px solid #24313e; padding: 12px 0; }
}

@media (max-width: 767px) {
  .topbar       { display: none; }
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .header-search { order: 3; max-width: 100%; width: 100%; }
  .hero-title   { font-size: 22px; }
  .hero-content { padding: 30px 0; }
  .section-title { font-size: 18px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .main-nav .nav-links { display: none; }
  .cat-card img, .product-img-wrap img { height: 145px; }
  .float-cart { bottom: 20px; }
  .nav-support { display: none; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.section-padding    { padding: 32px 0; }
.section-padding-sm { padding: 20px 0; }
.bg-light-custom    { background: var(--bg-light); }
.text-primary-custom { color: var(--primary) !important; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
}

@keyframes skeleton-loading {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 18px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(239,35,60,.4);
  transition: all var(--transition);
  z-index: 999;
}

.scroll-top.visible { display: flex; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ============================================================
   TOPBAR & NAV DROPDOWN FIXES
   ============================================================ */
.topbar .dropdown-menu {
  z-index: 9999 !important;
  background: #fff !important;
  border: 1px solid #e0e4ea !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
  padding: 6px 0 !important;
  margin-top: 8px !important;
}

.topbar .dropdown-menu .dropdown-item {
  color: #333 !important;
  font-size: 13px;
  padding: 9px 14px;
}

.topbar .dropdown-menu .dropdown-item:hover {
  background: #f8f9fa !important;
  color: #07101a !important;
}

.main-nav .dropdown-menu {
  z-index: 9997;
  background: #fff;
  border: 1px solid #e0e4ea;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 6px 0;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
}

.main-nav .dropdown-menu a {
  color: #333 !important;
  font-size: 13px;
  padding: 9px 18px;
  display: block;
  transition: background .15s, color .15s;
}

.main-nav .dropdown-menu a:hover {
  background: #f8f9fa;
  color: var(--primary) !important;
}

.site-header { z-index: 1000; }
.topbar { z-index: 1001; position: relative; }

/* Admin sidebar brand fix */
.sidebar-brand { background: transparent !important; border-bottom: none !important; box-shadow: none !important; }
.brand-logo    { background: transparent !important; }
/* ============================================================
   LOGO BOYUT FIX — Hadi Sepetle
   ============================================================ */

.site-logo img,
.logo img,
.header-logo img,
.navbar-brand img {
  height: 62px !important;
  width: auto !important;
  max-width: 180px !important;
  display: block !important;
  object-fit: contain !important;
}

/* Logo alanı */
.site-logo,
.logo,
.header-logo,
.navbar-brand {
  min-width: 170px !important;
  display: flex !important;
  align-items: center !important;
}

/* Header yüksekliği logo ile dengelensin */
.header-inner {
  padding: 14px 0 !important;
  min-height: 88px !important;
}

/* Arama alanı logo büyüyünce bozulmasın */
.header-search {
  max-width: 600px !important;
}

/* Footer logosu daha küçük kalsın */
.site-footer .site-logo img,
.site-footer .logo img,
.footer-logo img {
  height: 52px !important;
  max-width: 160px !important;
}

/* Mobil ayar */
@media (max-width: 767px) {
  .site-logo img,
  .logo img,
  .header-logo img,
  .navbar-brand img {
    height: 46px !important;
    max-width: 145px !important;
  }

  .site-logo,
  .logo,
  .header-logo,
  .navbar-brand {
    min-width: 145px !important;
  }

  .header-inner {
    min-height: auto !important;
    padding: 12px 0 !important;
  }
}