/* ═══════════════════════════════════════════════════════
   Fatih Oto Elektrik — Public Site Theme
   ═══════════════════════════════════════════════════════ */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --dark-alt: #1e293b;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow: 0 4px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-bounce: .5s cubic-bezier(.34,1.56,.64,1);
}

/* ── Reset & Base ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--surface-alt);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--primary); color: #fff; }

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

a { color: var(--primary); transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

/* ── Navbar ─────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,.85) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,.06);
  box-shadow: none;
  padding: .75rem 0;
  transition: box-shadow var(--transition), background var(--transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95) !important;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.navbar-brand { font-weight: 700; letter-spacing: -.02em; }
.navbar-brand img { transition: transform var(--transition); height: 56px !important; }
.navbar-brand:hover img { transform: scale(1.06); }

.nav-link {
  font-weight: 500;
  font-size: .9rem;
  color: var(--text) !important;
  border-radius: var(--radius-sm);
  padding: .5rem .875rem !important;
  margin: 0 2px;
  transition: all var(--transition);
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
  transform: translateX(-50%);
}
.nav-link:hover { color: var(--primary) !important; background: rgba(37,99,235,.06) !important; }
.nav-link:hover::after { width: 60%; }
.nav-link.active { color: var(--primary) !important; }
.nav-link.active::after { width: 60%; }

.navbar .form-control {
  border-radius: 50px;
  border: 1px solid var(--border);
  padding: .5rem 1.25rem;
  font-size: .9rem;
  background: var(--surface-alt);
  transition: all var(--transition);
}
.navbar .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
  background: #fff;
  transform: none;
}
.navbar .btn-outline-secondary {
  border-radius: 50px;
  border-color: var(--border);
  color: var(--text-muted);
}
.navbar .btn-outline-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Topbar */
.topbar-gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
  font-size: .8rem;
  letter-spacing: .01em;
}

/* ── Buttons ────────────────────────────────────────── */
.btn {
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: .5rem 1.25rem;
  transition: all var(--transition);
  animation: none !important;
  letter-spacing: .01em;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  color: #fff;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  box-shadow: 0 8px 25px rgba(37,99,235,.35);
}
.btn-success {
  background: linear-gradient(135deg, var(--success), #059669);
  border: none;
}
.btn-outline-primary {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.btn-outline-success {
  border: 1.5px solid var(--success);
  color: var(--success);
}
.btn-outline-success:hover {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

/* ── Hero Slider ────────────────────────────────────── */
.hero-slider {
  margin: -1.5rem -0.75rem 0;
  position: relative;
}
@media (min-width: 576px) {
  .hero-slider { margin: -1.5rem calc(-1 * (50vw - 50% + .75rem)) 0; }
}
/* Anasayfa: hero main altında tam genişlik (container dışına alındığında negatif margin gerekmez) */
main.py-4 > .hero-slider {
  margin: -1.5rem 0 3rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hero-slide--fallback {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #2563eb 100%);
}
.hero-slide--fallback .hero-title,
.hero-slide--fallback .hero-subtitle,
.hero-slide--fallback .hero-badge,
.hero-slide--fallback .hero-btn {
  opacity: 1;
  transform: none;
  animation: none;
}
.hero-btn--outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: none;
}
.hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}
.hero-slide {
  position: relative;
  height: 420px;
  overflow: hidden;
}
@media (max-width: 767.98px) { .hero-slide { height: 260px; } }
@media (min-width: 1200px) { .hero-slide { height: 500px; } }

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s linear;
}
.carousel-item.active .hero-slide-bg { transform: scale(1.06); }

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.7) 0%, rgba(15,23,42,.25) 60%, transparent 100%);
  z-index: 1;
}
.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  padding: 0 2rem;
}
.hero-title {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: 600px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp .8s .2s forwards;
}
.hero-subtitle {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 500px;
  line-height: 1.6;
  margin-top: .75rem;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s .4s forwards;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin-top: 1.25rem;
  padding: .75rem 2rem;
  background: #fff;
  color: var(--dark);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s .6s forwards;
}
.hero-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37,99,235,.4);
}
.hero-btn i { transition: transform var(--transition); }
.hero-btn:hover i { transform: translateX(4px); }

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.carousel-item .hero-title,
.carousel-item .hero-subtitle,
.carousel-item .hero-btn { animation: none; opacity: 0; transform: translateY(30px); }
.carousel-item.active .hero-title { animation: heroFadeUp .8s .2s forwards; }
.carousel-item.active .hero-subtitle { animation: heroFadeUp .8s .4s forwards; }
.carousel-item.active .hero-btn { animation: heroFadeUp .8s .6s forwards; }

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
  width: auto;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 5;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
}
.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next { opacity: 1; }

.hero-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  transition: all var(--transition);
  margin: 0 1rem;
}
.hero-nav-icon:hover {
  background: rgba(255,255,255,.3);
  transform: scale(1.1);
}

.hero-slider .carousel-indicators {
  z-index: 5;
  margin-bottom: 1.25rem;
  gap: .375rem;
}
.hero-slider .carousel-indicators button {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  border: none;
  transition: all var(--transition);
  opacity: 1;
}
.hero-slider .carousel-indicators button.active {
  width: 48px;
  background: #fff;
}

@media (max-width: 767.98px) {
  .hero-title { font-size: 1.5rem; }
  .hero-subtitle { font-size: .9rem; }
  .hero-btn { padding: .6rem 1.5rem; font-size: .85rem; }
  .hero-nav-icon { width: 36px; height: 36px; font-size: 1rem; margin: 0 .5rem; }
}

/* ── Slider: Badge ──────────────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 50px;
  margin-bottom: .75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp .8s .05s forwards;
}
.carousel-item .hero-badge { animation: none; opacity: 0; transform: translateY(20px); }
.carousel-item.active .hero-badge { animation: heroFadeUp .8s .05s forwards; }

/* ── Slider: Progress bar ───────────────────────────── */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
  z-index: 6;
}
.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, rgba(255,255,255,.9), #fff);
  border-radius: 0 3px 3px 0;
}

/* ── Slider: Controls bar (dots + counter) ──────────── */
.hero-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.hero-indicators {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.hero-dot {
  display: block;
  width: 28px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .3s ease;
}
.hero-dot.active {
  width: 44px;
  background: #fff;
}
.hero-counter {
  display: flex;
  align-items: baseline;
  gap: .25rem;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.hero-counter-current {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.hero-counter-sep { color: rgba(255,255,255,.4); }
.hero-counter-total { color: rgba(255,255,255,.6); }

@media (max-width: 767.98px) {
  .hero-controls { bottom: 1rem; gap: 1rem; }
  .hero-badge { font-size: .7rem; padding: .28rem .65rem; }
}

/* Legacy slider fallback */
.slider-frame { display: block; background: transparent; border-radius: var(--radius); overflow: hidden; }
.slider-frame img { width: 100%; height: auto; object-fit: contain; }

/* ── Category Tags ──────────────────────────────────── */
.category-scroll {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: .5rem;
  scroll-behavior: smooth;
}
.category-scroll::-webkit-scrollbar { display: none; }

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  white-space: nowrap;
  padding: .5rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 500;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
}
.cat-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,.04);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cat-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}
.cat-tag .badge {
  font-size: .65rem;
  padding: .2em .5em;
  border-radius: 50px;
  font-weight: 600;
}
.cat-tag.active .badge { background: rgba(255,255,255,.25) !important; color: #fff !important; }

/* ── Section Headers ────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.02em;
  position: relative;
  padding-left: 1rem;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0; top: .15em; bottom: .15em;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.product-count {
  font-size: .85rem;
  font-weight: 600;
  padding: .4rem 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  letter-spacing: .02em;
}

/* ── Product Cards ──────────────────────────────────── */
.product-card {
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  background: var(--surface);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  aspect-ratio: 1 / 1;
}
.product-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .card-img-wrap img {
  transform: scale(1.08);
}

.product-card .card-img-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.4) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover .card-img-wrap .img-overlay { opacity: 1; }

.product-card .stock-badge {
  position: absolute;
  top: .75rem; right: .75rem;
  padding: .25rem .625rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.stock-badge.in-stock { background: rgba(16,185,129,.9); color: #fff; }
.stock-badge.out-stock { background: rgba(239,68,68,.85); color: #fff; }

.product-card .card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card .product-code {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .25rem;
}
.product-card .product-title {
  font-size: .85rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .product-price {
  margin-top: auto;
  padding-top: .5rem;
  border-top: 1px solid var(--border);
}
.product-card .price-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}
.product-card .price-sub {
  font-size: .75rem;
  color: var(--text-muted);
}

/* Placeholder image styling */
.product-card .card-img-wrap img[src*="placeholder"] {
  object-fit: contain;
  padding: 2rem;
  opacity: .35;
}

/* ── Scroll Reveal Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s cubic-bezier(.4,0,.2,1), transform .5s cubic-bezier(.4,0,.2,1);
  transition-delay: var(--delay, 0ms);
}
.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Shimmer (loading placeholder) ──────────────────── */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.shimmer-bg {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* ── Utility / Misc ─────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
  transform: none;
}

.badge { font-weight: 600; letter-spacing: .02em; }

.card { border: none; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: all var(--transition); }

.pagination .page-link {
  border: none;
  border-radius: var(--radius-sm) !important;
  margin: 0 2px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all var(--transition);
}
.pagination .page-link:hover {
  background: rgba(37,99,235,.08);
  color: var(--primary);
  transform: translateY(-1px);
}
.pagination .page-item.active .page-link {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

/* ── View All Button ────────────────────────────────── */
.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  text-decoration: none;
  transition: all var(--transition);
}
.view-all-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,99,235,.3);
}
.view-all-btn i { transition: transform var(--transition); }
.view-all-btn:hover i { transform: translateX(4px); }

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
  background: var(--surface);
  padding: .75rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: .85rem;
}
.breadcrumb-item a { text-decoration: none; }

/* ── Product Detail ─────────────────────────────────── */
.detail-image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  box-shadow: var(--shadow);
}
.detail-image-wrap img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
  transition: transform .5s ease;
}
.detail-image-wrap:hover img { transform: scale(1.05); }

.detail-info-card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.detail-price-box {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid rgba(37,99,235,.1);
}
.detail-price-box .price-big {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
}

.detail-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .85rem;
  border-color: var(--border);
  width: 140px;
}
.detail-table td {
  font-weight: 500;
  border-color: var(--border);
}

/* ── Footer ─────────────────────────────────────────── */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  position: relative;
}
footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

/* ── Dropdown ───────────────────────────────────────── */
.dropdown-menu {
  border: none;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 220px;
}
.dropdown-item {
  border-radius: 8px;
  padding: .5rem .75rem;
  font-size: .9rem;
  transition: all var(--transition);
  white-space: normal;
}
.dropdown-item:hover { background: rgba(37,99,235,.06); color: var(--primary); }

.dropdown-submenu { position: relative; }
.dropdown-submenu > .dropdown-menu { top: 0; left: 100%; margin-left: .1rem; display: none; }
.dropdown-submenu > .dropdown-menu.show { display: block; }
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu { display: block; }
  .dropdown-submenu:hover > .dropdown-menu { display: block; }
}

/* ── Image Zoom & Lightbox ──────────────────────────── */
.zoom-wrap {
  display: block; position: relative; overflow: hidden;
  border-radius: var(--radius); background: #fff;
}
.zoom-wrap img { transition: transform .4s ease; transform-origin: center; }
.zoom-wrap:hover img { transform: scale(1.5); }
.zoom-480 { height: 480px; }
.zoom-480 img { height: 100% !important; width: 100%; object-fit: contain; }
.lightbox-img { max-height: 85vh; width: 100%; height: auto; object-fit: contain; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 767.98px) {
  .section-title { font-size: 1.2rem; }
  .product-card .card-body { padding: .75rem; }
  .product-card .product-title { font-size: .78rem; }
  .product-card .price-main { font-size: .9rem; }
  .navbar-brand img { height: 40px !important; }
  .detail-info-card { padding: 1.25rem; }
}
