@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --secondary: #1e293b;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --blue-light: #f97316;
  --blue-mid: #f97316;
  --text: #1a1a2e;
  --text-light: #64748b;
  --bg: #f4f6fb;
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #22c55e;
  --shadow: 0 1px 3px rgba(0,0,5,.12), 0 1px 2px rgba(0,0,5,.08);
  --shadow-lg: 0 10px 30px rgba(0,0,92,.15);
  --m-stripe: linear-gradient(90deg, #5BC8F5 0%, #5BC8F5 33%, #E4002B 33%, #E4002B 66%, #5BC8F5 66%, #5BC8F5 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* ─── M-STRIPE ─────────────────────────────────────────── */
.m-stripe {
  height: 4px;
  background: var(--m-stripe);
}

/* ─── HEADER ─────────────────────────────────────────── */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,80,.4);
}

.header-top {
  background: var(--accent);
  text-align: center;
  font-size: .8rem;
  padding: .35rem 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: .3px;
}

.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: .8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* ─── LOGO ────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  background: #000;
  padding: 6px 14px 6px 8px;
  border-radius: 6px;
  text-decoration: none;
}

.logo-stripes {
  display: flex;
  flex-direction: row;
  gap: 3px;
  margin-right: 10px;
  align-self: stretch;
  padding: 2px 0;
}

.logo-stripes span {
  width: 5px;
  border-radius: 2px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.logo-text h1 {
  font-size: 1.35rem;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Arial Black', 'Inter', sans-serif;
}

.logo-text p {
  font-size: .62rem;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-style: italic;
  font-family: 'Arial Black', 'Inter', sans-serif;
  line-height: 1.3;
}

.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
}

.header-search input {
  flex: 1;
  padding: .7rem 1.1rem;
  border: 2px solid rgba(91,200,245,.25);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: .95rem;
  background: rgba(255,255,255,.07);
  color: #fff;
  outline: none;
  transition: border-color .2s;
}

.header-search input::placeholder { color: rgba(255,255,255,.4); }
.header-search input:focus { border-color: var(--blue-light); background: rgba(255,255,255,.12); }

.header-search button {
  padding: .7rem 1.3rem;
  background: var(--accent);
  border: none;
  border-radius: 0 8px 8px 0;
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s;
}

.header-search button:hover { background: var(--accent-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.header-phone {
  color: #cbd5e1;
  font-size: .88rem;
  text-align: right;
}

.header-phone a { color: #fff; font-weight: 700; }
.header-phone span { display: block; font-size: .68rem; color: var(--blue-light); }

.cart-btn {
  position: relative;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: .65rem 1.1rem;
  color: #fff;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: background .2s, transform .1s;
  font-family: inherit;
}

.cart-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.cart-badge {
  background: #fff;
  color: var(--accent);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  background: var(--secondary);
  border-top: 1px solid rgba(91,200,245,.1);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.nav-inner a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  font-weight: 500;
  padding: .75rem 1.1rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
  border-bottom: 3px solid transparent;
}

.nav-inner a:hover { color: #fff; }
.nav-inner a.active { color: var(--blue-light); border-bottom-color: var(--blue-light); }

/* ─── HERO ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 50%, #1a1a6e 100%);
  color: #fff;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%235BC8F5' fill-opacity='0.04'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3Ccircle cx='40' cy='40' r='20'/%3E%3Ccircle cx='40' cy='40' r='10'/%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--m-stripe);
}

/* ─── HERO CARS ───────────────────────────────────────── */
.hero-cars {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-car {
  position: absolute;
  opacity: 0.06;
  color: #5BC8F5;
  filter: invert(1) sepia(1) saturate(2) hue-rotate(190deg);
}

.hero-car-1 {
  width: 600px;
  bottom: -20px;
  left: -80px;
  transform: scaleX(-1);
}

.hero-car-2 {
  width: 500px;
  bottom: -10px;
  right: -60px;
  opacity: 0.05;
}

.hero-car-3 {
  width: 350px;
  top: 20px;
  right: 15%;
  opacity: 0.04;
  transform: rotate(-5deg);
}

.hero-layout {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-img-wrap {
  width: 100%;
  max-width: 300px;
}

.hero-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  border: 2px solid rgba(249,115,22,.3);
}

.hero-content { position: relative; max-width: 500px; margin: 0 auto; }

@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-img-wrap { display: none; }
  .hero-content { max-width: 100%; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(91,200,245,.15);
  border: 1px solid rgba(91,200,245,.3);
  color: var(--blue-light);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero h2 .accent { color: var(--blue-light); }
.hero h2 .red { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 8px;
  font-weight: 800;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
  letter-spacing: .3px;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  padding: .9rem 2.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid rgba(91,200,245,.4);
  cursor: pointer;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: inherit;
}

.btn-outline:hover { border-color: var(--blue-light); color: var(--blue-light); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}

.hero-stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-light);
}

.hero-stat span { font-size: .82rem; color: rgba(255,255,255,.5); font-weight: 500; }

/* ─── BMW CARS STRIP ──────────────────────────────────── */
.cars-strip {
  background: var(--primary);
  padding: 1.5rem 0;
  overflow: hidden;
  position: relative;
}

.cars-strip::before,
.cars-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
}

.cars-strip::before { left: 0; background: linear-gradient(90deg, var(--primary), transparent); }
.cars-strip::after { right: 0; background: linear-gradient(-90deg, var(--primary), transparent); }

.cars-scroll {
  display: flex;
  gap: 2rem;
  align-items: center;
  animation: scroll-cars 25s linear infinite;
  width: max-content;
}

@keyframes scroll-cars {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.car-chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(91,200,245,.15);
  border-radius: 50px;
  padding: .4rem 1rem;
  white-space: nowrap;
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 600;
}

.car-chip svg { width: 20px; height: 20px; }

/* ─── CONTAINER ───────────────────────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ─── SECTION TITLE ───────────────────────────────────── */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-title h2 { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.section-title a { font-size: .9rem; color: var(--accent); margin-left: auto; font-weight: 600; }

/* ─── CATEGORY GRID ───────────────────────────────────── */
.categories { padding: 3rem 0 2rem; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: 1rem;
}

.category-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s, border-color .2s;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--m-stripe);
  opacity: 0;
  transition: opacity .2s;
}

.category-card:hover::before,
.category-card.active::before { opacity: 1; }

.category-card:hover, .category-card.active {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--blue-mid);
}

.category-card .icon { font-size: 2.2rem; margin-bottom: .6rem; }
.category-card .name { font-size: .85rem; font-weight: 700; color: var(--text); }
.category-card .count { font-size: .72rem; color: var(--text-light); margin-top: .2rem; }

/* ─── PRODUCT GRID ────────────────────────────────────── */
.products-section { padding: 1rem 0 3rem; }

.filter-bar {
  background: var(--white);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}

.filter-bar label { font-size: .82rem; font-weight: 700; color: var(--primary); }

.filter-bar select {
  padding: .5rem .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .88rem;
  background: var(--bg);
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.filter-bar select:focus { border-color: var(--primary); }
.sort-results { margin-left: auto; font-size: .85rem; color: var(--text-light); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

/* ── Skeleton loading ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.skeleton-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.skeleton-img {
  height: 200px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-body { padding: 1.1rem; }
.skeleton-line {
  height: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite;
}
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w40 { width: 40%; }

.product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-img {
  width: 100%;
  height: 185px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.product-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--m-stripe);
}

.product-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.badge-available { background: #dcfce7; color: #166534; }
.badge-sold { background: #fee2e2; color: #991b1b; }

.condition-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  color: #fff;
}

.product-body { padding: 1.1rem; flex: 1; display: flex; flex-direction: column; }

.product-model {
  font-size: .72rem;
  font-weight: 800;
  color: var(--blue-mid);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: .35rem;
}

.product-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1.3;
}

.product-desc {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: .75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta {
  display: flex;
  gap: .75rem;
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: .75rem;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
}

.product-price small { font-size: .72rem; font-weight: 400; color: var(--text-light); }

.btn-cart {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}

.btn-cart:hover { background: var(--accent-dark); }
.btn-cart:disabled { background: #cbd5e1; cursor: not-allowed; }

.btn-cart-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 8px;
  padding: .48rem .9rem;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
}

.btn-cart-outline:hover { background: var(--primary); color: #fff; }

/* ─── MODAL ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,60,.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0,0,80,.3);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border-radius: 16px 16px 0 0;
}

.modal-header h3 { font-size: 1rem; font-weight: 700; }

.modal-close {
  background: rgba(255,255,255,.15);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover { background: rgba(255,255,255,.25); }

.modal-body { padding: 1.5rem; }

.modal-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.modal-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--m-stripe);
}

.modal-details { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.5rem; }

.detail-item {
  background: var(--bg);
  border-radius: 8px;
  padding: .75rem;
  border-left: 3px solid var(--blue-mid);
}

.detail-item label { font-size: .72rem; color: var(--text-light); display: block; margin-bottom: .2rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.detail-item span { font-size: .95rem; font-weight: 700; }

.modal-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
}

.modal-price-num { font-size: 2rem; font-weight: 900; color: #fff; }
.modal-price-num small { font-size: .85rem; font-weight: 400; color: rgba(255,255,255,.6); }

/* ─── CART PANEL ──────────────────────────────────────── */
.cart-panel {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: 400px;
  background: var(--white);
  z-index: 300;
  box-shadow: -10px 0 40px rgba(0,0,80,.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s ease;
}

.cart-panel.open { transform: translateX(0); }

.cart-panel-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-panel-header h3 { font-size: 1rem; font-weight: 700; }

.cart-items { flex: 1; overflow-y: auto; padding: 1rem; }

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.cart-item-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.cart-item-info { flex: 1; }
.cart-item-name { font-size: .88rem; font-weight: 700; margin-bottom: .2rem; color: var(--text); }
.cart-item-sku { font-size: .72rem; color: var(--text-light); }
.cart-item-price { font-size: 1rem; font-weight: 800; color: var(--accent); margin-top: .3rem; }

.cart-item-remove {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1rem;
  padding: .2rem;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.cart-total span:last-child { font-size: 1.4rem; color: var(--accent); font-weight: 900; }

.btn-checkout {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 1rem;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
  letter-spacing: .3px;
  display: block;
  text-align: center;
}

.btn-checkout:hover { background: var(--accent-dark); }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--text-light); }
.cart-empty .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ─── INFO STRIP ──────────────────────────────────────── */
.info-strip {
  background: var(--primary);
  padding: 2.5rem 0;
  margin-top: 2rem;
  position: relative;
}

.info-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--m-stripe);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.info-card { text-align: center; padding: 1rem; }
.info-card .icon { font-size: 2.2rem; margin-bottom: .75rem; }
.info-card h4 { font-size: .95rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.info-card p { font-size: .82rem; color: rgba(255,255,255,.55); }

/* ─── CONTACT ─────────────────────────────────────────── */
.contact-section { padding: 3rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.contact-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
}

.contact-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1.5rem; color: var(--primary); }

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.contact-info-row .icon-box {
  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.1rem;
  flex-shrink: 0;
}

.contact-info-row strong { display: block; font-size: .75rem; color: var(--text-light); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.contact-info-row span { font-size: .95rem; font-weight: 600; }

.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
  background: var(--bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary); background: #fff; }

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

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--m-stripe);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p { font-size: .85rem; margin: 1rem 0; line-height: 1.7; color: rgba(255,255,255,.45); }

.footer-col h4 {
  color: var(--blue-light);
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col ul li a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  color: rgba(255,255,255,.25);
}

/* ─── TOAST ───────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 400;
  transform: translateY(100px);
  opacity: 0;
  transition: all .3s;
  display: flex;
  align-items: center;
  gap: .75rem;
  border-left: 4px solid var(--blue-light);
}

.toast.show { transform: translateY(0); opacity: 1; }

/* ─── CHECKOUT ────────────────────────────────────────── */
.checkout-section { padding: 2rem 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }

.checkout-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  border-top: 3px solid var(--primary);
}

.checkout-card h3 {
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.order-summary {
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 120px;
  border-top: 4px solid var(--accent);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
  gap: .5rem;
}

.summary-item-name { font-size: .85rem; flex: 1; }
.summary-item-price { font-size: .9rem; font-weight: 800; white-space: nowrap; color: var(--primary); }

.summary-total {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  font-size: 1.1rem;
  font-weight: 900;
}

/* ─── NO RESULTS ──────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  grid-column: 1 / -1;
}

.no-results .icon { font-size: 3rem; margin-bottom: 1rem; }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 768px) {
  .header-main { flex-wrap: wrap; }
  .header-search { order: 3; flex: 100%; max-width: 100%; }
  .hero h2 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .cart-panel { width: 100%; }
  .modal-details { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

.hidden { display: none !important; }
