/* ═══════════════════════════════════════════════════════════════
   1-64.ro · Main Stylesheet — v2 (redesign)
   Fonts: Barlow Condensed (headers) + DM Sans (body)
═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────────────────── */
:root {
  --hw:          #E31212;
  --hw-dark:     #b80e0e;
  --hw-glow:     rgba(227,18,18,.18);
  --mb:          #1652a8;
  --mb-dark:     #1145a0;
  --mb-glow:     rgba(22,82,168,.18);
  --bg:          #FFFFFF;
  --bg-soft:     #F5F6FA;
  --bg-card:     #FFFFFF;
  --text:        #0d1117;
  --text-2:      #374151;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --border-2:    #d1d5db;
  --radius-card: 18px;
  --radius-btn:  50px;
  --radius-sm:   12px;
  --shadow-card: 0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover:0 8px 32px rgba(0,0,0,.14);
  --nav-h:       66px;
  --transition:  0.2s cubic-bezier(.4,0,.2,1);
}

/* ─── Base ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Top bar ───────────────────────────────────────────────── */
.topbar {
  background: #0d1117;
  color: #9ca3af;
  font-size: 12px;
  padding: 6px 0;
  letter-spacing: .01em;
}
.topbar .container-xl { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 4px; }
.topbar strong { color: #e5e7eb; }
.topbar a { color: #9ca3af; transition: color var(--transition); }
.topbar a:hover { color: #fff; }
.topbar-contact a { display: flex; align-items: center; gap: 5px; }

/* ─── Navbar ────────────────────────────────────────────────── */
.site-nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  z-index: 1000;
}

/* Logo */
.logo { display: flex; align-items: baseline; gap: 0; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -.01em; }
.logo-num  { color: var(--hw); }
.logo-sep  { color: #d1d5db; margin: 0 2px; }
.logo-num2 { color: var(--mb); }
.logo-dot  { color: #6b7280; font-size: 1.3rem; font-weight: 700; }

/* Search */
.search-wrap { flex: 1; max-width: 420px; margin: 0 1.5rem; }
.search-inner { position: relative; width: 100%; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; font-size: 14px; }
.search-input {
  width: 100%;
  padding: 9px 16px 9px 38px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg-soft);
  font-size: 13.5px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: all var(--transition);
  color: var(--text);
}
.search-input:focus { border-color: var(--hw); box-shadow: 0 0 0 3px var(--hw-glow); background: #fff; }
.search-input::placeholder { color: #adb5bd; }

/* Nav icon buttons */
.nav-icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: var(--text-2);
  font-size: 1.15rem;
  transition: all var(--transition);
  border: none; background: transparent; cursor: pointer;
}
.nav-icon-btn:hover { background: var(--bg-soft); color: var(--hw); }

.cart-badge {
  position: absolute; top: 2px; right: 2px;
  background: var(--hw); color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px; line-height: 1;
  border: 2px solid #fff;
}

/* User button */
.nav-user-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 16px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: transparent;
  font-size: 13.5px; font-weight: 500;
  color: var(--text-2); cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
}
.nav-user-btn:hover, .nav-user-btn.show { border-color: var(--hw); color: var(--hw); background: #fff5f5; }

/* Login button */
.btn-nav-login {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 20px;
  background: var(--hw);
  color: #fff !important;
  border-radius: var(--radius-btn);
  font-size: 13.5px; font-weight: 600;
  transition: all var(--transition);
  box-shadow: 0 2px 10px var(--hw-glow);
}
.btn-nav-login:hover { background: var(--hw-dark); box-shadow: 0 4px 18px rgba(227,18,18,.35); transform: translateY(-1px); }

.navbar-toggler { border: none; background: transparent; font-size: 1.4rem; color: var(--text); padding: 4px 6px; cursor: pointer; }
.navbar-toggler:focus { box-shadow: none; outline: none; }

/* Dropdown */
.dropdown-menu {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  padding: 6px; min-width: 200px;
}
.dropdown-item {
  border-radius: 8px; font-size: 13.5px;
  padding: 8px 12px; color: var(--text);
  display: flex; align-items: center; transition: background var(--transition);
}
.dropdown-item:hover { background: var(--bg-soft); }
.dropdown-item.text-danger:hover { background: #fee2e2; color: #dc2626; }

/* ─── Main content ───────────────────────────────────────────── */
.main-content { min-height: calc(100vh - var(--nav-h) - 320px); }

/* ─── Hero ───────────────────────────────────────────────────── */
.page-hero {
  padding: 2.8rem 0 2rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(160deg, #fff 55%, #fef2f2 80%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(227,18,18,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--text-muted);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--hw);
}
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-bottom: .8rem;
}
.hero-accent-hw { color: var(--hw); }
.hero-accent-mb { color: var(--mb); }
.hero-sub { font-size: 15px; color: var(--text-muted); }

/* Brand pills in hero */
.hero-brands { display: flex; gap: 10px; margin-top: 1.2rem; flex-wrap: wrap; }
.hero-brand-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  border: 2px solid;
}
.hero-brand-pill.hw { border-color: var(--hw); color: var(--hw); background: rgba(227,18,18,.05); }
.hero-brand-pill.mb { border-color: var(--mb); color: var(--mb); background: rgba(22,82,168,.05); }
.hero-brand-dot { width: 8px; height: 8px; border-radius: 50%; }
.hw .hero-brand-dot { background: var(--hw); }
.mb .hero-brand-dot { background: var(--mb); }

/* ─── Filter bar ─────────────────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 8px;
  padding: 1.1rem 0;
}
.filter-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }
.filter-pill {
  padding: 6px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--border-2);
  background: #fff;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted); cursor: pointer;
  transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.filter-pill:hover { border-color: #9ca3af; color: var(--text); }
.filter-pill.active { background: var(--text); border-color: var(--text); color: #fff; }
.filter-pill.active.pill-hotwheels { background: var(--hw); border-color: var(--hw); box-shadow: 0 2px 10px var(--hw-glow); }
.filter-pill.active.pill-matchbox  { background: var(--mb); border-color: var(--mb); box-shadow: 0 2px 10px var(--mb-glow); }

.sort-select {
  padding: 6px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: 50px;
  background: #fff;
  font-size: 13px; font-weight: 500;
  color: var(--text); cursor: pointer;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition);
  margin-left: auto;
}
.sort-select:focus { border-color: var(--hw); }
.results-count { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ─── Product Grid ───────────────────────────────────────────── */
#productGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding-bottom: 4rem;
}
@media (min-width: 576px)  { #productGrid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 992px)  { #productGrid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
@media (min-width: 1400px) { #productGrid { grid-template-columns: repeat(6, 1fr); gap: 18px; } }

/* ─── Product Card ───────────────────────────────────────────── */
.product-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(14px);
  cursor: pointer;
  display: flex; flex-direction: column;
}
.product-card.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease,
              box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.product-card.hidden { display: none !important; }

.product-card.brand-hotwheels:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--hw-glow), 0 0 0 2px var(--hw);
  border-color: var(--hw);
}
.product-card.brand-matchbox:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--mb-glow), 0 0 0 2px var(--mb);
  border-color: var(--mb);
}

/* Card top accent bar */
.product-card.brand-hotwheels::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--hw), #ff6b6b);
}
.product-card.brand-matchbox::before {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--mb), #60a5fa);
}

/* Image */
.card-img-wrap {
  position: relative;
  background: var(--bg-soft);
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: transform .4s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.08); }

/* Card body */
.card-body-inner {
  padding: 10px 12px 8px;
  flex: 1; display: flex; flex-direction: column; gap: 4px;
}

/* Brand label */
.card-brand {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 50px;
}
.card-brand.hw { background: #fee2e2; color: #b91c1c; }
.card-brand.mb { background: #dbeafe; color: #1d4ed8; }

/* Name */
.card-title {
  font-size: 12.5px; font-weight: 600;
  color: var(--text); line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Series */
.card-series {
  font-size: 11px; color: var(--text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Price */
.card-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--text); margin-top: auto; padding-top: 4px;
  letter-spacing: -.01em;
}
.card-price-old {
  font-size: 12px; color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 4px; font-weight: 400;
  font-family: 'DM Sans', sans-serif;
}

/* Card actions */
.card-actions {
  display: flex; gap: 6px;
  padding: 0 10px 10px;
}
.btn-card-cart {
  flex: 1;
  padding: 7px 10px;
  border-radius: var(--radius-btn);
  border: none;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: .01em;
  color: #fff;
}
.product-card.brand-hotwheels .btn-card-cart { background: var(--hw); }
.product-card.brand-matchbox  .btn-card-cart { background: var(--mb); }
.btn-card-cart:hover { opacity: .88; transform: translateY(-1px); }
.btn-card-cart:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-card-wish {
  width: 33px; height: 33px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff; color: var(--text-muted);
  font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition); flex-shrink: 0;
  padding: 0;
}
.btn-card-wish:hover, .btn-card-wish.wished {
  border-color: var(--hw); color: var(--hw); background: #fff0f0;
}

/* ─── Stock badges ───────────────────────────────────────────── */
.stock-badge {
  position: absolute; top: 10px; left: 10px; z-index: 5;
  padding: 3px 9px;
  border-radius: 50px;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .02em;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.badge-last {
  background: var(--hw); color: #fff;
  animation: pulseBadge 1.6s infinite;
}
.badge-low { background: #f97316; color: #fff; }

@keyframes pulseBadge {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.07); }
}

/* ─── Reserved overlay ───────────────────────────────────────── */
.reserved-overlay {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 20; gap: 6px; padding: 16px;
}
.reserved-overlay .lock-icon { font-size: 1.8rem; }
.reserved-overlay .reserved-text {
  font-size: 11.5px; font-weight: 600;
  color: var(--text); text-align: center; line-height: 1.4;
}

/* ─── Empty state ────────────────────────────────────────────── */
.empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 5rem 2rem;
  color: var(--text-muted); text-align: center;
  grid-column: 1 / -1;
}
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: .3; }
.empty-state h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: .4rem; }
.empty-state p { font-size: 14px; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-primary-hw {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--hw); color: #fff;
  border-radius: var(--radius-btn);
  font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px var(--hw-glow);
  font-family: 'DM Sans', sans-serif;
}
.btn-primary-hw:hover { background: var(--hw-dark); box-shadow: 0 6px 22px rgba(227,18,18,.4); transform: translateY(-2px); color: #fff; }

.btn-primary-mb {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px;
  background: var(--mb); color: #fff;
  border-radius: var(--radius-btn);
  font-weight: 700; font-size: 14.5px;
  border: none; cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 14px var(--mb-glow);
  font-family: 'DM Sans', sans-serif;
}
.btn-primary-mb:hover { background: var(--mb-dark); transform: translateY(-2px); color: #fff; }

.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px;
  background: transparent; color: var(--text);
  border-radius: var(--radius-btn);
  font-weight: 600; font-size: 14.5px;
  border: 1.5px solid var(--border-2);
  cursor: pointer; transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.btn-outline-custom:hover { border-color: var(--text); background: var(--bg-soft); }

/* ─── Product Detail Page ────────────────────────────────────── */
.product-detail-wrap {
  background: #fff;
}

/* Image section */
.detail-img-main {
  background: var(--bg-soft);
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  position: relative;
}
.detail-img-main img {
  max-height: 320px;
  object-fit: contain;
  transition: transform .4s ease;
}
.detail-img-main:hover img { transform: scale(1.04); }

.detail-img-thumbs {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;
}
.thumb-btn {
  width: 62px; height: 62px;
  background: var(--bg-soft);
  border-radius: 12px;
  border: 2px solid var(--border);
  overflow: hidden; cursor: pointer; padding: 6px;
  transition: border-color var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.thumb-btn:hover, .thumb-btn.active { border-color: var(--hw); }
.thumb-btn img { object-fit: contain; width: 100%; height: 100%; }

/* Info section */
.detail-eyebrow {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: .8rem;
}
.detail-brand-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.detail-brand-badge.hw { background: #fee2e2; color: #991b1b; }
.detail-brand-badge.mb { background: #dbeafe; color: #1d4ed8; }

.detail-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: .8rem;
}

.detail-stock {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 1rem;
}
.detail-stock.ok    { background: #d1fae5; color: #065f46; }
.detail-stock.low   { background: #ffedd5; color: #9a3412; }
.detail-stock.last  { background: #fee2e2; color: #991b1b; animation: pulseBadge 1.6s infinite; }

.detail-price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.6rem; font-weight: 800;
  letter-spacing: -.02em; line-height: 1;
  margin-bottom: 1.2rem;
}
.detail-price-old {
  font-size: 1.2rem; color: var(--text-muted);
  text-decoration: line-through; margin-left: 10px;
  font-family: 'DM Sans', sans-serif; font-weight: 400;
}

/* CTA buttons */
.detail-cta {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.btn-detail-cart {
  flex: 1; min-width: 160px;
  padding: 14px 24px;
  border-radius: var(--radius-btn);
  border: none; color: #fff;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-detail-cart.hw { background: var(--hw); box-shadow: 0 4px 16px var(--hw-glow); }
.btn-detail-cart.mb { background: var(--mb); box-shadow: 0 4px 16px var(--mb-glow); }
.btn-detail-cart:hover { opacity: .9; transform: translateY(-2px); }
.btn-detail-cart:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-detail-wish {
  padding: 14px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--border-2);
  background: #fff; color: var(--text-muted);
  font-size: 15px; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 7px; font-weight: 600;
}
.btn-detail-wish:hover, .btn-detail-wish.wished {
  border-color: var(--hw); color: var(--hw); background: #fff0f0;
}

/* Shipping chips */
.shipping-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.2rem;
}
.ship-chip {
  display: flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  background: var(--bg-soft);
  border-radius: 50px;
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
}
.ship-chip strong { color: var(--text); }

/* Meta info */
.detail-meta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.detail-meta-item {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.detail-meta-item:nth-child(even) { border-right: none; }
.detail-meta-item:nth-last-child(-n+2) { border-bottom: none; }
.detail-meta-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 2px; }
.detail-meta-value { font-size: 13.5px; font-weight: 600; color: var(--text); }

/* Brand showcase section */
.brand-showcase {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-bottom: 1.4rem;
}
.brand-showcase-card {
  border-radius: 16px;
  padding: 1.2rem;
  display: flex; flex-direction: column; gap: 8px;
  position: relative; overflow: hidden;
}
.brand-showcase-card.hw {
  background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
  border: 1.5px solid rgba(227,18,18,.2);
}
.brand-showcase-card.mb {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid rgba(22,82,168,.2);
}
.brand-showcase-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: .01em;
}
.hw .brand-showcase-name { color: var(--hw); }
.mb .brand-showcase-name { color: var(--mb); }
.brand-showcase-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }
.brand-showcase-icon { font-size: 2rem; position: absolute; bottom: 12px; right: 14px; opacity: .25; }

/* Buyers section */
.buyers-section { margin-top: 1.5rem; }
.buyers-title {
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.buyers-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.buyers-list { list-style: none; }
.buyers-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.buyers-list li:last-child { border-bottom: none; }
.buyer-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 12px; flex-shrink: 0;
  text-transform: uppercase;
}

/* ─── Auth pages ─────────────────────────────────────────────── */
.auth-wrapper {
  min-height: 80vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(160deg, #fff 60%, #fef2f2 100%);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,.1);
  padding: 2.5rem;
  border: 1.5px solid var(--border);
}
.auth-logo { text-align: center; margin-bottom: 1.5rem; font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; }
.auth-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.7rem; font-weight: 800; text-align: center; margin-bottom: .3rem; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 1.5rem; }

/* ─── Forms ──────────────────────────────────────────────────── */
.form-label { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 5px; display: block; }
.form-control, .form-select {
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text); background: #fff; width: 100%;
  transition: all var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--hw);
  box-shadow: 0 0 0 3px var(--hw-glow);
  outline: none;
}
.form-control.is-invalid { border-color: #ef4444; }
.invalid-feedback { font-size: 12.5px; }

/* ─── Cart page ──────────────────────────────────────────────── */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-muted);
  font-weight: 600; padding: 10px 0;
  border-bottom: 2px solid var(--border);
}
.cart-table td { padding: 14px 0; vertical-align: middle; border-bottom: 1px solid var(--border); }
.cart-product-img {
  width: 56px; height: 56px; object-fit: contain;
  background: var(--bg-soft); border-radius: 12px; padding: 6px;
}
.cart-product-name { font-weight: 600; font-size: 13.5px; margin-bottom: 2px; }
.cart-product-brand { font-size: 12px; color: var(--text-muted); }
.qty-control { display: flex; align-items: center; gap: 8px; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1.5px solid var(--border-2); background: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; transition: all var(--transition);
  color: var(--text);
}
.qty-btn:hover { border-color: var(--hw); color: var(--hw); }
.qty-val { font-weight: 700; font-size: 14px; min-width: 22px; text-align: center; }

/* Cart summary */
.cart-summary {
  background: var(--bg-soft);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--border);
  padding: 1.5rem;
}
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; }
.summary-row.total {
  font-size: 1.1rem; font-weight: 800;
  border-top: 2px solid var(--border);
  padding-top: 12px; margin-top: 6px;
}

/* ─── Checkout ───────────────────────────────────────────────── */
.shipping-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.1rem 1.3rem;
  cursor: pointer; transition: all var(--transition);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
}
.shipping-option:hover { border-color: #9ca3af; }
.shipping-option.selected { border-color: var(--hw); background: #fff5f5; }
.ship-icon { font-size: 1.7rem; }
.ship-name { font-weight: 700; font-size: 14.5px; }
.ship-desc { font-size: 12.5px; color: var(--text-muted); }
.ship-price { margin-left: auto; font-weight: 800; font-size: 1.05rem; color: var(--hw); white-space: nowrap; font-family: 'Barlow Condensed', sans-serif; letter-spacing: -.01em; }

.payment-option {
  border: 2px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1rem 1.3rem;
  cursor: pointer; transition: all var(--transition);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 14px;
}
.payment-option:hover { border-color: #9ca3af; }
.payment-option.selected { border-color: var(--mb); background: #eff6ff; }
.pay-icon { font-size: 1.4rem; }
.pay-name { font-weight: 700; font-size: 14px; }
.pay-desc { font-size: 12.5px; color: var(--text-muted); }

.address-fields { display: none; margin-top: 12px; }
.address-fields.show { display: block; }

/* ─── Profile ────────────────────────────────────────────────── */
.profile-tabs {
  display: flex;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto; gap: 0;
}
.profile-tab {
  padding: 10px 20px;
  font-size: 13.5px; font-weight: 600;
  color: var(--text-muted); cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px; white-space: nowrap;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.profile-tab:hover { color: var(--text); }
.profile-tab.active { color: var(--hw); border-bottom-color: var(--hw); }
.profile-section { display: none; }
.profile-section.active { display: block; }

.order-card { border: 1.5px solid var(--border); border-radius: var(--radius-card); overflow: hidden; margin-bottom: 1.2rem; }
.order-card-header {
  background: var(--bg-soft); padding: 12px 18px;
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 10px; font-size: 13px;
}
.order-card-body { padding: 14px 18px; }
.order-num { font-weight: 700; }
.status-badge {
  padding: 3px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.status-pending   { background: #fef3c7; color: #92400e; }
.status-confirmed { background: #d1fae5; color: #065f46; }
.status-cancelled { background: #fee2e2; color: #991b1b; }

/* ─── Admin ───────────────────────────────────────────────────── */
.admin-wrapper { max-width: 1300px; margin: 0 auto; padding: 2rem 1rem; }
.admin-header {
  background: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
  color: #fff; padding: 1.5rem 2rem;
  border-radius: var(--radius-card);
  margin-bottom: 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-header h1 { font-size: 1.5rem; font-weight: 800; margin: 0; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .01em; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 2rem; flex-wrap: wrap; }
.admin-tab-btn {
  padding: 8px 20px; border-radius: 50px;
  border: 1.5px solid var(--border); background: #fff;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  color: var(--text-muted); transition: all var(--transition);
  font-family: 'DM Sans', sans-serif;
}
.admin-tab-btn:hover { color: var(--text); border-color: #9ca3af; }
.admin-tab-btn.active { background: var(--text); border-color: var(--text); color: #fff; }
.admin-section { display: none; }
.admin-section.active { display: block; }

.stat-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.4rem;
  display: flex; align-items: center; gap: 14px;
}
.stat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.stat-icon.red    { background: #fee2e2; color: var(--hw); }
.stat-icon.blue   { background: #dbeafe; color: var(--mb); }
.stat-icon.green  { background: #d1fae5; color: #059669; }
.stat-icon.orange { background: #ffedd5; color: #ea580c; }
.stat-val   { font-size: 1.6rem; font-weight: 800; line-height: 1; font-family: 'Barlow Condensed', sans-serif; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 500; margin-top: 3px; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.admin-table th {
  text-align: left; padding: 10px 12px;
  background: var(--bg-soft);
  border-bottom: 2px solid var(--border);
  font-size: 11.5px; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-muted); white-space: nowrap;
}
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }

.btn-confirm {
  padding: 5px 14px; background: #10b981; color: #fff;
  border: none; border-radius: 50px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all var(--transition);
}
.btn-confirm:hover { background: #059669; }
.btn-cancel {
  padding: 5px 14px; background: #ef4444; color: #fff;
  border: none; border-radius: 50px;
  font-size: 12px; font-weight: 700; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: all var(--transition);
}
.btn-cancel:hover { background: #dc2626; }

.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #0d1117; }
.admin-login-card { background: #fff; border-radius: 24px; padding: 2.5rem; width: 100%; max-width: 380px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ─── Footer ──────────────────────────────────────────────────── */
.site-footer { background: #0d1117; color: #9ca3af; padding: 3.5rem 0 0; margin-top: 5rem; }
.footer-logo { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 2rem; margin-bottom: .7rem; }
.footer-logo .logo-num  { color: var(--hw); }
.footer-logo .logo-sep  { color: #374151; }
.footer-logo .logo-num2 { color: var(--mb); }
.footer-logo .logo-dot  { color: #6b7280; font-size: 1.3rem; }
.footer-tagline { font-size: 13.5px; line-height: 1.7; color: #6b7280; margin-bottom: .4rem; }
.footer-company { font-size: 12px; color: #374151; }
.footer-heading { font-size: 11px; text-transform: uppercase; letter-spacing: .09em; color: #e5e7eb; font-weight: 700; margin-bottom: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 13.5px; color: #6b7280; transition: color var(--transition); }
.footer-links a:hover { color: #e5e7eb; }
.footer-payment { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-badge {
  padding: 5px 12px; background: #1f2937; border-radius: 50px;
  font-size: 12px; color: #9ca3af;
  display: flex; align-items: center; gap: 6px;
}
.pay-badge.revolut { color: #a78bfa; }
.footer-hr { border-color: #1f2937; margin: 2rem 0 1rem; }
.footer-bottom {
  padding-bottom: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 12.5px;
}
.footer-brands { display: flex; gap: 8px; }
.brand-pill { padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; }
.brand-pill.hotwheels { background: rgba(227,18,18,.15); color: var(--hw); }
.brand-pill.matchbox  { background: rgba(22,82,168,.15); color: #60a5fa; }

/* ─── Section titles ─────────────────────────────────────────── */
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: 10px;
  letter-spacing: .01em;
}

/* ─── Utilities ───────────────────────────────────────────────── */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.text-hw { color: var(--hw) !important; }
.text-mb { color: var(--mb) !important; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  .page-hero { padding: 1.8rem 0 1.4rem; }
  .auth-card { padding: 1.8rem; }
  .detail-meta { grid-template-columns: 1fr; }
  .detail-meta-item { border-right: none !important; }
  .detail-meta-item:last-child { border-bottom: none; }
  .brand-showcase { grid-template-columns: 1fr 1fr; }
  .admin-table { display: block; overflow-x: auto; }
  .detail-cta { flex-direction: column; }
  .btn-detail-cart, .btn-detail-wish { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
  .brand-showcase { grid-template-columns: 1fr; }
  .cart-table th:nth-child(3), .cart-table td:nth-child(3) { display: none; }
  .shipping-chips { flex-direction: column; gap: 6px; }
}

/* ─── Mobile menu ────────────────────────────────────────────── */
.mobile-menu {
  border-top: 1px solid var(--border);
  background: #fff;
  padding: 12px 16px 16px;
}
.mobile-search {
  margin-bottom: 12px;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition);
  text-decoration: none;
}
.mobile-link:hover { background: var(--bg-soft); color: var(--text); }
.mobile-link i { font-size: 1.05rem; color: var(--text-muted); width: 20px; text-align: center; }
.mobile-link-primary { background: var(--hw); color: #fff !important; font-weight: 700; }
.mobile-link-primary i { color: rgba(255,255,255,.8); }
.mobile-link-primary:hover { background: var(--hw-dark); }
.mobile-link-danger { color: #dc2626 !important; }
.mobile-link-danger i { color: #dc2626; }
.mobile-link-danger:hover { background: #fee2e2; }
.mobile-badge {
  margin-left: auto;
  background: var(--hw); color: #fff;
  font-size: 10.5px; font-weight: 700;
  padding: 1px 7px; border-radius: 50px;
}

/* ─── Navbar restructurat ───────────────────────────────────── */
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 12px;
}
/* Desktop search — ascuns pe mobil */
.nav-inner .search-wrap {
  flex: 1;
  max-width: 400px;
  display: none;
}
/* Desktop right actions — ascuns pe mobil */
.nav-right {
  display: none;
  align-items: center;
  gap: 8px;
}
/* Mobile: cart + hamburger — ascuns pe desktop */
.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
/* Desktop breakpoint */
@media (min-width: 992px) {
  .nav-inner .search-wrap  { display: flex; }
  .nav-right               { display: flex; }
  .nav-mobile-actions      { display: none; }
}

/* ─── Mobile drawer ─────────────────────────────────────────── */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1099;
  backdrop-filter: blur(2px);
}
.mobile-menu-overlay.open { display: block; }

.mobile-menu-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(88vw, 320px);
  height: 100dvh;
  background: #fff;
  z-index: 1100;
  box-shadow: -8px 0 40px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu-drawer.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-close-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}
.mobile-close-btn:hover { background: var(--bg-soft); }

.mobile-search-wrap {
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-links {
  display: flex;
  flex-direction: column;
  padding: 10px 10px;
  gap: 2px;
  flex: 1;
}
.mobile-link {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 15px; font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background var(--transition);
}
.mobile-link:hover { background: var(--bg-soft); }
.mobile-link i { font-size: 1.1rem; color: var(--text-muted); width: 22px; text-align: center; }
.mobile-link-primary {
  background: var(--hw); color: #fff !important;
  font-weight: 700; margin-top: 8px;
}
.mobile-link-primary i { color: rgba(255,255,255,.8); }
.mobile-link-primary:hover { background: var(--hw-dark); }
.mobile-link-danger { color: #dc2626 !important; }
.mobile-link-danger i { color: #dc2626; }
.mobile-link-danger:hover { background: #fee2e2; }
.mobile-badge {
  margin-left: auto;
  background: var(--hw); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 1px 8px; border-radius: 50px;
}
.hamburger-btn {
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; cursor: pointer; color: var(--text);
  transition: background var(--transition);
}
.hamburger-btn:hover { background: var(--bg-soft); }

/* ═══════════════════════════════════════════════════════
   NAVBAR REDESIGN — desktop / mobile bottom bar
═══════════════════════════════════════════════════════ */

/* ── Desktop navbar ────────────────────────────────── */
.site-nav {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
  z-index: 900;
  align-items: center;
  width: 100%;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: 12px;
  width: 100%;
}
.nav-inner .search-wrap {
  flex: 1;
  max-width: 420px;
  margin: 0 1rem;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* ── Mobile top bar ────────────────────────────────── */
.mobile-topbar {
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 58px;
  padding: 0 16px;
  align-items: center;
  gap: 12px;
  z-index: 900;
  position: sticky;
  top: 0;
  width: 100%;
}
.mobile-top-search {
  flex: 1;
}
.mobile-topbar .search-input {
  height: 38px;
  font-size: 14px;
}

/* ── Mobile bottom bar ─────────────────────────────── */
/* ── MOBILE BOTTOM BAR — redesign modern ── */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(0,0,0,.07);
  z-index: 950;
  align-items: center;
  padding: 0 6px;
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -1px 0 rgba(0,0,0,.06), 0 -8px 32px rgba(0,0,0,.06);
  gap: 2px;
}

.mbb-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  position: relative;
  padding: 6px 2px 4px;
  border-radius: 14px;
  min-width: 0;
}

.mbb-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  text-align: center;
}

.mbb-icon-wrap {
  width: 36px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  position: relative;
}

.mbb-item i {
  font-size: 1.25rem;
  line-height: 1;
  transition: all .2s;
}

.mbb-item.active {
  color: var(--hw);
}

.mbb-item.active .mbb-icon-wrap {
  background: rgba(227,18,18,.08);
}

.mbb-item.active i {
  transform: scale(1.08);
}

/* Active dot indicator */
.mbb-item.active::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--hw);
}

/* Avatar mini */
.mbb-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hw), #c0392b);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(227,18,18,.3);
}

/* CART — central elevated */
.mbb-cart-center {
  flex: 1.1;
}

.mbb-cart-pill {
  position: relative;
  min-width: 48px;
  width: auto;
  padding: 0 12px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E31212, #c0392b);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 4px 14px rgba(227,18,18,.4);
  transition: all .2s cubic-bezier(.4,0,.2,1);
}

.mbb-cart-pill i { font-size: 1.1rem; color: #fff; }

.mbb-cart-center:active .mbb-cart-pill,
.mbb-cart-center.active .mbb-cart-pill {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(227,18,18,.5);
}

/* Cart badge */
.mbb-badge { display: none; }

/* Count în interiorul pill-ului */
.mbb-cart-count {
  font-size: 11px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-left: 2px;
}

/* Padding bottom pe mobile pentru bottom bar */
@media (max-width: 991px) {
  .main-content { padding-bottom: 76px; }
  .site-footer   { margin-bottom: 64px; }
}

/* ═══════════════════════════════════════════════════════
   CART — mobile redesign
═══════════════════════════════════════════════════════ */
.cart-empty-state {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  min-height: 40vh;
}
.cart-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.cart-empty-title { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6rem; font-weight: 800; margin-bottom: .4rem; }
.cart-empty-sub { color: var(--text-muted); font-size: 14.5px; margin-bottom: 1.4rem; }

.cart-items-wrap {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.cart-item:last-child { border-bottom: none; }
.cart-item:hover { background: #fafafa; }

.cart-item-img {
  width: 68px; height: 68px;
  flex-shrink: 0;
  background: var(--bg-soft);
  border-radius: 12px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
}
.cart-item-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.cart-item-info {
  flex: 1; min-width: 0;
}
.cart-item-name {
  font-size: 13px; font-weight: 600;
  color: var(--text); line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-price-mobile {
  font-size: 12px; color: var(--text-muted);
  margin-top: 4px;
}
.cart-item-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 8px;
  flex-shrink: 0;
}
.cart-delete-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid #fee2e2;
  background: #fff; color: #ef4444;
  font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  padding: 0;
}
.cart-delete-btn:hover { background: #fee2e2; }

/* ═══════════════════════════════════════════════════════
   PROFILE — nav grid tabs
═══════════════════════════════════════════════════════ */
.profile-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 1.8rem;
}
.profile-nav-item {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  padding: 12px 8px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 11.5px; font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: all var(--transition);
  user-select: none;
}
.profile-nav-item i { font-size: 1.2rem; transition: color var(--transition); }
.profile-nav-item:hover { border-color: var(--hw); color: var(--hw); }
.profile-nav-item.active {
  background: var(--hw);
  border-color: var(--hw);
  color: #fff;
  box-shadow: 0 4px 14px var(--hw-glow);
}
.profile-nav-item.active i { color: #fff; }
.profile-nav-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--hw);
  color: #fff;
  font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
  border: 2px solid #fff;
}
.profile-nav-item.active .profile-nav-badge {
  background: #fff; color: var(--hw);
  border-color: var(--hw);
}

/* ═══════════════════════════════════════════════════════
   REC CARDS — brand colored buttons
═══════════════════════════════════════════════════════ */
.rec-card.brand-hotwheels .btn-card-cart { background: var(--hw); }
.rec-card.brand-matchbox  .btn-card-cart { background: var(--mb); }
.rec-card .btn-card-cart { color: #fff; }

/* ── Cart item — stivuit pe mobil ─────────────────────────── */
@media (max-width: 575px) {
  .cart-item {
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 12px;
  }
  .cart-item-img {
    width: 72px; height: 72px;
  }
  .cart-item-info {
    flex: 1;
    min-width: 0;
  }
  /* Rândul 2: qty + preț total + delete — full width */
  .cart-item-right {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--border);
  }
  .cart-item-right .cart-row-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    flex: 1;
    text-align: center;
  }
  /* Ascunde pretul per buc pe desktop (e deja in qty row) */
  .cart-item-price-mobile { display: block; }
}

@media (min-width: 576px) {
  .cart-item-price-mobile { display: none; }
}

/* ── Reservations block — product page ───────────────────────── */
.reservations-block {
  border: 1.5px solid #fde68a;
  background: #fffbeb;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 10px 0 14px;
}
.reservations-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.reservation-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid #fde68a;
  font-size: 13px;
}
.reservation-row:last-of-type { border-bottom: none; }
.reservation-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #fef3c7;
  color: #92400e;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reservation-info { flex: 1; color: var(--text); }
.reservation-info span { color: var(--text-muted); font-size: 12px; }
.reservation-deadline {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}
.reservation-deadline.urgent  { color: #f97316; }
.reservation-deadline.expired { color: var(--text-muted); text-decoration: line-through; }

/* ── Card reservation & confirmed badges ─────────────────────── */
.card-reservation-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 6px;
  padding: 3px 7px;
  line-height: 1.4;
}
.card-reservation-badge i { font-size: 10px; flex-shrink: 0; }

.card-confirmed-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 6px;
  padding: 3px 7px;
  line-height: 1.4;
}
.card-confirmed-badge i { font-size: 10px; flex-shrink: 0; }

/* ── Giveaway index banner ───────────────────────────────────── */
.gw-index-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 50%, #fff 100%);
  border-bottom: 1px solid #fde68a;
  padding: 14px 0;
}
.gw-index-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gw-index-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.gw-index-crown { font-size: 2rem; }
.gw-index-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #D97706;
  margin-bottom: 2px;
}
.gw-index-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
}
.gw-index-sub { font-size: 12px; color: #6b7280; margin-top: 1px; }
.gw-index-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 22px;
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: #fff;
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 3px 14px rgba(245,158,11,.35);
  white-space: nowrap;
  transition: all .2s;
}
.gw-index-btn:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(245,158,11,.5); color: #fff; }
@media (max-width: 575px) {
  .gw-index-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ── Premii Lunare nav button ────────────────────────────────── */
.btn-nav-premii {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--gold-light, #fef3c7);
  color: #D97706;
  border-radius: var(--radius-btn);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #FDE68A;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-nav-premii:hover {
  background: #FDE68A;
  color: #B45309;
  transform: translateY(-1px);
}

/* Mobile trophy color in bottom bar */
.mbb-item.mbb-giveaway.active .mbb-icon-wrap {
  background: rgba(217,119,6,.1);
}
.mbb-item.mbb-giveaway.active i,
.mbb-item.mbb-giveaway:hover i {
  color: #D97706;
}
.mbb-item.mbb-giveaway.active {
  color: #D97706;
}
.mbb-item.mbb-giveaway.active::after {
  background: #D97706;
}

/* ═══════════════════════════════════════════════════════════════
   Legal pages
═══════════════════════════════════════════════════════════════ */
.legal-page { padding: 1rem 0 4rem; }

.legal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -.01em;
  margin-bottom: .3rem;
  color: var(--text);
}
.legal-updated {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--border);
}
.legal-alert {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  color: #1e40af;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.legal-page h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin: 2rem 0 .6rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.legal-page h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-2);
  margin: 1.2rem 0 .4rem;
}
.legal-page p { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: .8rem; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: .8rem; }
.legal-page ul li { font-size: 14.5px; color: var(--text-2); line-height: 1.8; margin-bottom: .3rem; }
.legal-page a { color: var(--hw); text-decoration: underline; }
.legal-page a:hover { color: var(--hw-dark); }
.legal-page code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2rem;
  font-size: 13.5px;
}
.legal-table th {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
}
.legal-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  vertical-align: top;
  line-height: 1.6;
  color: var(--text-2);
}
.legal-table tr:nth-child(even) td { background: #fafafa; }

.legal-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
}
.legal-badge.green { background: #d1fae5; color: #065f46; }
.legal-badge.blue  { background: #dbeafe; color: #1d4ed8; }
.legal-badge.gray  { background: #f3f4f6; color: #6b7280; }

.legal-steps { display: flex; flex-direction: column; gap: 0; margin: 1rem 0 1.2rem; }
.legal-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.legal-step:last-child { border-bottom: none; }
.legal-step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--hw);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Footer legal bar */
.footer-legal-bar {
  border-top: 1px solid #1f2937;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.footer-legal-bar a {
  font-size: 12px;
  color: #6b7280;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-legal-bar a:hover { color: #e5e7eb; }
.footer-anpc {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11.5px; font-weight: 700;
  color: #9ca3af;
  text-decoration: none;
  transition: all var(--transition);
}
.footer-anpc:hover { border-color: var(--hw); color: var(--hw); }
.footer-anpc-sol {
  display: inline-flex; align-items: center; gap: 6px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11.5px; font-weight: 700;
  color: #9ca3af;
  text-decoration: none;
  transition: all var(--transition);
}
.footer-anpc-sol:hover { border-color: var(--mb); color: #60a5fa; }

@media (max-width:767px) {
  .legal-table { display:block; overflow-x:auto; }
}

.status-paid { background: #ede9fe; color: #5b21b6; }

/* ── Product identifiers (SKU/EAN) ───────────────────────────── */
.product-identifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: .6rem 0 .8rem;
}
.product-id-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: 'DM Mono', 'Courier New', monospace;
}
.product-id-pill i { font-size: 11px; }
.product-id-pill strong { color: var(--text-2); }

/* ── Product legal block ─────────────────────────────────────── */
.product-legal-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 1rem 0;
}
.product-legal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: all var(--transition);
}
.product-legal-item:hover {
  border-color: var(--border-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}
.plegal-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.plegal-text { min-width: 0; }
.plegal-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.plegal-sub {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
}
@media (max-width: 400px) {
  .product-legal-block { grid-template-columns: 1fr; }
}

/* ── Mobile profile menu (drawer) ───────────────────────────── */
.mobile-profile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
}
.mobile-profile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(2px);
}
.mobile-profile-menu-inner {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  padding: 24px 20px 100px;
  z-index: 1;
  animation: slideUpMenu .25s cubic-bezier(.4,0,.2,1);
}
@keyframes slideUpMenu {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.mobile-profile-menu-user {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mobile-profile-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-profile-menu-item i { font-size: 1.1rem; color: var(--text-muted); }
.mobile-profile-menu-item:last-of-type { border-bottom: none; }
.logout-item { color: var(--hw) !important; }
.logout-item i { color: var(--hw) !important; }
.mobile-profile-menu-close {
  width: 100%;
  margin-top: 12px;
  padding: 13px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

/* Mobile profile avatar */
.mobile-profile-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--hw), var(--mb));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Search dropdown ─────────────────────────────────────────── */
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.12);
  z-index: 2000;
  overflow: hidden;
  animation: sdFadeIn .15s ease;
}
@keyframes sdFadeIn { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }

.sd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background .12s;
}
.sd-item:last-of-type { border-bottom: none; }
.sd-item:hover { background: var(--bg-soft); }

.sd-img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 4px;
  flex-shrink: 0;
}
.sd-info { flex: 1; min-width: 0; }
.sd-name {
  font-size: 13.5px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 3px;
}
.sd-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sd-brand {
  font-size: 11px; font-weight: 700;
  padding: 1px 7px; border-radius: 50px;
}
.sd-hw { background: rgba(227,18,18,.1); color: var(--hw); }
.sd-mb { background: rgba(22,82,168,.1); color: var(--mb); }
.sd-price { font-size: 13px; font-weight: 700; color: var(--text); }
.sd-out { font-size: 11px; color: var(--text-muted); }

.sd-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  background: var(--bg-soft);
  font-size: 13px; font-weight: 600;
  color: var(--hw); text-decoration: none;
  border-top: 1px solid var(--border);
  gap: 8px;
}
.sd-footer:hover { background: rgba(227,18,18,.05); }
.sd-footer .bi-arrow-right { margin-left: auto; }

.sd-empty {
  padding: 16px 14px;
  font-size: 13.5px; color: var(--text-muted);
  text-align: center;
}

/* ── Logo image ──────────────────────────────────────────────── */
.logo-img {
  height: 100px;
  vertical-align: middle;
  position: relative;
  top: 4px;
}
.logo-img-mobile {
  height: 70px;
  position: relative;
  top: 4px;
}
@media (max-width: 400px) {
  .logo-img-mobile { height: 38px; }
}

.pay-badge.stripe { background: #1f2937; border-color: #635BFF; color: #a5b4fc; }

/* ── Footer legal bar redesign ───────────────────────────────── */
.footer-legal-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 20px 0 8px;
  border-top: 1px solid #1f2937;
}
.footer-anpc-images {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-anpc-images a {
  opacity: .9;
  transition: opacity .2s;
}
.footer-anpc-images a:hover { opacity: 1; }
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.footer-legal-links a {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: none;
  transition: color .2s;
}
.footer-legal-links a:hover { color: #e5e7eb; }

/* ── CARD RATING STARS ── */
.card-rating { display:flex; align-items:center; gap:5px; margin-top:5px; }
.card-stars { display:flex; gap:1px; }
.star { font-size:14px; line-height:1; }
.star.full  { color:#f59e0b; }
.star.half  { color:#f59e0b; opacity:.6; }
.star.empty { color:#d1d5db; }
.card-rating-count { font-size:11px; color:#9ca3af; font-weight:600; }
