:root {
  --bg: #0d0b08;
  --bg-soft: #171310;
  --panel: #1e1914;
  --panel-alt: #14110e;
  --text: #f2ece4;
  --muted: #9e9286;
  --accent: #c8903a;
  --accent-2: #e8b85c;
  --accent-glow: rgba(200, 144, 58, 0.4);
  --line: #332c24;
  --good: #6ab87a;
  --danger: #c95044;
  --shadow: 0 24px 56px rgba(5, 3, 1, 0.7);
  --shadow-lg: 0 32px 72px rgba(0, 0, 0, 0.8);
  --glow: 0 0 32px rgba(200, 144, 58, 0.15);
  --sidebar-w: 220px;
  --mud: #2a2218;
  --mud-light: #3d3326;
  --mud-border: #4a3d2e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

main > .section:not(.hero-video),
.site-footer {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

main > .section:not(.hero-video) > .section-head,
main > .section:not(.hero-video) > .trust-grid,
main > .section:not(.hero-video) > .newsletter-card,
main > .section:not(.hero-video) > .contact-grid,
.footer-grid,
.footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

/* ── TOPBAR ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px) saturate(180%);
  background: linear-gradient(135deg, rgba(13, 11, 8, 0.92) 0%, rgba(10, 8, 6, 0.95) 100%);
  border-bottom: 1px solid rgba(217, 169, 85, 0.18);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0 1.5rem;
  height: 60px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  background: linear-gradient(145deg, #f4d47f 0%, #d9a955 50%, #b8843a 100%);
  color: #0f1512;
  display: grid;
  place-items: center;
  font-family: "Rajdhani", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 2px 10px rgba(217, 169, 85, 0.35);
}

.brand-name {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1;
}

.brand-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── MAIN NAV (horizontal) ── */
.main-nav {
  display: flex;
  gap: 0.15rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 180ms ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.1);
}

.nav-link.active {
  background: rgba(217, 169, 85, 0.15);
  box-shadow: inset 0 -2px 0 var(--accent);
}

/* ── AUTH / USER NAV ── */
.user-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.auth-btn {
  color: var(--accent-2);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.5rem;
  transition: background 180ms;
}

.auth-btn:hover {
  background: rgba(217, 169, 85, 0.12);
}

/* ── SOCIAL NAV (top right) ── */
.social-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.social-btn {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.35rem;
  border-radius: 0.4rem;
  transition: all 160ms;
}

.social-btn:hover {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.12);
}

/* ── TOPBAR SEARCH ── */
.topbar-search {
  flex: 1;
  max-width: 260px;
  margin: 0 0.75rem;
}

.topbar-search .search-bar {
  padding: 0.35rem 0.55rem;
  background: rgba(30, 25, 20, 0.7);
  border: 1px solid rgba(217, 169, 85, 0.15);
  border-radius: 0.55rem;
}

.topbar-search .search-bar input {
  font-size: 0.82rem;
}

@media (max-width: 1155px) {
  .topbar-search {
    display: none;
  }
}

/* ── MOBILE TOGGLE ── */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: all 200ms;
}

/* ── HERO VIDEO SECTION ── */
.hero-video {
  position: relative;
  min-height: 100vh;
  margin-top: -60px;
  overflow: visible;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(13, 11, 8, 0.92) 0%, rgba(10, 8, 6, 0.75) 45%, rgba(13, 11, 8, 0.5) 100%),
    linear-gradient(180deg, transparent 60%, rgba(13, 11, 8, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  width: 100%;
}

.hero-content .content-layout {
  padding-top: 0;
  padding-bottom: 2rem;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
  box-sizing: border-box;
  animation: rise 600ms ease;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-video h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  margin: 0.5rem 0 0.8rem;
  line-height: 0.95;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero-video p {
  color: #ddd5c8;
  margin: 0;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

/* ── BUTTONS ── */
.btn {
  border: 0;
  border-radius: 0.55rem;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(145deg, #f4d47f 0%, #d9a955 50%, #c18f42 100%);
  color: #0f1512;
  box-shadow: 0 8px 20px rgba(217, 169, 85, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(217, 169, 85, 0.45);
}

.btn-secondary {
  background: rgba(20, 17, 14, 0.85);
  border: 1px solid rgba(217, 169, 85, 0.2);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover {
  border-color: rgba(217, 169, 85, 0.35);
}

/* ── HERO STATS ── */
.hero-stats {
  padding-left: 0;
  list-style: none;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1rem 0 0;
}

.hero-stats li {
  background: rgba(13, 11, 8, 0.85);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #ede6da;
  backdrop-filter: blur(8px);
}

/* ── CONTENT LAYOUT (sidebar + main) ── */
.content-layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  gap: 1.2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* ── LEFT SIDEBAR ── */
.sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
  max-height: calc(100vh - 84px);
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.95) 0%, rgba(13, 11, 8, 0.98) 100%);
  border: 1px solid rgba(217, 169, 85, 0.12);
  border-radius: 0.75rem;
  padding: 0;
}

.sidebar-title {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(217, 169, 85, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-models,
.sidebar-categories {
  display: flex;
  flex-direction: column;
}

.sidebar-category-link {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(51, 44, 36, 0.4);
  transition: all 160ms ease;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-category-link:hover {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.06);
  padding-left: 1.2rem;
}

.sidebar-category-link.active {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.1);
  border-left: 3px solid var(--accent);
}

.sidebar-model-link {
  display: block;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  padding: 0.55rem 1rem;
  border-bottom: 1px solid rgba(51, 44, 36, 0.4);
  transition: all 160ms ease;
  cursor: pointer;
}

.sidebar-model-link:hover {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.06);
  padding-left: 1.2rem;
}

.sidebar-model-link.active {
  color: var(--accent-2);
  background: rgba(217, 169, 85, 0.1);
  border-left: 3px solid var(--accent);
}

.sidebar-brand-header {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  padding: 0.65rem 1rem 0.35rem;
  background: rgba(217, 169, 85, 0.05);
  border-bottom: 1px solid rgba(51, 44, 36, 0.4);
}

/* ── MAIN AREA ── */
.main-area {
  min-width: 0;
}

/* ── SECTIONS ── */
.section {
  margin-bottom: 2.5rem;
}

.section:first-child {
  margin-top: 0;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.section-head p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── VEHICLE MODEL GRID (center, with images) ── */
.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vehicle-card {
  position: relative;
  border-radius: 0.65rem;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 85, 0.12);
  background: linear-gradient(160deg, var(--panel) 0%, var(--panel-alt) 100%);
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 169, 85, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(217, 169, 85, 0.12);
}

.vehicle-card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform 300ms ease;
}

.vehicle-card:hover .vehicle-card-img {
  transform: scale(1.08);
}

.vehicle-card-body {
  padding: 0.85rem 0.9rem;
  text-align: center;
}

.vehicle-card-name {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin: 0;
  line-height: 1.15;
}

.vehicle-card-sub {
  color: var(--muted);
  font-size: 0.78rem;
  margin: 0.25rem 0 0;
}

.vehicle-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 11, 8, 0.85) 100%);
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 220ms;
}

.vehicle-card:hover .vehicle-card-overlay {
  opacity: 0.4;
}

/* ── CATEGORY GRID ── */
.category-grid,
.product-grid,
.trust-grid {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.85rem;
}

.category-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.category-card {
  background: linear-gradient(145deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 220ms ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 169, 85, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.category-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.category-card p {
  color: var(--muted);
  margin: 0.3rem 0 0;
  font-size: 0.82rem;
}

/* ── CHIPS / FILTERS ── */
.chip-row {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid var(--line);
  background: var(--panel-alt);
  color: var(--text);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 160ms;
}

.chip:hover {
  border-color: var(--accent);
}

.chip.active {
  background: var(--accent);
  border-color: transparent;
  color: #0d0b08;
}

/* ── PRODUCT GRID ── */
.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: var(--panel);
  transition: all 220ms ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.product-card-link {
  text-decoration: none; color: inherit; display: block; flex: 1;
}

.product-image-wrap {
  position: relative; overflow: hidden;
}

.product-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 300ms ease;
  display: block;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-featured-tag {
  position: absolute; top: 0.5rem; right: 0.5rem;
  background: var(--accent); color: #0d0b08;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.7rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.product-body {
  padding: 0.75rem;
}

.product-cat-label {
  margin: 0 0 0.2rem; font-size: 0.7rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500;
}

.product-title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.product-price-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.4rem; gap: 0.4rem;
}

.product-stock { font-size: 0.72rem; font-weight: 600; }
.product-stock.in { color: var(--good); }
.product-stock.out { color: var(--danger); }

.product-card .add-cart {
  margin: 0 0.75rem 0.75rem; font-size: 0.82rem; width: calc(100% - 1.5rem);
}

.product-meta {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.product-price {
  color: var(--accent-2);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  margin: 0.25rem 0;
}

.badge-row {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.badge {
  font-size: 0.65rem;
  background: #26352f;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem 0.45rem;
}

/* ── TRUST ── */
.trust-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #1b2522;
  padding: 0.85rem;
  transition: transform 200ms;
}

.trust-card:hover {
  transform: translateY(-2px);
}

.trust-card h3 {
  margin: 0;
  color: var(--accent-2);
  font-size: 1rem;
}

.trust-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

/* ── CONTACT ── */
.contact-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1.1rem;
  background: linear-gradient(125deg, var(--panel), var(--panel-alt));
}

.contact-card h2 {
  margin: 0;
}

.contact-lines {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: #d8ebdf;
  font-size: 0.88rem;
}

/* ── FOOTER ── */
.site-footer {
  text-align: center;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.site-footer p {
  margin: 0;
}

/* ── CART DRAWER ── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  z-index: 60;
  border-left: 1px solid var(--line);
  background: linear-gradient(160deg, #192320, #101615);
  padding: 1rem;
  overflow-y: auto;
  box-shadow: -14px 0 36px rgba(0, 0, 0, 0.5);
}

/* ── AUTH ── */
.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.auth-card {
  width: min(520px, 96vw);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(160deg, #1c2823, #111715);
  padding: 1.15rem;
  display: grid;
  gap: 0.8rem;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
}

.tab-row {
  display: flex;
  gap: 0.5rem;
}

/* ── COMING SOON ── */
.coming-wrap {
  min-height: 100vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 60% 80%, #2a2016, #0d0b08 60%);
}

#dustCanvas {
  position: absolute;
  inset: 0;
}

.coming-content {
  position: relative;
  max-width: 780px;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(14, 12, 9, 0.85);
}

.coming-content h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  margin: 0.45rem 0;
}

.countdown {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.time-box {
  min-width: 88px;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.5rem;
  background: var(--mud);
}

.time-box strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.7rem;
}

.time-box span {
  color: var(--muted);
  font-size: 0.78rem;
}

/* Coming soon password form */
.coming-pw-form {
  display: flex; flex-direction: column; gap: 0.5rem;
  align-items: center; margin-top: 1rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
}
.coming-pw-row {
  display: flex; gap: 0.4rem; width: 100%; max-width: 360px;
}
.coming-pw-row input {
  flex: 1; font-size: 0.88rem; padding: 0.55rem 0.75rem;
  border-radius: 0.5rem; border: 1px solid var(--line);
  background: rgba(13,11,8,0.7); color: var(--text);
}
.coming-pw-row input:focus {
  border-color: var(--accent); outline: none;
  box-shadow: 0 0 0 3px rgba(200,144,58,0.15);
}
.coming-pw-error {
  color: var(--danger); font-size: 0.8rem; margin: 0;
}

/* ── ADMIN ── */
.admin-body {
  background: radial-gradient(circle at top right, #2a2218, #0d0b08 58%);
}

.admin-layout {
  width: min(1320px, 96vw);
  margin: 1.1rem auto 2rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
}

.admin-sidebar {
  border: 1px solid rgba(217, 169, 85, 0.18);
  border-radius: 1rem;
  background: linear-gradient(160deg, rgba(20, 17, 14, 0.94) 0%, rgba(13, 11, 8, 0.98) 100%);
  box-shadow: var(--shadow);
  position: sticky;
  top: 1rem;
  align-self: start;
  overflow: hidden;
}

.admin-sidebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(217, 169, 85, 0.08), transparent 40%),
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.025) 0, rgba(255, 255, 255, 0.025) 1px, transparent 1px, transparent 10px);
  opacity: 0.55;
  pointer-events: none;
}

.admin-sidebar-top {
  position: relative;
  padding: 1rem;
  border-bottom: 1px solid rgba(217, 169, 85, 0.16);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.admin-brand-title {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.admin-brand-subtitle {
  margin: 0.1rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.admin-nav {
  display: grid;
  gap: 0.4rem;
}

.admin-nav-link {
  border: 1px solid rgba(217, 169, 85, 0.16);
  background: rgba(13, 11, 8, 0.55);
  color: var(--text);
  border-radius: 0.75rem;
  padding: 0.7rem 0.75rem;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(217, 169, 85, 0.32);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35), 0 0 18px rgba(217, 169, 85, 0.12);
}

.admin-nav-link.is-active {
  background: linear-gradient(145deg, rgba(244, 212, 127, 0.18) 0%, rgba(217, 169, 85, 0.12) 100%);
  border-color: rgba(244, 212, 127, 0.4);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.admin-sidebar-actions {
  position: relative;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.admin-main {
  min-width: 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-panel-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.admin-panel-tools {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.admin-panel-tools input,
.admin-panel-tools select {
  min-width: 210px;
}

.admin-header h1 {
  margin: 0;
}

.admin-header p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.panel {
  border: 1px solid rgba(217, 169, 85, 0.15);
  border-radius: 1rem;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(30, 25, 20, 0.85) 0%, rgba(20, 17, 14, 0.9) 100%);
  margin-bottom: 1.15rem;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  position: relative;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: radial-gradient(circle at 90% 10%, rgba(217, 169, 85, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.panel h2 {
  margin: 0 0 0.8rem;
}

/* ── FORMS ── */
.grid-form,
.inline-form {
  display: grid;
  gap: 0.65rem;
}

.two-col {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.three-col {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.inline-form {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

input,
textarea,
select {
  border: 1px solid var(--line);
  background: var(--mud);
  color: var(--text);
  border-radius: 0.55rem;
  padding: 0.55rem 0.6rem;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(244, 212, 127, 0.55);
  box-shadow: 0 0 0 4px rgba(217, 169, 85, 0.12);
}

textarea {
  min-height: 78px;
  resize: vertical;
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-list {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.admin-item {
  border: 1px solid var(--line);
  background: #17211e;
  border-radius: 0.65rem;
  padding: 0.65rem;
  display: grid;
  gap: 0.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.admin-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btn-danger {
  background: var(--danger);
  color: #ffe8e4;
}

.admin-status {
  margin: 0.8rem 0 0;
  color: var(--accent-2);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .main-nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(13, 11, 8, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--line);
    z-index: 49;
  }

  .main-nav.open {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .content-layout {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-video {
    min-height: 380px;
  }

  .hero-inner {
    padding: 2rem 1.2rem;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    top: auto;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .vehicle-card-img {
    height: 120px;
  }

  .brand-tagline {
    display: none;
  }
}

/* ── ADMIN PRO UI ── */

/* Dashboard stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.stat-card {
  background: linear-gradient(145deg, rgba(26,38,34,0.7), rgba(18,26,23,0.8));
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.stat-icon {
  width: 38px;
  height: 38px;
  border-radius: 0.5rem;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.stat-icon.products { background: rgba(106,212,160,0.15); color: var(--good); }
.stat-icon.orders   { background: rgba(217,169,85,0.15);  color: var(--accent); }
.stat-icon.revenue  { background: rgba(106,180,212,0.15); color: #6ab4d4; }
.stat-icon.users    { background: rgba(180,106,212,0.15); color: #b46ad4; }

.stat-info { min-width: 0; }
.stat-value { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.35rem; line-height: 1; }
.stat-label { color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }

/* Slide-out drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  animation: fadeIn 180ms ease;
}

.drawer {
  position: fixed; top: 0; right: 0; z-index: 101;
  width: min(520px, 94vw); height: 100vh;
  background: #121816; border-left: 1px solid rgba(217,169,85,0.2);
  box-shadow: -12px 0 40px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
  animation: slideInRight 220ms cubic-bezier(0.4,0,0.2,1);
}

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line);
  background: #12181690; backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 1;
}

.drawer-head h3 { margin: 0; font-size: 1.05rem; }

.drawer-close {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 30px; height: 30px; border-radius: 0.4rem;
  cursor: pointer; display: grid; place-items: center; font-size: 0.85rem;
  transition: all 160ms;
}
.drawer-close:hover { color: var(--text); border-color: var(--accent); }

.drawer-body {
  padding: 1.1rem; flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 1rem;
}

.drawer-foot {
  padding: 0.85rem 1.1rem; border-top: 1px solid var(--line);
  display: flex; gap: 0.5rem; justify-content: flex-end;
  background: #121816; position: sticky; bottom: 0;
}

/* Form sections inside drawer */
.fm-section { display: grid; gap: 0.55rem; }

.fm-section-title {
  font-family: "Rajdhani", sans-serif; font-weight: 700;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2); padding-bottom: 0.25rem;
  border-bottom: 1px solid rgba(217,169,85,0.1);
}

.fm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.fm-row.three { grid-template-columns: 1fr 1fr 1fr; }

.fm-field { display: grid; gap: 0.2rem; }
.fm-field.full { grid-column: 1 / -1; }

.fm-label { font-size: 0.74rem; color: var(--muted); font-weight: 500; }

.fm-field input,
.fm-field select,
.fm-field textarea { font-size: 0.85rem; }
.fm-field textarea { min-height: 72px; }

/* Image preview */
.fm-img-preview {
  width: 100%; max-height: 180px; object-fit: cover;
  border-radius: 0.45rem; border: 1px solid var(--line);
  margin-top: 0.3rem; display: none;
}
.fm-img-preview.visible { display: block; }

/* Toggle switch */
.toggle-wrap {
  display: flex; align-items: center; gap: 0.6rem;
  cursor: pointer; user-select: none;
}
.toggle-wrap input[type="checkbox"] { display: none; }

.toggle-track {
  width: 38px; height: 22px; background: #2a3832;
  border-radius: 999px; position: relative;
  transition: background 200ms; flex-shrink: 0;
}
.toggle-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; background: var(--muted);
  border-radius: 50%; transition: all 200ms;
}
.toggle-wrap input:checked + .toggle-track { background: var(--accent); }
.toggle-wrap input:checked + .toggle-track::after { left: 19px; background: #0f1512; }
.toggle-text { font-size: 0.82rem; color: var(--text); }

/* Tags input */
.tag-box {
  display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.35rem;
  border: 1px solid var(--line); background: var(--mud);
  border-radius: 0.55rem; min-height: 38px; align-items: center; cursor: text;
}
.tag-box:focus-within { border-color: rgba(244,212,127,0.5); box-shadow: 0 0 0 3px rgba(217,169,85,0.1); }

.tag-chip {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: rgba(217,169,85,0.12); border: 1px solid rgba(217,169,85,0.25);
  color: var(--accent-2); border-radius: 999px;
  padding: 0.15rem 0.45rem; font-size: 0.7rem; font-weight: 600; white-space: nowrap;
}
.tag-chip-x {
  background: none; border: none; color: var(--accent-2);
  cursor: pointer; padding: 0; font-size: 0.85rem; line-height: 1; opacity: 0.6;
}
.tag-chip-x:hover { opacity: 1; }

.tag-box input[type="text"] {
  border: none; background: transparent; color: var(--text);
  outline: none; flex: 1; min-width: 80px; font-size: 0.8rem;
  padding: 0.15rem; box-shadow: none;
}
.tag-box input[type="text"]:focus { box-shadow: none; border-color: transparent; }

/* ── Product table-list ── */
.ptable { width: 100%; border-collapse: separate; border-spacing: 0; }

.ptable th {
  text-align: left; font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); font-weight: 600;
  padding: 0.5rem 0.55rem; border-bottom: 1px solid var(--line);
  white-space: nowrap; position: sticky; top: 0; background: var(--panel); z-index: 1;
}

.ptable td {
  padding: 0.5rem 0.55rem; border-bottom: 1px solid rgba(45,61,56,0.35);
  font-size: 0.84rem; vertical-align: middle;
}

.ptable tr:hover td { background: rgba(217,169,85,0.03); }

.ptable .pt-img {
  width: 48px; height: 36px; object-fit: cover;
  border-radius: 0.3rem; background: var(--mud); display: block;
}

.ptable .pt-name {
  font-weight: 600; white-space: nowrap; overflow: hidden;
  text-overflow: ellipsis; max-width: 220px; display: block;
}

.ptable .pt-cat { color: var(--muted); font-size: 0.78rem; }
.ptable .pt-price { color: var(--accent-2); font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 0.95rem; }
.ptable .pt-stock-ok { color: var(--good); font-weight: 600; font-size: 0.8rem; }
.ptable .pt-stock-out { color: var(--danger); font-weight: 600; font-size: 0.8rem; }
.ptable .pt-featured { color: var(--accent); }

.pt-badges { display: flex; gap: 0.2rem; flex-wrap: wrap; margin-top: 0.15rem; }
.pt-badge-chip {
  font-size: 0.6rem; background: #26352f; border: 1px solid var(--line);
  border-radius: 999px; padding: 0.1rem 0.35rem; white-space: nowrap;
}

.pt-actions { display: flex; gap: 0.3rem; }
.pt-actions .btn { padding: 0.3rem 0.5rem; font-size: 0.74rem; }

.pt-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem;
}
.pt-count { color: var(--muted); font-size: 0.78rem; }

/* Scrollable table wrapper */
.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0.55rem; background: #17211e; }

/* ── Order cards ── */
.order-card {
  border: 1px solid var(--line); border-radius: 0.65rem;
  background: #17211e; padding: 0.75rem; display: grid; gap: 0.5rem;
}
.order-card:hover { border-color: rgba(217,169,85,0.2); }

.order-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.4rem; }
.order-id { font-weight: 700; font-size: 0.9rem; }
.order-total { color: var(--accent-2); font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 1.05rem; }

.order-details { display: grid; grid-template-columns: 1fr 1fr; gap: 0.2rem 1rem; font-size: 0.8rem; color: var(--muted); }
.order-details span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.order-items { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.order-item-chip {
  font-size: 0.68rem; background: rgba(106,212,160,0.08);
  border: 1px solid rgba(106,212,160,0.15); border-radius: 999px;
  padding: 0.12rem 0.4rem; color: #d0e0d8;
}

.order-foot { display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap; }

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 0.2rem 0.55rem;
  border-radius: 999px; white-space: nowrap;
}
.status-badge.s-noua       { background: rgba(106,180,212,0.15); color: #6ab4d4; border: 1px solid rgba(106,180,212,0.3); }
.status-badge.s-confirmata { background: rgba(106,212,160,0.12); color: var(--good); border: 1px solid rgba(106,212,160,0.25); }
.status-badge.s-pregatire  { background: rgba(217,169,85,0.12);  color: var(--accent-2); border: 1px solid rgba(217,169,85,0.25); }
.status-badge.s-expediata  { background: rgba(180,106,212,0.12); color: #b46ad4; border: 1px solid rgba(180,106,212,0.25); }
.status-badge.s-livrata    { background: rgba(106,212,160,0.18); color: #3dbd78; border: 1px solid rgba(106,212,160,0.3); }
.status-badge.s-anulata    { background: rgba(209,90,78,0.12);   color: var(--danger); border: 1px solid rgba(209,90,78,0.25); }

/* ── User row ── */
.user-row {
  display: grid; grid-template-columns: 1fr auto;
  align-items: center; gap: 0.6rem;
  border: 1px solid var(--line); border-radius: 0.55rem;
  background: #17211e; padding: 0.6rem 0.75rem;
}
.user-row:hover { border-color: rgba(217,169,85,0.18); }
.user-name { font-weight: 600; font-size: 0.88rem; }
.user-meta { color: var(--muted); font-size: 0.76rem; }
.user-role-badge {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 0.15rem 0.45rem;
  border-radius: 999px; background: rgba(217,169,85,0.15);
  color: var(--accent-2); border: 1px solid rgba(217,169,85,0.3);
}

/* ── PRODUCT DETAIL PAGE ── */
.pdp-wrap {
  max-width: 1200px; margin: 0 auto; padding: 1.5rem 1rem;
  min-height: 60vh;
}
.pdp-loading, .pdp-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 40vh; gap: 1rem; color: var(--muted); font-size: 1.1rem;
}
.pdp-breadcrumb {
  display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--muted); margin-bottom: 1.2rem;
}
.pdp-breadcrumb a { color: var(--accent-2); text-decoration: none; }
.pdp-breadcrumb a:hover { text-decoration: underline; }

.pdp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem;
  align-items: start;
}
@media (max-width: 768px) { .pdp-grid { grid-template-columns: 1fr; gap: 1.2rem; } }

/* Gallery */
.pdp-gallery { position: relative; }
.pdp-main-img-wrap {
  position: relative; overflow: hidden; border-radius: 0.75rem;
  border: 1px solid var(--line); background: var(--mud);
}
.pdp-main-img {
  width: 100%; height: auto; max-height: 500px; object-fit: cover;
  display: block; transition: opacity 200ms;
}
.pdp-featured-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgba(200,144,58,0.9); color: #0d0b08;
  font-size: 0.72rem; font-weight: 700; padding: 0.3rem 0.65rem;
  border-radius: 999px; letter-spacing: 0.03em;
}
.pdp-thumbs {
  display: flex; gap: 0.4rem; margin-top: 0.6rem; overflow-x: auto;
  padding-bottom: 0.3rem;
}
.pdp-thumb {
  width: 64px; height: 48px; object-fit: cover; border-radius: 0.4rem;
  border: 2px solid transparent; cursor: pointer;
  opacity: 0.6; transition: all 180ms; flex-shrink: 0;
  background: var(--mud);
}
.pdp-thumb:hover { opacity: 0.85; }
.pdp-thumb.active { border-color: var(--accent); opacity: 1; }

/* Info column */
.pdp-info { display: flex; flex-direction: column; gap: 1rem; }
.pdp-title {
  font-size: 1.6rem; font-weight: 700; margin: 0; line-height: 1.2;
  font-family: "Rajdhani", sans-serif;
}
.pdp-cat { color: var(--muted); font-size: 0.85rem; margin: 0; }
.pdp-cat i { margin-right: 0.25rem; }

.pdp-price-row {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.pdp-price {
  font-family: "Rajdhani", sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--accent-2); line-height: 1;
}
.pdp-stock { font-size: 0.85rem; font-weight: 600; }
.pdp-stock.in { color: var(--good); }
.pdp-stock.out { color: var(--danger); }

.pdp-badges { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.pdp-badge {
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.6rem;
  border-radius: 999px; background: var(--mud-light);
  border: 1px solid var(--mud-border); color: var(--accent-2);
}

.pdp-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.pdp-add-cart {
  flex: 1; min-width: 180px; font-size: 0.95rem; padding: 0.75rem 1.2rem;
}

.pdp-desc-section, .pdp-details {
  border-top: 1px solid var(--line); padding-top: 1rem;
}
.pdp-desc-section h3, .pdp-details h3 {
  font-size: 0.88rem; margin: 0 0 0.5rem; color: var(--accent-2);
  font-family: "Rajdhani", sans-serif; font-weight: 700;
}
.pdp-desc { font-size: 0.88rem; color: var(--muted); line-height: 1.65; }

.pdp-specs {
  width: 100%; border-collapse: collapse; font-size: 0.82rem;
}
.pdp-specs td {
  padding: 0.4rem 0.6rem; border-bottom: 1px solid rgba(51,44,36,0.4);
}
.pdp-specs td:first-child { color: var(--muted); font-weight: 500; width: 120px; }

/* Related products */
.pdp-related {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pdp-related h2 {
  font-size: 1.1rem; margin: 0 0 1rem;
  font-family: "Rajdhani", sans-serif;
}
.pdp-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}
.pdp-related-card {
  text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 0.6rem;
  overflow: hidden; background: var(--panel);
  transition: all 200ms;
}
.pdp-related-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.pdp-related-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.pdp-related-body { padding: 0.6rem; }
.pdp-related-name { font-weight: 600; font-size: 0.84rem; margin: 0; }
.pdp-related-price {
  color: var(--accent-2); font-family: "Rajdhani", sans-serif;
  font-weight: 700; font-size: 1rem; margin: 0.2rem 0 0;
}

/* Gallery items in drawer */
.gallery-item {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 0.4rem;
  align-items: center; margin-bottom: 0.35rem;
}
.gallery-thumb {
  width: 48px; height: 36px; object-fit: cover;
  border-radius: 0.3rem; border: 1px solid var(--line); background: var(--mud);
}
.gallery-url { font-size: 0.8rem; }
.gallery-rm { padding: 0.25rem 0.4rem; font-size: 0.7rem; }

/* Settings form sections */
#settingsForm .fm-section { margin-bottom: 0.5rem; }
#settingsForm { display: grid; gap: 0.6rem; }

/* Animations */
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ── ANIMATIONS ── */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* ══════════════════════════════════════════════════
   ENHANCED ADMIN STYLES
   ══════════════════════════════════════════════════ */

/* ── Modals ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #1c2823, #121816);
  border: 1px solid var(--line);
  border-radius: 1rem;
  width: min(600px, 92vw);
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeIn 200ms ease;
}

.modal-content.modal-sm {
  width: min(400px, 92vw);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
  background: rgba(28, 40, 35, 0.5);
}

.modal-head h3 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-head h3 i {
  color: var(--accent);
}

.modal-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 160ms;
}

.modal-close:hover {
  color: var(--text);
  border-color: var(--accent);
}

.modal-body {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(80vh - 70px);
}

.modal-body h4 {
  margin: 0 0 0.75rem;
  color: var(--accent-2);
  font-size: 1rem;
}

.modal-body ul {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.modal-body li {
  margin: 0.4rem 0;
  line-height: 1.5;
}

.modal-body strong {
  color: var(--accent-2);
}

/* ── Dashboard ── */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.dashboard-card {
  background: linear-gradient(145deg, rgba(30, 25, 20, 0.85) 0%, rgba(20, 17, 14, 0.9) 100%);
  border: 1px solid rgba(217, 169, 85, 0.15);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.dashboard-card.wide {
  grid-column: 1 / -1;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.card-head h3 {
  margin: 0;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
}

.card-head h3 i {
  color: var(--accent);
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 0.78rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 0.4rem;
  transition: all 160ms;
}

.btn-text:hover {
  background: rgba(217, 169, 85, 0.1);
}

/* Dashboard List Items */
.dashboard-list {
  display: grid;
  gap: 0.5rem;
}

.dashboard-item {
  background: rgba(23, 33, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.6rem 0.75rem;
  cursor: pointer;
  transition: all 180ms;
}

.dashboard-item:hover {
  border-color: rgba(217, 169, 85, 0.3);
  background: rgba(23, 33, 30, 0.95);
}

.dashboard-item.warning {
  border-left: 3px solid var(--danger);
}

.dashboard-item-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.dashboard-item-title {
  font-weight: 600;
  font-size: 0.85rem;
}

.dashboard-item-sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.dashboard-item-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.dashboard-item-badge.warning {
  background: rgba(201, 80, 68, 0.15);
  color: var(--danger);
}

.dashboard-empty {
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
  margin: 0;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
}

.quick-action-btn {
  background: rgba(23, 33, 30, 0.8);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.85rem 0.6rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: all 180ms;
  color: var(--text);
  font-family: inherit;
}

.quick-action-btn:hover {
  border-color: var(--accent);
  background: rgba(217, 169, 85, 0.08);
  transform: translateY(-2px);
}

.quick-action-btn i {
  font-size: 1.4rem;
  color: var(--accent);
}

.quick-action-btn span {
  font-size: 0.78rem;
  text-align: center;
}

/* ── Enhanced Stats ── */
.stat-card.clickable {
  cursor: pointer;
  transition: all 200ms;
}

.stat-card.clickable:hover {
  border-color: rgba(217, 169, 85, 0.4);
  transform: translateY(-2px);
}

.stat-warning {
  color: var(--danger);
  font-weight: 600;
}

.stat-highlight {
  color: var(--good);
  font-weight: 600;
}

/* ── Sidebar Enhancements ── */
.admin-sidebar-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  margin: -0.5rem 0 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 8px var(--good);
}

.status-dot.online {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.admin-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.admin-nav-link > span:first-of-type {
  flex: 1;
}

.nav-badge {
  background: var(--danger);
  color: white;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  font-weight: 700;
  min-width: 18px;
  text-align: center;
}

.nav-shortcut {
  font-size: 0.65rem;
  color: var(--muted);
  opacity: 0.5;
  font-weight: 600;
}

/* ── Panel Subtitle ── */
.panel-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0.25rem 0 0;
}

/* ── Search with Icon ── */
.search-wrap {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-wrap input {
  padding-left: 2.2rem;
  min-width: 260px;
}

/* ── Info Boxes ── */
.info-box {
  display: flex;
  gap: 0.75rem;
  background: rgba(106, 180, 212, 0.08);
  border: 1px solid rgba(106, 180, 212, 0.2);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.info-box i {
  color: #6ab4d4;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.info-box p {
  margin: 0;
  font-size: 0.85rem;
  color: #d0e0d8;
  line-height: 1.5;
}

/* ── Form Groups ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.category-form,
.vehicle-form,
.trust-form {
  background: rgba(23, 33, 30, 0.5);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

/* ── Settings Form ── */
.settings-form {
  display: grid;
  gap: 1rem;
}

/* ── Admin Header Actions ── */
.admin-header-actions {
  display: flex;
  gap: 0.5rem;
}

/* ── Small Buttons ── */
.btn-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.78rem;
}

/* ── Responsive Dashboard ── */
@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .dashboard-card.wide {
    grid-column: 1;
  }
  
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .admin-panel-tools {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  
  .search-wrap input {
    min-width: auto;
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════
   STOREFRONT ENHANCEMENTS
   ══════════════════════════════════════════════════ */

/* ── Announcement Bar ── */
.announcement-bar {
  background: linear-gradient(90deg, var(--mud) 0%, var(--panel) 50%, var(--mud) 100%);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-bar i {
  color: var(--accent);
}

.announcement-bar a {
  color: var(--accent-2);
  text-decoration: none;
}

.announcement-divider {
  opacity: 0.3;
}

@media (max-width: 600px) {
  .announcement-divider {
    display: none;
  }
  .announcement-bar {
    flex-direction: column;
    gap: 0.3rem;
  }
}

/* ── Hero Enhancements ── */
.hero-features {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(217, 169, 85, 0.2);
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #ddd5c8;
}

.hero-feature i {
  color: var(--accent);
  font-size: 1.1rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
}

/* ── Features Section ── */
.features-section {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
}

.section-head.centered {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(145deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 220ms ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 169, 85, 0.3);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(217, 169, 85, 0.15), rgba(217, 169, 85, 0.05));
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--accent);
}

.feature-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--text);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── Newsletter Section ── */
.newsletter-section {
  margin: 2rem 0;
}

.newsletter-card {
  background: linear-gradient(135deg, rgba(30, 25, 20, 0.9) 0%, rgba(20, 17, 14, 0.95) 100%);
  border: 1px solid rgba(217, 169, 85, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.newsletter-content {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}

.newsletter-card h2 i {
  color: var(--accent);
}

.newsletter-card p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 200px;
  padding: 0.7rem 1rem;
}

.newsletter-status {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2rem;
}

/* ── Contact Section ── */
.contact-section {
  margin: 2rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.contact-info-card,
.contact-form-card {
  background: linear-gradient(145deg, var(--panel) 0%, var(--panel-alt) 100%);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}

.contact-info-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-info-card h2 i {
  color: var(--accent);
}

.contact-info-card > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 160ms;
}

.contact-item:hover {
  background: rgba(217, 169, 85, 0.08);
}

.contact-item i {
  color: var(--accent);
  width: 20px;
  text-align: center;
}

.contact-form-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

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

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
}

.contact-status {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  min-height: 1.2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ── Enhanced Footer ── */
.site-footer.enhanced {
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  padding: 2.5rem 1.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand {
  max-width: 280px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-brand-name {
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
}

.footer-tagline {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  background: rgba(217, 169, 85, 0.1);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: all 160ms;
}

.footer-social a:hover {
  background: rgba(217, 169, 85, 0.2);
  border-color: var(--accent);
}

.footer-links h4 {
  font-size: 0.9rem;
  margin: 0 0 1rem;
  color: var(--text);
  font-family: "Sora", sans-serif;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 160ms;
}

.footer-links a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-credits i {
  color: var(--danger);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════
   ENHANCED PRODUCT FORM (Admin)
   ══════════════════════════════════════════════════ */

/* Step Progress */
.product-form-steps {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 200ms;
  opacity: 0.5;
}

.step.active {
  opacity: 1;
  background: rgba(217, 169, 85, 0.1);
}

.step.completed {
  opacity: 0.8;
}

.step.completed .step-num {
  background: var(--good);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--line);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 200ms;
}

.step.active .step-num {
  background: var(--accent);
  color: var(--bg);
}

.step-label {
  font-size: 0.75rem;
  font-weight: 500;
}

/* Form Step Content */
.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
  animation: fadeIn 200ms ease;
}

/* Form Help Elements */
.required-hint {
  font-size: 0.7rem;
  color: var(--danger);
  font-weight: 500;
  margin-left: auto;
}

.label-hint {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 400;
  margin-left: 0.5rem;
}

.toggle-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.stock-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(106, 180, 212, 0.1);
  border: 1px solid rgba(106, 180, 212, 0.2);
  border-radius: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: #6ab4d4;
}

.stock-alert.warning {
  background: rgba(201, 80, 68, 0.1);
  border-color: rgba(201, 80, 68, 0.2);
  color: var(--danger);
}

.stock-alert i {
  font-size: 1rem;
}

/* Image Help Box */
.image-help-box {
  display: flex;
  gap: 0.75rem;
  background: rgba(217, 169, 85, 0.08);
  border: 1px solid rgba(217, 169, 85, 0.15);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.image-help-box i {
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.image-help-box ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.image-help-box li {
  margin: 0.2rem 0;
  color: var(--muted);
}

.preview-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.gallery-help {
  background: rgba(23, 33, 30, 0.5);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Badge Help */
.badge-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.help-badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: rgba(217, 169, 85, 0.15);
  border: 1px solid rgba(217, 169, 85, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  color: var(--accent-2);
  margin: 0 0.2rem;
}

/* Product Preview Card */
.preview-section {
  background: rgba(23, 33, 30, 0.3);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 1rem;
}

.product-preview-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  overflow: hidden;
  max-width: 300px;
  margin: 0 auto;
}

.preview-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.preview-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-featured {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bg);
  font-size: 0.75rem;
}

.preview-body {
  padding: 0.75rem;
}

.preview-cat {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.3rem;
}

.preview-name {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.preview-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.preview-price {
  font-weight: 700;
  color: var(--accent-2);
}

.preview-stock {
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
}

.preview-stock.in {
  background: rgba(106, 180, 134, 0.15);
  color: var(--good);
}

.preview-stock.out {
  background: rgba(201, 80, 68, 0.15);
  color: var(--danger);
}

.preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.preview-badge {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  background: rgba(217, 169, 85, 0.15);
  border: 1px solid rgba(217, 169, 85, 0.3);
  border-radius: 999px;
  color: var(--accent-2);
}

/* Step Navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.step-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-success {
  background: linear-gradient(180deg, #7bc88d 0%, #5da06e 100%);
  color: #0d0b08;
  border: 1px solid #5da06e;
}

.btn-success:hover {
  background: linear-gradient(180deg, #8dd49d 0%, #6eb47f 100%);
}

/* Responsive */
@media (max-width: 600px) {
  .product-form-steps {
    gap: 0.25rem;
  }
  
  .step-label {
    font-size: 0.65rem;
  }
  
  .step-num {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  
  .step-nav {
    flex-wrap: wrap;
  }
  
  .step-nav .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ══════════════════════════════════════════════════
   ENHANCED STORE PRODUCT CARDS
   ══════════════════════════════════════════════════ */

/* Empty State */
.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--muted);
}

.products-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--line);
}

.products-empty p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

/* Enhanced Product Card */
.product-card {
  position: relative;
  transition: all 220ms ease;
}

.product-card.out-of-stock {
  opacity: 0.85;
}

.product-card:hover {
  transform: translateY(-4px);
}

/* Image Enhancements */
.product-image-wrap {
  position: relative;
  overflow: hidden;
}

.product-image {
  transition: transform 300ms ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Hover Overlay */
.product-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 8, 0.7);
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 200ms ease;
}

.product-card:hover .product-image-overlay {
  opacity: 1;
}

.view-btn {
  background: var(--accent);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transform: translateY(10px);
  transition: transform 200ms ease 50ms;
}

.product-card:hover .view-btn {
  transform: translateY(0);
}

/* Stock Badges on Image */
.product-featured-tag {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bg);
  font-size: 0.8rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 2;
}

.product-low-stock {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: linear-gradient(135deg, #c95044 0%, #a83e33 100%);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(201, 80, 68, 0.3);
  z-index: 2;
  animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
  0%, 100% { box-shadow: 0 2px 8px rgba(201, 80, 68, 0.3); }
  50% { box-shadow: 0 2px 12px rgba(201, 80, 68, 0.5); }
}

.product-out-label {
  position: absolute;
  inset: 0;
  background: rgba(13, 11, 8, 0.85);
  display: grid;
  place-items: center;
  color: var(--danger);
  font-weight: 700;
  font-size: 1rem;
  z-index: 3;
  backdrop-filter: blur(2px);
}

.product-out-label i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
  text-align: center;
}

/* Enhanced Stock Indicators */
.product-stock {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 500;
}

.product-stock.in {
  background: rgba(106, 180, 134, 0.15);
  color: var(--good);
}

.product-stock.low {
  background: rgba(201, 80, 68, 0.15);
  color: var(--danger);
}

.product-stock.out {
  background: rgba(140, 130, 115, 0.15);
  color: var(--muted);
}

/* Badge Enhancements */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  background: rgba(217, 169, 85, 0.15);
  border: 1px solid rgba(217, 169, 85, 0.25);
  border-radius: 999px;
  color: var(--accent-2);
  font-weight: 500;
}

.badge-more {
  background: rgba(140, 130, 115, 0.2);
  border-color: rgba(140, 130, 115, 0.3);
  color: var(--muted);
}

/* Add to Cart Button States */
.add-cart {
  transition: all 200ms ease;
}

.add-cart.added {
  background: var(--good) !important;
  border-color: var(--good) !important;
  color: var(--bg) !important;
}

.add-cart.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--line) !important;
  border-color: var(--line) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .product-image-overlay {
    display: none;
  }
  
  .product-card:hover .product-image {
    transform: none;
  }
}

/* ══════════════════════════════════════════════════
   MODERN PRODUCT DETAIL PAGE (Industry Standard)
   ══════════════════════════════════════════════════ */

/* Breadcrumb Modern */
.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(145deg, rgba(30, 25, 20, 0.6) 0%, rgba(23, 33, 30, 0.4) 100%);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.pdp-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 160ms;
}

.pdp-breadcrumb a:hover {
  color: var(--accent-2);
}

.bc-sep {
  color: var(--line);
  font-size: 0.65rem;
}

.bc-current {
  color: var(--text);
  font-weight: 500;
}

/* Modern Grid Layout */
.pdp-grid-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 960px) {
  .pdp-grid-modern {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Modern Gallery */
.pdp-gallery-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pdp-main-img-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}

.pdp-main-img-wrap.no-image {
  display: grid;
  place-items: center;
}

.no-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
}

.no-image-placeholder i {
  font-size: 3rem;
  opacity: 0.5;
}

.pdp-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges on Image */
.pdp-featured-badge,
.pdp-low-stock-badge,
.pdp-out-badge {
  position: absolute;
  padding: 0.4rem 0.85rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pdp-featured-badge {
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: var(--bg);
}

.pdp-low-stock-badge {
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #c95044 0%, #a83e33 100%);
  color: white;
}

.pdp-out-badge {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 11, 8, 0.9);
  color: var(--danger);
  border: 2px solid var(--danger);
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
}

/* Modern Thumbs */
.pdp-thumbs-modern {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.thumb-wrap {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--line);
  cursor: pointer;
  transition: all 200ms;
}

.thumb-wrap:hover {
  border-color: var(--accent);
}

.thumb-wrap.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 169, 85, 0.2);
}

.thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Trust Badges */
.pdp-trust-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(23, 33, 30, 0.5);
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.trust-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

/* Modern Info Section */
.pdp-info-modern {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pdp-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.pdp-category {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}

.pdp-title-modern {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

/* Rating */
.pdp-rating {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.stars {
  display: flex;
  gap: 0.15rem;
}

.stars i {
  color: var(--line);
  font-size: 0.9rem;
}

.stars i.filled {
  color: #ffc107;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Price Section */
.pdp-price-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(145deg, rgba(30, 25, 20, 0.8) 0%, rgba(23, 33, 30, 0.6) 100%);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pdp-price-modern {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent-2);
}

.price-note {
  font-size: 0.8rem;
  color: var(--muted);
}

.stock-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.stock-status.in {
  color: var(--good);
}

.stock-status.low {
  color: var(--danger);
}

.stock-status.out {
  color: var(--muted);
}

/* Modern Badges */
.pdp-badges-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge-modern {
  padding: 0.35rem 0.85rem;
  background: rgba(217, 169, 85, 0.12);
  border: 1px solid rgba(217, 169, 85, 0.25);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent-2);
}

/* Features List */
.pdp-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #ddd5c8;
}

.feature-item i {
  color: var(--good);
  font-size: 1rem;
}

/* Description Short */
.pdp-description-short {
  padding: 1rem;
  background: rgba(23, 33, 30, 0.4);
  border-radius: 0.5rem;
  border-left: 3px solid var(--accent);
}

.pdp-description-short p {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ddd5c8;
}

.btn-text {
  background: none;
  border: none;
  color: var(--accent-2);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.btn-text:hover {
  color: var(--accent);
}

/* Actions Modern */
.pdp-actions-modern {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--panel);
}

.qty-btn {
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  transition: all 160ms;
}

.qty-btn:hover {
  background: rgba(217, 169, 85, 0.1);
  color: var(--accent);
}

.qty-input {
  width: 60px;
  height: 44px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.btn-add-cart {
  flex: 1;
  min-width: 180px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-add-cart.added {
  background: var(--good) !important;
  border-color: var(--good) !important;
  animation: addedPulse 200ms ease;
}

@keyframes addedPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.btn-wishlist {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(23, 33, 30, 0.6);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 160ms;
}

.btn-wishlist:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(201, 80, 68, 0.1);
}

/* Delivery Info */
.pdp-delivery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(23, 33, 30, 0.4);
  border-radius: 0.75rem;
  border: 1px solid var(--line);
}

.delivery-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.delivery-row i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: rgba(217, 169, 85, 0.1);
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.delivery-row div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.delivery-row strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.delivery-row span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Contact CTA */
.pdp-contact-cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(145deg, rgba(217, 169, 85, 0.08) 0%, rgba(217, 169, 85, 0.02) 100%);
  border: 1px solid rgba(217, 169, 85, 0.2);
  border-radius: 0.75rem;
}

.pdp-contact-cta > i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--accent);
  border-radius: 50%;
  color: var(--bg);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.pdp-contact-cta div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pdp-contact-cta span {
  font-size: 0.85rem;
  color: var(--muted);
}

.phone-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-2);
  text-decoration: none;
}

.phone-link:hover {
  color: var(--accent);
}

/* Tabs Section */
.pdp-tabs-section {
  margin-bottom: 2.5rem;
}

.pdp-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--line);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.85rem 1.5rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms;
  margin-bottom: -2px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text);
  background: rgba(217, 169, 85, 0.05);
}

.tab-btn.active {
  color: var(--accent-2);
  border-bottom-color: var(--accent);
}

.pdp-tab-content {
  display: none;
  padding: 1rem 0;
}

.pdp-tab-content.active {
  display: block;
  animation: fadeIn 300ms ease;
}

.pdp-full-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd5c8;
}

.pdp-full-description p {
  margin-bottom: 1rem;
}

.no-desc {
  color: var(--muted);
  font-style: italic;
}

/* Modern Specs Table */
.pdp-specs-modern {
  width: 100%;
  max-width: 500px;
  border-collapse: collapse;
}

.pdp-specs-modern tr {
  border-bottom: 1px solid var(--line);
}

.pdp-specs-modern th,
.pdp-specs-modern td {
  padding: 0.85rem 1rem;
  text-align: left;
  font-size: 0.9rem;
}

.pdp-specs-modern th {
  width: 40%;
  color: var(--muted);
  font-weight: 500;
}

.pdp-specs-modern td {
  color: var(--text);
}

/* Shipping Info */
.shipping-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.info-block h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--accent-2);
}

.info-block h4 i {
  color: var(--accent);
}

.info-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #ddd5c8;
}

.info-block li {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

/* Empty State */
.pdp-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted);
}

.pdp-empty i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--line);
}

.pdp-empty h2 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.pdp-empty p {
  margin: 0 0 1.5rem;
}

/* ══════════════════════════════════════════════════
   PRODUCT REVIEWS MODERN
   ══════════════════════════════════════════════════ */

.pdp-reviews-section {
  margin: 4rem 0;
  padding: 2.5rem;
  background: linear-gradient(165deg, rgba(30, 25, 20, 0.5) 0%, rgba(20, 17, 13, 0.7) 50%, rgba(15, 12, 9, 0.9) 100%);
  border: 1px solid rgba(217, 169, 85, 0.15);
  border-radius: 1.5rem;
  position: relative;
  overflow: hidden;
}

.pdp-reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 169, 85, 0.3), transparent);
}

/* Header Modern */
.reviews-header-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reviews-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reviews-title-wrap h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--text), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.reviews-count-badge {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: var(--bg);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  min-width: 28px;
  text-align: center;
}

/* Write Review CTA Button */
.btn-review-cta {
  background: linear-gradient(145deg, var(--accent) 0%, var(--accent-2) 100%);
  color: var(--bg);
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(217, 169, 85, 0.3);
}

.btn-review-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 169, 85, 0.4);
}

.btn-review-secondary {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-review-secondary:hover {
  background: rgba(217, 169, 85, 0.1);
  box-shadow: 0 4px 15px rgba(217, 169, 85, 0.2);
}

.review-locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(140, 130, 115, 0.1);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}

/* Summary Section Modern */
.reviews-summary-modern {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  padding: 2rem;
  background: linear-gradient(145deg, rgba(13, 11, 8, 0.6) 0%, rgba(20, 17, 13, 0.4) 100%);
  border: 1px solid rgba(217, 169, 85, 0.1);
  border-radius: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .reviews-summary-modern {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
  }
}

/* Rating Circle */
.rating-circle-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.rating-circle {
  position: relative;
  width: 140px;
  height: 140px;
}

.rating-circle svg {
  transform: rotate(-90deg);
  width: 100%;
  height: 100%;
}

.rating-circle svg circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.rating-circle svg .bg {
  stroke: rgba(140, 130, 115, 0.15);
}

.rating-circle svg .progress {
  stroke: url(#ratingGradient);
  filter: drop-shadow(0 0 4px rgba(217, 169, 85, 0.5));
  transition: stroke-dashoffset 600ms ease;
}

.rating-circle-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.rating-score {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.rating-total {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.rating-circle-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stars-modern {
  display: flex;
  gap: 0.2rem;
  font-size: 1.1rem;
}

.stars-modern .filled {
  color: #ffc107;
  filter: drop-shadow(0 0 4px rgba(255, 193, 7, 0.4));
}

.reviews-total-text {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Rating Bars Modern */
.rating-bars-modern {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rating-bar-modern {
  display: grid;
  grid-template-columns: 20px 20px 1fr 30px;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 200ms;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.rating-bar-modern:hover {
  background: rgba(217, 169, 85, 0.05);
  border-color: rgba(217, 169, 85, 0.15);
}

.rating-bar-modern.active {
  background: rgba(217, 169, 85, 0.1);
  border-color: rgba(217, 169, 85, 0.3);
}

.star-number {
  font-weight: 600;
  color: var(--text);
}

.rating-bar-modern i {
  font-size: 0.75rem;
  color: #ffc107;
}

.bar-track {
  flex: 1;
  height: 10px;
  background: rgba(140, 130, 115, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 999px;
  transition: width 400ms ease;
}

.bar-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

/* Filter Chips */
.reviews-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  background: rgba(140, 130, 115, 0.1);
  border: 1px solid rgba(140, 130, 115, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms;
  font-family: inherit;
}

.chip:hover {
  background: rgba(217, 169, 85, 0.1);
  border-color: rgba(217, 169, 85, 0.3);
  color: var(--text);
}

.chip.active {
  background: linear-gradient(145deg, rgba(217, 169, 85, 0.2), rgba(244, 212, 127, 0.15));
  border-color: var(--accent);
  color: var(--accent-2);
  font-weight: 500;
}

/* Reviews Grid */
.reviews-grid-modern {
  display: grid;
  gap: 1rem;
}

/* Review Card Modern */
.review-card-modern {
  padding: 1.5rem;
  background: linear-gradient(145deg, rgba(23, 33, 30, 0.6) 0%, rgba(18, 25, 22, 0.8) 100%);
  border: 1px solid rgba(140, 130, 115, 0.15);
  border-radius: 1rem;
  transition: all 220ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.review-card-modern:hover {
  border-color: rgba(217, 169, 85, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(217, 169, 85, 0.08);
  transform: translateY(-2px);
}

.review-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar-modern {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
  border: 2px solid currentColor;
}

.reviewer-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviewer-name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reviewer-name-row strong {
  font-size: 1rem;
  color: var(--text);
}

.verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--good);
  background: rgba(106, 180, 134, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  font-weight: 500;
}

.reviewer-vehicle-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.reviewer-vehicle-tag i {
  color: var(--accent);
}

.review-rating-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(145deg, rgba(255, 193, 7, 0.15), rgba(255, 193, 7, 0.05));
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.rating-num {
  font-weight: 700;
  color: #ffc107;
  font-size: 0.95rem;
}

.review-rating-pill i {
  color: #ffc107;
  font-size: 0.8rem;
}

.review-card-body {
  margin-bottom: 1rem;
}

.review-title-modern {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  color: var(--text);
}

.review-content-modern {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #d5cdc0;
}

/* Review Images */
.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.review-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid rgba(140, 130, 115, 0.2);
  cursor: pointer;
  transition: all 160ms;
}

.review-images img:hover {
  transform: scale(1.05);
  border-color: var(--accent);
}

.review-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(140, 130, 115, 0.15);
}

.review-date-modern {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-helpful-modern {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: rgba(140, 130, 115, 0.1);
  border: 1px solid rgba(140, 130, 115, 0.2);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: all 160ms;
  font-family: inherit;
}

.btn-helpful-modern:hover {
  background: rgba(217, 169, 85, 0.1);
  border-color: rgba(217, 169, 85, 0.3);
  color: var(--accent);
}

.btn-helpful-modern.marked {
  background: rgba(217, 169, 85, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-helpful-modern i {
  font-size: 0.9rem;
}

.helpful-count {
  background: rgba(140, 130, 115, 0.2);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn-helpful-modern.marked .helpful-count {
  background: rgba(217, 169, 85, 0.2);
}

/* Empty State */
.reviews-empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(145deg, rgba(140, 130, 115, 0.1), rgba(140, 130, 115, 0.05));
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--muted);
}

.reviews-empty-state h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--text);
}

.reviews-empty-state p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 600px) {
  .pdp-reviews-section {
    padding: 1.5rem;
    margin: 2rem -1rem;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .reviews-header-modern {
    flex-direction: column;
    align-items: flex-start;
  }

  .rating-circle {
    width: 110px;
    height: 110px;
  }

  .rating-score {
    font-size: 2rem;
  }

  .review-card-modern {
    padding: 1.25rem;
  }

  .reviewer-avatar-modern {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* ══════════════════════════════════════════════════
   CUSTOMER DASHBOARD
   ══════════════════════════════════════════════════ */

.dashboard-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 2px solid var(--line);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.dashboard-tabs .tab-btn {
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dashboard-tabs .tab-btn:hover {
  background: rgba(217, 169, 85, 0.05);
  color: var(--text);
}

.dashboard-tabs .tab-btn.active {
  background: rgba(217, 169, 85, 0.1);
  border-color: var(--accent);
  color: var(--accent-2);
}

.dashboard-tab {
  display: none;
}

.dashboard-tab.active {
  display: block;
  animation: fadeIn 300ms ease;
}

/* Profile Header */
.profile-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(13, 11, 8, 0.5);
  border-radius: 0.75rem;
}

@media (max-width: 600px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
}

.avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--panel), rgba(217, 169, 85, 0.1));
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--accent);
  overflow: hidden;
}

.avatar-placeholder.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initial {
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
}

.profile-summary h2 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
}

.member-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(217, 169, 85, 0.1);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--accent-2);
}

/* Profile Stats */
.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem;
  background: rgba(23, 33, 30, 0.5);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  text-align: center;
}

.stat-card i {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-2);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Checkbox label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1rem;
  z-index: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: all 160ms;
}

.modal-close:hover {
  background: rgba(201, 80, 68, 0.1);
  color: var(--danger);
}

#reviewForm {
  padding: 1.25rem;
}

.review-product-name {
  font-weight: 600;
  color: var(--accent-2);
  margin: 0;
}

.star-rating-input {
  display: flex;
  gap: 0.5rem;
}

.star-rating-input button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--line);
  cursor: pointer;
  transition: all 160ms;
  padding: 0.25rem;
}

.star-rating-input button:hover,
.star-rating-input button.active {
  color: #ffc107;
  transform: scale(1.1);
}

.required {
  color: var(--danger);
}

/* Review Items in Dashboard */
.review-pending-item,
.my-review-item {
  transition: all 200ms;
}

.review-pending-item:hover,
.my-review-item:hover {
  border-color: rgba(217, 169, 85, 0.3);
}

.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  background: rgba(217, 169, 85, 0.15);
  border-radius: 0.3rem;
  font-size: 0.75rem;
  color: var(--accent-2);
  margin-left: 0.5rem;
}

/* Empty Messages */
.empty-message {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
}

.empty-message a {
  color: var(--accent-2);
}

.empty-message.hidden {
  display: none;
}

/* Admin Status Messages */
.admin-status.success {
  color: var(--good);
  background: rgba(106, 180, 134, 0.1);
  border-left-color: var(--good);
}

.admin-status.error {
  color: var(--danger);
  background: rgba(201, 80, 68, 0.1);
  border-left-color: var(--danger);
}

/* ══════════════════════════════════════════════════
   ADMIN REVIEWS
   ══════════════════════════════════════════════════ */

.review-admin-item {
  padding: 1.25rem;
  border-left: 3px solid var(--accent);
}

.review-admin-item.pending {
  border-left-color: var(--danger);
  background: rgba(201, 80, 68, 0.05);
}

.review-admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.review-admin-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-admin-meta strong {
  color: var(--accent-2);
}

.reviewer-name {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.review-admin-rating {
  display: flex;
  gap: 0.15rem;
}

.review-admin-rating .filled {
  color: #ffc107;
}

.review-admin-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.review-admin-content {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #ddd5c8;
  margin-bottom: 0.75rem;
}

.review-admin-footer {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--good);
  background: rgba(106, 180, 134, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
}

.pending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--danger);
  background: rgba(201, 80, 68, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
}

.reviews-admin-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ══════════════════════════════════════════════════
   CLICKABLE CATEGORIES (Homepage)
   ══════════════════════════════════════════════════ */

.category-card {
  cursor: pointer;
  transition: all 220ms ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 169, 85, 0.4);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4);
}

.category-card.active {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(217, 169, 85, 0.1) 0%, rgba(30, 25, 20, 0.9) 100%);
  box-shadow: 0 0 0 2px var(--accent), 0 14px 36px rgba(0, 0, 0, 0.4);
}

.category-card.active h3 {
  color: var(--accent-2);
}

.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: linear-gradient(145deg, rgba(217, 169, 85, 0.15), rgba(217, 169, 85, 0.05));
  display: grid;
  place-items: center;
  margin-bottom: 0.75rem;
}

.category-icon i {
  font-size: 1.4rem;
  color: var(--accent);
}

.category-count {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.6rem;
  background: rgba(217, 169, 85, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--accent-2);
  font-weight: 500;
}

/* Hero Video Fix - Ensure it plays */
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Force hardware acceleration for smooth playback */
  transform: translateZ(0);
  will-change: transform;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .pdp-grid-modern {
    gap: 1.5rem;
  }
  
  .pdp-breadcrumb {
    padding: 1rem;
    font-size: 0.8rem;
  }
  
  .thumb-wrap {
    width: 60px;
    height: 60px;
  }
  
  .pdp-actions-modern {
    flex-direction: column;
  }
  
  .btn-add-cart {
    width: 100%;
  }
  
  .pdp-tabs-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tab-btn {
    flex-shrink: 0;
  }
}

/* Cart enhancements */
.cart-total-line { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 0.25rem; }
.cart-grand-total { font-size: 1.1rem; color: var(--accent-2); margin-top: 0.35rem; }
.cart-shipping-free { color: var(--good); font-weight: 700; }
.cart-shipping-note { color: var(--muted); font-size: 0.72rem; margin-left: 0.35rem; }
.cart-qty { display: inline-block; min-width: 2rem; text-align: center; font-size: 0.85rem; }
.stock-warning { border: 1px solid var(--danger); }
.stock-hint { color: var(--danger); font-size: 0.75rem; margin: 0.3rem 0 0; }
.in-wishlist { color: var(--danger); }

/* Admin reviews panel link */
.reviews-admin-list .review-admin-item.pending { border-color: var(--accent); }

/* ── FRONTEND ENHANCEMENTS ── */
.search-bar-wrap { max-width: 500px; margin: 0 auto 1.25rem; }
.search-bar { display: flex; align-items: center; gap: 0.6rem; background: var(--panel); border: 1px solid var(--line); border-radius: 0.75rem; padding: 0.5rem 0.75rem; }
.search-bar i { color: var(--muted); font-size: 0.9rem; }
.search-bar input { flex: 1; background: transparent; border: none; color: var(--text); font-size: 0.95rem; outline: none; }
.search-bar input::placeholder { color: var(--muted); }
.search-clear { background: transparent; border: none; color: var(--muted); cursor: pointer; font-size: 0.85rem; padding: 0.2rem; }
.search-clear:hover { color: var(--accent-2); }

.back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--accent); color: var(--bg); border: none; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,0.4); transition: all 200ms; z-index: 100; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top.hidden { display: none; }

.toast-container { position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: 0.5rem; z-index: 1000; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 0.6rem; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 0.6rem; padding: 0.75rem 1.1rem; box-shadow: 0 8px 28px rgba(0,0,0,0.5); transform: translateY(20px); opacity: 0; transition: all 300ms; pointer-events: auto; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--good); }
.toast-error { border-left: 4px solid var(--danger); }
.toast-info { border-left: 4px solid var(--accent); }

/* ── ADMIN MENU EDITOR ── */
.menu-editor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-editor-row {
  display: grid;
  grid-template-columns: 2rem 1fr 1fr 2.5rem;
  gap: 0.5rem;
  align-items: center;
  background: var(--panel-alt);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.4rem;
  cursor: move;
  transition: all 160ms;
}

.menu-editor-row.dragging {
  opacity: 0.5;
  border-color: var(--accent);
}

.menu-editor-row .menu-drag {
  color: var(--muted);
  text-align: center;
  cursor: grab;
}

.menu-editor-row input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  color: var(--text);
  padding: 0.4rem 0.55rem;
  font-size: 0.85rem;
}

.menu-editor-row .btn-sm {
  padding: 0.35rem;
  font-size: 0.75rem;
}
