/* ==========================================================================
   LUDEC™ — Apple-Inspired Dark Luxury Streetwear Design System
   Pure obsidian black, hairline glass surfaces, high-contrast typography.
   ========================================================================== */

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --surface: #111114;
  --surface-2: #18181d;
  --surface-glass: rgba(18, 18, 22, 0.72);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f5f5f7;
  --text-secondary: #a1a1a6;
  --muted: #6e6e73;
  --white: #ffffff;
  --black: #000000;
  --success: #30d158;
  --warn: #ffd60a;
  --danger: #ff453a;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

.hidden { display: none !important; }
.muted { color: var(--text-secondary); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Toasts
   ========================================================================== */
.toast-root {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(92vw, 420px);
  pointer-events: none;
}

.toast {
  background: rgba(24, 24, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 13px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastIn 0.28s var(--ease);
}

.toast.success::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.toast.error::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--danger);
  flex-shrink: 0;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==========================================================================
   Announcement Bar & Frosted Navbar
   ========================================================================== */
.announcement-bar {
  background: #0d0d10;
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}

.brand-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  color: var(--white);
}

.brand-wordmark .tm {
  font-size: 9px;
  letter-spacing: 0;
  vertical-align: super;
  opacity: 0.65;
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-strong);
}

.mode-btn {
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s var(--ease);
}

.mode-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: var(--border-strong);
}

.mode-btn.active {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: var(--border-strong);
}

body.force-desktop {
  min-width: 1180px;
}

.bag-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.bag-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.bag-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bag-btn:hover .bag-count {
  background: var(--black);
  color: var(--white);
}

.search-bar-wrap {
  border-top: 1px solid var(--border);
  background: rgba(8, 8, 10, 0.96);
}

.search-bar-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.search-bar-inner input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--white);
}

.btn-clear-search {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 13px;
}

.btn-clear-search:hover {
  color: var(--white);
}

/* ==========================================================================
   Buttons & Typography
   ========================================================================== */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-lg {
  height: 50px;
  padding: 0 28px;
  font-size: 15px;
}

.btn-sm {
  height: 36px;
  padding: 0 15px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background: #e5e5ea;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  border-color: var(--border-strong);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-danger-ghost {
  background: rgba(255, 69, 58, 0.1);
  color: #ff6961;
  border-color: rgba(255, 69, 58, 0.25);
}

.btn-danger-ghost:hover {
  background: rgba(255, 69, 58, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg-glow {
  position: absolute;
  inset: -20% 0 auto;
  height: 620px;
  background: radial-gradient(ellipse 65% 55% at 62% 20%, rgba(255, 255, 255, 0.08), transparent 72%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
  background: linear-gradient(180deg, #ffffff 0%, #b8b8c0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 0 34px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.metric-lbl {
  font-size: 12px;
  color: var(--muted);
}

.metric-sep {
  width: 1px;
  height: 30px;
  background: var(--border);
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0d0d10;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  max-height: 620px;
  margin-left: auto;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease);
}

.brand-stage-placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  background: radial-gradient(circle at 50% 38%, #1c1c22 0%, #09090b 65%, #000000 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px;
}

.brand-stage-placeholder img {
  width: min(210px, 55%) !important;
  height: auto !important;
  object-fit: contain !important;
  opacity: 0.92;
}

.brand-stage-placeholder span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-frame:hover img {
  transform: scale(1.03);
}

.hero-frame-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(0, 0, 0, 0.84) 100%);
  pointer-events: none;
}

.hero-tag-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(12, 12, 15, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.8);
  flex-shrink: 0;
}

/* ==========================================================================
   Sections & Featured Strip
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
}

.link-arrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.link-arrow:hover {
  color: var(--white);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.featured-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.25s ease;
}

.featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--ease);
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 35%, rgba(0, 0, 0, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.featured-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.featured-card p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.featured-price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 600;
}

/* ==========================================================================
   Catalog Toolbar & Product Grid
   ========================================================================== */
.section-catalog {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #050507 0%, #000000 100%);
}

.catalog-meta {
  font-size: 13px;
  color: var(--muted);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pill {
  height: 36px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}

.pill:hover {
  border-color: var(--border-strong);
  color: var(--white);
}

.pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}

.select-minimal {
  height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  outline: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.32s var(--ease), border-color 0.25s ease, box-shadow 0.32s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}

.pc-media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #121216;
  overflow: hidden;
}

.pc-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: opacity 0.4s ease, transform 0.6s var(--ease);
}

.pc-media img.secondary {
  opacity: 0;
}

.product-card:hover .pc-media img.primary {
  transform: scale(1.04);
}

.product-card:hover .pc-media img.secondary {
  opacity: 1;
  transform: scale(1.04);
}

.pc-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.pc-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
}

.pc-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.pc-badge.soldout {
  background: rgba(255, 69, 58, 0.85);
  border-color: transparent;
}

.pc-quick-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s var(--ease);
}

.product-card:hover .pc-quick-bar {
  opacity: 1;
  transform: translateY(0);
}

.quick-size-btn {
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.quick-size-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.pc-info {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pc-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pc-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--white);
}

.pc-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pc-price-row {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.pc-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.pc-compare {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 6px;
  font-weight: 400;
}

.stock-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--success);
}

.stock-chip.low { color: var(--warn); }
.stock-chip.out { color: var(--danger); }

.empty-state {
  text-align: center;
  padding: 64px 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.empty-title { font-size: 18px; font-weight: 600; margin: 0 0 6px; }
.empty-sub { color: var(--text-secondary); margin: 0 0 20px; }

/* ==========================================================================
   Editorial & Local Store Info
   ========================================================================== */
.editorial-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.editorial-3d-stage {
  position: relative;
  height: 440px;
  min-height: 440px;
  max-height: 440px;
  background: radial-gradient(circle at 50% 42%, #15151a 0%, #070709 62%, #000000 100%);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
  border-right: 1px solid var(--border);
  outline: none;
}

.editorial-3d-stage.dragging {
  cursor: grabbing;
}

.editorial-3d-stage:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

#ludec-3d-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.ludec-3d-caption {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}

.ludec-3d-wordmark {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.88);
  padding-left: 0.34em;
}

.ludec-3d-wordmark sup {
  font-size: 9px;
  letter-spacing: 0;
  opacity: 0.6;
}

.ludec-3d-hint {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: opacity 0.6s ease;
}

.ludec-3d-hint.faded {
  opacity: 0.38;
}

.editorial-body {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.editorial-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  line-height: 1.08;
}

.editorial-text {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 480px;
}

.editorial-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.pillar strong {
  display: block;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
}

.pillar span {
  font-size: 13px;
  color: var(--text-secondary);
}

.editorial-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.section-local {
  border-top: 1px solid var(--border);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.info-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.info-value {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.info-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
  flex: 1;
}

.info-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  opacity: 0.85;
}

.info-link:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ==========================================================================
   Footer & Secret Trigger
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 56px;
  background: #030304;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-secret-trigger {
  background: transparent;
  border: none;
  padding: 0;
  cursor: default;
  opacity: 0.9;
}

.footer-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-secondary);
}

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

.floating-admin-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 400;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 22, 0.92);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border-strong);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
}

.floating-admin-pill:hover {
  background: var(--white);
  color: var(--black);
}

.admin-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* ==========================================================================
   Modals & Drawers
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}

.modal-sheet {
  position: relative;
  width: 100%;
  background: #0e0e11;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
  animation: modalPop 0.26s var(--ease);
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close.static {
  position: static;
}

.modal-close:hover {
  background: var(--white);
  color: var(--black);
}

/* Product Modal */
.product-modal-sheet {
  max-width: 980px;
}

.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pm-gallery {
  background: #08080a;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-right: 1px solid var(--border);
}

.pm-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #141418;
}

.pm-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  font-size: 22px;
  line-height: 1;
}

.gallery-arrow.prev { left: 12px; }
.gallery-arrow.next { right: 12px; }

.pm-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pm-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.pm-thumb {
  width: 62px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #18181d;
  padding: 0;
  flex-shrink: 0;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.pm-thumb.active, .pm-thumb:hover {
  opacity: 1;
  border-color: var(--white);
}

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

.pm-details {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pm-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 36px;
}

.pm-meta-top .eyebrow { margin: 0; }

.pm-source-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(48, 209, 88, 0.12);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.28);
}

.pm-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0;
}

.pm-subtitle {
  margin: -6px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pm-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.pm-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
}

.pm-compare {
  font-size: 17px;
  color: var(--muted);
  text-decoration: line-through;
}

.pm-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.pm-option-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pm-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.pm-fit-val {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.opt-pill {
  min-width: 44px;
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s ease;
}

.opt-pill:hover {
  border-color: var(--border-strong);
}

.opt-pill.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.pm-buy-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  background: var(--surface);
  height: 44px;
  padding: 0 4px;
}

.qty-stepper button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  color: var(--white);
}

.qty-stepper button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.qty-stepper span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* ==========================================================================
   Shopping Bag Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 520;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: min(100vw, 430px);
  height: 100%;
  background: #0c0c0f;
  border-left: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  animation: slideLeft 0.28s var(--ease);
}

@keyframes slideLeft {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.drawer-head {
  padding: 20px 22px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 19px;
}

.shipping-progress {
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
}

.shipping-progress p {
  margin: 0 0 8px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--white);
  border-radius: 99px;
  transition: width 0.35s var(--ease);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bag-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.bag-item-img {
  width: 74px;
  height: 92px;
  border-radius: 10px;
  object-fit: cover;
  background: #18181d;
}

.bag-item-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bag-item-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}

.bag-item-meta {
  font-size: 12px;
  color: var(--text-secondary);
}

.bag-item-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mini-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 28px;
}

.mini-qty button {
  width: 26px;
  height: 26px;
  background: transparent;
  border: none;
  font-size: 14px;
}

.mini-qty span {
  min-width: 22px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.btn-remove-item {
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 12px;
}

.btn-remove-item:hover { color: var(--danger); }

.drawer-foot {
  padding: 20px 22px 24px;
  border-top: 1px solid var(--border);
  background: #0a0a0c;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.summary-line.total {
  font-size: 18px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--border);
}

.summary-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}

/* ==========================================================================
   Checkout Modal & Forms
   ========================================================================== */
.checkout-sheet {
  max-width: 940px;
  padding: 32px;
}

.checkout-head {
  margin-bottom: 24px;
}

.checkout-head h2, .checkout-head h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.form-section {
  margin-bottom: 22px;
}

.form-section h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.field input, .field textarea, .field select {
  width: 100%;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: rgba(255, 255, 255, 0.45);
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 14px;
}

.seg-btn {
  height: 36px;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.seg-btn.active {
  background: var(--white);
  color: var(--black);
}

.info-callout {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
}

.info-callout p { margin: 4px 0 0; color: var(--text-secondary); }

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #131317;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-option:hover { border-color: var(--border-strong); }

.pay-option.selected {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.pay-option input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--white);
}

.pay-option strong {
  display: block;
  font-size: 14px;
  color: var(--white);
}

.pay-option span {
  display: block;
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.order-summary-card {
  background: #131317;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 16px;
}

.order-summary-card h4 {
  margin: 0 0 14px;
  font-size: 15px;
}

.co-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.co-item-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.co-item-row span { color: var(--text-secondary); }

.co-totals {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-bottom: 16px;
}

.co-secure-note {
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 0;
}

/* Order Success */
.checkout-success {
  text-align: center;
  padding: 18px 8px;
  max-width: 580px;
  margin: 0 auto;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(48, 209, 88, 0.16);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
}

.success-code {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 6px 0 22px;
}

.success-code strong {
  color: var(--white);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

.success-box {
  text-align: left;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 22px;
  font-size: 13.5px;
}

.success-box .copy-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.success-box .copy-row:last-child { border-bottom: none; }

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   Hidden Admin Login & Full Admin Studio
   ========================================================================== */
.admin-login-sheet {
  max-width: 400px;
  padding: 32px;
}

.admin-login-head {
  text-align: center;
  margin-bottom: 22px;
}

.admin-login-logo {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 12px;
}

.admin-login-head h3 {
  font-family: var(--font-display);
  margin: 0 0 6px;
  font-size: 22px;
}

.admin-login-head p { font-size: 13px; margin: 0; }

.form-error {
  color: var(--danger);
  font-size: 13px;
  margin: 0 0 12px;
}

.admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: #060608;
  display: flex;
  flex-direction: column;
}

.admin-shell {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.admin-topbar {
  padding: 12px 24px;
  background: #0d0d11;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.admin-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
}

.admin-inv-status {
  display: block;
  font-size: 11.5px;
  color: var(--success);
}

.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-tab {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.admin-tab:hover { color: var(--white); }

.admin-tab.active {
  background: var(--white);
  color: var(--black);
}

.badge-count {
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.14);
}

.admin-tab.active .badge-count {
  background: rgba(0, 0, 0, 0.15);
}

.admin-top-actions {
  display: flex;
  gap: 8px;
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 64px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}

.admin-section-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.admin-section-bar h3 {
  font-family: var(--font-display);
  margin: 0 0 4px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-section-bar p {
  margin: 0;
  font-size: 13px;
}

.tag-ro {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(48, 209, 88, 0.14);
  color: var(--success);
  border: 1px solid rgba(48, 209, 88, 0.3);
}

.inline-search input {
  background: #141418;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: 13px;
  min-width: 240px;
  outline: none;
}

.admin-inline-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-divider {
  height: 1px;
  background: var(--border);
  margin: 34px 0;
}

.admin-table-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 14px;
}

.admin-prod-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}

.admin-prod-thumb {
  width: 66px;
  height: 82px;
  border-radius: 10px;
  object-fit: cover;
  background: #1c1c22;
  flex-shrink: 0;
}

.admin-prod-body {
  flex: 1;
  min-width: 0;
}

.admin-prod-body strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-prod-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 2px 0 8px;
}

.admin-prod-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.status-pill.on {
  background: rgba(48, 209, 88, 0.14);
  color: var(--success);
}

/* Apple-style Toggle Switch */
.switch-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.switch-row input { display: none; }

.switch-ui {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 99px;
  background: #2c2c32;
  transition: background 0.22s ease;
  flex-shrink: 0;
}

.switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white);
  transition: transform 0.22s var(--ease);
}

.switch-row input:checked + .switch-ui {
  background: var(--success);
}

.switch-row input:checked + .switch-ui::after {
  transform: translateX(20px);
}

.admin-form-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
}

.admin-card h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 17px;
}

.admin-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-card-head h4 { margin: 0 0 4px; }
.admin-card-head p { margin: 0; font-size: 13px; }

.upload-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.upload-inline-btns {
  display: flex;
  gap: 8px;
}

.qr-preview-wrap {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.qr-preview-wrap img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
}

.admin-save-bar {
  position: sticky;
  bottom: 0;
  padding: 14px 0 4px;
  background: linear-gradient(180deg, rgba(6, 6, 8, 0) 0%, #060608 35%);
}

/* Admin Orders */
.admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}

.kpi-card span {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.kpi-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  margin-top: 4px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.order-items-mini {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin: 10px 0;
}

.order-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Admin Product Editor Modal (encima de .admin-overlay z-index: 600) */
#admin-product-modal,
#admin-login-modal,
#admin-div-products-modal,
#art-lightbox {
  z-index: 700;
}

.admin-editor-sheet {
  max-width: 760px;
  padding: 28px;
}

.ape-switches {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 14px;
  background: #15151a;
  border: 1px solid var(--border);
}

.ape-photos-section {
  margin-top: 10px;
  padding: 16px;
  border-radius: 14px;
  background: #141418;
  border: 1px solid var(--border);
}

.ape-photos-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ape-photos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
}

.ape-photo-tile {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #1d1d24;
  border: 1px solid var(--border);
}

.ape-photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ape-photo-tile .tile-controls {
  position: absolute;
  inset: auto 0 0 0;
  padding: 6px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.tile-btn {
  height: 24px;
  padding: 0 7px;
  border-radius: 6px;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
}

.tile-btn.del { background: rgba(255, 69, 58, 0.85); }

.ape-footer-btns {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.ape-inv-sizes-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
}

.ape-inv-sizes-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.ape-inv-sizes-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ape-inv-sz-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.ape-inv-sz-chip.avail {
  border-color: rgba(48, 209, 88, 0.45);
  background: rgba(48, 209, 88, 0.12);
  color: #7ee787;
}

.ape-inv-sz-chip.zero {
  opacity: 0.48;
  text-decoration: line-through;
}

/* Admin Analytics & Email Notifications */
.mail-status-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(255, 180, 0, 0.1);
  color: var(--warn);
  white-space: nowrap;
}

.mail-status-pill.ok {
  border-color: rgba(48, 209, 88, 0.4);
  background: rgba(48, 209, 88, 0.12);
  color: #7ee787;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.analytics-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.analytics-row-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  margin-bottom: 5px;
}

.analytics-bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.analytics-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffffff, #9aa0a6);
}

.analytics-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.analytics-group-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.analytics-table-wrap {
  overflow-x: auto;
}

.analytics-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.analytics-table th,
.analytics-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.analytics-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.kpi-card small {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
}

/* ==========================================================================
   Luxury Animated Divisions & Subdivisions Navigation
   ========================================================================== */
.nav-div-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-div-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-div-caret {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.72;
}

.nav-div-dropdown:hover .nav-div-caret,
.nav-div-dropdown.open .nav-div-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-div-popover {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 296px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(14, 14, 18, 0.92);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.96);
  transform-origin: top center;
  transition: opacity 0.24s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
  z-index: 260;
}

.nav-div-popover::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-div-dropdown:hover .nav-div-popover,
.nav-div-dropdown:focus-within .nav-div-popover,
.nav-div-dropdown.open .nav-div-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.nav-pop-all,
.nav-pop-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 11px;
  border: none;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-pop-all:hover,
.nav-pop-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-pop-all.active,
.nav-pop-item.active {
  background: var(--white);
  color: var(--black);
  font-weight: 600;
}

.nav-pop-cnt {
  font-size: 11px;
  opacity: 0.6;
}

.nav-pop-group {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-pop-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 4px 10px 6px 14px;
}

.nav-pop-sub {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-pop-sub span {
  opacity: 0.55;
  font-size: 10.5px;
}

.nav-pop-sub:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
}

.nav-pop-sub.active {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  font-weight: 600;
}

/* Catalog Heading Transition */
.catalog-heading-wrap.heading-swap {
  animation: headingCrossfade 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes headingCrossfade {
  from {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.catalog-div-subtitle {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 560px;
}

/* Floating Glass Division Dock + Sliding Glider */
.catalog-nav-shell {
  margin-bottom: 30px;
}

.catalog-nav-shell .catalog-toolbar {
  margin-bottom: 0;
}

.div-dock-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.div-dock-scroll::-webkit-scrollbar {
  display: none;
}

.div-dock {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.div-glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), width 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  z-index: 0;
}

.div-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 17px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.26s ease;
}

.div-tab:hover {
  color: var(--white);
}

.div-tab.active {
  color: #050507;
  font-weight: 600;
}

.div-tab-cnt {
  font-size: 10.5px;
  opacity: 0.56;
  font-weight: 600;
}

.div-tab.active .div-tab-cnt {
  opacity: 0.65;
}

.div-tab-chev {
  opacity: 0.6;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.div-tab.active .div-tab-chev {
  transform: rotate(180deg);
  opacity: 0.9;
}

/* Compact Animated Subdivisions Ribbon */
.subdiv-tray {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 0;
  pointer-events: none;
}

.subdiv-tray.open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
  pointer-events: auto;
}

.subdiv-tray-inner {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  padding: 2px 0;
}

.subdiv-tray-inner::-webkit-scrollbar {
  display: none;
}

.subdiv-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.024);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.subdiv-glider {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
  opacity: 0;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), width 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
  z-index: 0;
}

.subdiv-tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 31px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.22s ease;
}

.subdiv-tab:hover {
  color: var(--text);
}

.subdiv-tab.active {
  color: var(--white);
  font-weight: 600;
}

.subdiv-cnt {
  font-size: 10.5px;
  opacity: 0.58;
}

/* Cinematic Product Grid Switch + Staggered Card Reveal */
.product-grid {
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.18s ease;
}

.product-grid.is-switching {
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  filter: blur(4px);
}

.product-card.card-enter {
  opacity: 0;
  animation: cardLuxuryReveal 0.46s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--stagger, 0ms);
}

@keyframes cardLuxuryReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.975);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Admin Divisions Tree & Bulk Assignment Modal */
.divisions-tree {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.div-parent-card {
  background: #121217;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
}

.div-parent-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.div-node-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.div-node-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.div-sub-list {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.div-sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-left: 14px;
}

.div-branch {
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.ape-divisions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.ape-div-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ape-div-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12.5px;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ape-div-chip.parent {
  font-weight: 600;
  color: var(--white);
}

.ape-div-chip.sub {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
}

.ape-div-chip:has(input:checked) {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}

.adp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 52vh;
  overflow-y: auto;
  padding-right: 4px;
}

.adp-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #141419;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.adp-row.checked {
  border-color: rgba(48, 209, 88, 0.5);
  background: rgba(48, 209, 88, 0.08);
}

.adp-row img {
  width: 42px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: #1d1d24;
  flex-shrink: 0;
}

.adp-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.adp-info strong {
  font-size: 13.5px;
  color: var(--white);
}

.adp-info span {
  font-size: 11.5px;
  color: var(--muted);
}

/* ==========================================================================
   Cinematic Collab / Custom Division Experience (GTA VI × Luxury Streetwear)
   ========================================================================== */
:root {
  --collab-bg: #0b0907;
  --collab-bg2: #1c1308;
  --collab-accent: #e6b84c;
  --collab-accent2: #c94632;
  --collab-accent-rgb: 230, 184, 76;
  --collab-accent2-rgb: 201, 70, 50;
}

body {
  transition: background-color 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

body.collab-active {
  background-color: var(--collab-bg);
}

.collab-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, var(--collab-bg2) 0%, var(--collab-bg) 68%, #040405 100%);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

body.collab-active .collab-atmosphere {
  opacity: 1;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

.collab-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.34;
  will-change: transform;
}

.collab-orb.orb-1 {
  width: 560px;
  height: 560px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, var(--collab-accent) 0%, transparent 70%);
  animation: collabOrbFloat1 14s ease-in-out infinite alternate;
}

.collab-orb.orb-2 {
  width: 520px;
  height: 520px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--collab-accent2) 0%, transparent 70%);
  opacity: 0.24;
  animation: collabOrbFloat2 18s ease-in-out infinite alternate;
}

@keyframes collabOrbFloat1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-60px, 50px, 0) scale(1.12); }
}

@keyframes collabOrbFloat2 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(70px, -45px, 0) scale(1.15); }
}

.collab-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: radial-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 0);
  background-size: 3px 3px;
}

/* Smooth tinting of existing storefront surfaces when a Collab is active */
body.collab-active .navbar {
  background: rgba(10, 9, 8, 0.76);
  border-bottom-color: rgba(var(--collab-accent-rgb), 0.22);
}

body.collab-active .section-catalog {
  background: transparent;
  border-top-color: rgba(var(--collab-accent-rgb), 0.18);
}

body.collab-active .div-dock {
  border-color: rgba(var(--collab-accent-rgb), 0.26);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 28px rgba(var(--collab-accent-rgb), 0.1);
}

body.collab-active .div-glider {
  background: var(--collab-accent);
  box-shadow: 0 6px 26px rgba(var(--collab-accent-rgb), 0.45);
}

body.collab-active .product-card:hover {
  border-color: rgba(var(--collab-accent-rgb), 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.65), 0 0 26px rgba(var(--collab-accent-rgb), 0.12);
}

/* Navbar Co-Brand Pill (LUDEC stays main house, collab sits cleanly beside it) */
.nav-collab-pill {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--collab-accent);
  background: rgba(var(--collab-accent-rgb), 0.12);
  border: 1px solid rgba(var(--collab-accent-rgb), 0.35);
  white-space: nowrap;
  animation: collabPillIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes collabPillIn {
  from { opacity: 0; transform: translateX(-8px) scale(0.92); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

.div-tab-spark {
  font-size: 10px;
  line-height: 1;
}

.div-tab.active .div-tab-spark {
  color: #050507 !important;
}

/* Expandable Collab Showcase Stage */
.collab-stage-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: grid-template-rows 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), margin-bottom 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 0;
  pointer-events: none;
}

.collab-stage-wrap.open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0) scale(1);
  margin-bottom: 42px;
  pointer-events: auto;
}

.collab-stage-inner {
  overflow: hidden;
}

.collab-stage {
  border-radius: 26px;
  border: 1px solid rgba(var(--collab-accent-rgb), 0.24);
  background: linear-gradient(145deg, rgba(20, 16, 12, 0.86) 0%, rgba(8, 8, 10, 0.92) 55%, rgba(22, 12, 10, 0.86) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(var(--collab-accent-rgb), 0.2);
  overflow: hidden;
}

/* Co-Brand Lockup Bar */
.collab-lockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 26px;
  border-bottom: 1px solid rgba(var(--collab-accent-rgb), 0.14);
  background: rgba(0, 0, 0, 0.32);
}

.collab-lockup-brands {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.collab-house {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

.collab-house img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.collab-x {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  color: var(--collab-accent);
}

.collab-sig-img {
  height: 34px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(var(--collab-accent-rgb), 0.32));
}

.collab-sig-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--collab-accent);
  text-transform: uppercase;
}

.collab-lockup-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.collab-edition-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--collab-accent);
  background: rgba(var(--collab-accent-rgb), 0.12);
  border: 1px solid rgba(var(--collab-accent-rgb), 0.34);
}

.collab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--collab-accent);
  box-shadow: 0 0 10px var(--collab-accent);
  animation: collabPulseDot 2s ease-in-out infinite;
}

@keyframes collabPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

/* GTA-VI-Style Split Interactive Hero */
.collab-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: center;
  padding: 42px 36px;
  overflow: hidden;
}

.collab-hero.no-art {
  grid-template-columns: 1fr;
}

.collab-watermark {
  position: absolute;
  left: -30px;
  bottom: -40px;
  width: 340px;
  opacity: 0.055;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(var(--collab-accent-rgb), 0.4));
  animation: collabWatermarkDrift 18s ease-in-out infinite alternate;
}

@keyframes collabWatermarkDrift {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to { transform: translate3d(20px, -16px, 0) rotate(3deg); }
}

.collab-hero-copy {
  position: relative;
  z-index: 2;
}

.collab-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--collab-accent);
  margin: 0 0 14px;
}

.collab-display-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.collab-title-line {
  display: block;
  color: var(--white);
}

.collab-title-line.accent {
  background: linear-gradient(95deg, var(--collab-accent) 0%, #fff4d1 48%, var(--collab-accent2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.collab-tagline {
  font-size: 15px;
  font-weight: 600;
  color: #f3ede0;
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}

.collab-story {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 24px;
  max-width: 500px;
}

.collab-hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.collab-cta-btn {
  background: linear-gradient(135deg, var(--collab-accent) 0%, #f6d57a 100%);
  color: #080705;
  font-weight: 700;
  padding: 0 22px;
  height: 44px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(var(--collab-accent-rgb), 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.collab-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 38px rgba(var(--collab-accent-rgb), 0.5);
}

.collab-phrase-img {
  height: 36px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px rgba(var(--collab-accent-rgb), 0.28));
}

/* Living 3D Artwork Stage (San Luisao floating with golden sacred halo) */
.collab-art-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 370px;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-halo-glow {
  position: absolute;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--collab-accent-rgb), 0.42) 0%, rgba(var(--collab-accent2-rgb), 0.16) 48%, transparent 72%);
  filter: blur(26px);
  animation: collabHaloPulse 5s ease-in-out infinite alternate;
}

.collab-halo-ring {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(var(--collab-accent-rgb), 0.32);
  box-shadow: 0 0 40px rgba(var(--collab-accent-rgb), 0.18), inset 0 0 30px rgba(var(--collab-accent-rgb), 0.12);
  animation: collabRingSpin 26s linear infinite;
}

@keyframes collabHaloPulse {
  from { opacity: 0.72; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.08); }
}

@keyframes collabRingSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.collab-hero-art {
  position: relative;
  z-index: 2;
  max-height: 410px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 28px rgba(var(--collab-accent-rgb), 0.24));
  animation: collabArtLevitate 5.8s ease-in-out infinite;
  transform: translateZ(26px);
}

@keyframes collabArtLevitate {
  0%, 100% { transform: translateY(0) translateZ(26px); }
  50% { transform: translateY(-10px) translateZ(26px); }
}

.collab-hud-tag {
  position: absolute;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--collab-accent-rgb), 0.28);
  z-index: 3;
}

.collab-hud-tag.top-left { top: 8px; left: 8px; }
.collab-hud-tag.bottom-right { bottom: 8px; right: 8px; color: var(--collab-accent); }

/* Infinite Kinetic Editorial Marquee */
.collab-marquee {
  border-top: 1px solid rgba(var(--collab-accent-rgb), 0.16);
  border-bottom: 1px solid rgba(var(--collab-accent-rgb), 0.16);
  background: rgba(var(--collab-accent-rgb), 0.06);
  overflow: hidden;
  padding: 10px 0;
}

.collab-marquee-track {
  display: flex;
  width: max-content;
  animation: collabMarqueeScroll 28s linear infinite;
}

.collab-marquee-chunk {
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--collab-accent);
  white-space: nowrap;
  padding-right: 18px;
}

@keyframes collabMarqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* Visual Archive / Lookbook Strip */
.collab-gallery-section {
  padding: 22px 28px 28px;
}

.collab-gallery-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.collab-eyebrow-mini {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--collab-accent);
}

.collab-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.collab-art-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 14, 18, 0.82);
  cursor: pointer;
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.34s ease;
}

.collab-art-card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(var(--collab-accent-rgb), 0.55);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.65), 0 0 22px rgba(var(--collab-accent-rgb), 0.16);
}

.collab-art-card-media {
  aspect-ratio: 3 / 4;
  background: #101014;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collab-art-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.collab-art-card:hover .collab-art-card-media img {
  transform: scale(1.06);
}

.collab-art-card-meta {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.collab-art-card-meta span {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--collab-accent);
  text-transform: uppercase;
}

.collab-art-card-meta strong {
  font-size: 12.5px;
  color: var(--white);
  font-weight: 600;
}

/* Cinema Lightbox */
.lightbox-frame {
  position: relative;
  max-width: min(860px, 94vw);
  max-height: 92vh;
  background: #0c0c10;
  border: 1px solid rgba(var(--collab-accent-rgb), 0.3);
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  animation: modalPop 0.28s var(--ease);
}

.lightbox-frame img {
  max-height: 74vh;
  max-width: 100%;
  border-radius: 14px;
  object-fit: contain;
  background: #141419;
}

.lightbox-caption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Admin Division Theme Customizer UI */
.themed-pill {
  border-color: rgba(230, 184, 76, 0.5) !important;
  background: rgba(230, 184, 76, 0.14) !important;
  color: #f6d57a !important;
}

.div-theme-panel {
  margin-top: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(230, 184, 76, 0.25);
}

.div-theme-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.div-presets {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.color-pick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.color-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.color-field input[type="color"] {
  width: 100%;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #16161c;
  cursor: pointer;
  padding: 3px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero { padding: 36px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-frame { max-height: 480px; margin: 0 auto; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card { aspect-ratio: 4 / 4.2; }
  .editorial-card { grid-template-columns: 1fr; }
  .editorial-3d-stage { height: 340px; min-height: 340px; max-height: 340px; border-right: none; border-bottom: 1px solid var(--border); }
  .editorial-body { padding: 32px 24px; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-gallery { border-right: none; border-bottom: 1px solid var(--border); }
  .checkout-grid { grid-template-columns: 1fr; }
  .admin-kpis { grid-template-columns: 1fr; }
  .analytics-grid { grid-template-columns: 1fr; }
  .collab-hero { grid-template-columns: 1fr; padding: 26px 20px; text-align: center; }
  .collab-story { margin-left: auto; margin-right: auto; }
  .collab-hero-actions { justify-content: center; }
  .collab-art-stage { min-height: 290px; }
  .collab-hero-art { max-height: 320px; }
  .collab-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .color-pick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav-collab-pill { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .bag-label { display: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pc-info { padding: 12px; }
  .pc-title { font-size: 14px; }
  .pc-quick-bar { display: none; }
  .info-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .checkout-sheet, .admin-editor-sheet { padding: 20px; }
  .pm-details { padding: 20px; }
  .section { padding: 56px 0; }
}


/* ==========================================================================
   Sliding Color Bars + Photoshop/Paint HSV Picker + Per-Color Photos
   ========================================================================== */
.pc-color-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 8px 0 6px;
  padding: 2px 0;
}

.pc-color-strip::-webkit-scrollbar {
  display: none;
}

.pc-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.pc-color-chip i,
.opt-swatch {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.pc-color-chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.pc-color-chip.active {
  background: var(--white);
  color: #050507;
  border-color: var(--white);
  font-weight: 600;
}

.pc-color-chip.active i {
  border-color: rgba(0, 0, 0, 0.35);
}

#pm-colors {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 8px;
  padding-bottom: 4px;
}

#pm-colors::-webkit-scrollbar {
  display: none;
}

.opt-pill.color-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.opt-pill.color-pill.active .opt-swatch {
  border-color: rgba(0, 0, 0, 0.38);
}

/* Admin Per-Color HSV Picker */
.ape-color-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.ape-color-tabs::-webkit-scrollbar { display: none; }

.ape-col-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.ape-col-tab i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.ape-col-tab.active {
  background: var(--white);
  color: #060608;
  border-color: var(--white);
  font-weight: 600;
}

.ape-color-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.ape-hsv-wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: start;
}

.ape-hsv-canvas-box {
  position: relative;
  width: 220px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  cursor: crosshair;
  touch-action: none;
}

.ape-hsv-canvas-box canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.ape-hsv-cursor {
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.8);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ape-hsv-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ape-hsv-hue {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);
  cursor: pointer;
}

.ape-hsv-hue::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #000;
}

.ape-hsv-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ape-hsv-dot {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.ape-hsv-hex {
  width: 92px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #141419;
  color: var(--white);
  font-family: monospace;
  font-size: 12.5px;
}

@media (max-width: 640px) {
  .ape-hsv-wrap {
    grid-template-columns: 1fr;
  }
  .ape-hsv-canvas-box {
    width: 100%;
  }
}
