/* ============================================================
   PRIZCO SPORTS — Dynamic CSS (colours from Admin → Settings)
   ============================================================ */

:root {
  --primary: #0b1426;
  --secondary: #16233d;
  --accent: #e0440e;
  --btn-bg: #e0440e;
  --btn-text: #ffffff;
  --footer-bg: #070d1a;
  --primary-rgb: 11,20,38;
  --accent-rgb: 224,68,14;

  --ink: #111827;
  --ink-soft: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f4f5f7;

  /* Typography */
  --font-heading: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing */
  --section-py: 88px;
  --card-radius: 14px;
  --btn-radius: 10px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(17,24,39,.06), 0 1px 6px rgba(17,24,39,.04);
  --shadow-md: 0 10px 30px rgba(17,24,39,.10);
  --shadow-lg: 0 20px 50px rgba(17,24,39,.18);
  --shadow-accent: 0 8px 24px rgba(var(--accent-rgb), .35);
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  letter-spacing: .2px;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

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

:focus-visible { outline: 3px solid rgba(var(--accent-rgb), .45); outline-offset: 2px; }

.skip-link { position: absolute; left: 1rem; top: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; box-shadow: var(--shadow-md); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .35rem;
}
.eyebrow-light { color: #ffb08f; }
.bg-soft { background: var(--soft); }

.page-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn { border-radius: var(--btn-radius); }
.btn-primary, .btn-shop-primary {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
  border-color: var(--btn-bg) !important;
  border-radius: var(--btn-radius);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .2px;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-primary:hover, .btn-shop-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}
.btn-primary:disabled { opacity: .55; transform: none; box-shadow: none; }
.btn-outline-primary {
  color: var(--btn-bg) !important;
  border-color: var(--btn-bg) !important;
  border-radius: var(--btn-radius);
  font-weight: 600;
  transition: all .2s;
}
.btn-outline-primary:hover {
  background: var(--btn-bg) !important;
  color: var(--btn-text) !important;
}

/* ============================================================
   TOP BAR + NAVBAR
   ============================================================ */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  padding: .5rem 0;
}
.topbar i { color: var(--accent); }
.topbar strong { color: #fff; }
.topbar-links { gap: 1.25rem; }
.topbar-links a { color: rgba(255,255,255,.75); }
.topbar-links a:hover { color: #fff; }

.navbar-main {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar-main .navbar-brand { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; margin-right: 0; }
.navbar-main .navbar-brand img { height: 46px; object-fit: contain; }

.brand-mark {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 1.6rem;
  border-radius: 10px;
  transform: skewX(-8deg);
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), .35);
}
.brand-text { display: flex; flex-direction: column; line-height: .9; }
.brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-style: italic;
  font-size: 1.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
}
.brand-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .6rem;
  letter-spacing: 4.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: .2rem;
}

.navbar-main .nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--ink) !important;
  padding: 1.45rem .8rem !important;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active,
.navbar-main .nav-link.show {
  color: var(--accent) !important;
  border-bottom-color: var(--accent);
}
.navbar-main .dropdown-menu {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  padding: .5rem 0;
  min-width: 230px;
  margin-top: 0;
}
.navbar-main .dropdown-item {
  font-size: .9rem;
  padding: .55rem 1.25rem;
  color: var(--ink-soft);
  transition: all .15s;
}
.navbar-main .dropdown-item:hover {
  background: rgba(var(--accent-rgb), .07);
  color: var(--accent);
  padding-left: 1.5rem;
}
.navbar-toggler { font-size: 1.35rem; color: var(--ink); padding: .4rem .5rem; }
.navbar-toggler:focus { box-shadow: none; }

/* Search bar */
.navbar-search {
  position: relative;
  max-width: 260px;
  width: 100%;
}
.navbar-search input {
  border-radius: 50px;
  border: 1.5px solid var(--line);
  background: var(--soft);
  padding: .55rem 1rem .55rem 2.5rem;
  font-size: .88rem;
  transition: border-color .2s, background .2s;
  width: 100%;
}
.navbar-search input:focus {
  border-color: var(--accent);
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .15);
}
.navbar-search .search-icon {
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  font-size: .85rem;
}
.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  min-width: 300px;
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.search-dropdown.active { display: block; }
.search-result-item {
  display: flex;
  align-items: center;
  padding: .7rem 1rem;
  gap: .75rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background .15s;
}
.search-result-item:hover { background: var(--soft); }
.search-result-item img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: var(--soft); }

/* Cart icon */
.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
  padding: .5rem .55rem;
  color: var(--ink);
  font-size: 1.2rem;
  transition: color .2s;
}
.cart-icon:hover { color: var(--accent); }
.cart-badge {
  position: absolute;
  top: 1px; right: -2px;
  background: var(--accent);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid #fff;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; background: var(--primary); }
.hero-slide {
  position: relative;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-color: var(--primary);
  display: flex;
  align-items: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,10,22,.82) 0%, rgba(5,10,22,.45) 45%, rgba(5,10,22,0) 75%);
}
.hero-fallback { background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  color: #fff;
  padding: 3rem 0;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50px;
  padding: .35rem .9rem;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .98;
  font-weight: 800;
  text-transform: uppercase;
  color: inherit;
  margin-bottom: 1.1rem;
  letter-spacing: .5px;
}
.hero-sub { font-size: 1.1rem; opacity: .88; max-width: 520px; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-hero {
  color: #fff !important;
  background: var(--accent);
  border: 0;
  font-weight: 700;
  padding: .9rem 1.9rem;
  border-radius: 50px;
  box-shadow: var(--shadow-accent);
  transition: transform .2s, filter .2s;
}
.btn-hero:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn-hero-ghost {
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  font-weight: 600;
  padding: .9rem 1.6rem;
  border-radius: 50px;
  transition: background .2s, border-color .2s;
}
.btn-hero-ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.hero-slider .carousel-indicators { margin-bottom: 1.5rem; }
.hero-slider .carousel-indicators button {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.45);
  border: 0;
  margin: 0 4px;
  transition: width .3s, background .3s;
}
.hero-slider .carousel-indicators .active { background: var(--accent); width: 44px; }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 6%; }

/* Trust bar */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); padding: 1.35rem 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item > i {
  width: 46px; height: 46px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(var(--accent-rgb), .09);
  color: var(--accent);
  font-size: 1.15rem;
}
.trust-item strong { display: block; font-size: .9rem; color: var(--ink); line-height: 1.25; }
.trust-item span { display: block; font-size: .78rem; color: var(--muted); }

/* ============================================================
   SECTION STYLES
   ============================================================ */
.section-pad { padding: var(--section-py) 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  position: relative;
}
.section-title.center { text-align: center; }
.section-link {
  font-size: .875rem;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.section-link:hover { color: var(--accent); }

.scroll-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .8rem;
  transition: all .2s;
}
.scroll-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.product-card-image {
  position: relative;
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--soft);
}
.product-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-card-image img { transform: scale(1.06); }
.product-card-badges {
  position: absolute;
  top: .7rem; left: .7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  z-index: 2;
}
.pc-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  padding: .25rem .55rem;
  border-radius: 6px;
  line-height: 1.2;
}
.pc-badge-sale { background: var(--accent); color: #fff; }
.pc-badge-new { background: var(--primary); color: #fff; }
.pc-badge-out { background: #6b7280; color: #fff; }
/* legacy badge classes still used by other pages */
.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: var(--primary); color: #fff; }
.badge-out { background: #64748b; color: #fff; }

.btn-quick-add {
  position: absolute;
  top: .7rem; right: .7rem;
  z-index: 3;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  box-shadow: 0 4px 14px rgba(17,24,39,.15);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, background .2s, color .2s;
}
.product-card:hover .btn-quick-add, .btn-quick-add:focus-visible { opacity: 1; transform: none; }
.btn-quick-add:hover { background: var(--accent); color: #fff; }
@media (hover: none) { .btn-quick-add { opacity: 1; transform: none; } }

.product-card-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; flex: 1; }
.product-card-cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .25rem;
}
.product-card-title {
  font-family: var(--font-body);
  font-size: .93rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  margin-bottom: .5rem;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card-title a { color: inherit; }
.product-card-title a:hover { color: var(--accent); }
.product-card-price { margin-top: auto; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .4rem; }
.product-card-price .from { font-size: .72rem; color: var(--muted); }
.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}
.product-card .product-price { color: var(--ink); }
.product-price-old {
  font-size: .82rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.btn-add-cart {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  width: 100%;
  padding: .6rem;
  border-radius: var(--btn-radius);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  margin-top: .75rem;
}
.btn-add-cart:hover { opacity: .88; transform: translateY(-1px); }

/* Horizontal scroll rows */
.hp-scroll-row {
  display: flex; gap: 1.25rem; overflow-x: auto; padding: .25rem .1rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.hp-scroll-row::-webkit-scrollbar { display: none; }
.hp-scroll-card { flex: 0 0 250px; scroll-snap-align: start; }

/* Best-seller rank */
.bs-rank {
  position: absolute; bottom: auto; top: .7rem; left: .7rem; z-index: 4;
  background: var(--primary); color: #fff;
  font-family: var(--font-heading);
  font-size: .95rem; font-weight: 800;
  padding: .05rem .55rem; border-radius: 6px;
}
.bs-rank + .product-card .product-card-badges { top: 2.6rem; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.category-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: block;
  background: var(--primary);
  isolation: isolate;
}
.category-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,22,.85) 0%, rgba(5,10,22,.15) 50%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #fff;
}
.category-card-count { font-size: .72rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .75; }
.category-card-label {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  margin: .2rem 0 .5rem;
}
.category-card-cta { font-size: .85rem; font-weight: 600; color: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.category-card-cta i { transition: transform .2s; color: var(--accent); }
.category-card:hover .category-card-cta i { transform: translateX(4px); }

/* ============================================================
   CUSTOM KITS SECTION
   ============================================================ */
.kits-section {
  position: relative;
  padding: var(--section-py) 0;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(var(--accent-rgb), .28), transparent 60%),
    linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  overflow: hidden;
}
.kits-section::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.kits-section .container { position: relative; }
.kits-title { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; text-transform: uppercase; line-height: 1; }
.kits-text { color: rgba(255,255,255,.78); margin: 1rem 0 1.25rem; }
.kits-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.kits-points li { display: flex; align-items: center; gap: .65rem; font-weight: 500; }
.kits-points i {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: .65rem;
}
.kits-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.kits-step {
  position: relative;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  backdrop-filter: blur(6px);
  transition: transform .25s, background .25s;
}
.kits-step:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.kits-step > i { font-size: 1.5rem; color: var(--accent); margin-bottom: .9rem; display: block; }
.kits-step h3 { color: #fff; font-size: 1.35rem; font-weight: 700; text-transform: uppercase; margin-bottom: .3rem; }
.kits-step p { color: rgba(255,255,255,.68); font-size: .88rem; margin: 0; }
.kits-step-num {
  position: absolute; top: .9rem; right: 1.1rem;
  font-family: var(--font-heading); font-weight: 800; font-size: 2.2rem;
  color: rgba(255,255,255,.12); line-height: 1;
}

/* Promo Banners */
.promo-banner {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/8;
  display: block;
  background: var(--primary);
}
.promo-banner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.promo-banner:hover img { transform: scale(1.04); }
.promo-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 2.25rem;
  background: linear-gradient(90deg, rgba(5,10,22,.78) 0%, rgba(5,10,22,.25) 60%, transparent 100%);
  color: #fff;
}
.promo-banner-content h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; text-transform: uppercase; line-height: 1; margin-bottom: .4rem; max-width: 70%; }
.promo-banner-content p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: 1rem; max-width: 60%; }
.promo-cta { background: #fff; color: var(--primary); font-weight: 700; font-size: .85rem; padding: .55rem 1.2rem; border-radius: 50px; transition: background .2s, color .2s; }
.promo-banner:hover .promo-cta { background: var(--accent); color: #fff; }

/* Why section */
.why-card {
  text-align: left;
  padding: 1.75rem 1.5rem;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  background: #fff;
  height: 100%;
  transition: all .25s;
}
.why-card:hover { border-color: transparent; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.why-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  color: #fff; font-size: 1.25rem;
  box-shadow: inset 0 -3px 0 var(--accent);
}
.why-card h3 { font-size: 1.35rem; font-weight: 700; text-transform: uppercase; margin-bottom: .35rem; }
.why-card p { font-size: .88rem; color: var(--muted); margin: 0; }

/* Testimonials */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 2rem;
  border: 1px solid var(--line);
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.testimonial-quote-icon { position: absolute; top: 1.5rem; right: 1.75rem; font-size: 2rem; color: rgba(var(--accent-rgb), .15); }
.testimonial-text { color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.5rem; font-size: .96rem; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-initial {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.3rem;
}
.testimonial-name { font-weight: 700; font-size: .92rem; color: var(--ink); }
.testimonial-role { font-size: .8rem; color: var(--muted); }
.star-rating { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }

/* Newsletter Section */
.newsletter-section {
  background: var(--accent);
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px);
  color: #fff;
  padding: 64px 0;
}
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-text h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1; }
.newsletter-text p { color: rgba(255,255,255,.88); margin: .5rem 0 0; }
.newsletter-section .eyebrow-light { color: rgba(255,255,255,.85); }
.newsletter-form-wrap { flex: 1; max-width: 480px; min-width: 280px; }
.newsletter-form {
  display: flex;
  background: #fff;
  border-radius: 50px;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}
.newsletter-form input {
  flex: 1; min-width: 0;
  border: 0; outline: none;
  padding: .7rem 1.2rem;
  font-size: .92rem;
  border-radius: 50px;
  background: transparent;
}
.newsletter-form button {
  border: 0;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .7rem 1.4rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: filter .2s;
}
.newsletter-form button:hover { filter: brightness(1.25); }
.newsletter-msg { min-height: 1.4rem; margin-top: .6rem; font-size: .88rem; padding-left: 1rem; }
.newsletter-msg .ok { color: #fff; font-weight: 600; }
.newsletter-msg .err { color: #ffe1d4; }
/* legacy */
.newsletter-input-group { max-width: 480px; margin: 0 auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,.7);
  padding: 72px 0 0;
}
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.footer-brand .brand-main { color: #fff; }
.footer-logo { height: 44px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-tagline { font-size: .9rem; color: rgba(255,255,255,.55); }
.footer-contact { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; font-size: .87rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact i { color: var(--accent); margin-top: .25rem; width: 14px; text-align: center; }
.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: #fff; }
.footer-heading {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-link {
  display: block;
  color: rgba(255,255,255,.6);
  padding: .28rem 0;
  font-size: .88rem;
  transition: color .2s, transform .2s;
}
.footer-link:hover { color: #fff; transform: translateX(3px); }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  transition: all .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.4rem 0;
  margin-top: 3.5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-bottom .footer-link { display: inline; font-size: .82rem; padding: 0; }
.footer-pay { display: flex; gap: .6rem; font-size: 1.85rem; color: rgba(255,255,255,.55); }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 0 1.75rem;
  margin-bottom: 2rem;
}
.shop-hero .breadcrumb { margin-bottom: .75rem; }
.shop-hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin: 0; line-height: 1; }
.shop-hero-intro { color: var(--muted); margin: .6rem 0 0; max-width: 680px; }
.cat-chips { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-top: 1.25rem; padding-bottom: 2px; }
.cat-chips::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  padding: .45rem 1rem;
  border-radius: 50px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: .85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s;
}
.cat-chip:hover { border-color: var(--primary); color: var(--primary); }
.cat-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.breadcrumb { font-size: .82rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item a:hover { color: var(--accent); }
.breadcrumb-item.active { color: var(--ink); }

.btn-filter-toggle {
  display: flex; justify-content: space-between; align-items: center;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600;
  padding: .7rem 1rem; margin-bottom: 1rem;
}
.filter-sidebar {
  position: sticky;
  top: 96px;
}
.filter-card {
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}
.filter-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .85rem;
}
.filter-check { cursor: pointer; }
.filter-check input { accent-color: var(--accent); }
.filter-card .input-group-text { background: var(--soft); border-color: var(--line); font-size: .8rem; }
.filter-card .form-control { border-color: var(--line); }
.size-chip {
  min-width: 44px;
  text-align: center;
  padding: .38rem .6rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  user-select: none;
}
.size-chip:hover { border-color: var(--primary); }
.size-chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.shop-count { font-size: .9rem; color: var(--muted); }
.shop-count strong { color: var(--ink); }

.empty-state { text-align: center; padding: 4rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--card-radius); }
.empty-state > i { font-size: 2.6rem; color: #cbd5e1; margin-bottom: 1rem; display: block; }

.pagination { gap: .35rem; }
.pagination .page-link { border-radius: 10px !important; border: 1.5px solid var(--line); color: var(--ink); font-weight: 600; min-width: 42px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .page-link:hover { border-color: var(--primary); color: var(--primary); }

/* Price Slider */
.price-range-slider { accent-color: var(--accent); width: 100%; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-title { font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 800; text-transform: uppercase; line-height: 1.02; margin: .1rem 0 .85rem; }
#price-display .product-price { color: var(--ink); }
#currentSalePrice { margin-left: .5rem; }
.product-short-desc { color: var(--ink-soft); line-height: 1.75; font-size: .95rem; padding: 1.25rem 0; border-top: 1px solid var(--line); margin-top: 1.25rem; }
.product-perks {
  list-style: none; padding: 1rem 1.25rem; margin: 1.25rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem;
  background: var(--soft); border-radius: var(--card-radius);
  font-size: .84rem; color: var(--ink-soft);
}
.product-perks li { display: flex; align-items: center; gap: .55rem; }
.product-perks i { color: var(--accent); width: 18px; text-align: center; }

/* ── Product Gallery ── */
.prod-gallery { position: relative; }

.prod-gallery-main {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: 18px;
  overflow: hidden;
  background: var(--soft);
  cursor: zoom-in;
  -webkit-user-select: none;
  user-select: none;
}
.prod-gallery-main img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity .15s;
}

.prod-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.95);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  color: #333;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all;
  opacity: 0;
  transition: opacity .2s, background .15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.prod-gallery-main:hover .prod-arrow { opacity: 1; }
@media (hover: none) { .prod-arrow { opacity: 1 !important; } }
.prod-prev { left: 10px; }
.prod-next { right: 10px; }
.prod-arrow:active { background: #fff; transform: translateY(-50%) scale(.94); }

.prod-counter {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(17,24,39,.6);
  color: #fff;
  font-size: .72rem;
  padding: .15rem .6rem;
  border-radius: 20px;
  pointer-events: none;
}

.prod-thumbs {
  display: flex;
  gap: 10px;
  margin-top: .85rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.prod-thumbs::-webkit-scrollbar { display: none; }
.prod-thumb {
  flex-shrink: 0;
  width: 78px; height: 78px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--soft);
  transition: border-color .18s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.prod-thumb.active { border-color: var(--accent); }
.prod-thumb:hover { border-color: #9ca3af; }

.size-selector { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0; }
.size-btn {
  min-width: 52px;
  padding: .55rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: .875rem;
  color: var(--ink);
  transition: all .15s;
}
.size-btn:hover { border-color: var(--primary); }
.size-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.size-btn.out-of-stock {
  opacity: .45;
  cursor: not-allowed;
  text-decoration: line-through;
}

.quantity-input {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  width: fit-content;
  background: #fff;
}
.qty-btn {
  background: none;
  border: none;
  padding: .7rem 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--ink-soft);
  transition: background .15s;
}
.qty-btn:hover { background: var(--soft); }
.qty-input {
  border: none;
  padding: .6rem;
  text-align: center;
  width: 52px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Tabs */
.product-tabs { gap: .5rem; }
.product-tabs .nav-link {
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  border: none;
  padding: .875rem 1rem;
  border-bottom: 3px solid transparent;
  background: none;
  transition: all .2s;
}
.product-tabs .nav-link.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: none;
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5,10,22,.94);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.lightbox-overlay.active { opacity: 1; pointer-events: all; }
.lightbox-overlay img {
  max-width: 88vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 60px rgba(0,0,0,.6);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: .8;
  transition: opacity .15s;
  z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 2rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  z-index: 2;
  line-height: 1;
  padding: 0;
}
.lightbox-nav:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  letter-spacing: .04em;
}

/* ============================================================
   CART & CHECKOUT
   ============================================================ */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem;
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  margin-bottom: .75rem;
}
.cart-item-img {
  width: 88px; height: 88px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--soft);
}
.cart-item-name { font-weight: 600; font-size: .95rem; color: var(--ink); }
.cart-item-meta { font-size: .82rem; color: var(--muted); margin-top: .2rem; }
.cart-item-price { font-weight: 700; color: var(--ink); }
.cart-remove { color: #9ca3af; cursor: pointer; font-size: .82rem; transition: color .2s; background: none; border: 0; padding: 0; }
.cart-remove:hover { color: #ef4444; }

.order-summary {
  background: var(--soft);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  position: sticky;
  top: 96px;
}
.summary-row { display: flex; justify-content: space-between; padding: .5rem 0; font-size: .95rem; }
.summary-row.total { border-top: 2px solid var(--line); margin-top: .5rem; padding-top: 1rem; font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.free-ship-meter { background: #fff; border-radius: 10px; padding: .75rem .9rem; margin: .5rem 0; color: var(--ink-soft); }

/* Coupon */
.coupon-input { display: flex; gap: .5rem; }
.coupon-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: .65rem 1rem; }
.coupon-input input:focus { border-color: var(--accent); outline: none; }

/* ============================================================
   ADMIN PANEL BASE
   ============================================================ */
.admin-wrapper { min-height: 100vh; background: #f4f6fb; display: flex; }
.admin-sidebar {
  width: 260px;
  background: var(--primary);
  flex-shrink: 0;
  position: fixed;
  top: 0; bottom: 0; left: 0;
  overflow-y: auto;
  z-index: 100;
  transition: transform .3s;
}
.admin-sidebar-logo {
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.admin-sidebar-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.admin-sidebar-logo .logo-sub { font-size: .7rem; color: rgba(255,255,255,.5); letter-spacing: 1px; }

.admin-nav { padding: 1rem 0; }
.admin-nav-section {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  padding: 1.25rem 1.25rem .5rem;
}
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1.25rem;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: all .15s;
  cursor: pointer;
}
.admin-nav-link i { width: 18px; text-align: center; font-size: .95rem; }
.admin-nav-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.admin-nav-link.active { background: rgba(255,255,255,.12); color: #fff; border-left: 3px solid var(--accent); }
.admin-nav-link .badge { margin-left: auto; font-size: .7rem; }

.admin-content {
  margin-left: 260px;
  flex: 1;
  min-width: 0;
}
.admin-header {
  background: #fff;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e8ecf0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}
.admin-page { padding: 1.5rem; }
.admin-page-header { margin-bottom: 1.5rem; }
.admin-page-title { font-size: 1.75rem; color: var(--primary); margin-bottom: .25rem; text-transform: uppercase; font-weight: 800; }

/* Admin Cards */
.stat-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f3f8;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.stat-value { font-size: 1.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat-label { font-size: .8rem; color: #888; margin-top: .2rem; }

/* Admin Tables */
.admin-table { background: #fff; border-radius: var(--card-radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table table { margin: 0; }
.admin-table .table thead th { background: #f8fafc; font-size: .8rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #666; border-bottom: 1px solid #eef0f5; }
.admin-table .table tbody td { vertical-align: middle; padding: .875rem 1rem; font-size: .9rem; }

/* Admin Forms */
.admin-form-card {
  background: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.admin-form-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid #f0f0f0;
}
.image-upload-area {
  border: 2px dashed #d8dde8;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s;
  background: #fafbfd;
}
.image-upload-area:hover { border-color: var(--accent); }
.image-preview img { max-width: 120px; height: 120px; object-fit: cover; border-radius: 8px; }
.rec-size { font-size: .75rem; color: #aaa; margin-top: .35rem; }

/* Color Picker */
.color-picker-group { display: flex; align-items: center; gap: .75rem; }
.color-picker-group input[type=color] { width: 44px; height: 36px; padding: 2px; border-radius: 6px; border: 1.5px solid #ddd; cursor: pointer; }
.color-picker-group input[type=text] { flex: 1; }

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3px;
}
.status-active, .status-paid, .status-delivered, .status-published { background: #dcfce7; color: #166534; }
.status-draft, .status-pending { background: #fef9c3; color: #854d0e; }
.status-archived, .status-cancelled, .status-failed { background: #fee2e2; color: #991b1b; }
.status-processing { background: #dbeafe; color: #1e40af; }
.status-shipped { background: #ede9fe; color: #6b21a8; }
.status-inactive { background: #f1f5f9; color: #64748b; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-accent { background: var(--accent) !important; }
.border-accent { border-color: var(--accent) !important; }
.rounded-custom { border-radius: var(--card-radius) !important; }
.shadow-custom { box-shadow: var(--shadow-md) !important; }

/* Alert styling */
.alert { border-radius: 12px; border: none; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-danger { background: #fee2e2; color: #991b1b; }
.alert-warning { background: #fef9c3; color: #854d0e; }
.alert-info { background: #dbeafe; color: #1e40af; }

/* Loading Spinner */
.spinner-custom {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: -3px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast */
.toast-container { position: fixed; top: 1rem; right: 1rem; z-index: 9999; }
.toast-custom {
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  padding: .9rem 1.25rem;
  margin-bottom: .5rem;
  box-shadow: var(--shadow-lg);
  animation: slideIn .3s ease;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 260px;
  max-width: 380px;
  font-size: .92rem;
}
.toast-custom.success i { color: #4ade80; }
.toast-custom.error { background: #991b1b; }
.toast-custom.warning i { color: #fbbf24; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: none; opacity: 1; } }

/* Rating Stars Editable */
.star-rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; }
.star-rating-input input { display: none; }
.star-rating-input label { cursor: pointer; font-size: 1.5rem; color: #ddd; transition: color .1s; }
.star-rating-input label:hover, .star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label { color: #f59e0b; }

/* Account pages */
.account-card {
  background: #fff;
  border-radius: var(--card-radius);
  border: 1px solid var(--line);
  padding: 2rem;
}
.account-nav .nav-link {
  color: var(--ink-soft);
  padding: .7rem 1rem;
  border-radius: 10px;
  transition: all .15s;
}
.account-nav .nav-link.active { background: rgba(var(--accent-rgb), .1); color: var(--accent); font-weight: 600; }
.account-nav .nav-link:hover { background: var(--soft); }

/* Static pages */
.page-content h2, .page-content h3 { text-transform: uppercase; font-weight: 800; margin-top: 2rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content ul { padding-left: 1.2rem; }
.page-content li { margin-bottom: .35rem; }

/* Blog */
.blog-card {
  background: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.25rem; }
.blog-category-tag {
  display: inline-block;
  background: rgba(var(--accent-rgb), .1);
  color: var(--accent);
  padding: .2rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ============================================================
   RESPONSIVE — LARGE DESKTOP NAV SQUEEZE (992–1199px)
   ============================================================ */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-main .nav-link { padding: 1.45rem .5rem !important; font-size: .95rem; }
  .navbar-search { max-width: 180px; }
  .brand-main { font-size: 1.4rem; }
}

/* ============================================================
   RESPONSIVE — TABLET  (≤991px)
   ============================================================ */
@media (max-width: 991.98px) {
  /* Admin sidebar slide-in */
  .admin-sidebar { transform: translateX(-100%); transition: transform .28s cubic-bezier(.4,0,.2,1); z-index:1050; }
  .admin-sidebar.open { transform: none; box-shadow: 8px 0 30px rgba(0,0,0,.25); }
  .admin-content { margin-left: 0 !important; }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Navbar collapse */
  .navbar-main .navbar-collapse { border-top: 1px solid var(--line); padding-bottom: 1rem; max-height: calc(100vh - 70px); overflow-y: auto; }
  .navbar-main .nav-link { padding: .8rem .25rem !important; border-bottom: 1px solid #f3f4f6; }
  .navbar-main .nav-link:hover, .navbar-main .nav-link.active { border-bottom-color: #f3f4f6; }
  .navbar-main .dropdown-menu { box-shadow: none; border: 0; background: var(--soft); border-radius: 10px; margin: .25rem 0 .5rem; }
  .navbar-search { max-width: 100%; }
  .nav-icons { padding-top: .75rem; }

  /* Hero */
  .hero-slide { min-height: 480px; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
  .filter-sidebar { position: static; }
  .kits-steps { margin-top: .5rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE  (≤767px)
   ============================================================ */
@media (max-width: 767.98px) {
  :root { --section-py: 56px; }

  .topbar { font-size: .74rem; text-align: center; }
  .topbar .container { justify-content: center !important; }

  .brand-mark { width: 34px; height: 34px; font-size: 1.35rem; }
  .brand-main { font-size: 1.4rem; }
  .brand-sub { font-size: .52rem; letter-spacing: 3.5px; }

  /* Hero */
  .hero-slide { min-height: 520px; align-items: flex-end; background-position: 70% center; }
  .hero-slide::after { background: linear-gradient(to top, rgba(5,10,22,.92) 0%, rgba(5,10,22,.55) 55%, rgba(5,10,22,.15) 100%); }
  .hero-content { padding: 2rem 0 3.5rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: .95rem; }
  .btn-hero, .btn-hero-ghost { padding: .75rem 1.3rem; font-size: .9rem; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }

  .trust-item > i { width: 40px; height: 40px; font-size: 1rem; }
  .trust-item strong { font-size: .82rem; }
  .trust-item span { font-size: .72rem; }

  .section-header { flex-wrap: wrap; align-items: flex-end; margin-bottom: 1.25rem; }
  .section-header .scroll-btn { display: none; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .category-card-overlay { padding: 1rem; }
  .category-card-label { font-size: 1.35rem; }
  .category-card-cta { font-size: .78rem; }

  .hp-scroll-card { flex: 0 0 62%; }

  .product-card-body { padding: .75rem .8rem .9rem; }
  .product-card-title { font-size: .84rem; }
  .product-price { font-size: .95rem; }

  .kits-steps { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .kits-step { padding: 1.1rem; }
  .kits-step h3 { font-size: 1.1rem; }
  .kits-step p { font-size: .8rem; }

  .promo-banner { aspect-ratio: 16/10; }
  .promo-banner-content { padding: 1.25rem 1.4rem; }
  .promo-banner-content h3, .promo-banner-content p { max-width: 85%; }

  .why-card { padding: 1.25rem 1.1rem; }
  .why-card h3 { font-size: 1.1rem; }
  .why-card p { font-size: .8rem; }

  .newsletter-inner { text-align: left; }
  .newsletter-form-wrap { max-width: 100%; }

  .product-perks { grid-template-columns: 1fr; }

  /* Cart page */
  .cart-item { flex-wrap: wrap; gap: .75rem; }
  .cart-item-img { width: 70px; height: 70px; }

  /* Checkout */
  .carrier-card { flex-direction: row !important; gap: .6rem; }

  /* Admin panel */
  .admin-page { padding: 1rem; }
  .admin-page-header { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .admin-page-title { font-size: 1.4rem; }
  .admin-header { padding: .6rem 1rem; flex-wrap: wrap; gap: .5rem; }
  .admin-form-card { padding: 1rem; }
  .admin-stats-grid { grid-template-columns: 1fr 1fr !important; gap: .75rem; }
  .stat-card { padding: 1rem; }
  .stat-num { font-size: 1.6rem; }
  .chart-card { padding: 1rem; }

  .account-card { padding: 1.25rem; }

  table.mobile-stack td, table.mobile-stack th { display: block; width: 100%; }
  .d-none-mobile { display: none !important; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — SMALL PHONES  (≤420px)
   ============================================================ */
@media (max-width: 420px) {
  .hero-title { font-size: 2.2rem; }
  .kits-steps { grid-template-columns: 1fr; }
  .hp-scroll-card { flex: 0 0 72%; }
  .admin-stats-grid { grid-template-columns: 1fr !important; }
}
