﻿/* ===================================================================
   ATLAS PROFESSIONAL SUPPLY — Design System
   Dark Obsidian + Crimson Red + Electric Indigo
   Premium Dark 3D Motion — Apple-Level Quality
   =================================================================== */

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

:root {
  /* ── Backgrounds ── */
  --bg-0:      #000000;   /* true black — Apple standard */
  --bg-1:      #0a0a12;   /* surface */
  --bg-2:      #111120;   /* elevated */
  --bg-3:      #1a1a2e;   /* cards */

  /* ── Borders ── */
  --border:    rgba(255,255,255,0.07);
  --border-md: rgba(255,255,255,0.12);
  --border-lg: rgba(255,255,255,0.18);

  /* ── Text ── */
  --text-1:   #F5F5F7;   /* Apple white */
  --text-2:   #86868B;   /* Apple secondary */
  --text-3:   #48485A;

  /* ── Brand Accents ── */
  --red:        #b8965a;
  --red-dark:   #9c7d44;
  --blue:       #4B6EFF;
  --blue-dark:  #3A5AE8;
  --gold:       #F0B429;

  /* ── Semantic (backward compat) ── */
  --primary:       #EEEEFF;
  --primary-light: #1A1A35;
  --secondary:     #4B6EFF;
  --secondary-dark:#3A5AE8;
  --accent:        #b8965a;
  --accent-dark:   #9c7d44;
  --success:       #00D68F;
  --danger:        #b8965a;
  --warning:       #F0B429;
  --info:          #4B6EFF;
  --white:         #FFFFFF;

  /* ── Gray scale (dark-mode values) ── */
  --gray-50:  #0D0D1B;
  --gray-100: #121228;
  --gray-200: #181836;
  --gray-300: #252545;
  --gray-400: #3D4566;
  --gray-500: #63709A;
  --gray-600: #8892B0;
  --gray-700: #B8C0D8;
  --gray-800: #D8DFF0;
  --gray-900: #EEEEFF;

  /* ── Typography ── */
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Syne', var(--font-sans);

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.5);
  --shadow:    0 8px 28px rgba(0,0,0,0.55);
  --shadow-md: 0 16px 48px rgba(0,0,0,0.65);
  --shadow-lg: 0 32px 80px rgba(0,0,0,0.75);
  --glow-red:  0 0 40px rgba(184,150,90,0.25);
  --glow-blue: 0 0 40px rgba(75,110,255,0.25);

  /* ── Geometry ── */
  --radius:    14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ====================== RESET & BASE ====================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}
#main-content { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--text-1); }
ul { list-style: none; }

/* Noise/grain texture overlay */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
}

/* ====================== CUSTOM CURSOR ====================== */
#atlas-cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(184,150,90,0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, border-color .25s, background .25s;
  mix-blend-mode: difference;
}
#atlas-cursor.hover {
  width: 56px; height: 56px;
  background: rgba(184,150,90,0.08);
  border-color: var(--red);
}
#atlas-cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
}
@media (hover: none) {
  #atlas-cursor, #atlas-cursor-dot { display: none; }
}

/* ====================== SCROLLBAR ====================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ====================== NAVBAR ====================== */
.navbar {
  background: rgba(8,8,14,0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 1000;
  transition: background .3s;
}
.navbar-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; gap: 1rem;
  padding: 0 1.5rem; height: 90px;
}
.navbar-brand {
  display: flex; flex-direction: row; align-items: center; gap: .75rem;
  line-height: 1; font-family: var(--font-display);
  color: var(--text-1) !important;
  letter-spacing: -.5px; text-decoration: none;
}
.navbar-brand > div { display: flex; flex-direction: column }
.navbar-logo {
  height: 42px; width: auto;
  object-fit: contain; display: block;
  flex-shrink: 0;
}
.navbar-brand-name {
  font-size: 1.35rem; font-weight: 800;
  color: var(--white);
}
.navbar-brand-name span { color: var(--red); }
.navbar-brand-sub {
  font-size: .6rem; font-weight: 600;
  color: #b8965a;
  text-transform: uppercase; letter-spacing: .18em;
  margin-top: .1rem;
}

.navbar-search {
  flex: 1; max-width: 440px; position: relative;
}
.navbar-search input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-md);
  border-radius: 50px;
  padding: .55rem 1rem .55rem 2.8rem;
  color: var(--text-1); font-size: .9rem;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}
.navbar-search input::placeholder { color: var(--text-3); }
.navbar-search input:focus {
  border-color: var(--red);
  background: rgba(184,150,90,0.04);
}
.navbar-search .search-icon {
  position: absolute; left: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-3); font-size: .9rem;
  pointer-events: none;
}

.navbar-actions { display: flex; align-items: center; gap: .4rem; margin-left: auto; }
.nav-icon-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: transparent; border: none;
  color: var(--text-2); font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.nav-icon-btn:hover { background: rgba(255,255,255,0.06); color: var(--text-1); }
.cart-badge {
  position: absolute; top: 4px; right: 4px;
  background: var(--red); color: #fff;
  font-size: .6rem; font-weight: 700;
  min-width: 18px; height: 18px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.navbar-nav { display: flex; align-items: center; gap: .15rem; }
.navbar-nav .nav-link {
  color: var(--text-2); font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem; border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  background: rgba(255,255,255,0.06);
  color: var(--text-1);
}
.navbar-nav .nav-link.accent {
  background: var(--red); color: #fff !important;
  border-radius: 50px; padding: .5rem 1.1rem;
}
.navbar-nav .nav-link.accent:hover { background: var(--red-dark); }

/* ====================== HERO (base - used by other views) ====================== */
.hero {
  background: linear-gradient(135deg, var(--bg-0) 0%, #0a0a20 50%, #0d0821 100%);
  min-height: 600px; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,150,90,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,150,90,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  max-width: 1320px; margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 3rem;
  position: relative; z-index: 1; width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(184,150,90,.12); border: 1px solid rgba(184,150,90,.3);
  color: var(--red); font-size: .8rem; font-weight: 600;
  padding: .4rem .9rem; border-radius: 50px; margin-bottom: 1.5rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 800;
  color: var(--text-1); line-height: 1.12; margin-bottom: 1.25rem;
}
.hero-title span { color: var(--red); }
.hero-desc {
  color: var(--text-2); font-size: 1.05rem;
  margin-bottom: 2rem; line-height: 1.75;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; }
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-display); font-size: 1.75rem;
  font-weight: 800; color: var(--text-1);
}
.hero-stat-label { font-size: .8rem; color: var(--text-2); text-transform: uppercase; letter-spacing: .06em; }
.hero-image { position: relative; }
.hero-image-main {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}

/* ====================== BUTTONS ====================== */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.4rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--transition); white-space: nowrap;
  font-family: var(--font-sans);
}
.btn-sm  { padding: .45rem 1rem; font-size: .8rem; }
.btn-lg  { padding: .9rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--blue); color: #fff; border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-dark); border-color: var(--blue-dark); color: #fff;
  transform: translateY(-1px); box-shadow: var(--glow-blue);
}
.btn-accent {
  background: var(--red); color: #fff; border-color: var(--red);
}
.btn-accent:hover {
  background: var(--red-dark); border-color: var(--red-dark); color: #fff;
  transform: translateY(-1px); box-shadow: var(--glow-red);
}
.btn-outline {
  background: transparent; color: var(--blue); border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-outline-white {
  background: transparent; color: var(--text-1);
  border-color: var(--border-lg);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08); color: var(--text-1);
  border-color: var(--border-lg);
}
.btn-danger  { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover  { background: #e02250; color: #fff; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-ghost {
  background: transparent; color: var(--text-2);
  border-color: var(--border-md);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--text-1); }
.btn-dark {
  background: rgba(255,255,255,0.06); color: var(--text-1);
  border-color: var(--border-md);
}
.btn-dark:hover { background: rgba(255,255,255,0.1); color: var(--text-1); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ====================== SECTION HEADER ====================== */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-1); }
.container { max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--red); margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 800;
  color: var(--text-1); line-height: 1.15; margin-bottom: .75rem;
}
.section-desc { color: var(--text-2); font-size: 1rem; max-width: 560px; margin: 0 auto; line-height: 1.75; }

/* ====================== PRODUCT CARDS ====================== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, border-color .35s;
  will-change: transform;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--border-md);
  box-shadow: 0 28px 60px rgba(0,0,0,0.7), 0 0 40px rgba(184,150,90,0.08);
}
.product-card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-badges { position: absolute; top: .85rem; left: .85rem; display: flex; flex-direction: column; gap: .4rem; }
.badge-featured { background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; padding: .22rem .65rem; border-radius: 50px; text-transform: uppercase; letter-spacing: .06em; }
.badge-sale { background: var(--gold); color: #0a0a0f; font-size: .68rem; font-weight: 700; padding: .22rem .65rem; border-radius: 50px; }
.badge-out { background: var(--gray-400); color: #fff; font-size: .68rem; font-weight: 700; padding: .22rem .65rem; border-radius: 50px; }
.product-card-actions {
  position: absolute; top: .85rem; right: .85rem;
  display: flex; flex-direction: column; gap: .4rem;
  opacity: 0; transform: translateX(10px);
  transition: all var(--transition);
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-action-btn {
  width: 36px; height: 36px;
  background: rgba(8,8,14,0.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border-md);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); font-size: .85rem;
  transition: all var(--transition);
}
.product-action-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.product-action-btn.favorited { background: var(--red); border-color: var(--red); color: #fff; }
.product-card-body { padding: 1.25rem; }
.product-category { font-size: .7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .35rem; }
.product-name {
  font-size: .95rem; font-weight: 600; color: var(--text-1);
  margin-bottom: .5rem; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-name:hover { color: var(--red); }
.product-rating { display: flex; align-items: center; gap: .35rem; margin-bottom: .6rem; }
.stars { display: flex; gap: 2px; }
.star { color: var(--gray-400); font-size: .8rem; }
.star.filled { color: var(--gold); }
.star.half { color: var(--gold); }
.rating-count { font-size: .75rem; color: var(--text-3); }
.product-price { display: flex; align-items: baseline; gap: .5rem; }
.price-current { font-size: 1.2rem; font-weight: 800; color: var(--text-1); }
.price-original { font-size: .88rem; color: var(--text-3); text-decoration: line-through; }
.price-discount { font-size: .72rem; font-weight: 700; color: var(--red); background: rgba(184,150,90,.12); padding: .15rem .4rem; border-radius: 4px; }
.product-card-footer {
  padding: .9rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; gap: .5rem;
}
.btn-add-cart {
  flex: 1;
  background: var(--red); color: #fff; border: none;
  border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 700;
  padding: .65rem; cursor: pointer;
  transition: all var(--transition);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.btn-add-cart:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--glow-red); }
.btn-add-cart:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ====================== CATEGORY CARDS ====================== */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.25rem; }
.category-card {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 1.75rem 1.25rem; text-align: center;
  border: 1px solid var(--border);
  transition: all var(--transition); cursor: pointer;
}
.category-card:hover {
  border-color: var(--red);
  background: rgba(184,150,90,.04);
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.category-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.category-name { font-weight: 700; color: var(--text-1); font-size: .95rem; margin-bottom: .3rem; }
.category-count { font-size: .8rem; color: var(--text-3); }

/* ====================== ALERTS / FLASH ====================== */
.alert {
  padding: .9rem 1.25rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1.25rem; border: 1px solid transparent;
}
.alert-success { background: rgba(0,214,143,.08); border-color: rgba(0,214,143,.2); color: #00D68F; }
.alert-error   { background: rgba(184,150,90,.08);  border-color: rgba(184,150,90,.2);  color: var(--red); }
.alert-warning { background: rgba(240,180,41,.08); border-color: rgba(240,180,41,.2); color: var(--gold); }
.alert-info    { background: rgba(75,110,255,.08); border-color: rgba(75,110,255,.2); color: var(--blue); }

/* ====================== FORMS ====================== */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; color: var(--text-2); margin-bottom: .45rem; }
.form-label .required { color: var(--red); }
.form-control {
  width: 100%; padding: .7rem 1rem;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--text-1);
  background: rgba(255,255,255,0.04);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font-sans);
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(184,150,90,.12); }
.form-control::placeholder { color: var(--text-3); }
.form-control.is-invalid { border-color: var(--danger); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control {
  cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238892B0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; padding-right: 2.5rem;
  background-color: #1c1c24;
  color: rgba(245,245,247,.85);
}
select.form-control option {
  background-color: #1c1c24;
  color: rgba(245,245,247,.85);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.form-check { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.form-check input[type=checkbox], .form-check input[type=radio] { width: 18px; height: 18px; accent-color: var(--red); cursor: pointer; }
.form-check label { font-size: .9rem; color: var(--text-2); cursor: pointer; }

/* ====================== STATUS BADGES ====================== */
.status-badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; padding: .28rem .75rem; border-radius: 50px; text-transform: capitalize; }
.status-pending    { background: rgba(240,180,41,.12); color: var(--gold); }
.status-paid       { background: rgba(0,214,143,.12);  color: var(--success); }
.status-processing { background: rgba(75,110,255,.12); color: var(--blue); }
.status-shipped    { background: rgba(139,92,246,.12); color: #A78BFA; }
.status-delivered  { background: rgba(0,214,143,.15);  color: var(--success); }
.status-cancelled  { background: rgba(184,150,90,.12);  color: var(--red); }
.status-active     { background: rgba(0,214,143,.12);  color: var(--success); }
.status-inactive   { background: rgba(184,150,90,.12);  color: var(--red); }

/* ====================== CARDS ====================== */
.card {
  background: var(--bg-2); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
}
.card-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-title { font-size: 1rem; font-weight: 700; color: var(--text-1); }
.card-body { padding: 1.5rem; }
.card-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--border); background: rgba(255,255,255,.02); }

/* ====================== TESTIMONIALS ====================== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--bg-2); border-radius: var(--radius);
  padding: 2rem; border: 1px solid var(--border);
  transition: transform var(--transition), border-color var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--border-md); }
.testimonial-stars { color: var(--gold); margin-bottom: 1rem; font-size: 1rem; }
.testimonial-text { color: var(--text-2); font-size: .95rem; line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: .85rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testimonial-avatar-placeholder {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1rem;
}
.testimonial-name { font-weight: 700; color: var(--text-1); font-size: .9rem; }
.testimonial-role { font-size: .78rem; color: var(--text-3); }

/* ====================== ADVANTAGES ====================== */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.advantage-card { text-align: center; padding: 2rem 1.5rem; }
.advantage-icon {
  width: 64px; height: 64px; border-radius: var(--radius);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
}
.advantage-icon.blue   { background: rgba(75,110,255,.1);  color: var(--blue); }
.advantage-icon.orange { background: rgba(184,150,90,.1);   color: var(--red); }
.advantage-icon.green  { background: rgba(0,214,143,.1);   color: var(--success); }
.advantage-icon.purple { background: rgba(139,92,246,.1);  color: #A78BFA; }
.advantage-title { font-weight: 700; color: var(--text-1); font-size: 1rem; margin-bottom: .4rem; }
.advantage-desc { font-size: .875rem; color: var(--text-2); line-height: 1.65; }

/* ====================== FOOTER ====================== */
.footer { background: var(--bg-0); border-top: 1px solid var(--border); color: var(--text-2); }
.footer-top {
  max-width: 1320px; margin: 0 auto;
  padding: 4.5rem 1.5rem 2.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: var(--text-1); margin-bottom: .5rem; }
.footer-brand span { color: var(--red); }
.footer-brand-sub { font-size: .65rem; font-weight: 600; color: rgba(245,245,247,.45); text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1rem; }
.footer-desc { font-size: .88rem; line-height: 1.75; color: rgba(245,245,247,.55); margin-bottom: 1.5rem; max-width: 300px; }
.footer-social { display: flex; gap: .65rem; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(245,245,247,.6); font-size: .9rem;
  transition: all var(--transition);
}
.social-link:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer-heading { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: #f5f5f7; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .65rem; }
.footer-links a { color: rgba(245,245,247,.6); font-size: .88rem; transition: color var(--transition); text-decoration: none; }
.footer-links a:hover { color: #f5f5f7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(245,245,247,.45);
}
.footer-payments { display: flex; gap: .5rem; align-items: center; }
.payment-icon {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px; padding: .3rem .65rem;
  font-size: .75rem; color: rgba(245,245,247,.55);
}

/* ====================== CART ====================== */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { padding: .75rem 1rem; text-align: left; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); border-bottom: 1px solid var(--border-md); }
.cart-table td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--text-1); }
.cart-product { display: flex; align-items: center; gap: 1rem; }
.cart-product-img { width: 72px; height: 72px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.cart-product-name { font-weight: 600; color: var(--text-1); font-size: .9rem; }
.cart-qty { display: flex; align-items: center; gap: .5rem; }
.qty-btn {
  width: 30px; height: 30px;
  border: 1px solid var(--border-md); border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); transition: all var(--transition); font-size: .9rem;
}
.qty-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.qty-input {
  width: 52px; text-align: center;
  border: 1px solid var(--border-md); border-radius: var(--radius-sm);
  padding: .3rem; font-size: .9rem; font-weight: 600;
  outline: none; background: rgba(255,255,255,0.04); color: var(--text-1);
}
.cart-summary { background: var(--bg-2); border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--border); }
.cart-summary-line { display: flex; justify-content: space-between; align-items: center; padding: .65rem 0; border-bottom: 1px solid var(--border); font-size: .9rem; color: var(--text-2); }
.cart-summary-line:last-child { border-bottom: none; }
.cart-summary-total { font-weight: 800; font-size: 1.15rem; color: var(--text-1); }
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; }

/* ====================== PAGINATION ====================== */
.pagination { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: 3rem; }
.page-link {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-md); color: var(--text-2);
  font-size: .875rem; font-weight: 500; transition: all var(--transition);
  background: transparent;
}
.page-link:hover { border-color: var(--red); color: var(--red); background: rgba(184,150,90,.06); }
.page-link.active { background: var(--red); border-color: var(--red); color: #fff; }
.page-link.disabled { opacity: .35; cursor: not-allowed; pointer-events: none; }

/* ====================== BREADCRUMB ====================== */
.breadcrumb { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--text-3); padding: 1rem 0; }
.breadcrumb a { color: var(--text-3); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--text-3); }
.breadcrumb-current { color: var(--text-2); font-weight: 500; }

/* ====================== PRODUCT DETAIL ====================== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.product-gallery { position: sticky; top: 90px; }
.gallery-main { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); margin-bottom: 1rem; border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.gallery-thumb { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color var(--transition); }
.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--red); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--text-1); line-height: 1.2; margin-bottom: .75rem; }
.product-price-big { display: flex; align-items: baseline; gap: .75rem; margin: 1rem 0; }
.price-big { font-size: 2rem; font-weight: 800; color: var(--text-1); }
.product-sku { font-size: .8rem; color: var(--text-3); margin-bottom: .5rem; }
.product-stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem; }
.stock-in  { color: var(--success); }
.stock-low { color: var(--gold); }
.stock-out { color: var(--danger); }
.product-desc { color: var(--text-2); font-size: .95rem; line-height: 1.8; margin-bottom: 1.5rem; }
.pd-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 3rem;
}
.pd-desc-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: sticky;
  top: 5rem;
}
.pd-desc-panel-head {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--gray-500);
  margin-bottom: 1.1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
}
.product-long-desc {
  color: var(--text-2); font-size: .95rem; line-height: 1.8;
}
.product-long-desc p               { margin-bottom: .75rem }
.product-long-desc h1              { font-size: 1.4rem;  font-weight: 800; color: var(--text-1); margin: 1.6rem 0 .6rem }
.product-long-desc h2              { font-size: 1.15rem; font-weight: 700; color: var(--text-1); margin: 1.4rem 0 .5rem }
.product-long-desc h3              { font-size: 1rem;    font-weight: 700; color: var(--text-1); margin: 1.1rem 0 .4rem }
.product-long-desc strong          { font-weight: 700; color: var(--text-1) }
.product-long-desc em              { font-style: italic }
.product-long-desc s               { text-decoration: line-through }
.product-long-desc ul,
.product-long-desc ol              { padding-left: 1.4rem; margin-bottom: .75rem }
.product-long-desc ul li           { list-style: disc;    margin-bottom: .3rem }
.product-long-desc ol li           { list-style: decimal; margin-bottom: .3rem }
.product-long-desc blockquote      { border-left: 3px solid var(--primary); padding: .5rem 1rem; margin: 1rem 0; color: var(--gray-500); font-style: italic }
.product-long-desc a               { color: var(--primary); text-decoration: underline }
.product-long-desc .ql-size-small  { font-size: .8rem }
.product-long-desc .ql-size-large  { font-size: 1.15rem }
.product-long-desc .ql-size-huge   { font-size: 1.4rem }
.product-long-desc .ql-align-center { text-align: center }
.product-long-desc .ql-align-right  { text-align: right }
.product-long-desc .ql-align-justify{ text-align: justify }
@media(max-width:900px) {
  .pd-bottom-grid { grid-template-columns: 1fr }
  .pd-desc-panel { position: static }
}
.add-to-cart-row { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; }
.product-tabs { margin-top: 3rem; }
.tabs-nav { display: flex; border-bottom: 1px solid var(--border); gap: 0; }
.tab-btn { padding: .8rem 1.5rem; font-size: .9rem; font-weight: 600; color: var(--text-2); border: none; background: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all var(--transition); }
.tab-btn.active { color: var(--red); border-bottom-color: var(--red); }
.tab-pane { padding: 1.5rem 0; display: none; }
.tab-pane.active { display: block; }

/* ====================== REVIEWS ====================== */
.review-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.review-header { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.reviewer-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .9rem; }
.reviewer-name { font-weight: 700; font-size: .9rem; color: var(--text-1); }
.review-date { font-size: .78rem; color: var(--text-3); }
.review-text { font-size: .9rem; color: var(--text-2); line-height: 1.65; margin-top: .4rem; }

/* ====================== ACCOUNT / PROFILE ====================== */
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.account-sidebar { position: sticky; top: 90px; }
.account-nav { background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.account-nav-header { padding: 1.5rem; background: linear-gradient(135deg, var(--bg-0), var(--bg-3)); }
.account-nav-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.25rem; margin-bottom: .75rem; }
.account-nav-name { font-weight: 700; font-size: 1rem; color: var(--text-1); }
.account-nav-email { font-size: .8rem; color: var(--text-3); }
.account-nav-link { display: flex; align-items: center; gap: .75rem; padding: .85rem 1.5rem; color: var(--text-2); font-size: .9rem; font-weight: 500; border-left: 3px solid transparent; transition: all var(--transition); }
.account-nav-link:hover, .account-nav-link.active { background: rgba(184,150,90,.06); color: var(--red); border-left-color: var(--red); }
.account-nav-link i { width: 18px; text-align: center; }

/* ====================== ADMIN ====================== */
.admin-layout { display: flex; min-height: 100vh; background: #0d0d0d; }
.admin-sidebar { width: 260px; background: #111115; border-right: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; z-index: 100; }
.admin-sidebar-logo { padding: 1.5rem 1.75rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-sidebar-logo a { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #f5f5f7; }
.admin-sidebar-logo span { color: var(--red); }
.admin-sidebar-logo small { display: block; font-size: .65rem; color: rgba(245,245,247,.45); font-weight: 600; font-family: var(--font-sans); margin-top: .2rem; text-transform: uppercase; letter-spacing: .12em; }
.admin-nav { flex: 1; overflow-y: auto; padding: 1rem 0; }
.admin-nav-section { padding: .75rem 1.5rem .4rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(245,245,247,.38); }
.admin-nav-link { display: flex; align-items: center; gap: .85rem; padding: .75rem 1.5rem; color: rgba(245,245,247,.65); font-size: .875rem; font-weight: 500; transition: all var(--transition); border-left: 3px solid transparent; text-decoration: none; }
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(184,150,90,.07); color: #f5f5f7; border-left-color: var(--red); }
.admin-nav-link i { width: 18px; text-align: center; font-size: 1rem; }
.admin-nav-badge { margin-left: auto; background: var(--red); color: #fff; font-size: .62rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.admin-main { margin-left: 260px; flex: 1; display: flex; flex-direction: column; }
.admin-header { background: #111115; border-bottom: 1px solid rgba(255,255,255,.08); padding: 0 1.75rem; height: 64px; display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 50; }
.admin-header-title { font-size: 1rem; font-weight: 700; color: #f5f5f7; }
.admin-header-actions { display: flex; align-items: center; gap: 1rem; }
.admin-user-info { display: flex; align-items: center; gap: .65rem; }
.admin-user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: .85rem; }
.admin-user-name { font-size: .875rem; font-weight: 600; color: rgba(245,245,247,.8); }
.admin-content { padding: 2rem 1.75rem; flex: 1; }

/* ====================== STATS CARDS ====================== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card { background: #181820; border-radius: var(--radius); padding: 1.5rem; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 1.25rem; transition: transform var(--transition), border-color var(--transition), background var(--transition); }
.stat-card:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.18); background: #1e1e28; }
.stat-icon { width: 52px; height: 52px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0; }
.stat-icon.blue   { background: rgba(75,110,255,.18); color: #7B9EFF; }
.stat-icon.orange { background: rgba(184,150,90,.18);  color: #ccaa6e; }
.stat-icon.green  { background: rgba(0,214,143,.18);  color: #00D68F; }
.stat-icon.purple { background: rgba(139,92,246,.18); color: #C4B5FD; }
.stat-icon.red    { background: rgba(184,150,90,.18);  color: #ccaa6e; }
.stat-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: #f5f5f7; line-height: 1; white-space: nowrap; }
.stat-label { font-size: .75rem; color: rgba(245,245,247,.55); margin-top: .3rem; text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.stat-trend { font-size: .78rem; font-weight: 600; display: flex; align-items: center; gap: .2rem; margin-top: .4rem; }
.trend-up   { color: #00D68F; }
.trend-down { color: #ccaa6e; }

/* ====================== ADMIN TABLE ====================== */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: .75rem 1rem; text-align: left; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(245,245,247,.55); background: #111115; border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-table td { padding: 1rem; border-bottom: 1px solid rgba(255,255,255,.06); font-size: .875rem; color: rgba(245,245,247,.85); vertical-align: middle; }
.admin-table tr:hover td { background: rgba(255,255,255,.03); }
.admin-table .actions { display: flex; gap: .4rem; }
.table-responsive { overflow-x: auto; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.1); }

/* ====================== FILTERS ====================== */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.filters-panel { position: sticky; top: 90px; background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--border); padding: 1.5rem; }
.filter-section { margin-bottom: 1.75rem; }
.filter-section:last-child { margin-bottom: 0; }
.filter-title { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-1); margin-bottom: 1rem; }
.filter-option { display: flex; align-items: center; justify-content: space-between; padding: .4rem 0; cursor: pointer; }
.filter-option label { display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--text-2); cursor: pointer; }
.filter-option input { accent-color: var(--red); }
.filter-count { font-size: .75rem; color: var(--text-3); }
.price-range { display: flex; align-items: center; gap: .5rem; width: 100%; }
.price-range input { flex: 1; min-width: 0; width: 0; padding: .5rem .5rem; border: 1px solid var(--border-md); border-radius: var(--radius-sm); font-size: .875rem; outline: none; background: rgba(255,255,255,0.04); color: var(--text-1); }
.price-range input:focus { border-color: var(--red); }

/* ====================== EMPTY STATES ====================== */
.empty-state { text-align: center; padding: 5rem 2rem; }
.empty-icon { font-size: 4rem; margin-bottom: 1.25rem; opacity: .2; }
.empty-title { font-size: 1.2rem; font-weight: 700; color: var(--text-1); margin-bottom: .6rem; }
.empty-desc { color: var(--text-3); font-size: .9rem; }

/* ====================== CHECKOUT ====================== */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-section { background: var(--bg-2); border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 1.5rem; overflow: hidden; }
.checkout-section-header { padding: 1.25rem 1.5rem; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--border); font-weight: 700; color: var(--text-1); display: flex; align-items: center; gap: .75rem; }
.checkout-section-body { padding: 1.5rem; }
.order-summary-item { display: flex; align-items: center; gap: .85rem; padding: .75rem 0; border-bottom: 1px solid var(--border); }
.order-summary-img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; border: 1px solid var(--border); }
.order-summary-name { flex: 1; font-size: .875rem; font-weight: 600; color: var(--text-1); }
.order-summary-qty { font-size: .8rem; color: var(--text-3); }
.order-summary-price { font-weight: 700; color: var(--text-1); font-size: .9rem; white-space: nowrap; }

/* ====================== MISC UTILITIES ====================== */
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--text-3); }
.text-primary  { color: var(--blue) !important; }
.text-accent   { color: var(--red) !important; }
.text-success  { color: var(--success) !important; }
.text-danger   { color: var(--danger) !important; }
.fw-bold   { font-weight: 700; }
.fw-medium { font-weight: 500; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; }  .mt-3 { margin-top: 1rem; }  .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 2rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 2rem; }
.p-3 { padding: 1rem; } .p-4 { padding: 1.5rem; }
.d-flex { display: flex; } .align-center { align-items: center; } .justify-between { justify-content: space-between; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; }
.w-100 { width: 100%; }
.rounded { border-radius: var(--radius); }
.img-fluid { max-width: 100%; height: auto; }
.cursor-pointer { cursor: pointer; }

/* ====================== GRADIENT TEXT ====================== */
.gradient-text {
  background: linear-gradient(90deg, var(--red) 0%, #ccaa6e 50%, var(--blue) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift { to { background-position: 200% center; } }

/* ====================== TOAST NOTIFICATIONS ====================== */
#toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9997; display: flex; flex-direction: column; gap: .75rem; pointer-events: none; }
.toast {
  background: var(--bg-2); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  font-size: .875rem; font-weight: 500;
  min-width: 280px; max-width: 380px;
  pointer-events: all;
  transform: translateX(120%);
  animation: slideInToast .35s forwards, slideOutToast .35s forwards 3s;
  border-left: 3px solid; color: var(--text-1);
}
.toast-success { border-color: var(--success); }
.toast-success .toast-icon { color: var(--success); }
.toast-error { border-color: var(--danger); }
.toast-error .toast-icon { color: var(--danger); }
@keyframes slideInToast { to { transform: translateX(0); } }
@keyframes slideOutToast { to { transform: translateX(120%); } }

/* ====================== LOADING ====================== */
.spinner { width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.2); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ====================== GOOGLE TRANSLATE — hide native toolbar ====================== */
.goog-te-banner-frame,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame { display: none !important; }
body { top: 0 !important; }
.skiptranslate > iframe { display: none !important; }
font[style*="vertical-align"] { vertical-align: inherit !important; }

/* ====================== HT / TTC TOGGLE ====================== */
.pmt {
  display: flex; align-items: center; gap: .45rem;
  padding: .32rem .6rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer; user-select: none;
  flex-shrink: 0;
  transition: border-color .18s ease;
}
.pmt:hover { border-color: var(--border-md); }
.pmt-opt {
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  color: var(--text-3);
  transition: color .2s ease;
}
.pmt-track {
  width: 30px; height: 16px; border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border-md);
  position: relative; flex-shrink: 0;
}
.pmt-thumb {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-2);
  position: absolute; top: 2px; left: 2px;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1), background .2s ease;
  pointer-events: none;
}
/* HT mode active */
.pmt[data-mode="ht"] .pmt-thumb     { transform: translateX(14px); background: var(--red); }
.pmt[data-mode="ht"] #pmtLabelHT   { color: var(--red); }
.pmt[data-mode="ht"] #pmtLabelTTC  { color: var(--text-3); }
/* TTC mode active */
.pmt[data-mode="ttc"] #pmtLabelTTC { color: var(--text-1); }
.pmt[data-mode="ttc"] #pmtLabelHT  { color: var(--text-3); }

/* ====================== LANGUAGE SWITCHER ====================== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}
.lang-trigger {
  display: flex; align-items: center; gap: .35rem;
  padding: .35rem .6rem;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-2);
  font-size: .78rem; font-weight: 700;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  letter-spacing: .04em;
}
.lang-trigger:hover { background: rgba(255,255,255,.1); color: var(--text-1); border-color: var(--border-md); }
.lang-chevron { transition: transform .2s ease; flex-shrink: 0; }
#langDropdown.open + * .lang-chevron,
.lang-trigger[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-dropdown {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  border-radius: 10px;
  padding: .35rem;
  min-width: 140px;
  z-index: 9999;
  box-shadow: 0 16px 40px rgba(0,0,0,.6);
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
}
.lang-dropdown.open {
  opacity: 1; pointer-events: auto;
  transform: translateY(0);
}
.lang-opt {
  display: flex; align-items: center; gap: .6rem;
  width: 100%; padding: .5rem .65rem;
  background: transparent; border: none;
  border-radius: 7px;
  color: var(--text-2); font-size: .83rem;
  cursor: pointer; text-align: left;
  transition: all .15s ease;
}
.lang-opt:hover { background: rgba(255,255,255,.07); color: var(--text-1); }
.lang-opt.active { color: var(--text-1); background: rgba(255,255,255,.05); }
.lang-opt.active .lang-flag { background: var(--red); color: #fff; border-color: var(--red); }
.lang-flag {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: .65rem; font-weight: 800;
  color: var(--text-2);
  letter-spacing: .03em;
  flex-shrink: 0;
}

/* ====================== CART DRAWER ====================== */
.cart-overlay {
  position: fixed; top: 90px; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity .38s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed; top: 90px; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  z-index: 1001;
  background: var(--bg-1);
  border-left: 1px solid var(--border-md);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .42s cubic-bezier(.22,.61,.36,1);
  overflow: hidden;
  box-shadow: -32px 0 80px rgba(0,0,0,.7);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; gap: .5rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-0);
}
.cart-drawer-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800;
  color: var(--text-1);
  letter-spacing: -.02em;
}
.cart-drawer-badge {
  background: var(--red);
  color: #fff; font-size: .68rem; font-weight: 700;
  padding: .12rem .45rem; border-radius: 999px;
  line-height: 1.5; flex-shrink: 0;
}
.cart-drawer-close {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .18s ease;
  flex-shrink: 0;
}
.cart-drawer-close:hover { background: rgba(255,255,255,.12); color: var(--text-1); transform: rotate(90deg); }

.cart-drawer-body {
  flex: 1; overflow-y: auto;
  padding: .5rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--border-md) transparent;
}
.cart-drawer-body::-webkit-scrollbar { width: 3px; }
.cart-drawer-body::-webkit-scrollbar-track { background: transparent; }
.cart-drawer-body::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 3px; }

/* ── Item ── */
.cdi {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  transition: background .15s ease;
}
.cdi:last-child { border-bottom: none; }
.cdi:hover { background: rgba(255,255,255,.02); }
.cdi-img {
  width: 68px; height: 68px; flex-shrink: 0;
  object-fit: cover; border-radius: 10px;
  border: 1px solid var(--border-md);
  background: var(--bg-2);
}
.cdi-info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: .3rem;
}
.cdi-name {
  font-size: .875rem; font-weight: 600; color: var(--text-1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.35;
}
.cdi-variant {
  display: block; font-size: .72rem; font-weight: 500;
  color: rgba(245,245,247,.45); margin-top: .1rem;
}
.cdi-unit { font-size: .75rem; color: var(--text-2); }
.cdi-row { display: flex; align-items: center; justify-content: space-between; margin-top: .25rem; }
.cdi-price {
  font-size: .9rem; font-weight: 700; color: var(--text-1);
  font-variant-numeric: tabular-nums;
}
.cdi-qty {
  display: flex; align-items: center;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-md);
  border-radius: 8px; overflow: hidden;
}
.cdi-qty button {
  width: 26px; height: 26px;
  background: transparent; border: none;
  color: var(--text-2); cursor: pointer;
  transition: all .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.cdi-qty button:hover { background: rgba(255,255,255,.1); color: var(--text-1); }
.cdi-qty button:disabled { opacity: .3; cursor: default; }
.cdi-qty-val {
  min-width: 26px; text-align: center;
  font-size: .8rem; font-weight: 700; color: var(--text-1);
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
  height: 26px; line-height: 26px;
  font-variant-numeric: tabular-nums;
}
.cdi-remove {
  align-self: flex-start; margin-top: .1rem; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 6px;
  background: transparent; border: 1px solid transparent;
  color: var(--text-3); cursor: pointer;
  transition: all .15s ease;
  display: flex; align-items: center; justify-content: center;
}
.cdi-remove:hover { background: rgba(184,150,90,.1); border-color: rgba(184,150,90,.25); color: var(--red); }

/* ── Empty / Guest / Loading ── */
.cart-drawer-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 320px; gap: .9rem; text-align: center; padding: 2rem;
}
.cart-drawer-state-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
}
.cart-drawer-state-title {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 800; color: var(--text-1);
}
.cart-drawer-state-sub { font-size: .82rem; color: var(--text-2); line-height: 1.5; }
.cart-drawer-loading {
  display: flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 200px; color: var(--text-2); font-size: .875rem;
}

/* ── Footer ── */
.cart-drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-0);
  flex-shrink: 0;
}
.cdf-line {
  display: flex; justify-content: space-between; align-items: center;
  padding: .3rem 0; font-size: .875rem; color: var(--text-2);
}
.cdf-line strong { color: var(--text-1); font-weight: 700; font-variant-numeric: tabular-nums; }
.cdf-divider { border: none; border-top: 1px solid var(--border); margin: .65rem 0; }
.cdf-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: .35rem 0; font-size: 1rem; font-weight: 800;
  color: var(--text-1); font-family: var(--font-display);
}
.cdf-total span:last-child { font-variant-numeric: tabular-nums; }
.cdf-shipping-hint {
  font-size: .76rem; color: var(--success);
  text-align: center; margin: .6rem 0 .4rem;
  padding: .4rem .75rem; border-radius: 6px;
  background: rgba(0,214,143,.07);
  border: 1px solid rgba(0,214,143,.15);
}
.cdf-actions { margin-top: .9rem; display: flex; flex-direction: column; gap: .45rem; }

/* ── Responsive ── */
@media (max-width: 480px) {
  .cart-drawer { width: 100vw; }
}

/* ====================== ACCOUNT EXTRAS ====================== */
.acct-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.5rem; }

/* ====================================================================
   MOBILE NAV DRAWER
   ==================================================================== */
.nav-hamburger {
  display: none; flex-shrink: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border-md);
  border-radius: 10px; cursor: pointer;
}
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text-1); border-radius: 2px;
  transition: all .25s cubic-bezier(.4,0,.2,1);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.7); backdrop-filter: blur(4px);
  z-index: 1090; transition: opacity .3s;
}
.mobile-nav-overlay.open { display: block; }

.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 100vw);
  background: var(--bg-1); border-left: 1px solid var(--border);
  z-index: 1095; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }

.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.mobile-nav-brand {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; letter-spacing: .04em; color: var(--text-1);
}
.mobile-nav-brand span { color: var(--red); }
.mobile-nav-close {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-2); transition: all .2s;
}
.mobile-nav-close:hover { background: rgba(184,150,90,.1); color: var(--red); }

.mobile-nav-search-wrap {
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.025);
}
.mobile-nav-search-wrap svg { color: var(--text-3); flex-shrink: 0; }
.mobile-nav-search-wrap input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-1); font-size: .88rem; font-family: var(--font-sans);
}
.mobile-nav-search-wrap input::placeholder { color: var(--text-3); }

.mobile-nav-section-lbl {
  padding: .85rem 1.25rem .3rem;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-3);
}
.mobile-nav-link {
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.25rem; font-size: .9rem; color: var(--text-2);
  border-bottom: 1px solid rgba(255,255,255,.035);
  transition: all .15s; min-height: 48px; text-decoration: none;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-1); background: rgba(255,255,255,.04); text-decoration: none;
}
.mobile-nav-link svg, .mobile-nav-link i { flex-shrink: 0; color: var(--text-3); width: 16px; }
.mobile-nav-link.red-link { color: var(--danger); }
.mobile-nav-link.red-link svg, .mobile-nav-link.red-link i { color: var(--danger); }

.mobile-nav-langs {
  display: flex; gap: .4rem; padding: .75rem 1.25rem; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.mobile-lang-btn {
  padding: .38rem .8rem; border-radius: 6px;
  background: rgba(255,255,255,.05); border: 1px solid var(--border);
  color: var(--text-2); font-size: .75rem; font-weight: 700;
  cursor: pointer; transition: all .15s;
}
.mobile-lang-btn.active, .mobile-lang-btn:hover {
  background: rgba(75,110,255,.1); border-color: rgba(75,110,255,.3); color: var(--blue);
}
.mobile-nav-pmt-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 1.25rem; border-bottom: 1px solid var(--border);
  font-size: .88rem; color: var(--text-2);
}

/* ====================================================================
   ADMIN SIDEBAR MOBILE OVERLAY
   ==================================================================== */
.admin-sidebar-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.65); backdrop-filter: blur(3px);
  z-index: 1099;
}
.admin-sidebar-overlay.open { display: block; }

/* ====================================================================
   RESPONSIVE BREAKPOINTS
   ==================================================================== */

/* ── 1200px : adjust spacing ── */
@media (max-width: 1200px) {
  .navbar-inner { gap: .6rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 1024px : Tablet ── */
@media (max-width: 1024px) {
  /* Hero */
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-image { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }

  /* Layouts */
  .shop-layout { grid-template-columns: 1fr; }
  .filters-panel { position: static; top: auto; }
  .account-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .pd-bottom-grid { grid-template-columns: 1fr !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Admin: shrink sidebar */
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }

  /* Container */
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* ── 768px : Mobile ── */
@media (max-width: 768px) {
  /* ── Navbar ── */
  .navbar-inner { height: 64px; padding: 0 1rem; gap: .5rem; }
  .navbar-search { display: none !important; }
  .navbar-nav { display: none !important; }
  .pmt { display: none !important; }
  .lang-switcher { display: none !important; }
  .nav-hamburger { display: flex; }

  /* Keep only cart icon + hide text buttons */
  .navbar-actions .btn-ghost,
  .navbar-actions .btn-accent,
  .navbar-actions .btn-sm { display: none !important; }
  .navbar-actions { gap: .35rem; }

  /* ── Container ── */
  .container { padding-left: 1rem; padding-right: 1rem; }

  /* ── Product detail ── */
  .product-detail { grid-template-columns: 1fr; }
  .gallery-thumbs { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .gallery-main img { max-height: 55vw; object-fit: contain; }

  /* ── Bottom grid ── */
  .pd-bottom-grid { grid-template-columns: 1fr !important; }

  /* ── Forms ── */
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .form-control, .form-select { font-size: 16px; } /* prevent iOS zoom */

  /* ── Footer ── */
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom-inner { flex-direction: column; gap: .75rem; text-align: center; }

  /* ── Admin sidebar: slide-in from left ── */
  .admin-sidebar {
    position: fixed; top: 0; left: 0; height: 100vh;
    width: 260px !important;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 1100;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0 !important; }
  .admin-header { padding: 0 1rem; }
  .admin-content { padding: 1rem; }
  .admin-user-name { display: none; }

  /* ── Admin tables ── */
  .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table td, .admin-table th { padding: .65rem .75rem; white-space: nowrap; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .stat-card { padding: 1rem; gap: .75rem; }
  .stat-value { font-size: 1.35rem; }

  /* ── Account ── */
  .account-layout { grid-template-columns: 1fr; gap: 1rem; }
  .account-sidebar { position: static; }
  .account-nav-header { display: none; }
  .account-nav { display: flex; flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: .3rem; padding: .6rem .75rem; border-radius: var(--radius); border: 1px solid var(--border); -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .account-nav::-webkit-scrollbar { display: none; }
  .account-nav-link { padding: .42rem .85rem; border-radius: 50px; border-left: none !important; border: 1px solid transparent; font-size: .8rem; white-space: nowrap; flex-shrink: 0; }
  .account-nav-link:hover, .account-nav-link.active { border-left-color: transparent !important; border-color: var(--red) !important; }

  /* ── Account stats grid ── */
  .acct-stats-grid { grid-template-columns: repeat(3, 1fr) !important; gap: .65rem !important; }
  .acct-stats-grid .card { padding: 1rem !important; }
  .acct-stats-grid .card div:first-child { font-size: 1.5rem !important; margin-bottom: .2rem !important; }
  .acct-stats-grid .card div:nth-child(2) { font-size: 1.2rem !important; }

  /* ── Checkout steps ── */
  .checkout-steps-label { display: none; }

  /* ── Ticket messages ── */
  .ticket-msg-bubble { max-width: calc(100% - 56px) !important; min-width: 0 !important; word-break: break-word; overflow-wrap: break-word; }

  /* ── Cart ── */
  .cart-table { font-size: .82rem; }
  .cart-table th:nth-child(3),
  .cart-table td:nth-child(3) { display: none; }

  /* ── Checkout ── */
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-summary { order: -1; }

  /* ── Products grid ── */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .product-card-image { aspect-ratio: 1 / 1; }

  /* ── Sections ── */
  .section-header { margin-bottom: 1.5rem; }

  /* ── Loyalty cards ── */
  .loy-grid { grid-template-columns: 1fr !important; }

  /* ── Stock admin ── */
  .sk-stats { grid-template-columns: repeat(2, 1fr) !important; }
  .sk-table th:nth-child(3), .sk-table td:nth-child(3) { display: none; }

  /* ── Hero section ── */
  .hero { min-height: auto; padding: 3rem 0 2rem; }

  /* ── Toast ── */
  #toast-container { bottom: .75rem; right: .75rem; left: .75rem; align-items: stretch; }
  .toast { min-width: 0; max-width: 100%; }

  /* ── Inline grid overrides ── */
  .admin-content [class*="grid"]:not(.stats-grid):not(.products-grid) {
    grid-template-columns: 1fr !important;
  }
}

/* ── 480px : Small mobile ── */
@media (max-width: 480px) {
  /* Navbar */
  .navbar-inner { height: 60px; padding: 0 .85rem; }
  .navbar-brand-sub { display: none; }

  /* Cart drawer */
  .cart-drawer { width: 100vw; border-radius: 0; }

  /* Stats */
  .stats-grid { grid-template-columns: 1fr !important; }
  .sk-stats { grid-template-columns: 1fr !important; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
  .product-card { border-radius: 10px; }
  .product-card-title { font-size: .82rem; }
  .product-card-price { font-size: .95rem; }

  /* Categories */
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }

  /* Account nav: scroll horizontally */
  .account-nav { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .5rem; }

  /* Admin */
  .admin-content { padding: .75rem; }
  .admin-header-title { font-size: .875rem; }
  .stat-card { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; }

  /* Buttons */
  .btn-lg { padding: .75rem 1.25rem; font-size: .875rem; }
  .add-to-cart-row { flex-wrap: wrap; gap: .5rem; }
  .add-to-cart-row .btn { flex: 1; min-width: 0; }

  /* Product detail */
  .vp-opts { gap: .35rem; }
  .vp-btn { padding: .38rem .75rem; font-size: .8rem; }

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

  /* Footer */
  .footer-bottom { padding: 1rem; font-size: .75rem; }

  /* Loyalty */
  .loy-grid { grid-template-columns: 1fr !important; }
  .loy-card { padding: 1.25rem !important; }

  /* Inline single column */
  .admin-content [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
