/* ================================================================
   GÜVERCIN & TAVUK PAZARI - ANA CSS
   ================================================================ */

:root {
  --primary:       #2d6a4f;
  --primary-light: #40916c;
  --primary-dark:  #1b4332;
  --secondary:     #d4a017;
  --secondary-light: #f0c040;
  --accent:        #95d5b2;
  --light:         #f8f5e4;
  --cream:         #fdf8ee;
  --dark:          #1a1a2e;
  --gray:          #6c757d;
  --border:        #e0d8c8;
  --shadow-sm:     0 2px 8px rgba(45,106,79,.08);
  --shadow-md:     0 8px 24px rgba(45,106,79,.14);
  --shadow-lg:     0 16px 48px rgba(45,106,79,.18);
  --radius:        12px;
  --radius-lg:     20px;
  --transition:    all .28s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; background: var(--cream); color: var(--dark); line-height: 1.6; height: 100%; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ═══════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════ */
.topbar {
  background: var(--primary-dark);
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}
.topbar-link:hover { color: var(--secondary-light); }
.topbar-social { display: flex; gap: 14px; align-items: center; }
.topbar-social a {
  color: rgba(255,255,255,.6);
  font-size: .95rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
}
.topbar-social a:hover { color: var(--secondary-light); transform: translateY(-1px); }

/* ═══════════════════════════════════════════════
   MAIN HEADER (Logo + Arama + Kullanıcı)
═══════════════════════════════════════════════ */
.main-header {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow .3s;
}
.main-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* Logo */
.site-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-img   { height: 48px; width: auto; }
.logo-text  { display: flex; align-items: center; gap: 10px; }
.logo-icon  { width: 42px; height: 42px; background: linear-gradient(135deg,var(--primary),var(--primary-light)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #fff; flex-shrink: 0; }
.logo-name  { font-size: 1.15rem; font-weight: 800; color: var(--primary); line-height: 1.2; }

/* Header Search */
.header-search { max-width: 540px; }
.header-search-group { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); border: 1.5px solid var(--border); transition: var(--transition); }
.header-search-group:focus-within { border-color: var(--primary); box-shadow: 0 2px 12px rgba(45,106,79,.15); }
.header-search-icon { background: #fff; border: none; color: var(--gray); padding: 0 12px; }
.header-search-input { border: none; padding: 10px 8px; font-size: .9rem; box-shadow: none !important; background: #fff; }
.header-search-input:focus { outline: none; }
.header-search-select { border: none; border-left: 1.5px solid var(--border); border-radius: 0; font-size: .82rem; color: var(--gray); max-width: 160px; box-shadow: none !important; cursor: pointer; }
.header-search-btn { background: var(--primary); color: #fff; border: none; padding: 8px 20px; font-weight: 600; font-size: .88rem; border-radius: 0; transition: var(--transition); }
.header-search-btn:hover { background: var(--primary-dark); color: #fff; }

/* İlan Ver Button */
.btn-ilan-ver {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-ilan-ver:hover { background: #b8870f; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(212,160,23,.4); }
.btn-ilan-ver i { font-size: 1rem; }

/* Müzayede Header Butonu */
.btn-muzayede {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(220,38,38,.12);
  color: #ef4444;
  font-weight: 700;
  font-size: .88rem;
  padding: 9px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(220,38,38,.3);
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn-muzayede:hover {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
.btn-muzayede.active {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.btn-muzayede i { font-size: 1rem; }
.btn-muzayede .auction-live-dot {
  width: 7px; height: 7px;
  flex-shrink: 0;
}

/* User Menu Button */
.btn-user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 25px;
  padding: 7px 14px 7px 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.btn-user-menu:hover, .btn-user-menu:focus { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-user-menu::after { margin-left: 2px; }
.user-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  flex-shrink: 0;
}
.user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* User Dropdown */
.user-dropdown { min-width: 220px; border: none; border-radius: 14px; box-shadow: 0 8px 32px rgba(0,0,0,.12); padding: 6px; }
.user-dropdown .dropdown-header { border-radius: 10px; background: var(--light); }
.user-dropdown .dropdown-item { border-radius: 8px; font-size: .88rem; padding: 8px 12px; transition: var(--transition); }
.user-dropdown .dropdown-item:hover { background: var(--light); color: var(--primary); }
.user-dropdown .dropdown-item.text-danger:hover { background: #fde2e4; color: #dc3545; }
.user-dropdown .dropdown-divider { margin: 4px 0; }

/* Mobile Menu Button */
.btn-mobile-menu {
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 1.3rem;
  color: var(--dark);
  transition: var(--transition);
}
.btn-mobile-menu:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ═══════════════════════════════════════════════
   CATEGORY NAVBAR
═══════════════════════════════════════════════ */
.cat-navbar {
  background: var(--primary);
  position: sticky;
  top: 77px;
  z-index: 1030;
  box-shadow: 0 2px 8px rgba(27,67,50,.25);
}

/* Desktop */
.cat-nav-inner {
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }

.cat-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 500;
  padding: 12px 16px;
  white-space: nowrap;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
}
.cat-nav-link:hover { color: #fff; background: rgba(255,255,255,.08); border-bottom-color: rgba(255,255,255,.4); }
.cat-nav-link.active { color: var(--secondary-light); font-weight: 700; border-bottom-color: var(--secondary); background: rgba(212,160,23,.1); }

.cat-nav-icon { font-size: 1rem; line-height: 1; }
.cat-nav-badge { background: var(--secondary); color: #fff; font-size: .6rem; font-weight: 800; padding: 1px 5px; border-radius: 8px; }

.cat-nav-divider { width: 1px; height: 20px; background: rgba(255,255,255,.15); flex-shrink: 0; margin: 0 2px; }

/* Mobile */
.cat-nav-mobile { padding: 4px 0 8px; display: none; }
.cat-nav-mobile.show { display: block; }

.mobile-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  padding: 10px 14px;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: var(--transition);
  margin: 2px;
}
.mobile-nav-item:hover, .mobile-nav-item.active { color: #fff; background: rgba(255,255,255,.12); }
.mobile-nav-item.active { color: var(--secondary-light); font-weight: 700; }

/* Badge in nav */
.badge-count { background: var(--secondary); color: #fff; font-size: .6rem; font-weight: 700; padding: 1px 5px; border-radius: 8px; }

/* ── Legacy btn-search (used in mobile/filter forms) ── */
.btn-search { background: var(--primary); color: #fff; border: none; }
.btn-search:hover { background: var(--primary-dark); color: #fff; }

/* ── Buttons ── */
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

.btn-gold { background: var(--secondary); border-color: var(--secondary); color: #fff; font-weight: 600; }
.btn-gold:hover { background: #b8870f; border-color: #b8870f; color: #fff; }

/* ── Hero Section ── */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}
.hero-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-badge { background: rgba(212,160,23,.2); border: 1px solid var(--secondary); color: var(--secondary-light); padding: 6px 16px; border-radius: 25px; font-size: .85rem; font-weight: 600; display: inline-block; margin-bottom: 16px; }
.hero-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.hero-title span { color: var(--secondary-light); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 540px; }
.hero-image { position: absolute; right: -40px; bottom: 0; width: 45%; max-width: 560px; opacity: .15; }
.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.6rem; font-weight: 800; color: var(--secondary-light); display: block; }
.hero-stat .lbl { font-size: .75rem; color: rgba(255,255,255,.7); }

/* ── Slider ── */
.main-slider { background: var(--primary-dark); }
.slider-item { position: relative; min-height: 480px; display: flex; align-items: center; }
.slider-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slider-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,67,50,.92) 0%, rgba(27,67,50,.5) 70%, transparent 100%); }
.slider-content { position: relative; z-index: 2; padding: 60px 0; }
.slider-content h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 12px; }
.slider-content p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 24px; max-width: 500px; }
.carousel-indicators [data-bs-target] { background-color: var(--secondary); width: 10px; height: 10px; border-radius: 50%; }
.carousel-control-prev-icon, .carousel-control-next-icon { background-color: rgba(0,0,0,.4); border-radius: 50%; padding: 20px; }

/* ── Section Headings ── */
.section-head { margin-bottom: 40px; }
.section-label { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--secondary); }
.section-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--dark); margin: 6px 0 10px; }
.section-line { width: 50px; height: 4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 2px; }

/* ── Category Cards ── */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-card { background: #fff; border-radius: var(--radius); padding: 22px 10px 18px; text-align: center; box-shadow: var(--shadow-sm); border: 2px solid transparent; transition: var(--transition); cursor: pointer; text-decoration: none; color: var(--dark); display: block; }
.cat-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); color: var(--dark); }
.cat-card:hover .cat-icon { transform: scale(1.18); }
.cat-icon { font-size: 2.4rem; display: block; margin-bottom: 8px; transition: var(--transition); }
.cat-name { font-weight: 700; font-size: .82rem; color: var(--dark); line-height: 1.25; }
.cat-count { font-size: .7rem; color: var(--gray); margin-top: 3px; }

/* Kategori alt aksiyon satırı */
.cat-action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cat-action-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.cat-action-card:hover { transform: translateY(-3px); text-decoration: none; }
.cat-action-card .ca-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.cat-action-card:hover .ca-icon { transform: scale(1.18) rotate(-6deg); }
.cat-action-card .ca-text { flex: 1; }
.cat-action-card .ca-title { font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
.cat-action-card .ca-sub { font-size: .8rem; opacity: .8; margin-top: 2px; }
.cat-action-card .ca-arrow {
  font-size: 1.2rem;
  opacity: .7;
  transition: transform .25s;
}
.cat-action-card:hover .ca-arrow { transform: translateX(4px); opacity: 1; }

/* Müzayede aksiyon kartı */
.ca-auction {
  background: linear-gradient(135deg, #b91c1c 0%, #dc2626 60%, #ef4444 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(220,38,38,.35);
  animation: ca-auction-pulse 2.8s ease-in-out infinite;
}
.ca-auction:hover { color: #fff; box-shadow: 0 8px 28px rgba(220,38,38,.55); animation: none; }
.ca-auction .ca-badge {
  position: absolute; top: 10px; right: 12px;
  background: #fbbf24; color: #7c2d12;
  font-size: .65rem; font-weight: 800;
  padding: 2px 8px; border-radius: 10px;
  letter-spacing: .04em;
  animation: blink-badge 1.4s ease-in-out infinite;
}
@keyframes ca-auction-pulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(220,38,38,.35); }
  50%       { box-shadow: 0 4px 28px rgba(220,38,38,.6), 0 0 0 5px rgba(220,38,38,.1); }
}
@keyframes blink-badge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .7; transform: scale(.95); }
}

/* Tümünü Gör aksiyon kartı */
.ca-all {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #15803d;
  border: 2px solid #86efac;
  box-shadow: 0 4px 14px rgba(22,163,74,.12);
}
.ca-all:hover { color: #166534; background: linear-gradient(135deg, #dcfce7, #bbf7d0); border-color: #4ade80; box-shadow: 0 8px 24px rgba(22,163,74,.22); }

/* ── Product Cards ── */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--primary-light); }

.product-card-img {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: var(--light);
}
.product-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.07); }

.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--secondary); color: #fff;
  font-size: .7rem; font-weight: 700; padding: 3px 9px; border-radius: 20px;
}
.product-badge.sold { background: #dc3545; }
.product-badge.new { background: var(--primary); }

.product-fav {
  background: rgba(255,255,255,.9); border: none;
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
  font-size: 1rem; color: var(--gray);
}
.product-card-img .product-fav {
  position: absolute; top: 10px; right: 10px;
}
.product-fav:hover, .product-fav.active { background: #dc3545; color: #fff; }

.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-cat-label { font-size: .72rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.product-title { font-weight: 700; font-size: .95rem; color: var(--dark); margin: 4px 0 8px; line-height: 1.4; flex: 1; }
.product-title a { color: inherit; }
.product-title a:hover { color: var(--primary); }
.product-location { font-size: .78rem; color: var(--gray); display: flex; align-items: center; gap: 4px; }
.product-price { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin: 10px 0 4px; }
.product-price .old-price { font-size: .85rem; color: var(--gray); text-decoration: line-through; font-weight: 400; margin-left: 6px; }
.product-meta { font-size: .75rem; color: var(--gray); margin-top: 8px; display: flex; justify-content: space-between; padding-top: 8px; border-top: 1px solid var(--border); }

/* ── Filters Sidebar ── */
.filter-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); margin-bottom: 20px; }
.filter-card h6 { font-weight: 700; color: var(--dark); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.filter-card .form-check-label { font-size: .88rem; }

/* ── Product Detail ── */
/* ── Product Gallery ── */
.product-gallery-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1a1a2e;
  position: relative;
  cursor: zoom-in;
}
.product-gallery-main::after {
  content: '\F52A';
  font-family: 'bootstrap-icons';
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 1.1rem;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: .85;
  transition: opacity .2s;
}
.product-gallery-main:hover::after { opacity: 1; }
.product-gallery-main img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
  transition: transform .3s ease;
}
.product-gallery-main:hover img { transform: scale(1.02); }

.product-thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.product-thumbs img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  opacity: .65;
  background: #f3f4f6;
}
.product-thumbs img:hover { opacity: .9; border-color: var(--primary-light); }
.product-thumbs img.active { border-color: var(--primary); opacity: 1; box-shadow: 0 0 0 2px rgba(45,106,79,.25); }

/* ── Image Lightbox Modal ── */
#imgLightbox .modal-dialog {
  max-width: min(92vw, 960px);
  margin: auto;
}
#imgLightbox .modal-content {
  background: #0d0d14;
  border: none;
  border-radius: 16px;
  overflow: hidden;
}
#imgLightbox .modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  position: relative;
}
#lightboxImg {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border-radius: 0;
  user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 10px; right: 12px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.3rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
  z-index: 10;
}
.lightbox-nav:hover { background: rgba(255,255,255,.28); }
.lightbox-nav.prev { left: 12px; }
.lightbox-nav.next { right: 12px; }
.lightbox-counter {
  position: absolute;
  bottom: 10px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: .78rem;
  background: rgba(0,0,0,.35);
  padding: 3px 12px;
  border-radius: 20px;
  pointer-events: none;
}

.product-info-card { background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.product-detail-price { font-size: 2rem; font-weight: 900; color: var(--primary); }
.seller-card { background: var(--light); border-radius: var(--radius); padding: 20px; margin-top: 20px; border: 1px solid var(--border); }

/* ── Contact Section ── */
.contact-card { background: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border: none; }
.contact-icon { width: 48px; height: 48px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }

/* ── Auth Pages ── */
.auth-wrapper { min-height: calc(100vh - 200px); display: flex; align-items: center; background: linear-gradient(135deg, var(--cream) 0%, #e8f5e9 100%); }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 900px; width: 100%; }
.auth-left { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); padding: 48px 36px; display: flex; flex-direction: column; justify-content: center; }
.auth-left h2 { color: #fff; font-size: 1.8rem; font-weight: 800; }
.auth-left p { color: rgba(255,255,255,.8); }
.auth-features li { color: rgba(255,255,255,.85); padding: 6px 0; font-size: .9rem; list-style: none; }
.auth-features li::before { content: '✓'; color: var(--secondary); margin-right: 8px; font-weight: 700; }
.auth-right { padding: 40px 36px; }
.auth-right h3 { font-weight: 800; color: var(--dark); margin-bottom: 24px; }

/* ── Profile ── */
.profile-sidebar { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); text-align: center; }
.profile-avatar { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); }
.profile-avatar-placeholder { width: 100px; height: 100px; border-radius: 50%; background: var(--light); border: 3px solid var(--primary); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto; }

/* ── Page Hero ── */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 48px 0; color: #fff; margin-bottom: 40px; }
.page-hero h1 { font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); }
.breadcrumb-item a { color: rgba(255,255,255,.8); }
.breadcrumb-item.active { color: var(--secondary-light); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── Forms ── */
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(45,106,79,.15); }
.form-label { font-weight: 600; font-size: .88rem; color: var(--dark); }

/* ── About Section ── */
.about-section { background: var(--light); padding: 80px 0; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-feature { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.about-feature-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }

/* ── Why Us Section ── */
.why-card { background: #fff; border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow-sm); border-bottom: 3px solid transparent; transition: var(--transition); height: 100%; }
.why-card:hover { border-bottom-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-icon { font-size: 2.5rem; margin-bottom: 14px; display: block; }

/* ── Stats Banner ── */
.stats-banner { background: linear-gradient(90deg, var(--primary-dark), var(--primary)); padding: 48px 0; }
.stat-item { text-align: center; color: #fff; }
.stat-item .num { font-size: 2.5rem; font-weight: 900; color: var(--secondary-light); display: block; }
.stat-item .label { font-size: .9rem; opacity: .85; }

/* ── Footer ── */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,.8); padding: 60px 0 0; margin-top: 60px; }
.footer-title { color: var(--secondary-light); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,.7); font-size: .88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--secondary-light); padding-left: 6px; }
.footer-contact { list-style: none; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.footer-contact i { color: var(--secondary); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-contact a { color: rgba(255,255,255,.75); }
.footer-contact a:hover { color: var(--secondary-light); }
.footer-about { font-size: .88rem; color: rgba(255,255,255,.7); line-height: 1.7; }
.footer-brand h5 { color: #fff; font-weight: 800; font-size: 1.2rem; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .95rem; transition: var(--transition); }
.social-icon.facebook { background: #1877f2; color: #fff; }
.social-icon.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); color: #fff; }
.social-icon.youtube { background: #ff0000; color: #fff; }
.social-icon.twitter { background: #000; color: #fff; }
.social-icon.tiktok { background: #010101; color: #fff; }
.social-icon.whatsapp { background: #25d366; color: #fff; }
.social-icon:hover { transform: translateY(-3px) scale(1.1); }
.footer-divider { border-color: rgba(255,255,255,.1); margin: 40px 0 20px; }
.footer-bottom { padding-bottom: 24px; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-credit { color: rgba(255,255,255,.4); }

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 80px; right: 20px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ── WhatsApp Float ── */
.whatsapp-float {
  position: fixed; bottom: 20px; right: 20px;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 4px 16px rgba(37,211,102,.5);
  z-index: 999; transition: var(--transition);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.7); }

/* ── Pagination ── */
.pagination .page-link { color: var(--primary); border-color: var(--border); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }
.pagination .page-link:hover { background: var(--light); color: var(--primary-dark); }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state i { font-size: 4rem; color: var(--border); margin-bottom: 16px; }
.empty-state h5 { color: var(--dark); font-weight: 700; }

/* ── Loading ── */
.loading-spinner { display: flex; align-items: center; justify-content: center; min-height: 200px; }

/* ── Alert tweaks ── */
.alert { border-radius: var(--radius); border: none; }
.alert-success { background: #d1eddc; color: #1b4332; }
.alert-danger { background: #f8d7da; color: #842029; }
.alert-info { background: #d1ecf1; color: #0c5460; }

/* ── Responsive ── */
@media (max-width: 1199px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px) {
  .hero-section { min-height: 380px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-action-card .ca-sub { display: none; }
}
@media (max-width: 767px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-action-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .product-gallery-main img { height: 280px; }
  .product-thumbs img { width: 58px; height: 58px; }
  .auth-left { padding: 28px 24px; }
  .auth-right { padding: 28px 24px; }
}
@media (max-width: 575px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-info { display: none; }
}

/* ── Quill Editor ── */
.ql-toolbar.ql-snow { border-radius: .375rem .375rem 0 0; border-color: #dee2e6; background: #f8f9fa; }
.ql-container.ql-snow { border-color: #dee2e6; border-radius: 0 0 .375rem .375rem; font-size: 1rem; font-family: inherit; }
.ql-container.ql-snow:focus-within { border-color: #86b7fe; box-shadow: 0 0 0 .25rem rgba(13,110,253,.25); }
.ql-editor { min-height: 200px; line-height: 1.7; }
.product-description { line-height: 1.8; }
.product-description p { margin-bottom: .6rem; }
.product-description ul, .product-description ol { padding-left: 1.5rem; margin-bottom: .6rem; }

/* ── Ürün Özellikleri (product.php) ── */
.attr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
.attr-item { display: flex; flex-direction: column; background: #f8f9fa; border-radius: 8px; padding: 8px 12px; border-left: 3px solid var(--primary); }
.attr-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: #888; font-weight: 600; }
.attr-value { font-size: .92rem; color: #1a1a2e; font-weight: 500; margin-top: 2px; }
@media (max-width: 575px) { .attr-grid { grid-template-columns: 1fr; } }

/* ── Kategori Özellik Alanları (form) ── */
#catAttributesSection .border-top { border-color: #e9ecef !important; }

/* ── İlan Kartı Özellik Rozetleri ── */
.product-attr-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 4px; }
.attr-badge { font-size: .7rem; background: #e8f5e9; color: #2d6a4f; border-radius: 20px; padding: 2px 8px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; }

/* ── Telefon Maskele ── */
.phone-reveal-wrap .phone-masked-btn { cursor: default; letter-spacing: .1em; }
.phone-reveal-wrap .phone-masked-btn span { font-family: monospace; }

/* ── Mesaj Gönder Modal ── */
#msgModal .modal-content { border-radius: 16px; }
#msgModal .modal-header { background: linear-gradient(135deg,#f0f7ff,#fff); border-radius: 16px 16px 0 0; }

/* ═══════════════════════════════════════════════
   HERO İLLÜSTRASYON & ANİMASYONLAR
═══════════════════════════════════════════════ */
.hero-illustration {
  width: 100%;
  max-width: 480px;
  position: relative;
  filter: drop-shadow(0 20px 60px rgba(27,67,50,.35));
  animation: heroEntrance .9s cubic-bezier(.22,.61,.36,1) both;
}
.hero-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

/* ── Giriş animasyonu ── */
@keyframes heroEntrance {
  from { opacity: 0; transform: translateX(40px) scale(.92); }
  to   { opacity: 1; transform: translateX(0)    scale(1);   }
}

/* ── Halka döndürme ── */
@keyframes ringRotate {
  from { transform: rotate(0deg);   transform-origin: 240px 210px; }
  to   { transform: rotate(360deg); transform-origin: 240px 210px; }
}
.hero-ring.r1 { animation: ringRotate 28s linear infinite; }
.hero-ring.r2 { animation: ringRotate 20s linear infinite reverse; }
.hero-ring.r3 { animation: ringRotate 14s linear infinite; }

/* ── Parlama pulse ── */
@keyframes glowPulse {
  0%,100% { opacity: .8; r: 155px; }
  50%      { opacity: 1;  r: 165px; }
}
@keyframes glowPulse2 {
  0%,100% { opacity: .6; r: 60px; }
  50%      { opacity: 1;  r: 70px; }
}
.hero-glow  { animation: glowPulse  4s ease-in-out infinite; }
.hero-glow2 { animation: glowPulse2 3s ease-in-out infinite 1s; }

/* ── Ana güvercin: hafif sallanma ── */
@keyframes birdFloat {
  0%,100% { transform: translate(160px,130px) translateY(0);   }
  30%      { transform: translate(160px,130px) translateY(-8px); }
  60%      { transform: translate(160px,130px) translateY(-4px); }
}
.bird-main { animation: birdFloat 5s ease-in-out infinite; }

/* ── Kanat çırpma ── */
@keyframes wingLeft {
  0%,100% { d: path("M80 88 Q50 60 20 80 Q45 105 80 100 Z"); }
  50%      { d: path("M80 88 Q50 45 15 72 Q42 108 80 100 Z"); }
}
@keyframes wingRight {
  0%,100% { d: path("M80 88 Q110 60 135 78 Q110 100 80 100 Z"); }
  50%      { d: path("M80 88 Q110 45 138 70 Q112 102 80 100 Z"); }
}
/* CSS d() animation sadece Chrome ≥117 destekler — alternatif: scaleY */
.wing-l { animation: wingFlap 1.8s ease-in-out infinite; transform-origin: 80px 94px; }
.wing-r { animation: wingFlap 1.8s ease-in-out infinite .1s; transform-origin: 80px 94px; }
@keyframes wingFlap {
  0%,100% { transform: scaleY(1); }
  50%      { transform: scaleY(.72) scaleX(1.08); }
}

/* ── Uçan küçük güvercinler ── */
@keyframes fly1 {
  0%   { transform: translate(52px,55px) rotate(-5deg); }
  25%  { transform: translate(62px,42px) rotate(3deg);  }
  50%  { transform: translate(58px,50px) rotate(-2deg); }
  75%  { transform: translate(45px,48px) rotate(4deg);  }
  100% { transform: translate(52px,55px) rotate(-5deg); }
}
@keyframes fly2 {
  0%   { transform: translate(330px,40px) rotate(3deg);  }
  33%  { transform: translate(345px,28px) rotate(-4deg); }
  66%  { transform: translate(338px,45px) rotate(5deg);  }
  100% { transform: translate(330px,40px) rotate(3deg);  }
}
@keyframes fly3 {
  0%   { transform: translate(30px,270px) rotate(-3deg); }
  40%  { transform: translate(22px,260px) rotate(5deg);  }
  80%  { transform: translate(35px,278px) rotate(-6deg); }
  100% { transform: translate(30px,270px) rotate(-3deg); }
}
@keyframes fly4 {
  0%   { transform: translate(370px,290px) rotate(4deg);  }
  50%  { transform: translate(382px,280px) rotate(-3deg); }
  100% { transform: translate(370px,290px) rotate(4deg);  }
}
.bird-fly1 { animation: fly1 6s  ease-in-out infinite; }
.bird-fly2 { animation: fly2 7s  ease-in-out infinite 1s; }
.bird-fly3 { animation: fly3 8s  ease-in-out infinite 2s; }
.bird-fly4 { animation: fly4 5.5s ease-in-out infinite .5s; }

/* ── Tüy sallanma ── */
@keyframes featherSway {
  0%,100% { transform: rotate(var(--fr,0deg)) translateY(0); }
  50%      { transform: rotate(calc(var(--fr,0deg) + 8deg)) translateY(-6px); }
}
.feather.f1 { --fr:-30deg; animation: featherSway 4s ease-in-out infinite; }
.feather.f2 { --fr:20deg;  animation: featherSway 5s ease-in-out infinite 1s; }
.feather.f3 { --fr:-15deg; animation: featherSway 6s ease-in-out infinite .5s; }
.feather.f4 { --fr:35deg;  animation: featherSway 4.5s ease-in-out infinite 2s; }

/* ── Parlak nokta blink ── */
@keyframes dotBlink {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.7); }
}
.dot.d1 { animation: dotBlink 2.5s ease-in-out infinite; }
.dot.d2 { animation: dotBlink 3s   ease-in-out infinite .5s; }
.dot.d3 { animation: dotBlink 2s   ease-in-out infinite 1s; }
.dot.d4 { animation: dotBlink 3.5s ease-in-out infinite 1.5s; }
.dot.d5 { animation: dotBlink 2.8s ease-in-out infinite .8s; }

/* Slider içi illüstrasyon */
.slider-illustration { opacity: .9; max-width: 400px; }

/* prefers-reduced-motion desteği */
@media (prefers-reduced-motion: reduce) {
  .hero-illustration *, .hero-ring, .hero-glow, .hero-glow2,
  .bird-main, .bird-fly1, .bird-fly2, .bird-fly3, .bird-fly4,
  .wing-l, .wing-r, .feather, .dot { animation: none !important; }
}

/* ══════════════════════════════════════════
   MÜZAYEDE — Auction Styles
══════════════════════════════════════════ */

/* Bildirim dropdown override */
.notif-dropdown .dropdown-menu { margin-top: .5rem !important; }
.header-actions .notif-dropdown { display: flex; align-items: center; }

/* ── Müzayede Nav Butonu ── */
.auction-nav-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: rgba(220,38,38,.15) !important;
  color: #fca5a5 !important;
  font-weight: 700 !important;
  font-size: .83rem !important;
  padding: 6px 14px 6px 12px !important;
  border-radius: 8px !important;
  margin: 8px 4px !important;
  border: 1px solid rgba(220,38,38,.35) !important;
  border-bottom: 1px solid rgba(220,38,38,.35) !important;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: var(--transition);
}
.auction-nav-link:hover {
  background: rgba(220,38,38,.28) !important;
  color: #fff !important;
  border-color: rgba(220,38,38,.6) !important;
  border-bottom-color: rgba(220,38,38,.6) !important;
  transform: none;
  box-shadow: none !important;
}
.auction-nav-link.active {
  background: rgba(220,38,38,.3) !important;
  color: #fff !important;
  border-color: rgba(220,38,38,.5) !important;
  border-bottom-color: rgba(220,38,38,.5) !important;
  box-shadow: none !important;
}

/* Canlı nokta */
.auction-live-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f87171;
  position: relative;
  flex-shrink: 0;
}
.auction-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(248,113,113,.5);
  animation: ripple-dot 1.6s ease-out infinite;
}
@keyframes ripple-dot {
  0%   { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(2.4); }
}

/* Mobile Müzayede link */
.mobile-nav-auction {
  background: rgba(220,38,38,.07) !important;
  color: #dc2626 !important;
  font-weight: 700 !important;
  border-left: 3px solid rgba(220,38,38,.7);
}
.mobile-nav-auction .auction-live-dot { background: #dc2626; }
.mobile-nav-auction .auction-live-dot::after { border-color: rgba(220,38,38,.4); }

/* ── Auction Card ── */
.auction-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.auction-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }
.auction-card-img { position: relative; height: 200px; overflow: hidden; background: #f8f9fa; }
.auction-card-img img { width: 100%; height: 100%; object-fit: cover; }
.auction-card-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #dee2e6; }
.auction-card-body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.auction-card-title { font-weight: 700; font-size: 1rem; color: #1a1a2e; margin-bottom: .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.auction-card-footer { margin-top: auto; padding-top: .75rem; border-top: 1px solid #f0f0f0; }

/* ── Live Badge ── */
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #dc3545; color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 3px 8px; border-radius: 20px;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: livePulse 1s ease-in-out infinite;
}
@keyframes livePulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.6); }
}
.normal-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: #198754; color: #fff;
  font-size: .72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
}

/* ── Countdown Timer ── */
.auction-countdown { font-size: .82rem; color: #6c757d; }
.auction-countdown .countdown-value { font-weight: 700; color: #1a1a2e; }
.auction-countdown.urgent .countdown-value { color: #dc3545; }
.auction-countdown.urgent { animation: urgentPulse 1.5s ease-in-out infinite; }
@keyframes urgentPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: .7; }
}

/* ── Current Bid Display ── */
.current-bid-display {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-align: center;
}
.current-bid-display .bid-label { font-size: .8rem; color: #6b7280; text-transform: uppercase; letter-spacing: .05em; }
.current-bid-display .bid-amount { font-size: 2rem; font-weight: 800; color: #16a34a; line-height: 1.1; }
.current-bid-display .bid-count  { font-size: .8rem; color: #6b7280; margin-top: .2rem; }

/* ── Live Timer Box ── */
.auction-timer-box {
  border-radius: 12px; padding: .85rem 1rem; text-align: center; margin-bottom: 1rem;
}
.auction-timer-box.live-timer  { background: #fff1f2; border: 1.5px solid #fecdd3; }
.auction-timer-box.normal-timer { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
.timer-label { font-size: .75rem; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; }
.timer-value { font-size: 1.6rem; font-weight: 800; font-family: monospace; }
.live-timer .timer-value  { color: #dc2626; }
.normal-timer .timer-value { color: #16a34a; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #dc2626; font-weight: 600; margin-top: .3rem; }

/* ── Bid History ── */
.bid-history-row {
  display: grid; grid-template-columns: 32px 1fr auto auto;
  align-items: center; gap: .5rem;
  padding: .55rem .75rem; border-radius: 8px; margin-bottom: 4px;
  background: #f9fafb; transition: background .15s;
}
.bid-history-row.top-bid { background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%); border: 1px solid #fde047; }
.bid-rank { font-size: .8rem; color: #9ca3af; text-align: center; }
.bid-user { font-size: .85rem; }
.bid-amount { font-size: .9rem; font-weight: 600; color: #374151; }
.bid-amount.top-amount { font-size: 1rem; font-weight: 800; color: #16a34a; }
.bid-time  { font-size: .72rem; white-space: nowrap; }

/* ── Quick Bid Buttons ── */
.quick-bid-btn {
  flex: 1; padding: .5rem .4rem; font-size: .82rem; font-weight: 600;
  border: 2px solid #d1fae5; background: #f0fdf4; color: #065f46;
  border-radius: 8px; cursor: pointer; transition: all .15s; text-align: center;
}
.quick-bid-btn:hover { background: #16a34a; border-color: #16a34a; color: #fff; }

/* ── Winner Box ── */
.auction-winner-box {
  background: linear-gradient(135deg, #fefce8 0%, #fef08a 100%);
  border: 2px solid #facc15; border-radius: 14px;
  padding: 1.5rem; text-align: center;
}
.auction-winner-box .trophy { font-size: 2.5rem; }
.auction-winner-box .winner-title { font-size: 1.1rem; font-weight: 700; color: #92400e; }
.auction-winner-box .winner-amount { font-size: 1.8rem; font-weight: 800; color: #16a34a; }
.auction-winner-box .winner-name   { font-size: .9rem; color: #78350f; }

/* ── Auction Hero Banner ── */
.auction-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #fff; padding: 3rem 0; margin-bottom: 2rem; border-radius: 0 0 24px 24px;
}
.auction-hero h1 { font-size: 2rem; font-weight: 800; }
.auction-hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 16px; border-radius: 20px; font-size: .85rem;
}

/* ── Admin: Auction Type Cards ── */
.auction-type-card {
  border: 2px solid #e5e7eb; border-radius: 12px; padding: 1rem;
  cursor: pointer; transition: all .2s; text-align: center; user-select: none;
}
.auction-type-card:hover  { border-color: #6b7280; }
.auction-type-card.selected { border-color: #2563eb; background: #eff6ff; }
.auction-type-icon { font-size: 1.8rem; margin-bottom: .4rem; }
.auction-type-label { font-weight: 700; font-size: .95rem; }
.auction-type-desc  { margin-top: .25rem; }

@media (prefers-reduced-motion: reduce) {
  .live-dot, .live-indicator, .auction-countdown.urgent { animation: none !important; }
}

/* ================================================================
   MOBILE APP MODE
   ================================================================ */

/* ── Bottom Navigation Bar ── */
.app-bottom-nav {
  display: none;
}
body.app-mode .app-bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1100;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 16px rgba(0,0,0,.10);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  height: calc(60px + env(safe-area-inset-bottom, 0px));
  align-items: stretch;
}
.app-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #9ca3af;
  font-size: .62rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s;
  padding: 6px 0 2px;
  position: relative;
}
.app-nav-item i {
  font-size: 1.3rem;
  line-height: 1;
}
.app-nav-item.active {
  color: var(--primary);
}
.app-nav-item.active i {
  transform: scale(1.1);
}
.app-nav-center {
  margin-top: -18px;
}
.app-nav-fab {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(45,106,79,.45);
  transition: transform .18s, box-shadow .18s;
}
.app-nav-center:active .app-nav-fab {
  transform: scale(.93);
  box-shadow: 0 2px 8px rgba(45,106,79,.3);
}
.app-nav-center span {
  color: var(--primary);
  font-weight: 700;
}

/* ── App mode: body padding for bottom nav ── */
html.app-mode, body.app-mode {
  height: 100%;
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)) !important;
}

body.app-mode {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.app-mode > * {
  flex-shrink: 0;
}

/* ── Ensure app-bottom-nav stays at bottom ── */
body.app-mode .app-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
}

/* ── App mode: hide topbar, simplify header ── */
body.app-mode .topbar {
  display: none !important;
}
body.app-mode .main-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 6px 0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
body.app-mode .header-search.d-none {
  /* keep desktop search hidden as normal */
}
body.app-mode .cat-navbar {
  display: none !important;
}
body.app-mode .site-footer {
  display: none !important;
}
body.app-mode .back-to-top {
  bottom: calc(68px + env(safe-area-inset-bottom, 0px));
}
body.app-mode .whatsapp-float {
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}
body.app-mode .notif-toast-wrap {
  bottom: calc(74px + env(safe-area-inset-bottom, 0px));
}

/* ── App mode: mobile menu toggle → hide (replaced by bottom nav) ── */
body.app-mode #mobileMenuToggle {
  display: none !important;
}
body.app-mode .btn-muzayede {
  display: none !important;
}

/* ── App mode: mobile search compact ── */
body.app-mode .d-lg-none.mt-2.pb-1 {
  margin-top: 4px !important;
  padding-bottom: 4px !important;
}
body.app-mode .header-search-input {
  font-size: .9rem;
}

/* ── App mode: hero section adjustments ── */
body.app-mode .hero-section {
  padding: 2rem 0 !important;
}
body.app-mode .cat-grid-section {
  padding: 1.5rem 0 !important;
}

/* ── App mode: product cards tighter ── */
body.app-mode .product-grid {
  gap: .6rem !important;
}
body.app-mode .product-card {
  border-radius: 10px;
}

/* ── App mode: section headers ── */
body.app-mode .section-header {
  padding-top: 1rem !important;
}
