/* ==========================================================================
   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%;
  }
}


/* ==========================================================================
   Cuenta PRO ($3/mes), Login con Google y Precios al por Mayor
   ========================================================================== */
.account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(230, 184, 76, 0.35);
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.14), rgba(230, 184, 76, 0.04));
  color: #f6dc95;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.account-btn:hover {
  border-color: rgba(230, 184, 76, 0.72);
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.26), rgba(230, 184, 76, 0.08));
  color: #fff3cf;
}

.account-btn.is-pro {
  background: linear-gradient(135deg, #e6b84c, #b98520);
  color: #090806;
  border-color: #f5d27a;
  box-shadow: 0 0 20px rgba(230, 184, 76, 0.28);
}

.account-btn.is-pending {
  border-color: rgba(52, 211, 153, 0.45);
  color: #86efac;
}

.pro-top-banner {
  background: linear-gradient(90deg, rgba(22, 17, 8, 0.96), rgba(34, 24, 10, 0.95), rgba(18, 14, 9, 0.96));
  border-bottom: 1px solid rgba(230, 184, 76, 0.24);
  padding: 11px 0;
}

.pro-top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.pro-top-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #f3ede0;
}

.pro-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(230, 184, 76, 0.16);
  border: 1px solid rgba(230, 184, 76, 0.45);
  color: #f6dc95;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pro-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-pro-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #f5d27a;
  background: linear-gradient(135deg, #f0c966, #c68e24);
  color: #090806;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.btn-pro-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 184, 76, 0.35);
}

.btn-pro-cta.sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-pro-cta.full {
  width: 100%;
  padding: 12px 18px;
  font-size: 13.5px;
}

.pro-top-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 6px;
}

.pro-top-close:hover {
  color: #fff;
}

.pc-badge.pro-gold,
.featured-badge.pro-gold {
  background: linear-gradient(135deg, #f0c966, #c68e24);
  color: #080705;
  border-color: #f6dc95;
  font-weight: 800;
}

.pro-price-text {
  color: #f5d27a !important;
}

.pm-pro-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(230, 184, 76, 0.16);
  border: 1px solid rgba(230, 184, 76, 0.5);
  color: #f5d27a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pm-pro-upsell {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  margin: 8px 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(230, 184, 76, 0.32);
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.11), rgba(230, 184, 76, 0.03));
  color: #f5e2b0;
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.pm-pro-upsell:hover {
  border-color: rgba(230, 184, 76, 0.65);
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.18), rgba(230, 184, 76, 0.06));
}

.member-sheet {
  max-width: 520px;
  width: 94vw;
  padding: 28px;
}

.member-pro-teaser {
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.12), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(230, 184, 76, 0.28);
  margin-bottom: 16px;
}

.member-pro-teaser .mpt-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #f5d27a;
  margin-bottom: 4px;
}

.member-pro-teaser p {
  margin: 0;
  font-size: 12.5px;
  color: #e6dfd0;
  line-height: 1.45;
}

.google-signin-section {
  margin-bottom: 14px;
}

.google-signin-btn {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 4px;
  color: var(--text-secondary);
  font-size: 12px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.member-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.mp-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b2314, #141418);
  border: 1px solid rgba(230, 184, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #f5d27a;
  overflow: hidden;
  flex-shrink: 0;
}

.mp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-status-pill {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
}

.mp-status-pill.active {
  background: linear-gradient(135deg, #f0c966, #c68e24);
  color: #080705;
}

.mp-status-pill.pending {
  background: rgba(52, 211, 153, 0.16);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.mp-status-pill.expired {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
}

.mp-active-box {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.16), rgba(230, 184, 76, 0.04));
  border: 1px solid rgba(230, 184, 76, 0.42);
  margin-bottom: 16px;
}

.mp-active-title {
  font-size: 16px;
  font-weight: 700;
  color: #f5d27a;
  margin-bottom: 6px;
}

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

.mp-pending-notice {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  margin-bottom: 14px;
  font-size: 12.5px;
  color: #d1fae5;
}

.mp-pending-notice p {
  margin: 4px 0 0;
  font-size: 12px;
}

.mp-plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mp-plan-head h4 {
  margin: 6px 0 0;
  font-size: 18px;
}

.mp-plan-price {
  text-align: right;
}

.mp-plan-price strong {
  font-size: 24px;
  color: #f5d27a;
}

.mp-plan-price span {
  font-size: 12px;
  color: var(--text-secondary);
}

.mp-payment-info {
  padding: 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
}

.mp-pay-title {
  font-weight: 600;
  color: #f5d27a;
  margin-bottom: 8px;
}

.mp-receipt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mp-pro-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.mp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.pro-google-help {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--text-secondary);
}

.pro-google-help summary {
  cursor: pointer;
  font-weight: 600;
  color: #f5d27a;
}

.pro-google-help ol {
  margin: 8px 0 0;
  padding-left: 18px;
  line-height: 1.65;
}

.status-pill.pro-gold-pill {
  background: rgba(230, 184, 76, 0.2) !important;
  color: #f5d27a !important;
  border: 1px solid rgba(230, 184, 76, 0.5);
}

.status-pill.pending-pill {
  background: rgba(52, 211, 153, 0.16) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(52, 211, 153, 0.45);
}

.member-admin-card.is-pending-card {
  border-color: rgba(52, 211, 153, 0.45);
}

@media (max-width: 640px) {
  .account-btn {
    padding: 0 10px;
    font-size: 11.5px;
  }
  .pro-top-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .member-sheet {
    padding: 20px 16px;
  }
}


/* ==========================================================================
   Event / Drop Countdown Stage + Modular Section Controls + Featured Picker
   ========================================================================== */
.admin-tab.admin-tab-pro {
  border-color: rgba(230, 184, 76, 0.35);
  color: #f5d27a;
  background: rgba(230, 184, 76, 0.08);
}

.admin-tab.admin-tab-pro.active {
  background: linear-gradient(135deg, #f0c966, #c68e24);
  color: #090806;
  border-color: #f5d27a;
}

.event-countdown-section {
  padding: 26px 0 10px;
}

.event-cd-card {
  position: relative;
  text-align: center;
  padding: 36px 24px;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(230, 184, 76, 0.14), rgba(14, 14, 18, 0.94) 68%);
  border: 1px solid rgba(230, 184, 76, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.event-cd-brand-trigger {
  display: none;
  background: transparent;
  border: none;
  margin: 0 auto 18px;
  cursor: pointer;
}

.event-cd-brand-trigger img {
  height: 36px;
  width: auto;
  opacity: 0.92;
}

.event-cd-eyebrow {
  color: #f5d27a;
  margin-bottom: 8px;
}

.event-cd-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.8vw, 54px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin: 0 0 10px;
  background: linear-gradient(180deg, #ffffff 10%, #d8c393 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-cd-subtitle {
  max-width: 560px;
  margin: 0 auto 24px;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.5;
}

.event-cd-timer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-unit {
  min-width: 78px;
  padding: 14px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(12px);
}

.cd-unit strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cd-unit span {
  display: block;
  margin-top: 6px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e6b84c;
}

.cd-sep {
  font-size: 26px;
  font-weight: 700;
  color: rgba(230, 184, 76, 0.6);
  margin-top: -14px;
}

.event-cd-done {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0c966, #c68e24);
  color: #080705;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.08em;
}

/* Full-screen Event Lock Mode (hides everything except the countdown stage) */
body.event-lock-active .navbar .nav-links,
body.event-lock-active #btn-open-search,
body.event-lock-active #btn-open-bag {
  display: none !important;
}

.event-countdown-section.lock-screen {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0 64px;
}

.event-countdown-section.lock-screen .event-cd-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 54px 30px;
}

.event-countdown-section.lock-screen .event-cd-brand-trigger {
  display: inline-flex;
}

/* Admin Event Controls + Sections Grid + Featured Picker */
.cd-lock-callout {
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.12), rgba(201, 70, 50, 0.07));
  border: 1px solid rgba(230, 184, 76, 0.35);
}

.sections-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.sec-toggle-card {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  justify-content: space-between;
}

.featured-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}

.fp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.fp-item.active {
  border-color: rgba(230, 184, 76, 0.55);
  background: rgba(230, 184, 76, 0.08);
}

.fp-item input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #e6b84c;
  flex-shrink: 0;
}

.fp-item img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.fp-meta {
  min-width: 0;
}

.fp-meta strong {
  display: block;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-meta span {
  display: block;
  font-size: 11.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .cd-unit {
    min-width: 64px;
    padding: 10px 8px;
  }
  .cd-sep {
    font-size: 20px;
  }
}


/* ==========================================================================
   Mobile Navbar & PRO Button Overflow Fix (Clean Fit on 360px+ Screens)
   ========================================================================== */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.account-btn #account-btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  body:not(.force-desktop) .nav-inner {
    padding: 0 12px;
    gap: 8px;
    height: 58px;
  }

  body:not(.force-desktop) .brand-lockup {
    gap: 7px;
    min-width: 0;
    flex-shrink: 1;
  }

  body:not(.force-desktop) .brand-mark {
    width: 26px;
    height: 26px;
  }

  body:not(.force-desktop) .brand-wordmark {
    font-size: 16px;
  }

  body:not(.force-desktop) .nav-collab-pill {
    display: none !important;
  }

  body:not(.force-desktop) .nav-actions {
    gap: 6px;
    flex-shrink: 0;
  }

  body:not(.force-desktop) .mode-btn {
    width: 34px;
    height: 34px;
    padding: 0;
    justify-content: center;
  }

  body:not(.force-desktop) .mode-btn span {
    display: none;
  }

  body:not(.force-desktop) .icon-btn {
    width: 34px;
    height: 34px;
  }

  body:not(.force-desktop) .account-btn {
    height: 34px;
    padding: 0 10px;
    gap: 4px;
    font-size: 11.5px;
    max-width: 108px;
  }

  body:not(.force-desktop) .bag-btn {
    height: 34px;
    padding: 0 10px;
    gap: 5px;
  }

  body:not(.force-desktop) .bag-btn .bag-label {
    display: none;
  }

  body:not(.force-desktop) .pro-top-banner {
    padding: 10px 0;
  }

  body:not(.force-desktop) .pro-top-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  body:not(.force-desktop) .pro-top-copy {
    font-size: 12.5px;
    line-height: 1.4;
  }

  body:not(.force-desktop) .pro-top-actions {
    width: 100%;
    justify-content: space-between;
  }

  body:not(.force-desktop) .pro-top-actions .btn-pro-cta {
    flex: 1;
  }
}


/* ==========================================================================
   BATCH MODELS BY SIZE (Storefront + Admin/Seller Studio)
   ========================================================================== */
.batch-stage {
  margin: 10px 0 36px;
}

.batch-header-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  padding: 22px 24px;
  margin-bottom: 22px;
}

.batch-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.batch-header-title {
  margin: 4px 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.batch-header-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
}

.batch-size-picker-wrap {
  margin-top: 18px;
}

.batch-size-picker-label {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.batch-size-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.batch-size-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f7;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.batch-size-btn:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-1px);
}

.batch-size-btn.active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  box-shadow: 0 10px 26px rgba(255, 255, 255, 0.16);
}

.batch-size-btn small {
  font-size: 11.5px;
  font-weight: 500;
  opacity: 0.72;
}

.batch-prompt-card {
  text-align: center;
  padding: 44px 20px;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.batch-prompt-card h4 {
  margin: 0 0 6px;
  font-size: 18px;
}

.batch-size-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.batch-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.batch-model-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.batch-model-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.2);
}

.batch-model-card.is-reserved {
  border-color: rgba(245, 158, 11, 0.35);
}

.bm-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0d0d11;
  overflow: hidden;
  cursor: pointer;
}

.bm-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.batch-model-card:hover .bm-media img {
  transform: scale(1.03);
}

.bm-res-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(18, 13, 4, 0.86);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.45);
  backdrop-filter: blur(8px);
}

.bm-qty-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.72);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bm-side-pills {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(9, 9, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.bm-media .bm-side-pills {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.bm-side-pill {
  border: 0;
  background: transparent;
  color: #b4b4be;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bm-side-pill.active {
  background: #ffffff;
  color: #09090b;
}

.bm-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bm-desc-mini {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.42;
  color: #d4d4d8;
  letter-spacing: 0.01em;
}

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

.bm-price-mini {
  font-size: 15px;
  font-weight: 700;
}

.batch-model-sheet {
  max-width: 780px;
  width: min(94vw, 780px);
}

.bm-modal-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.bm-modal-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bm-modal-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.bm-modal-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bm-modal-desc {
  margin: 8px 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d8;
}

/* Batch Studio Modal (Admin + Seller) */
.batch-studio-sheet {
  max-width: 1040px;
  width: min(96vw, 1040px);
  max-height: 92vh;
  overflow-y: auto;
}

.bs-size-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.bs-size-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.bs-size-tab.active {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
}

.bs-size-tab.is-excess {
  border-color: rgba(239, 68, 68, 0.65);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.35);
}

.bs-size-tab small {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.78;
}

.bs-status-bar {
  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.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  margin-bottom: 12px;
}

.bs-status-bar.warn-excess {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fecaca;
}

.bs-view-bar {
  margin-bottom: 14px;
}

.bs-upload-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  margin-bottom: 14px;
}

.bs-upload-side-wrap,
.bs-upload-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.segmented.compact .seg-btn {
  padding: 6px 12px;
  font-size: 12px;
}

.bs-single-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.bs-single-grid {
  display: grid;
  grid-template-columns: 140px 140px 1fr;
  gap: 14px;
  align-items: start;
}

.bs-single-slot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bs-slot-preview {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  background: #111116;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  color: var(--muted);
  overflow: hidden;
}

.bs-slot-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bs-models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.bs-model-card {
  background: #131319;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bs-model-card.is-hidden-item {
  opacity: 0.6;
}

.bs-model-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #0b0b0f;
}

.bs-model-thumbs.single {
  grid-template-columns: 1fr;
}

.bs-thumb-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0e0e13;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.bs-thumb-label {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.bs-model-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.bs-model-side-btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.bs-inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bs-inline-row input[type="number"] {
  width: 70px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 700;
}

.bs-desc-input {
  width: 100%;
  height: 32px;
  padding: 0 9px;
  border-radius: 8px;
  background: #1c1c24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 12px;
}

.bs-model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.bs-alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 12.5px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: #fde68a;
}

.bs-alert-banner.is-return {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.42);
  color: #bae6fd;
}

.usage-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(230, 184, 76, 0.14);
  color: #f5d27a;
  border: 1px solid rgba(230, 184, 76, 0.35);
}

.staff-users-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-user-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

@media (max-width: 720px) {
  .bm-modal-grid,
  .bs-single-grid {
    grid-template-columns: 1fr;
  }
  .batch-models-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}


/* ==========================================================================
   PRO CLUB REFINED STRIP (Non-Intrusive on Android) + DUAL PLANS ($2/mo · $5/yr)
   ========================================================================== */
.pro-top-banner.pro-strip-subtle {
  background: linear-gradient(90deg, rgba(16, 15, 13, 0.88), rgba(24, 20, 13, 0.9), rgba(16, 15, 13, 0.88));
  border-top: 1px solid rgba(230, 184, 76, 0.18);
  border-bottom: 1px solid rgba(230, 184, 76, 0.18);
  padding: 14px 0;
  margin: 8px 0 0;
}

.btn-pro-cta.subtle {
  background: rgba(230, 184, 76, 0.14);
  color: #f5d27a;
  border: 1px solid rgba(230, 184, 76, 0.42);
  box-shadow: none;
}

.btn-pro-cta.subtle:hover {
  background: linear-gradient(135deg, #e6b84c, #c59122);
  color: #090806;
}

.pro-plans-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.pro-plan-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.pro-plan-chip.featured {
  background: linear-gradient(145deg, rgba(230, 184, 76, 0.14), rgba(230, 184, 76, 0.04));
  border-color: rgba(230, 184, 76, 0.52);
}

.pro-plan-chip span {
  font-size: 11.5px;
  color: var(--muted);
}

.pro-plan-chip strong {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
}

.pro-plan-chip.featured strong {
  color: #f5d27a;
}

.pro-save-mini {
  font-size: 9.5px !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #090806 !important;
  background: #e6b84c;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 3px;
}

.mp-plan-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.mp-plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f5f5f7;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mp-plan-card:hover {
  border-color: rgba(230, 184, 76, 0.45);
}

.mp-plan-card.active {
  background: linear-gradient(155deg, rgba(230, 184, 76, 0.18), rgba(230, 184, 76, 0.05));
  border-color: #e6b84c;
  box-shadow: 0 8px 24px rgba(230, 184, 76, 0.15);
}

.mp-plan-best {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #090806;
  background: #e6b84c;
  padding: 2px 7px;
  border-radius: 999px;
  margin-bottom: 4px;
}

.mp-plan-kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
}

.mp-plan-card strong {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
}

.mp-plan-card.active strong {
  color: #f5d27a;
}

.mp-plan-card small {
  font-size: 11px;
  color: #b4b4be;
}

@media (max-width: 720px) {
  body:not(.force-desktop) .pro-top-banner.pro-strip-subtle {
    padding: 12px 0;
  }
  body:not(.force-desktop) .pro-top-banner.pro-strip-subtle .pro-top-copy {
    font-size: 12px;
    gap: 6px;
  }
  body:not(.force-desktop) .pro-top-banner.pro-strip-subtle .pro-top-actions {
    width: 100%;
  }
  body:not(.force-desktop) .mp-plan-selector {
    grid-template-columns: 1fr;
  }
}


/* Prevent double-tap zoom when tapping LUDEC logo 5 times on Android/iOS */
.brand-lockup,
.footer-secret-trigger {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

/* ==================== PWA / Android TWA App Mode & Order Push UI ==================== */
body.is-app-mode #btn-view-mode {
  display: none !important;
}

.ok-push-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  margin: 14px 0 4px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}
.ok-push-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 13px;
}
.ok-push-copy strong {
  font-size: 13.5px;
  color: #fff;
}

.mp-push-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-top: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mp-push-bar strong {
  display: block;
  font-size: 13.5px;
}
.mp-push-bar span {
  font-size: 12px;
}

.mp-orders-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mp-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.mp-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
}
.mp-order-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
}
.mp-order-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.mp-order-note {
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(147, 197, 253, 0.09);
  border: 1px solid rgba(147, 197, 253, 0.22);
  color: #dbeafe;
  font-size: 12.5px;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: #f5f5f7;
}
.order-status-pill.st-pendiente { background: rgba(245, 158, 11, 0.18); color: #fde68a; }
.order-status-pill.st-pagado { background: rgba(34, 197, 94, 0.18); color: #86efac; }
.order-status-pill.st-preparando { background: rgba(59, 130, 246, 0.2); color: #93c5fd; }
.order-status-pill.st-listo { background: rgba(168, 85, 247, 0.22); color: #d8b4fe; }
.order-status-pill.st-enviado { background: rgba(14, 165, 233, 0.22); color: #7dd3fc; }
.order-status-pill.st-entregado { background: rgba(16, 185, 129, 0.22); color: #6ee7b7; }
.order-status-pill.st-cancelado { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }

.order-push-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
  margin-left: 6px;
}

.aon-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.aon-preset-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #f5f5f7;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease;
}
.aon-preset-chip:hover,
.aon-preset-chip.active {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-xs {
  padding: 4px 10px;
  font-size: 11.5px;
}

@media (max-width: 520px) {
  .ok-push-card,
  .mp-push-bar {
    flex-direction: column;
    align-items: stretch;
  }
}
