/* ============================================================
   DESIGN SYSTEM
   ============================================================ */
:root {
  --bg: #0a0b0d;
  --bg-2: #111318;
  --panel: #16181d;
  --panel-hover: #1c1e24;
  --line: #24262d;
  --line-light: #2e3038;
  --ink: #f3f4f2;
  --ink-2: #cdd0d5;
  --muted: #8a8d95;
  --accent: #174081;
  --accent-dim: rgba(23,64,129,.12);
  --accent-ink: #ffffff;
  --success: #34d399;
  --success-dim: rgba(52,211,153,.12);
  --warning: #fbbf24;
  --warning-dim: rgba(251,191,36,.12);
  --danger: #ff5a3c;
  --danger-dim: rgba(255,90,60,.12);
  --info: #60a5fa;
  --info-dim: rgba(96,165,250,.12);
  --header-h: 64px;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,.4);
  --shadow-lg: 0 24px 64px rgba(0,0,0,.55);
  --cart-w: 420px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
.cond { font-family: "Saira Condensed", sans-serif; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ============================================================
   LOGIN SCREEN (REDESIGNED)
   ============================================================ */
#loginScreen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr;
  background: var(--bg);
  padding: 0;
}

/* Left Side: Showcase Panel */
.login-showcase {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 80px;
  position: relative;
  border-right: 1px solid var(--line);
  overflow: hidden;
  z-index: 1;
}

.showcase-content {
  margin: auto 0;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

/* Slideshow overlay gradient */
.login-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 11, 13, 0.98) 15%, rgba(10, 11, 13, 0.8) 100%);
  z-index: -1;
  pointer-events: none;
}

/* Animate background glow */
.login-showcase::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: bgDrift 20s infinite alternate ease-in-out;
}

@keyframes bgDrift {
  0% { transform: translate(-5%, -5%) rotate(0deg); }
  100% { transform: translate(5%, 5%) rotate(10deg); }
}

/* Showcase Background Slideshow */
.showcase-bg-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #0a0b0d;
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlideshow 24s infinite ease-in-out;
}

.showcase-slide:nth-child(1) {
  background-image: url('assets/img/product/palladiumgold_2026_1.jpg');
  animation-delay: 0s;
}

.showcase-slide:nth-child(2) {
  background-image: url('assets/img/product/atrium_2026_1.jpg');
  animation-delay: 6s;
}

.showcase-slide:nth-child(3) {
  background-image: url('assets/img/product/wave_2026_1.jpg');
  animation-delay: 12s;
}

.showcase-slide:nth-child(4) {
  background-image: url('assets/img/product/bahia_2026_1.jpg');
  animation-delay: 18s;
}

@keyframes fadeSlideshow {
  0% { opacity: 0; transform: scale(1.03); }
  4% { opacity: 1; }
  21% { opacity: 1; }
  25% { opacity: 0; transform: scale(1.0); }
  100% { opacity: 0; }
}

.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--info);
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: 999px;
  padding: 4px 14px;
  width: fit-content;
  text-transform: uppercase;
}

.showcase-badge .pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--info);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--info);
  animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 12px var(--info); }
  100% { transform: scale(0.95); opacity: 0.5; }
}

.showcase-title {
  font-family: "Saira Condensed";
  font-weight: 800;
  font-size: clamp(36px, 4.5vw, 52px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
  margin-top: 24px;
}

.showcase-title span {
  background: linear-gradient(90deg, #ffffff 0%, var(--info) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.showcase-desc {
  font-size: 15px;
  color: var(--muted);
  max-width: 520px;
  margin-top: 16px;
  line-height: 1.6;
}

/* Confidential notice box */
.login-confidential-box {
  background: rgba(22, 24, 29, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 90, 60, 0.12);
  border-radius: var(--r);
  padding: 24px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-confidential-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--danger);
}

.confidential-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--danger);
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}

.confidential-text {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.55;
}

.showcase-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.showcase-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.showcase-feature svg {
  color: var(--info);
  width: 15px;
  height: 15px;
}

/* Right Side: Form Container */
.login-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  background: var(--bg);
  position: relative;
  background-image: radial-gradient(rgba(96, 165, 250, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

.login-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.login-card-glow {
  position: absolute;
  top: -12%;
  left: -12%;
  width: 124%;
  height: 124%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.04) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  transition: transform 0.6s ease, background 0.6s ease;
}

.login-card-wrapper:hover .login-card-glow {
  transform: scale(1.05);
  background: radial-gradient(circle, rgba(96, 165, 250, 0.07) 0%, transparent 70%);
}

.login-card {
  position: relative;
  z-index: 2;
  background: rgba(22, 24, 29, 0.55);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 36px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.03);
  animation: loginIn .6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes loginIn {
  from { opacity: 0; transform: translateY(24px) scale(.98); }
  to { opacity: 1; transform: none; }
}

.login-logo { text-align: center; margin-bottom: 32px; }

.login-logo img {
  height: 36px; margin: 0 auto 12px;
  filter: brightness(0) invert(1);
}

.login-logo .login-badge {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--info);
  border: 1px solid rgba(96, 165, 250, 0.35); border-radius: 999px; padding: 2px 10px;
  display: inline-block;
}

.login-logo h2 {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 24px;
  text-transform: uppercase; letter-spacing: .06em; margin-top: 16px;
  color: var(--ink);
}

.login-logo p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block; font-family: "Saira Condensed"; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: 11px;
  color: var(--muted); margin-bottom: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  width: 16px;
  height: 16px;
  pointer-events: none;
  transition: color 0.25s ease;
}

.form-input {
  width: 100%; 
  background: rgba(10, 11, 13, 0.6); 
  border: 1px solid var(--line);
  border-radius: var(--r-sm); 
  padding: 12px 16px 12px 42px; 
  color: var(--ink);
  font-size: 14px; 
  transition: all 0.25s ease; 
  outline: none;
}

.form-input:focus { 
  border-color: var(--info); 
  background: rgba(10, 11, 13, 0.85);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.12); 
}

.form-input:focus + .input-icon {
  color: var(--info);
}

.form-input::placeholder { color: var(--muted); opacity: 0.6; }

.login-btn {
  position: relative;
  width: 100%; 
  padding: 13px; 
  background: var(--accent); 
  color: var(--accent-ink);
  border: none; 
  border-radius: var(--r-sm); 
  font-family: "Saira Condensed";
  font-weight: 700; 
  font-size: 15px; 
  text-transform: uppercase; 
  letter-spacing: .08em;
  transition: all 0.25s ease; 
  margin-top: 6px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(23, 64, 129, 0.2);
}

.login-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: 0.5s;
}

.login-btn:hover { 
  transform: translateY(-1.5px); 
  background: #1d4d98;
  box-shadow: 0 8px 20px rgba(23, 64, 129, 0.35); 
}

.login-btn:hover::after {
  left: 100%;
  transition: all 0.8s ease;
}

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

.login-error {
  color: var(--danger); font-size: 12.5px; text-align: center;
  margin-top: 14px; min-height: 20px;
}

.mobile-confidential-notice {
  display: none;
  background: rgba(255, 90, 60, 0.05);
  border: 1px dashed rgba(255, 90, 60, 0.2);
  border-radius: var(--r-sm);
  padding: 12px;
  margin-top: 20px;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
}

.login-footer-security {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 20px;
  text-align: center;
}

.login-footer-security svg {
  width: 12px;
  height: 12px;
  color: var(--success);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  #loginScreen {
    grid-template-columns: 1fr;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background:
      radial-gradient(600px 400px at 50% 10%, rgba(96,165,250,.06), transparent 60%),
      radial-gradient(400px 300px at 50% 90%, rgba(96,165,250,.04), transparent 60%),
      var(--bg);
  }
  .login-showcase {
    display: none;
  }
  .login-form-container {
    padding: 0;
    width: 100%;
    background: transparent;
  }
  .login-card {
    padding: 36px 24px;
    border-radius: 20px;
  }
  .mobile-confidential-notice {
    display: block;
  }
}

/* ============================================================
   APP SHELL
   ============================================================ */
#appShell { display: none; min-height: 100vh; flex-direction: column; }
#appShell.active { display: flex; }

/* ============================================================
   HEADER
   ============================================================ */
.app-header {
  height: var(--header-h);
  border-bottom: 1px solid var(--line);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(10,11,13,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 80;
}
.header-logo {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.header-logo img {
  height: 28px; filter: brightness(0) invert(1);
}
.header-logo .h-badge {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 10px;
  letter-spacing: .18em; color: var(--accent); border: 1px solid rgba(200,255,61,.35);
  border-radius: 999px; padding: 2px 10px; text-transform: uppercase;
  white-space: nowrap;
}
.header-nav {
  display: flex; gap: 4px; margin-left: 24px;
}
.header-nav-btn {
  background: none; border: none; color: var(--muted);
  font-family: "Saira Condensed"; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 8px 18px; border-radius: var(--r-sm); transition: .18s;
  position: relative;
}
.header-nav-btn:hover { color: var(--ink); background: rgba(255,255,255,.04); }
.header-nav-btn.active {
  color: var(--accent); background: var(--accent-dim);
}
.header-nav-btn.active::after {
  content: ''; position: absolute; bottom: -1px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 2px; background: var(--accent); border-radius: 2px;
}
.header-right {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
}
.header-welcome {
  font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px;
}
.header-welcome strong {
  color: var(--ink); font-family: "Saira Condensed"; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.header-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  color: var(--accent-ink); display: flex; align-items: center; justify-content: center;
  font-family: "Saira Condensed"; font-weight: 800; font-size: 14px; flex-shrink: 0;
}
.cart-btn {
  position: relative; background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; transition: .18s;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -6px; right: -6px;
  background: var(--accent); color: var(--accent-ink);
  font-family: "Saira Condensed"; font-weight: 800; font-size: 11px;
  min-width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 5px; border: 2px solid var(--bg);
  animation: badgePop .3s ease;
}
@keyframes badgePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.logout-btn {
  background: none; border: 1px solid var(--line); color: var(--muted);
  width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; transition: .15s;
}
.logout-btn:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-dim); }
.logout-btn svg { width: 18px; height: 18px; }

/* Mobile menu */
.mobile-burger {
  display: none; background: none; border: none; color: var(--ink); padding: 4px;
}
.mobile-burger svg { width: 24px; height: 24px; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
.main-content {
  flex: 1; padding: 28px 28px 60px;
  max-width: 1440px; margin: 0 auto; width: 100%;
}
.view { display: none; animation: fadeIn .35s ease; }
.view.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   SHOP VIEW — FILTER BAR
   ============================================================ */
.shop-toolbar {
  display: flex; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap;
}
.search-bar {
  display: flex; align-items: center; gap: 8px; background: var(--panel);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
  flex: 1; min-width: 220px; max-width: 400px; transition: .2s;
}
.search-bar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-bar svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.search-bar input {
  background: none; border: none; color: var(--ink); font-size: 14px;
  outline: none; width: 100%;
}
.search-bar input::placeholder { color: var(--muted); }
.product-count {
  color: var(--muted); font-size: 13px; margin-left: auto; white-space: nowrap;
  font-family: "Saira Condensed"; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}

/* Category chips */
.cat-chips {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px;
}
.cat-chip {
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  padding: 7px 18px; border-radius: 999px; font-family: "Saira Condensed";
  font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  transition: .18s; cursor: pointer; white-space: nowrap;
}
.cat-chip:hover { border-color: var(--muted); color: var(--ink); }
.cat-chip.active {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.prod-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; transition: .25s; display: flex; flex-direction: column;
}
.prod-card:hover {
  transform: translateY(-4px); border-color: var(--line-light);
  box-shadow: var(--shadow);
}
.prod-img {
  aspect-ratio: 1/1; background: #fff; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.prod-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 16px;
  transition: transform .4s ease;
}
.prod-card:hover .prod-img img { transform: scale(1.05); }
.prod-stock-tag {
  position: absolute; top: 10px; right: 10px;
  font-family: "Saira Condensed"; font-weight: 700; font-size: 11px;
  text-transform: uppercase; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px;
  display: flex; align-items: center; gap: 4px;
}
.prod-stock-tag::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor;
}
.stock-ok { background: var(--success-dim); color: var(--success); }
.stock-low { background: var(--warning-dim); color: var(--warning); }
.stock-danger { background: var(--danger-dim); color: var(--danger); }
.prod-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.prod-cat {
  font-family: "Saira Condensed"; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .12em; color: var(--accent);
  margin-bottom: 4px;
}
.prod-name {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 17px;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px;
  line-height: 1.2;
}
.prod-price {
  font-family: "Saira Condensed"; font-weight: 800; font-size: 18px;
  margin-bottom: 14px;
}
.prod-footer {
  display: flex; align-items: center; gap: 8px; margin-top: auto;
}
.qty-selector {
  display: flex; align-items: center; border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden; flex-shrink: 0;
}
.qty-selector button {
  width: 32px; height: 32px; background: var(--bg-2); border: none;
  color: var(--ink); font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; transition: .12s;
}
.qty-selector button:hover { background: var(--panel-hover); color: var(--accent); }
.qty-selector input {
  width: 36px; text-align: center; background: var(--bg); border: none;
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  color: var(--ink); font-family: "Saira Condensed"; font-weight: 700;
  font-size: 14px; outline: none; height: 32px;
}
.add-cart-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink); border: none;
  border-radius: var(--r-sm); padding: 8px 12px;
  font-family: "Saira Condensed"; font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; transition: .18s;
}
.add-cart-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(200,255,61,.2); }
.add-cart-btn svg { width: 14px; height: 14px; }

/* ============================================================
   CART PANEL (slide-out right)
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 90; opacity: 0; visibility: hidden; transition: .3s;
}
.cart-overlay.active { opacity: 1; visibility: visible; }

.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: var(--cart-w); max-width: 100vw;
  background: var(--bg-2); border-left: 1px solid var(--line);
  z-index: 95; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -12px 0 40px rgba(0,0,0,.4);
}
.cart-panel.active { transform: none; }

.cart-header {
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-header h3 {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 20px;
  text-transform: uppercase; letter-spacing: .06em;
  display: flex; align-items: center; gap: 10px;
}
.cart-header h3 svg { width: 22px; height: 22px; color: var(--accent); }
.cart-header .cart-count-label {
  font-family: "Saira Condensed"; font-weight: 600; font-size: 13px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em;
}
.cart-close {
  background: none; border: none; color: var(--muted); font-size: 24px;
  width: 36px; height: 36px; border-radius: var(--r-sm); display: flex;
  align-items: center; justify-content: center; transition: .15s;
}
.cart-close:hover { color: var(--ink); background: rgba(255,255,255,.06); }

.cart-items {
  flex: 1; overflow-y: auto; padding: 16px 24px;
}
.cart-item {
  display: flex; gap: 14px; padding: 16px 0;
  border-bottom: 1px solid var(--line);
  animation: cartItemIn .3s ease;
}
@keyframes cartItemIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: none; }
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 56px; height: 56px; border-radius: 8px; background: #fff;
  overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-item-price { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.cart-item-controls {
  display: flex; align-items: center; gap: 10px;
}
.cart-qty-btn {
  width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--panel); color: var(--ink); display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 700; transition: .12s;
}
.cart-qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-item-qty {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 15px;
  min-width: 20px; text-align: center;
}
.cart-item-total {
  margin-left: auto; font-family: "Saira Condensed"; font-weight: 700;
  font-size: 14px; white-space: nowrap;
}
.cart-item-remove {
  background: none; border: none; color: var(--muted); padding: 4px;
  border-radius: 4px; transition: .12s; flex-shrink: 0; align-self: flex-start;
}
.cart-item-remove:hover { color: var(--danger); }
.cart-item-remove svg { width: 16px; height: 16px; }

/* Cart empty state */
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; height: 100%; color: var(--muted); text-align: center;
  padding: 40px;
}
.cart-empty svg { width: 48px; height: 48px; opacity: .3; margin-bottom: 16px; }
.cart-empty h4 {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 16px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2);
  margin-bottom: 6px;
}
.cart-empty p { font-size: 13px; }

/* Cart footer */
.cart-footer {
  padding: 20px 24px; border-top: 1px solid var(--line);
  background: var(--panel);
}
.cart-notes {
  width: 100%; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 10px 14px; color: var(--ink);
  font-size: 13px; outline: none; resize: none; min-height: 56px;
  margin-bottom: 14px; transition: .2s;
}
.cart-notes:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.cart-notes::placeholder { color: var(--muted); }
.cart-totals {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.cart-totals-label {
  font-family: "Saira Condensed"; font-weight: 600; font-size: 14px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
.cart-totals-value {
  font-family: "Saira Condensed"; font-weight: 800; font-size: 24px;
  color: var(--accent);
}
.place-order-btn {
  width: 100%; padding: 14px; background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: var(--r-sm); font-family: "Saira Condensed";
  font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .1em;
  transition: .2s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.place-order-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(200,255,61,.25); }
.place-order-btn:disabled { opacity: .4; cursor: not-allowed; }
.place-order-btn svg { width: 18px; height: 18px; }

/* ============================================================
   ORDER SUCCESS MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  z-index: 200; display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  width: 100%; max-width: 480px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); animation: modalIn .4s ease;
  text-align: center; padding: 48px 40px;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-success-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--success-dim); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: successPop .5s ease .1s both;
}
@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.modal-success-icon svg { width: 36px; height: 36px; }
.modal h2 {
  font-family: "Saira Condensed"; font-weight: 800; font-size: 26px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.modal .order-id-display {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 20px;
  color: var(--accent); margin-bottom: 12px;
}
.modal p { color: var(--muted); font-size: 14px; margin-bottom: 24px; line-height: 1.6; }
.modal-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; background: var(--accent); color: var(--accent-ink);
  border: none; border-radius: var(--r-sm); font-family: "Saira Condensed";
  font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
  transition: .18s;
}
.modal-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(200,255,61,.2); }

/* ============================================================
   MY ORDERS VIEW
   ============================================================ */
.orders-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
}
.orders-header h2 {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 22px;
  text-transform: uppercase; letter-spacing: .04em;
}
.orders-header h2 span { color: var(--accent); }
.order-count {
  font-size: 13px; color: var(--muted); font-family: "Saira Condensed";
  font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}

.orders-list { display: flex; flex-direction: column; gap: 12px; }
.order-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 20px 24px; transition: .2s; cursor: default;
}
.order-card:hover { border-color: var(--line-light); }
.order-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px; gap: 12px; flex-wrap: wrap;
}
.order-card-id {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 18px;
  color: var(--info); letter-spacing: .02em;
}
.order-card-date { font-size: 13px; color: var(--muted); }
.order-badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px;
  border-radius: 999px; font-family: "Saira Condensed"; font-weight: 600;
  font-size: 12px; text-transform: uppercase; letter-spacing: .08em;
}
.order-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.badge-pending { background: var(--warning-dim); color: var(--warning); }
.badge-confirmed { background: var(--info-dim); color: var(--info); }
.badge-awaiting-payment { background: var(--warning-dim); color: var(--warning); }
.badge-paid { background: var(--success-dim); color: var(--success); }
.badge-ready-to-ship { background: var(--accent-dim); color: var(--accent); }
.badge-packed { background: var(--accent-dim); color: var(--accent); }
.badge-shipped { background: var(--info-dim); color: var(--info); }
.badge-delivered { background: var(--success-dim); color: var(--success); }
.badge-cancelled { background: var(--danger-dim); color: var(--danger); }

.order-card-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
}
.order-meta-item {
  display: flex; flex-direction: column;
}
.order-meta-label {
  font-family: "Saira Condensed"; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.order-meta-val {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 16px;
}

/* Order detail expand */
.order-items-detail {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line);
  display: none;
}
.order-card.expanded .order-items-detail { display: block; }
.order-detail-row {
  display: flex; align-items: center; gap: 12px; padding: 8px 0;
  border-bottom: 1px solid rgba(36,38,45,.6);
  font-size: 14px;
}
.order-detail-row:last-child { border-bottom: none; }
.order-detail-thumb {
  width: 36px; height: 36px; border-radius: 6px; background: #fff;
  overflow: hidden; flex-shrink: 0;
}
.order-detail-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 2px; }
.order-detail-name {
  flex: 1; font-family: "Saira Condensed"; font-weight: 600; font-size: 14px;
  text-transform: uppercase;
}
.order-detail-qty { color: var(--muted); font-size: 13px; min-width: 50px; }
.order-detail-total {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 14px;
  min-width: 100px; text-align: right;
}
.order-toggle-btn {
  background: none; border: none; color: var(--accent);
  font-family: "Saira Condensed"; font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .08em; padding: 4px 0;
  margin-top: 8px; transition: .15s; cursor: pointer;
}
.order-toggle-btn:hover { text-decoration: underline; }
.order-notes {
  margin-top: 10px; padding: 10px 14px; background: var(--bg);
  border-radius: var(--r-sm); font-size: 13px; color: var(--ink-2);
  border-left: 3px solid var(--accent);
}
.order-notes-label {
  font-family: "Saira Condensed"; font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
  margin-bottom: 2px;
}

/* Empty state */
.empty-state {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.empty-state svg { width: 56px; height: 56px; margin-bottom: 16px; opacity: .3; }
.empty-state h4 {
  font-family: "Saira Condensed"; font-weight: 700; font-size: 18px;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2);
  margin-bottom: 8px;
}
.empty-state p { font-size: 14px; max-width: 360px; margin: 0 auto; }

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  display: flex; flex-direction: column-reverse; gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r);
  padding: 14px 20px; min-width: 280px; max-width: 400px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: toastIn .35s ease; pointer-events: auto;
}
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } }
.toast.out { animation: toastOut .25s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }
.toast-icon { flex-shrink: 0; }
.toast-icon svg { width: 20px; height: 20px; }
.toast-msg { font-size: 14px; flex: 1; }
.toast-close {
  background: none; border: none; color: var(--muted); font-size: 18px;
  padding: 2px; cursor: pointer; transition: .12s;
}
.toast-close:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .app-header { padding: 0 16px; gap: 10px; }
  .header-nav { margin-left: 8px; }
  .header-nav-btn { padding: 6px 12px; font-size: 13px; }
  .header-welcome { display: none; }
  .main-content { padding: 20px 16px 60px; }
  .prod-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .cart-panel { width: 100vw; }
  .search-bar { max-width: none; }
  .order-card { padding: 16px; }
}
@media (max-width: 480px) {
  .header-logo .h-badge { display: none; }
  .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prod-name { font-size: 14px; }
  .prod-price { font-size: 16px; }
  .prod-footer { flex-direction: column; }
  .add-cart-btn { width: 100%; }
  .cat-chips { gap: 6px; }
  .cat-chip { padding: 5px 12px; font-size: 12px; }
}

/* ============================================================
   WHOLESALE ORDER & FLOATING BOTTOM BAR
   ============================================================ */
.sheet-container {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: 15px;
}
.sheet-header {
  display: grid;
  grid-template-columns: 60px 100px 2fr 120px 130px 130px 130px;
  padding: 14px 20px;
  background: var(--bg-2);
  border-bottom: 2px solid var(--line);
  font-family: "Saira Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.sheet-row {
  display: grid;
  grid-template-columns: 60px 100px 2fr 120px 130px 130px 130px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background .15s, border-color .15s;
}
.sheet-row:last-child {
  border-bottom: none;
}
.sheet-row:hover {
  background: rgba(255, 255, 255, .015);
}
.sheet-row.has-qty {
  background: rgba(200, 255, 61, .02);
  border-color: rgba(200, 255, 61, .2);
}
.sheet-thumb {
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sheet-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.sheet-sku {
  font-family: monospace;
  font-size: 13px;
  color: var(--muted);
}
.sheet-product-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet-name {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sheet-cat {
  font-family: "Saira Condensed";
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}
.sheet-stock-col {
  display: flex;
  align-items: center;
}
.sheet-stock-badge {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 2px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.sheet-stock-badge::before {
  content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor;
}
.sheet-prices-col {
  display: contents;
}
.sheet-thumb {
  cursor: zoom-in;
  position: relative;
}
.sheet-thumb::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .15s ease;
  border-radius: 6px;
}
.sheet-thumb:hover::after {
  opacity: 1;
}
.rrp-label {
  display: none;
}
.sheet-price-ws {
  font-family: "Saira Condensed";
  font-weight: 800;
  font-size: 16px;
  color: var(--accent);
}
.sheet-price-rrp {
  font-family: "Saira Condensed";
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}
.sheet-qty-col {
  display: flex;
  align-items: center;
  gap: 2px;
}
.sheet-qty-selector {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--bg);
}
.sheet-qty-selector button {
  width: 28px;
  height: 28px;
  background: var(--panel);
  border: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .1s;
}
.sheet-qty-selector button:hover {
  background: var(--line);
  color: var(--accent);
}
.sheet-qty-selector input {
  width: 38px;
  height: 28px;
  text-align: center;
  background: none;
  border: none;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  outline: none;
}

/* Wholesale Floating Bottom Bar */
.wholesale-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(150px);
  width: calc(100% - 48px);
  max-width: 800px;
  background: var(--panel);
  border: 1px solid var(--accent);
  border-radius: var(--r);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(0,0,0,.6);
  z-index: 85;
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}
.wholesale-bar.active {
  transform: translateX(-50%) translateY(0);
}
.wb-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wb-count {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.wb-divider {
  color: var(--line);
  font-size: 14px;
}
.wb-total {
  font-family: "Saira Condensed";
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
}
.wb-btn {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 8px 18px;
  border-radius: var(--r-sm);
  font-family: "Saira Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: .15s;
}
.wb-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(200, 255, 61, .25);
}
.wb-btn svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .sheet-header {
    grid-template-columns: 50px 80px 2fr 115px 100px 100px 110px;
    padding: 12px 14px;
  }
  .sheet-row {
    grid-template-columns: 50px 80px 2fr 115px 100px 100px 110px;
    padding: 10px 14px;
  }
}

@media (max-width: 768px) {
  .sheet-header {
    display: none;
  }
  .sheet-row {
    grid-template-columns: 50px 1fr 110px;
    grid-template-areas: 
      "thumb info qty"
      "thumb prices qty";
    gap: 6px 14px;
    padding: 12px 16px;
  }
  .sheet-thumb {
    grid-area: thumb;
  }
  .sheet-product-col {
    grid-area: info;
  }
  .sheet-prices-col {
    grid-area: prices;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 10px;
    align-items: baseline;
  }
  .sheet-qty-col {
    grid-area: qty;
    justify-self: end;
  }
  .sheet-sku, .sheet-stock-col {
    display: none;
  }
  .rrp-label {
    display: inline;
  }
}

/* B2B Permanent Sidebar Cart Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 28px;
  align-items: start;
}
.shop-sidebar-side {
  position: sticky;
  top: 88px;
}
.side-cart-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
}
.side-cart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.side-cart-header h3 {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.side-cart-header svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
}
.side-cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 16px;
  max-height: 250px;
}
.side-cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}
.side-cart-item:last-child {
  border-bottom: none;
}
.side-cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 180px;
}
.side-cart-item-name {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.side-cart-item-details {
  font-size: 11px;
  color: var(--muted);
}
.side-cart-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
}
.side-cart-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-cart-qty-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.side-cart-qty-val {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  min-width: 18px;
  text-align: center;
}
.side-cart-footer {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.side-cart-notes {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink);
  padding: 8px 12px;
  font-size: 12px;
  outline: none;
  resize: none;
  margin-bottom: 12px;
  font-family: inherit;
}
.side-totals-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.side-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.side-total-row span:last-child {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.side-total-row.highlight-row {
  border-top: 1px solid var(--line);
  padding-top: 6px;
  margin-top: 2px;
}
.side-total-row .val-ws {
  color: var(--accent) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.side-total-row .val-profit {
  color: var(--success) !important;
  font-size: 14px !important;
}
.side-place-order-btn {
  width: 100%;
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  padding: 12px;
  border-radius: var(--r-sm);
  font-family: "Saira Condensed";
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: .15s;
}
.side-place-order-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(23,64,129,.25);
}
.side-place-order-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 992px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar-side {
    display: none;
  }
}

/* ============================================================
   RECOMMENDED STARTER PACK CARD & DETAILS
   ============================================================ */
.starter-pack-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.starter-pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--info) 100%);
}
.starter-pack-card:hover {
  border-color: var(--line-light);
  box-shadow: var(--shadow-lg);
}
.starter-pack-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  padding-right: 36px;
}
.starter-pack-header-text {
  flex: 1;
}
.starter-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--accent-dim);
  color: var(--accent);
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}
.starter-pack-header h3 {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 4px;
}
.starter-pack-header p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
}
.starter-pack-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.starter-btn-apply {
  background: var(--accent);
  color: var(--accent-ink);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  outline: none;
}
.starter-btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-dim);
}
.starter-btn-details {
  background: var(--panel-hover);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s, background 0.2s;
  cursor: pointer;
  outline: none;
}
.starter-btn-details:hover {
  border-color: var(--muted);
  background: var(--line);
}
.starter-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.starter-close-btn:hover {
  background: var(--panel-hover);
  color: var(--ink);
  border-color: var(--muted);
  transform: scale(1.05);
}
.starter-close-btn svg {
  width: 14px;
  height: 14px;
}
.starter-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.metric-box {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-label {
  font-family: "Saira Condensed";
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.metric-val {
  font-family: "Saira Condensed";
  font-weight: 800;
  font-size: 18px;
}
.starter-details-drawer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  animation: slideDown 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.starter-drawer-title {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.starter-details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
}
.starter-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 8px 12px;
}
.starter-detail-item:hover {
  border-color: var(--line-light);
}
.starter-detail-thumb {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.starter-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.starter-detail-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.starter-detail-name {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.starter-detail-sub {
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.starter-detail-qty {
  font-family: "Saira Condensed";
  font-weight: 800;
  font-size: 13px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--accent);
  flex-shrink: 0;
}
.starter-detail-status {
  font-family: "Saira Condensed";
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.starter-status-ok { background: rgba(52, 211, 153, 0.1); color: var(--success); }
.starter-status-low { background: rgba(251, 191, 36, 0.1); color: var(--warning); }
.starter-status-none { background: rgba(255, 90, 60, 0.1); color: var(--danger); }

@media (max-width: 768px) {
  .starter-pack-header {
    flex-direction: column;
    align-items: stretch;
  }
  .starter-pack-actions {
    margin-top: 10px;
  }
  .starter-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .starter-details-list {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CLUB RESOURCES & MEDIA KIT
   ============================================================ */
.assets-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.assets-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.assets-header-text h2 {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 800;
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
  line-height: 1.2;
}
.assets-header-text h2 span {
  color: var(--info);
}
.assets-header-text p {
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 4px;
  max-width: 700px;
}
.assets-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(22, 24, 29, 0.4);
  border: 1px solid var(--line);
  padding: 16px 20px;
  border-radius: var(--r);
  backdrop-filter: blur(10px);
}
.assets-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  width: 100%;
  max-width: 320px;
  transition: all .2s ease;
}
.assets-search-bar:focus-within {
  border-color: var(--info);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
}
.assets-search-bar svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  flex-shrink: 0;
}
.assets-search-bar input {
  background: none;
  border: none;
  color: var(--ink);
  font-size: 13px;
  outline: none;
  width: 100%;
}
.assets-search-bar input::placeholder {
  color: var(--muted);
}
.assets-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.assets-chip {
  background: var(--bg-2);
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all .2s ease;
  outline: none;
}
.assets-chip:hover {
  color: var(--ink);
  border-color: var(--muted);
  background: var(--panel-hover);
}
.assets-chip.active {
  background: var(--info-dim);
  color: var(--info);
  border-color: var(--info);
}
.assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.asset-card {
  background: rgba(22, 24, 29, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.asset-card:hover {
  transform: translateY(-4px);
  border-color: var(--info);
  box-shadow: 0 12px 32px rgba(96, 165, 250, 0.1), var(--shadow);
}
.asset-preview-area {
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111318;
  background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 0);
  background-size: 12px 12px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease;
  overflow: hidden;
}
.asset-preview-area.light-bg {
  background-color: #f3f4f6 !important;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 0) !important;
  background-size: 12px 12px;
  border-bottom-color: #e5e7eb;
}
.asset-preview-area img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform .3s ease;
}
.asset-card:hover .asset-preview-area img {
  transform: scale(1.05);
}
.bg-toggle-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(10, 11, 13, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  z-index: 2;
  outline: none;
}
.bg-toggle-btn:hover {
  background: rgba(10, 11, 13, 0.9);
  color: var(--ink);
  border-color: var(--muted);
  transform: scale(1.05);
}
.bg-toggle-btn svg {
  width: 14px;
  height: 14px;
}
.asset-card-details {
  padding: 16px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.asset-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.asset-category-badge {
  align-self: flex-start;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--line);
  color: var(--muted);
}
.asset-category-badge.logos {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
}
.asset-category-badge.product {
  background: var(--accent-dim);
  color: var(--accent);
}
.asset-category-badge.lifestyle {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
}
.asset-title {
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: .03em;
  margin-top: 4px;
}
.asset-sub {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.3;
}
.asset-spec {
  font-family: "Archivo", sans-serif;
  color: var(--ink-2);
  font-size: 11px;
  background: rgba(10, 11, 13, 0.3);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.02);
  margin-top: auto;
}
.asset-actions {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  margin-top: 8px;
}
.btn-asset-preview {
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--panel-hover);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.btn-asset-preview:hover {
  background: var(--line);
  border-color: var(--muted);
  color: #fff;
}
.btn-asset-preview svg {
  width: 16px;
  height: 16px;
}
.btn-asset-download {
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--info);
  border: none;
  color: #0a0b0d;
  font-family: "Saira Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all .2s;
  cursor: pointer;
  text-decoration: none;
}
.btn-asset-download:hover {
  background: #93c5fd;
  box-shadow: 0 6px 16px rgba(96, 165, 250, 0.25);
  transform: translateY(-1px);
}
.btn-asset-download svg {
  width: 14px;
  height: 14px;
}

/* ============================================================
   LIGHT MODE & THEME TOGGLE BUTTON OVERRIDES
   ============================================================ */
.theme-toggle-btn {
  background: var(--panel); border: 1px solid var(--line);
  color: var(--ink); width: 40px; height: 40px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; transition: .18s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 40px;
}
.theme-toggle-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle-btn svg { width: 20px; height: 20px; }

:root.light-mode, html.light-mode {
  --bg: #f5f6f8;
  --bg-2: #ebedf0;
  --panel: #ffffff;
  --panel-hover: #f8f9fa;
  --line: #e2e4e8;
  --line-light: #d1d4db;
  --ink: #15171c;
  --ink-2: #3a3f47;
  --muted: #70757f;
  --accent: #174081;
  --accent-dim: rgba(23,64,129,.08);
  --accent-ink: #ffffff;
  --success: #10b981;
  --success-dim: rgba(16,185,129,.1);
  --warning: #f59e0b;
  --warning-dim: rgba(245,158,11,.1);
  --danger: #ef4444;
  --danger-dim: rgba(239,68,68,.1);
  --info: #3b82f6;
  --info-dim: rgba(59,130,246,.1);
  --shadow: 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.1);
}
:root.light-mode .header-logo img,
:root.light-mode .logo-img,
:root.light-mode .login-logo img,
html.light-mode .header-logo img,
html.light-mode .logo-img,
html.light-mode .login-logo img {
  filter: none;
}
:root.light-mode .login-card,
html.light-mode .login-card {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root.light-mode .login-showcase::before,
html.light-mode .login-showcase::before {
  background: linear-gradient(135deg, rgba(245, 246, 248, 0.98) 15%, rgba(245, 246, 248, 0.8) 100%);
}
:root.light-mode .login-showcase::after,
html.light-mode .login-showcase::after {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 60%);
}
:root.light-mode .login-confidential-box,
html.light-mode .login-confidential-box {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
:root.light-mode .app-header,
html.light-mode .app-header {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 0 var(--line);
}
:root.light-mode .qty-selector button,
html.light-mode .qty-selector button {
  background: var(--bg-2);
}
:root.light-mode .search-bar input,
:root.light-mode .form-input,
:root.light-mode .form-textarea,
:root.light-mode .form-select,
html.light-mode .search-bar input,
html.light-mode .form-input,
html.light-mode .form-textarea,
html.light-mode .form-select {
  background: #ffffff;
}
:root.light-mode .qty-selector input,
html.light-mode .qty-selector input {
  background: #ffffff;
}
:root.light-mode .prod-img,
html.light-mode .prod-img {
  background: #ffffff;
}
:root.light-mode .btn-asset-preview,
html.light-mode .btn-asset-preview {
  color: var(--ink);
}
:root.light-mode .btn-asset-preview:hover,
html.light-mode .btn-asset-preview:hover {
  background: var(--bg-2);
  border-color: var(--muted);
  color: var(--accent);
}
:root.light-mode .showcase-title span,
html.light-mode .showcase-title span {
  background: linear-gradient(90deg, var(--accent) 0%, var(--info) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}