/* =========================================================
   LAS DELICIAS · AI CATALOG
   Design system — light + dark, brand: yellow + navy
   ========================================================= */

:root {
  /* Brand */
  --brand-yellow:       #FDC72F;
  --brand-yellow-soft:  #FFF4D1;
  --brand-yellow-dark:  #E0AC18;
  --brand-navy:         #1B2A5E;
  --brand-navy-deep:    #0F1A3D;

  /* Surface */
  --bg:                 #FAFAFC;
  --bg-elev:            #F3F4F8;
  --surface:            #FFFFFF;
  --surface-2:          #F7F8FB;
  --surface-3:          #EEF0F6;
  --border:             rgba(15, 26, 61, 0.08);
  --border-strong:      rgba(15, 26, 61, 0.15);

  /* Text */
  --text:               #0A0E27;
  --text-muted:         #5B6480;
  --text-soft:          #8B93A8;

  /* Accents */
  --success:            #10B981;
  --danger:             #EF4444;
  --info:               #3B82F6;
  --purple:             #7C3AED;

  /* Effects */
  --shadow-xs:          0 1px 2px rgba(15, 26, 61, 0.05);
  --shadow-sm:          0 2px 8px rgba(15, 26, 61, 0.06);
  --shadow-md:          0 8px 24px rgba(15, 26, 61, 0.08);
  --shadow-lg:          0 24px 60px rgba(15, 26, 61, 0.12);
  --shadow-glow:        0 0 0 4px rgba(253, 199, 47, 0.18), 0 12px 40px rgba(253, 199, 47, 0.25);

  --radius-sm:          10px;
  --radius:             16px;
  --radius-lg:          24px;
  --radius-xl:          32px;

  --ease:               cubic-bezier(.22, .61, .36, 1);
  --ease-out:           cubic-bezier(.16, 1, .3, 1);

  --maxw:               1280px;
  --nav-h:              68px;

  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Dark theme */
[data-theme="dark"] {
  --bg:               #0A0E1F;
  --bg-elev:          #0F1428;
  --surface:          #131831;
  --surface-2:        #181E3A;
  --surface-3:        #1F2647;
  --border:           rgba(255, 255, 255, 0.08);
  --border-strong:    rgba(255, 255, 255, 0.15);
  --text:             #F0F2FA;
  --text-muted:       #9AA3C0;
  --text-soft:        #6B7494;
  --shadow-xs:        0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm:        0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md:        0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg:        0 24px 60px rgba(0, 0, 0, 0.6);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   CURSOR GLOW
   ========================================================= */
.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(253, 199, 47, 0.18), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  mix-blend-mode: multiply;
}
[data-theme="dark"] .cursor-glow {
  mix-blend-mode: screen;
  background: radial-gradient(circle at center, rgba(253, 199, 47, 0.12), transparent 65%);
}
body:hover .cursor-glow { opacity: 1; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 32px;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-left, .nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: contain;
  background: var(--brand-navy);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
}
.brand-tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 0 rgba(253, 199, 47, 0.6);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(253, 199, 47, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(253, 199, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 199, 47, 0); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-2);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13.5px;
  transition: all .25s var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--text); }
.nav-link.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-xs), 0 0 0 1px var(--border);
}
.nav-link svg { stroke-width: 2; }

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: all .22s var(--ease);
}
.icon-btn:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.icon-btn .icon-moon { display: none; }
[data-theme="dark"] .icon-btn .icon-sun  { display: none; }
[data-theme="dark"] .icon-btn .icon-moon { display: block; }

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-deep));
  color: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: .03em;
  box-shadow: var(--shadow-sm);
}

/* =========================================================
   LAYOUT
   ========================================================= */
main {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 32px;
}
.view {
  display: none;
  animation: viewIn .4s var(--ease-out);
}
.view.active { display: block; }
@keyframes viewIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.page-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.page-sub {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all .22s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  background: var(--brand-navy);
  color: #fff;
  box-shadow: 0 6px 16px rgba(27, 42, 94, 0.25);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-navy-deep);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(27, 42, 94, 0.32);
}

.btn-secondary {
  background: var(--brand-yellow);
  color: var(--brand-navy);
  box-shadow: 0 6px 16px rgba(253, 199, 47, 0.3);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--brand-yellow-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); }

.btn-glow {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy), #2A3B7A);
  color: #fff;
  overflow: hidden;
}
.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--brand-yellow), transparent 30%, var(--brand-yellow) 60%, transparent 90%, var(--brand-yellow));
  z-index: -1;
  filter: blur(6px);
  opacity: 0;
  transition: opacity .3s var(--ease);
  animation: spin 4s linear infinite;
}
.btn-glow:hover::before { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-glow:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.btn-glow.is-loading {
  pointer-events: none;
  background: var(--surface-3);
  color: var(--text-muted);
}
.btn-glow.is-loading svg { animation: spin 1s linear infinite; }

.link-btn {
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 13px;
  transition: opacity .2s;
}
[data-theme="dark"] .link-btn { color: var(--brand-yellow); }
.link-btn:hover { opacity: .7; }

/* =========================================================
   HERO (Dashboard)
   ========================================================= */
.hero {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  color: #fff;
  padding: 56px 56px 64px;
  margin-bottom: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 14%, rgba(253, 199, 47, 0.55), transparent 38%),
    radial-gradient(circle at 12% 92%, rgba(253, 199, 47, 0.22), transparent 45%),
    radial-gradient(circle at 60% 50%, rgba(124, 58, 237, 0.15), transparent 50%);
  pointer-events: none;
  animation: meshShift 20s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { transform: translate(0, 0)   scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.08); }
}
.hero-content { position: relative; max-width: 760px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-yellow);
  backdrop-filter: blur(6px);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 8px var(--brand-yellow);
}
.hero-title {
  font-size: clamp(32px, 4.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 18px 0 18px;
}
.gradient-text {
  background: linear-gradient(120deg, var(--brand-yellow), #FFE9A0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
  margin: 0 0 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.hero .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* =========================================================
   KPI CARDS
   ========================================================= */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.kpi-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 0;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-xs);
}
.kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.kpi-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.kpi-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}
.kpi-trend {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}
.kpi-trend.up { background: rgba(16, 185, 129, .12); color: #059669; }
[data-theme="dark"] .kpi-trend.up { color: #34D399; }
.kpi-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.kpi-unit { font-size: 18px; color: var(--text-muted); margin-left: 2px; }
.kpi-spark {
  display: block;
  width: 100%;
  height: 36px;
  margin: 12px -22px -1px;
  width: calc(100% + 44px);
}

/* =========================================================
   PANELS / DASHBOARD GRID
   ========================================================= */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.panel-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: 0; }
.activity-dot {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.activity-text { flex: 1; min-width: 0; }
.activity-text strong { font-size: 13.5px; font-weight: 600; display: block; }
.activity-text small { color: var(--text-muted); font-size: 12px; }

.quick-actions {
  display: grid;
  gap: 10px;
}
.quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  transition: all .22s var(--ease);
}
.quick-action:hover {
  background: var(--surface);
  border-color: var(--border-strong);
  transform: translateX(2px);
}
.quick-action strong { font-size: 13.5px; font-weight: 700; display: block; }
.quick-action small { color: var(--text-muted); font-size: 11.5px; }
.qa-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex: 0 0 auto;
}

/* =========================================================
   FORM / CREATE
   ========================================================= */
.create-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: start;
}
.form-panel { padding: 28px; }
.form-section {
  margin: 0 0 14px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.form-section small { font-weight: 500; text-transform: none; letter-spacing: 0; opacity: .8; margin-left: 6px; }
.form-section + .form-section { margin-top: 24px; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-soft); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand-yellow);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(253, 199, 47, .14);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field-row.four { grid-template-columns: repeat(4, 1fr); }
.field-row .field { margin-bottom: 14px; }

.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 14px;
  background: var(--surface-2);
  cursor: pointer;
  transition: all .22s var(--ease);
  overflow: hidden;
}
.dropzone:hover {
  background: var(--surface);
  border-color: var(--brand-yellow);
}
.dropzone.is-dragging {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow-soft);
}
[data-theme="dark"] .dropzone.is-dragging { background: rgba(253, 199, 47, 0.06); }
.dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-align: center;
  padding: 20px;
}
.dropzone-empty strong { color: var(--text); font-size: 13.5px; }
.dropzone-empty small { font-size: 12px; }
.dropzone-preview {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.dropzone.has-image .dropzone-empty { display: none; }
.dropzone.has-image .dropzone-preview { display: block; }

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* =========================================================
   AI STUDIO PANEL
   ========================================================= */
.ai-panel {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: 24px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
}
.ai-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.ai-head h3 { margin: 0 0 2px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.ai-head small { color: var(--text-muted); font-size: 12px; }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text-muted);
}
.ai-badge.is-running { color: var(--brand-yellow-dark); background: var(--brand-yellow-soft); border-color: var(--brand-yellow); }
.ai-badge.is-done { color: #059669; background: rgba(16,185,129,.1); border-color: rgba(16,185,129,.4); }

.ai-empty {
  text-align: center;
  padding: 40px 24px;
  color: var(--text-muted);
}
.ai-empty-art { color: var(--brand-yellow); margin-bottom: 12px; }
.ai-empty strong { color: var(--text); display: block; margin-bottom: 6px; font-size: 14.5px; }
.ai-empty p { font-size: 13px; margin: 0; }
.ai-empty em { color: var(--text); font-style: normal; font-weight: 600; }

.ai-loading { animation: viewIn .35s var(--ease-out); }
.ai-stages {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.ai-stage {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  transition: all .25s var(--ease);
}
.ai-stage span {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  position: relative;
  flex: 0 0 auto;
}
.ai-stage.is-active {
  background: var(--brand-yellow-soft);
  border-color: var(--brand-yellow);
  color: var(--brand-navy);
  font-weight: 600;
}
[data-theme="dark"] .ai-stage.is-active {
  background: rgba(253, 199, 47, 0.08);
  color: var(--brand-yellow);
}
.ai-stage.is-active span {
  border-color: var(--brand-yellow);
  border-top-color: transparent;
  animation: spin .9s linear infinite;
}
.ai-stage.is-done span {
  background: var(--success);
  border-color: var(--success);
}
.ai-stage.is-done span::after {
  content: "✓";
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.skeleton {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  border-radius: 10px;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent);
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.skeleton-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px;
}
.sk-img { aspect-ratio: 1/1; }
.sk-video { aspect-ratio: 16/9; margin-bottom: 12px; }
.sk-line { height: 12px; margin-bottom: 8px; }
.sk-line.short { width: 60%; }

.ai-result { animation: viewIn .4s var(--ease-out); }
.ai-result-block { margin-bottom: 22px; }
.ai-result-block h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.ai-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ai-img-card {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform .25s var(--ease);
}
.ai-img-card:hover { transform: scale(1.03); }
.ai-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-img-card .ai-img-tag {
  position: absolute;
  bottom: 6px; left: 6px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 6px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.ai-video {
  position: relative;
  display: flex;
  justify-content: center;
  background: transparent;
  padding: 4px 0 8px;
}

.ai-copy {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text);
}
.ai-copy .copy-block { margin-bottom: 12px; }
.ai-copy .copy-block:last-child { margin-bottom: 0; }
.ai-copy .copy-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: var(--brand-yellow-soft);
  padding: 2px 7px;
  border-radius: 5px;
  margin-bottom: 6px;
}
[data-theme="dark"] .ai-copy .copy-label {
  background: rgba(253, 199, 47, .14);
  color: var(--brand-yellow);
}

.ai-hashtags { display: flex; flex-wrap: wrap; gap: 6px; }
.hashtag {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--brand-navy);
  transition: all .2s;
}
[data-theme="dark"] .hashtag { color: var(--brand-yellow); }
.hashtag:hover { background: var(--brand-yellow-soft); border-color: var(--brand-yellow); }
[data-theme="dark"] .hashtag:hover { background: rgba(253, 199, 47, .1); }

/* =========================================================
   CATALOG
   ========================================================= */
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-box {
  position: relative;
  flex: 0 0 320px;
  max-width: 100%;
}
.search-box svg {
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-box input {
  width: 100%;
  padding: 11px 14px 11px 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: all .2s;
}
.search-box input:focus {
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 4px rgba(253, 199, 47, .14);
}

.chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
}
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.chip:hover { color: var(--text); }
.chip.active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all .3s var(--ease);
  animation: cardIn .5s var(--ease-out) backwards;
  display: flex;
  flex-direction: column;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.product-thumb {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}
.product-thumb img,
.product-thumb svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product-card:hover .product-thumb img,
.product-card:hover .product-thumb svg { transform: scale(1.05); }
.product-cat-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-navy);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 9px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}
.product-ai-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--brand-yellow);
  color: var(--brand-navy);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
/* Distinct treatment when an approved video is already powering the
   storefront reel — superadmin sees at a glance which products are "live". */
.product-ai-badge-live {
  background: #16a34a;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(22,163,74,.18);
}
.product-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-name {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
}
.product-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.product-foot {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-weight {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}
.product-view {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-navy);
  display: inline-flex; align-items: center; gap: 4px;
}
[data-theme="dark"] .product-view { color: var(--brand-yellow); }

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-art { font-size: 48px; margin-bottom: 12px; opacity: .6; }
.empty-state h3 { margin: 0 0 6px; color: var(--text); }
.empty-state p { margin: 0; font-size: 14px; }

/* =========================================================
   CAMPAIGNS
   ========================================================= */
.campaigns-list {
  display: grid;
  gap: 16px;
}
.campaign-card {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all .25s var(--ease);
}
.campaign-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border-strong);
}
.campaign-thumb {
  width: 84px;
  height: 84px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
}
.campaign-thumb svg, .campaign-thumb img { width: 100%; height: 100%; object-fit: cover; }
.campaign-info h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; }
.campaign-info p { margin: 0; color: var(--text-muted); font-size: 12.5px; }
.campaign-meta {
  display: flex;
  gap: 4px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.campaign-meta .pill {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.campaign-stats {
  display: flex;
  gap: 24px;
}
.stat {
  text-align: right;
}
.stat-value {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* =========================================================
   MODAL
   ========================================================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 39, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease);
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.97);
  transition: transform .35s var(--ease-out);
  border: 1px solid var(--border);
}
.modal-backdrop.is-open .modal {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text-muted);
  font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all .2s;
  z-index: 2;
  border: 1px solid var(--border);
}
.modal-close:hover { background: var(--surface-3); color: var(--text); }

.modal-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
.modal-gallery {
  background: var(--surface-2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-main-img {
  aspect-ratio: 1/1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface);
}
.modal-main-img img,
.modal-main-img svg { width: 100%; height: 100%; object-fit: cover; }
.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.modal-thumb {
  aspect-ratio: 1/1;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--surface);
  transition: border-color .2s;
}
.modal-thumb.active { border-color: var(--brand-yellow); }
.modal-thumb img, .modal-thumb svg { width: 100%; height: 100%; object-fit: cover; }

.modal-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.modal-cat-badge {
  display: inline-block;
  background: var(--brand-yellow-soft);
  color: var(--brand-navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 6px;
  margin-bottom: 10px;
  align-self: flex-start;
}
[data-theme="dark"] .modal-cat-badge {
  background: rgba(253, 199, 47, 0.12);
  color: var(--brand-yellow);
}
.modal-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.modal-weight {
  color: var(--text-muted);
  font-size: 13.5px;
  margin: 0 0 20px;
}

.modal-tabs {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 18px;
}
.modal-tab {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.modal-tab.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-xs);
}
.modal-tab-panel { display: none; flex: 1; }
.modal-tab-panel.active { display: block; animation: viewIn .3s var(--ease-out); }
.modal-tab-panel p { font-size: 14px; line-height: 1.7; color: var(--text-muted); }
.modal-tab-panel p strong { color: var(--text); font-weight: 600; }

.nutri-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.nutri-table tr { border-bottom: 1px solid var(--border); }
.nutri-table tr:last-child { border-bottom: 0; }
.nutri-table td { padding: 10px 0; }
.nutri-table td:first-child { color: var(--text-muted); }
.nutri-table td:last-child { text-align: right; font-weight: 700; }

.modal-cta {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 10px;
}
.btn-whatsapp {
  flex: 1;
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover { background: #1DAE52; transform: translateY(-1px); }

/* =========================================================
   TOAST
   ========================================================= */
.toast-stack {
  position: fixed;
  top: 84px;
  right: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  font-weight: 600;
  min-width: 280px;
  animation: toastIn .4s var(--ease-out);
}
.toast.is-leaving { animation: toastOut .3s var(--ease-out) forwards; }
@keyframes toastIn  { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { to { transform: translateX(100%); opacity: 0; } }
.toast-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--success);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex: 0 0 auto;
}
.toast.error .toast-icon { background: var(--danger); }
.toast.info .toast-icon { background: var(--info); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .dashboard-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .create-grid { grid-template-columns: 1fr; }
  .ai-panel { position: static; }
}

@media (max-width: 820px) {
  main { padding: 20px; }
  .navbar { padding: 0 18px; gap: 10px; }
  .brand-text { display: none; }
  .nav-menu .nav-link { padding: 8px 12px; }
  .nav-menu .nav-link span,
  .nav-menu .nav-link:not(.active) svg + * { }
  .hero { padding: 36px 28px 44px; }
  .hero-title { font-size: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .modal-hero { grid-template-columns: 1fr; }
  .field-row, .field-row.four { grid-template-columns: 1fr 1fr; }
  .campaign-card { grid-template-columns: 64px 1fr; }
  .campaign-card .campaign-stats { grid-column: 1 / -1; justify-content: space-between; }
  .campaign-thumb { width: 64px; height: 64px; }
}

@media (max-width: 540px) {
  .nav-menu .nav-link { font-size: 0; padding: 8px; }
  .nav-menu .nav-link svg { margin: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .field-row, .field-row.four { grid-template-columns: 1fr; }
  .hero { padding: 28px 22px 36px; }
  .hero-title { font-size: 26px; }
  .toast-stack { left: 16px; right: 16px; top: 76px; }
  .toast { min-width: 0; }
}

/* =========================================================
   STOREFRONT (vista cliente / index.html)
   Self-contained design system. Locked to light brand palette,
   does not inherit from data-theme="dark" overrides.
   ========================================================= */

/* --- Admin → Storefront link in admin navbar --- */
.store-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-deep));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 6px 18px rgba(15,26,61,0.18);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.store-link:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(15,26,61,0.25); }
.store-link svg { stroke: var(--brand-yellow); }

/* =========================================================
   STORE BODY — base
   ========================================================= */
.store-body {
  background: var(--store-cream, #faf7f2);
  color: var(--store-text, #2e2118);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  --store-font:         'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --store-font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --store-cream:        #faf7f2;
  --store-cream-2:      #f4eee4;
  --store-cream-3:      #eadfce;
  --store-surface:      #fffdf9;
  --store-surface-2:    #f7f1e8;
  --store-yellow:       #c2603a;
  --store-yellow-soft:  #f7e4d8;
  --store-yellow-dark:  #97461f;
  --store-navy:         #2e2118;
  --store-navy-deep:    #1d140d;
  --store-text:         #2e2118;
  --store-text-muted:   #8b7a6a;
  --store-border:       rgba(70,46,28,0.09);
  --store-shadow-sm:    0 1px 3px rgba(70,46,28,0.05), 0 1px 2px rgba(70,46,28,0.04);
  --store-shadow:       0 4px 8px rgba(70,46,28,0.05), 0 12px 28px rgba(70,46,28,0.08);
  --store-shadow-lg:    0 12px 28px rgba(70,46,28,0.09), 0 32px 64px rgba(70,46,28,0.13);
  --store-shadow-hover: 0 10px 20px rgba(70,46,28,0.08), 0 24px 48px rgba(70,46,28,0.12);
  --store-radius:       16px;
  --store-radius-lg:    20px;
  --store-radius-xl:    24px;
  --store-ease:         cubic-bezier(.22,.61,.36,1);
  --store-transition:   cubic-bezier(.16,1,.3,1);
  --store-maxw:         1280px;
}
.store-body * { box-sizing: border-box; }
.store-body h1, .store-body h2, .store-body h3, .store-body h4 {
  font-family: var(--store-font-display);
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  font-weight: 550;
}
.store-body em { font-style: italic; color: var(--store-yellow-dark); }

/* =========================================================
   TOP STRIP
   ========================================================= */
.store-strip {
  background: var(--store-yellow-soft);
  color: var(--store-yellow-dark);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 10px 18px;
  border-bottom: 1px solid var(--store-border);
  position: relative;
  z-index: 5;
}
.store-strip-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  align-items: center;
}
.store-strip-sep { opacity: 0.4; }

.store-lang-switch {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.store-lang-switch button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.store-lang-switch button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}
.store-lang-switch button.active {
  background: var(--store-yellow);
  color: var(--store-navy-deep);
  border-color: var(--store-yellow);
}

/* =========================================================
   NAVBAR
   ========================================================= */
.store-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--store-transition), border-color 0.3s var(--store-transition), box-shadow 0.3s var(--store-transition);
}
.store-nav.is-scrolled {
  background: rgba(255,255,255,0.88);
  border-bottom-color: var(--store-border);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.03);
}
.store-nav-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.store-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--store-text);
}
.store-brand img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  background: transparent;
  padding: 0;
  box-shadow: none;
}
.store-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.store-brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--store-navy);
}
.store-brand-tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--store-text-muted);
  font-weight: 600;
}
.store-nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.store-nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--store-text-muted);
  text-decoration: none;
  transition: background 0.2s var(--store-transition), color 0.2s var(--store-transition);
}
.store-nav-links a:hover {
  background: rgba(70,46,28,0.05);
  color: var(--store-navy);
}
.store-nav-links a.is-active {
  background: rgba(70,46,28,0.06);
  color: var(--store-navy);
  font-weight: 600;
}
.store-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37,211,102,0.32);
  transition: transform 0.2s var(--store-ease), box-shadow 0.2s var(--store-ease);
}
.store-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37,211,102,0.42);
}

.store-nav-actions { display: inline-flex; align-items: center; gap: 12px; }

/* =========================================================
   BUTTONS
   ========================================================= */
.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s var(--store-transition), box-shadow 0.2s var(--store-transition), background 0.2s var(--store-transition), filter 0.2s var(--store-transition);
  letter-spacing: -0.01em;
  font-family: var(--store-font);
}
.store-btn:active {
  transform: translateY(0) scale(0.97);
  transition-duration: 0.1s;
}
.store-btn-primary {
  background: var(--store-navy);
  color: #fff;
  box-shadow: 0 4px 12px rgba(70,46,28,0.2);
}
.store-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(70,46,28,0.28);
  filter: brightness(1.15);
}
.store-btn-yellow {
  background: var(--store-yellow);
  color: var(--store-navy);
  box-shadow: 0 4px 12px rgba(194,96,58,0.25);
}
.store-btn-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(194,96,58,0.35);
  filter: brightness(1.05);
}
.store-btn-ghost {
  background: rgba(70,46,28,0.03);
  color: var(--store-navy);
  border: 1px solid rgba(70,46,28,0.1);
}
.store-btn-ghost:hover {
  background: rgba(70,46,28,0.06);
  transform: translateY(-1px);
}
.store-btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 26px rgba(37,211,102,0.32);
}
.store-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(37,211,102,0.45);
  background: #20BF5B;
}
.store-btn-full { width: 100%; }

/* =========================================================
   EYEBROW
   ========================================================= */
.store-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--store-text-muted);
}
.store-eyebrow.light { color: rgba(255,255,255,0.78); }
.store-eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--store-yellow);
  box-shadow: 0 0 0 4px rgba(194,96,58,0.22);
  display: inline-block;
}

/* =========================================================
   HERO
   ========================================================= */
.store-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 120px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.store-hero-bg {
  position: absolute; inset: 0;
  z-index: -1;
  pointer-events: none;
}
.store-hero-bg[style*="background-image"]::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(27,42,94,0.85) 0%, rgba(27,42,94,0.6) 50%, rgba(27,42,94,0.8) 100%);
  z-index: 1;
}
.store-hero-bg[style*="background-image"] .store-hero-mesh,
.store-hero-bg[style*="background-image"] .store-hero-grain {
  display: none;
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-hero-title {
  color: #fff;
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-hero-title em {
  background: linear-gradient(135deg, var(--store-yellow), var(--store-yellow-dark, #E0AC18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-hero-sub {
  color: rgba(255,255,255,0.85);
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-eyebrow {
  color: var(--store-yellow);
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-hero-stats {
  color: rgba(255,255,255,0.9);
}
.store-hero-bg[style*="background-image"] ~ .store-hero-content .store-hero-stats strong {
  color: #fff;
}
.store-hero-mesh {
  position: absolute;
  inset: -10% -10% -10% -10%;
  background:
    radial-gradient(ellipse at 12% 20%, rgba(194,96,58,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 8%, rgba(70,46,28,0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 90%, rgba(194,96,58,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(70,46,28,0.04) 0%, transparent 60%);
  filter: blur(80px);
  animation: storeMesh 22s ease-in-out infinite alternate;
}
@keyframes storeMesh {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.06); }
}
.store-hero-grain {
  position: absolute; inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(rgba(70,46,28,0.05) 1px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 70%, transparent);
}
.store-hero-content {
  max-width: var(--store-maxw);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.store-hero-title {
  font-size: clamp(44px, 7.5vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--store-navy);
  margin: 18px 0 22px;
  max-width: 14ch;
}
.store-hero-title em {
  background: linear-gradient(135deg, var(--store-yellow-dark), var(--store-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}
.store-hero-sub {
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  color: var(--store-text-muted);
  max-width: 56ch;
  margin: 0 0 32px;
}
.store-hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
}
.store-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 18px 26px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}
.store-hero-stats > div { display: flex; flex-direction: column; line-height: 1.1; }
.store-hero-stats strong {
  font-size: 22px;
  font-weight: 900;
  color: var(--store-navy);
  letter-spacing: -0.02em;
}
.store-hero-stats span {
  font-size: 11.5px;
  color: var(--store-text-muted);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.store-stat-divider {
  width: 1px; height: 28px;
  background: rgba(15,26,61,0.12);
}

/* Floating product cards over hero */
.store-hero-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.hero-floater {
  position: absolute;
  width: 200px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--store-shadow-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(15,26,61,0.06);
  animation: floaterDrift 9s ease-in-out infinite alternate;
}
.hero-floater img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 14px;
  background: var(--store-yellow-soft);
}
.hero-floater-tag strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--store-navy);
  display: block;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-floater-tag small {
  font-size: 11px;
  color: var(--store-text-muted);
}
.hero-floater-1 { top: 6%; right: 8%; transform: rotate(4deg); }
.hero-floater-2 { top: 38%; right: 24%; transform: rotate(-3deg); animation-delay: -3s; width: 175px; }
.hero-floater-3 { top: 64%; right: 4%; transform: rotate(5deg); animation-delay: -6s; width: 185px; }

@keyframes floaterDrift {
  0%   { transform: translateY(0) rotate(var(--rot, 4deg)); }
  100% { transform: translateY(-14px) rotate(var(--rot, 4deg)); }
}
.hero-floater-1 { --rot: 4deg; }
.hero-floater-2 { --rot: -3deg; }
.hero-floater-3 { --rot: 5deg; }

@media (max-width: 1100px) {
  .store-hero-cards { display: none; }
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.store-trust {
  background: var(--store-surface);
  border-top: 1px solid var(--store-border);
  border-bottom: 1px solid var(--store-border);
  padding: 32px 24px;
}
.store-trust-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.store-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
.store-trust-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(70,46,28,0.03);
  border: 1px solid var(--store-border);
  color: var(--store-navy);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.store-trust-icon svg { stroke: var(--store-navy); }
.store-trust-item strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--store-navy);
  letter-spacing: -0.01em;
}
.store-trust-item small {
  display: block;
  font-size: 12.5px;
  color: var(--store-text-muted);
}

/* =========================================================
   GENERIC SECTION
   ========================================================= */
.store-section {
  padding: 96px 24px;
  max-width: var(--store-maxw);
  margin: 0 auto;
}
.store-section-alt {
  max-width: none;
  background:
    linear-gradient(180deg, transparent, var(--store-cream-2) 12%, var(--store-cream-2) 88%, transparent);
}
.store-section-alt > .store-section-head,
.store-section-alt > .store-featured-grid {
  max-width: var(--store-maxw);
  margin-left: auto;
  margin-right: auto;
}
.store-section-head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.store-section-head.dark { color: #fff; }
.store-section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--store-navy);
  margin: 0;
}
.store-section-title.light { color: #fff; }
.store-section-title em {
  background: linear-gradient(135deg, var(--store-yellow-dark), var(--store-yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.store-section-title.light em {
  background: linear-gradient(135deg, var(--store-yellow), #FFE17A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.store-section-sub {
  font-size: 15px;
  font-weight: 400;
  color: var(--store-text-muted);
  margin: 0;
  max-width: 60ch;
  line-height: 1.6;
}
.store-section-sub.light { color: rgba(255,255,255,0.78); }

/* =========================================================
   CATEGORY GRID
   ========================================================= */
.store-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.store-cat-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  aspect-ratio: 3/2;
  padding: 22px;
  border-radius: var(--store-radius);
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cat-from, var(--store-cream)), var(--cat-to, var(--store-cream-2)));
  box-shadow: var(--store-shadow-sm);
  transition: transform 0.35s var(--store-transition), box-shadow 0.35s var(--store-transition);
}
.store-cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.08) 45%, transparent 100%);
  pointer-events: none;
  transition: opacity 0.3s var(--store-ease);
}
.store-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--store-shadow-hover);
}
.store-cat-card:hover .store-cat-img { transform: scale(1.08); }

.store-cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--store-ease);
}
.store-cat-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 52px;
  opacity: 0.35;
  filter: grayscale(1);
}
.store-cat-body {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.store-cat-body strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  margin-bottom: 4px;
}
.store-cat-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(255,255,255,0.22);
  backdrop-filter: blur(4px);
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* =========================================================
   FEATURED GRID
   ========================================================= */
.store-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.store-feat-card {
  background: #fff;
  border-radius: var(--store-radius);
  overflow: hidden;
  border: 1px solid transparent;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  cursor: pointer;
  transition: transform 0.35s var(--store-transition), box-shadow 0.35s var(--store-transition);
  display: flex;
  flex-direction: column;
}
.store-feat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--store-shadow-hover);
}
.store-feat-media {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--store-cream-2);
}
.store-feat-img,
.store-feat-img-hover {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.5s var(--store-ease), transform 0.6s var(--store-ease);
}
.store-feat-img-hover { opacity: 0; }
.store-feat-card:hover .store-feat-img { opacity: 0; transform: scale(1.05); }
.store-feat-card:hover .store-feat-img-hover { opacity: 1; transform: scale(1.04); }
.store-ribbon {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--store-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  z-index: 2;
  box-shadow: 0 6px 16px rgba(15,26,61,0.32);
}
.store-ribbon.yellow {
  background: var(--store-yellow);
  color: var(--store-navy);
  box-shadow: 0 6px 16px rgba(194,96,58,0.42);
}
.store-feat-ai {
  position: absolute;
  bottom: 14px; right: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  color: var(--store-navy);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  backdrop-filter: blur(6px);
  z-index: 2;
}
.store-feat-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.store-feat-cat {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--store-yellow-dark);
}
.store-feat-body h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--store-navy);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}
.store-feat-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--store-text-muted);
}
.store-feat-foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.store-feat-cta {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--store-navy);
  letter-spacing: -0.01em;
}
.store-feat-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(37,211,102,0.32);
  transition: transform 0.2s var(--store-ease);
}
.store-feat-wa:hover { transform: translateY(-1px); }

/* =========================================================
   REELS — animated 9:16 component
   ========================================================= */
.store-reels-section {
  background: linear-gradient(180deg, var(--store-navy-deep) 0%, var(--store-navy) 100%);
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.store-reels-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(194,96,58,0.16) 0%, transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(194,96,58,0.10) 0%, transparent 45%);
  z-index: -1;
}
.store-reels-row {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.store-reel-wrap {
  cursor: pointer;
  transition: transform 0.3s var(--store-ease);
}
.store-reel-wrap:hover { transform: translateY(-4px); }

.reel-player {
  position: relative;
  aspect-ratio: 9/16;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  isolation: isolate;
}
.reel-player.compact { border-radius: 18px; }
.reel-frames { position: absolute; inset: 0; }
.reel-frame {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
}
.reel-frame:nth-child(1) { animation: reel1 9s infinite ease-in-out; }
.reel-frame:nth-child(2) { animation: reel2 9s infinite ease-in-out; }
.reel-frame:nth-child(3) { animation: reel3 9s infinite ease-in-out; }
@keyframes reel1 {
  0%   { opacity: 1; transform: scale(1.0); }
  30%  { opacity: 1; transform: scale(1.06); }
  35%  { opacity: 0; transform: scale(1.06); }
  98%  { opacity: 0; transform: scale(1.0); }
  100% { opacity: 1; transform: scale(1.0); }
}
@keyframes reel2 {
  0%, 30%   { opacity: 0; transform: scale(1.0); }
  35%       { opacity: 1; transform: scale(1.0); }
  63%       { opacity: 1; transform: scale(1.06); }
  68%, 100% { opacity: 0; transform: scale(1.06); }
}
@keyframes reel3 {
  0%, 63%   { opacity: 0; transform: scale(1.0); }
  68%       { opacity: 1; transform: scale(1.0); }
  96%       { opacity: 1; transform: scale(1.06); }
  100%      { opacity: 0; transform: scale(1.06); }
}
.reel-progress {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  display: flex; gap: 4px;
  z-index: 3;
}
.reel-progress > div {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.32);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.reel-progress > div::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  animation: 9s infinite linear;
}
.reel-progress > div:nth-child(1)::after { animation-name: rp1; }
.reel-progress > div:nth-child(2)::after { animation-name: rp2; }
.reel-progress > div:nth-child(3)::after { animation-name: rp3; }
@keyframes rp1 { 0% { transform: scaleX(0); } 33% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes rp2 { 0%, 33% { transform: scaleX(0); } 66% { transform: scaleX(1); } 100% { transform: scaleX(1); } }
@keyframes rp3 { 0%, 66% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

.reel-overlay {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 14px 14px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.32) 0%, transparent 18%, transparent 60%, rgba(0,0,0,0.78) 100%);
  color: #fff;
}
.reel-top {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.reel-tag {
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.reel-vol {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  display: grid;
  place-items: center;
  font-size: 12px;
}
.reel-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}
.reel-info { min-width: 0; flex: 1; }
.reel-info strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reel-info small {
  display: block;
  font-size: 11px;
  opacity: 0.78;
  margin-top: 2px;
}
.reel-cta {
  background: var(--store-yellow);
  color: var(--store-navy);
  border: 0;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: transform 0.2s var(--store-ease);
}
.reel-cta:hover { transform: scale(1.05); }

.reel-player.compact .reel-overlay { padding: 24px 12px 12px; }
.reel-player.compact .reel-info strong { font-size: 12px; }
.reel-player.compact .reel-info small { font-size: 10px; }

.store-reels-cta {
  text-align: center;
  margin-top: 56px;
}

/* =========================================================
   CATALOG TOOLBAR + GRID
   ========================================================= */
.store-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.store-search {
  position: relative;
  background: #fff;
  border: 1px solid var(--store-border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--store-shadow-sm);
  transition: border-color 0.2s var(--store-ease), box-shadow 0.2s var(--store-ease);
}
.store-search:focus-within {
  border-color: var(--store-yellow);
  box-shadow: 0 0 0 4px rgba(194,96,58,0.18), var(--store-shadow-sm);
}
.store-search svg { color: var(--store-text-muted); }
.store-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  font-family: inherit;
  color: var(--store-text);
}
.store-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.store-chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--store-text);
  cursor: pointer;
  transition: all 0.18s var(--store-ease);
  font-family: inherit;
}
.store-chip:hover { border-color: var(--store-yellow); }
.store-chip.active {
  background: var(--store-navy);
  color: #fff;
  border-color: var(--store-navy);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.store-card {
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--store-shadow-sm);
  transition: transform 0.3s var(--store-transition), box-shadow 0.3s var(--store-transition), border-color 0.3s var(--store-transition);
  animation: cardIn 0.5s var(--store-transition) backwards;
  display: flex;
  flex-direction: column;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--store-shadow-hover);
  border-color: rgba(70,46,28,0.14);
}
.store-card-media {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--store-surface-2);
}
.store-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.03), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s var(--store-ease);
  pointer-events: none;
}
.store-card:hover .store-card-media::after { opacity: 1; }
.store-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1.4s var(--store-ease);
}
.store-card:hover .store-card-media img { transform: scale(1.05); }

/* ---- Premium card: badges, favorite, stock, prices, quick-add states ---- */
.store-badge {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 3;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,253,249,0.92);
  color: var(--store-yellow-dark);
  border: 1px solid rgba(70,46,28,0.14);
  box-shadow: 0 2px 8px rgba(70,46,28,0.10);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.store-badge--sale {
  background: var(--store-yellow);
  color: #fff;
  border-color: transparent;
}
.store-badge--popular::before { content: '★ '; color: var(--store-yellow); }

.store-card-fav {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  color: var(--store-text-muted);
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: scale(.85);
  transition: opacity .22s var(--store-ease), transform .22s var(--store-ease), color .15s;
}
.store-card:hover .store-card-fav,
.store-card-fav.is-active { opacity: 1; transform: scale(1); }
.store-card-fav:hover { color: #e11d48; }
.store-card-fav.is-active { color: #e11d48; }

.store-card-stock {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  background: rgba(29,20,13,0.82);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.store-card.is-soldout .store-card-media img { filter: grayscale(0.5) opacity(0.7); }

.store-card-prices { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.store-card-price { font-family: var(--store-font-display); font-size: 18px; font-weight: 600; color: var(--store-navy); letter-spacing: -0.01em; }
.store-card-compare { font-size: 12.5px; font-weight: 600; color: var(--store-text-muted); text-decoration: line-through; }

/* Sales-oriented buy control: full-width Add → [− N +] stepper */
.store-card-buywrap { margin-top: 12px; }
.store-card-buy {
  width: 100%;
  padding: 11px 12px;
  border: 0; border-radius: 999px;
  background: var(--store-yellow); color: #fff;
  font-family: inherit; font-size: 13.5px; font-weight: 800;
  letter-spacing: 0.01em; cursor: pointer;
  transition: background .15s var(--store-ease), transform .12s var(--store-ease), box-shadow .15s;
  box-shadow: 0 2px 8px rgba(70,46,28,0.12);
}
.store-card-buy:hover { background: var(--store-yellow-dark, #97461f); transform: translateY(-1px); box-shadow: var(--store-shadow-hover); }
.store-card-buy:active { transform: translateY(0); }
.store-card-stepper {
  display: grid; grid-template-columns: 38px 1fr 38px; align-items: center;
  border: 1px solid var(--store-yellow); border-radius: 999px; overflow: hidden;
  background: var(--store-yellow);
}
.scs-btn {
  height: 40px; border: 0; background: var(--store-yellow); color: #fff;
  font-size: 20px; font-weight: 700; cursor: pointer; line-height: 1;
  transition: background .12s;
}
.scs-btn:hover { background: var(--store-yellow-dark, #97461f); }
.scs-q { text-align: center; font-size: 14px; font-weight: 800; color: #fff; background: var(--store-yellow); }

/* Skeleton / shimmer while products load */
.store-card-skeleton {
  border-radius: var(--store-radius);
  overflow: hidden;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
}
.store-card-skeleton .sk-media { aspect-ratio: 4/5; }
.store-card-skeleton .sk-line { height: 12px; border-radius: 6px; margin: 12px 16px 0; }
.store-card-skeleton .sk-line.sk-sm { width: 40%; }
.store-card-skeleton .sk-line.sk-lg { width: 75%; height: 15px; }
.sk-shimmer {
  background: linear-gradient(100deg, var(--store-surface-2) 30%, var(--store-cream-2) 50%, var(--store-surface-2) 70%);
  background-size: 200% 100%;
  animation: skShimmer 1.3s ease-in-out infinite;
}
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.store-card-quick-add {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--store-navy);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s var(--store-transition), transform 0.25s var(--store-transition), background 0.15s;
  cursor: pointer;
  border: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 2;
}
.store-card:hover .store-card-quick-add {
  opacity: 1;
  transform: translateY(0);
}
.store-card-quick-add:hover {
  background: var(--store-yellow);
  color: var(--store-navy);
}
.store-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.store-card-cat {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--store-text-muted);
}
.store-card-body h3 {
  font-family: var(--store-font-display);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--store-navy);
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.3;
}
.store-card-foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}
.store-card-weight { color: var(--store-text-muted); font-weight: 600; }
.store-card-arrow { color: var(--store-navy); font-weight: 800; }

.store-empty {
  text-align: center;
  padding: 72px 24px;
}
.store-empty-art { font-size: 56px; margin-bottom: 14px; }
.store-empty h3 {
  margin: 0 0 6px;
  color: var(--store-navy);
  font-size: 22px;
  font-weight: 800;
}
.store-empty p { color: var(--store-text-muted); margin: 0; }

/* =========================================================
   ABOUT
   ========================================================= */
.store-about {
  background: #fff;
  padding: 96px 24px;
  border-top: 1px solid var(--store-border);
}
.store-about-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.store-about-text > .store-eyebrow { margin-bottom: 16px; }
.store-about-text > .store-section-title {
  text-align: left;
  margin-bottom: 18px;
}
.store-about-text > p {
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--store-text-muted);
  margin: 0 0 24px;
}
.store-about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.store-about-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--store-text);
  font-weight: 600;
}
.store-about-list li > span {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--store-yellow);
  color: var(--store-navy);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}
.store-about-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.store-about-card {
  background: linear-gradient(160deg, var(--store-yellow-soft), #fff);
  border: 1px solid rgba(194,96,58,0.4);
  border-radius: var(--store-radius-xl);
  padding: 36px 32px;
  text-align: center;
  box-shadow: var(--store-shadow);
  position: relative;
  overflow: hidden;
}
.store-about-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(194,96,58,0.4), transparent 70%);
  pointer-events: none;
}
.store-about-card-art {
  width: 90px;
  margin: 0 auto 18px;
  background: #fff;
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--store-shadow-sm);
  position: relative;
  z-index: 1;
}
.store-about-card-art img { width: 100%; display: block; border-radius: 14px; }
.store-about-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--store-navy);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.store-about-card p {
  font-size: 14.5px;
  color: var(--store-text-muted);
  margin: 0 0 20px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.store-about-card small {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: var(--store-yellow-dark);
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

/* =========================================================
   CONTACT
   ========================================================= */
.store-contact {
  background: linear-gradient(160deg, var(--store-navy) 0%, var(--store-navy-deep) 100%);
  color: #fff;
  padding: 96px 24px;
}
.store-contact-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
}
.store-contact-head {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.store-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.store-contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 28px 26px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--store-radius-lg);
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s var(--store-ease), background 0.25s var(--store-ease), border-color 0.25s var(--store-ease);
}
.store-contact-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.10);
  border-color: var(--store-yellow);
}
.store-contact-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(194,96,58,0.15);
  border: 1px solid rgba(194,96,58,0.25);
  color: var(--store-navy);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 6px;
}
.store-contact-card strong {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.store-contact-card small {
  font-size: 13px;
  opacity: 0.78;
  line-height: 1.5;
}
.store-contact-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--store-yellow);
  letter-spacing: 0.02em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.store-footer {
  background: var(--store-navy-deep);
  color: rgba(255,255,255,0.78);
  padding: 64px 24px 32px;
}
.store-footer-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.store-footer-brand { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.store-footer-brand img {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: transparent;
  padding: 0;
}
.store-footer-brand p { font-size: 14px; line-height: 1.6; margin: 0; }
.store-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.store-footer-cols > div { display: flex; flex-direction: column; gap: 10px; }
.store-footer-cols strong {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.store-footer-cols a {
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.18s var(--store-ease);
}
.store-footer-cols a:hover { color: var(--store-yellow); }
.store-footer-bottom {
  max-width: var(--store-maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  opacity: 0.5;
  flex-wrap: wrap;
  gap: 12px;
}
.store-footer-powered { display: inline-flex; align-items: center; gap: 8px; }

/* =========================================================
   FLOATING WHATSAPP
   ========================================================= */
.store-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,0.42);
  z-index: 60;
  transition: transform 0.2s var(--store-ease);
}
.store-fab:hover { transform: scale(1.06); }
.store-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #25D366;
  animation: fabPulse 2s ease-out infinite;
}
@keyframes fabPulse {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* =========================================================
   STORE MODAL
   ========================================================= */
.store-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15,26,61,0.55);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s var(--store-ease);
}
.store-modal-bg[hidden] { display: none; }
.store-modal-bg.is-open { opacity: 1; }
.store-modal {
  background: #fff;
  border-radius: var(--store-radius-xl);
  max-width: 1340px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12), 0 48px 96px rgba(0,0,0,0.08);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.4s var(--store-transition);
  display: flex;
}
.store-modal-bg.is-open .store-modal { transform: translateY(0) scale(1); }
.store-modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(15,26,61,0.06);
  color: var(--store-navy);
  font-size: 24px;
  cursor: pointer;
  z-index: 5;
  transition: background 0.18s var(--store-ease);
  font-family: inherit;
  line-height: 1;
}
.store-modal-close:hover { background: rgba(15,26,61,0.12); }
.store-modal > div { width: 100%; overflow-y: auto; }
.store-modal-grid {
  display: grid;
  grid-template-columns: 320px 1fr 300px;
  gap: 0;
  min-height: 560px;
}
.store-modal-gallery {
  background: var(--store-cream);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.store-modal-main-img {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/16;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.store-modal-media {
  background: linear-gradient(160deg, var(--store-cream-2), var(--store-cream));
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
}
.store-modal-media .reel-player {
  width: 100%;
  max-width: 280px;
}
.store-modal-thumbs {
  display: flex;
  gap: 8px;
}
.store-modal-thumb {
  width: 56px; height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s var(--store-ease), border-color 0.2s var(--store-ease);
}
.store-modal-thumb:hover { opacity: 1; }
.store-modal-thumb.active {
  opacity: 1;
  border-color: var(--store-yellow);
}
.store-modal-thumb-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--store-navy, #1B2A5E);
  color: #fff;
  font-size: 10px;
  gap: 2px;
}
.store-modal-thumb-video span { font-size: 16px; }
.store-modal-thumb-video small { font-size: 8px; text-transform: uppercase; letter-spacing: .05em; }
.store-modal-info {
  padding: 40px 36px 32px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.store-modal-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--store-yellow-dark);
  background: rgba(194,96,58,0.16);
  padding: 5px 11px;
  border-radius: 999px;
  align-self: flex-start;
  margin-bottom: 14px;
}
.store-modal-title {
  font-family: var(--store-font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--store-navy);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  line-height: 1.2;
}
.store-modal-weight {
  font-size: 14px;
  color: var(--store-text-muted);
  margin: 0 0 18px;
}
.store-modal-weight strong { color: var(--store-navy); }
.store-modal-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--store-text);
  margin: 0 0 20px;
}
.store-modal-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--store-cream-2);
  border-radius: 999px;
  margin-bottom: 18px;
}
.store-modal-tab {
  padding: 8px 16px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--store-text-muted);
  cursor: pointer;
  font-family: var(--store-font);
  transition: all 0.2s var(--store-ease);
}
.store-modal-tab:hover { color: var(--store-navy); }
.store-modal-tab.active {
  background: var(--store-surface);
  color: var(--store-yellow-dark);
  box-shadow: 0 1px 3px rgba(70,46,28,0.10);
}
.store-modal-panel { display: none; padding: 4px 0 14px; }
.store-modal-panel.active { display: block; animation: panelIn 0.3s var(--store-ease); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.store-copy-block { margin-bottom: 14px; }
.store-copy-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--store-yellow-dark);
  margin-bottom: 4px;
}
.store-copy-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--store-text);
}
.store-nutri {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.store-nutri td {
  padding: 10px 0;
  border-bottom: 1px solid var(--store-border);
}
.store-nutri td:last-child { text-align: right; color: var(--store-navy); }
.store-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.store-tag {
  padding: 6px 12px;
  background: rgba(27,42,94,0.06);
  color: var(--store-navy);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.store-modal-cta {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--store-border);
}
.store-modal-cta .store-btn { flex: 1; min-width: 180px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.store-body .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--store-transition), transform 0.8s var(--store-transition);
  transition-delay: var(--reveal-delay, 0s);
}
.store-body .reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .store-cat-grid       { grid-template-columns: repeat(3, 1fr); }
  .store-featured-grid  { grid-template-columns: repeat(2, 1fr); }
  .store-grid           { grid-template-columns: repeat(3, 1fr); }
  .store-reels-row      { grid-template-columns: repeat(4, 1fr); }
  .store-trust-inner    { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .store-about-inner    { grid-template-columns: 1fr; gap: 36px; }
  .store-modal-grid     { grid-template-columns: 240px 1fr 240px; }
  .store-modal-info     { padding: 32px 32px 28px; }
  .store-modal-gallery  { padding: 20px; }
  .store-modal-media    { padding: 16px 12px; }
}
@media (max-width: 820px) {
  .store-nav-links { display: none; }
  .store-nav-inner { padding: 12px 18px; gap: 12px; }
  .store-strip { font-size: 11.5px; padding: 8px 14px 36px; }
  .store-strip-inner { gap: 10px; }
  .store-strip-sep { display: none; }
  .store-lang-switch {
    right: 50%;
    top: auto;
    bottom: 6px;
    transform: translateX(50%);
  }
  .store-lang-switch button { padding: 2px 7px; font-size: 10.5px; }
  .store-hero { padding: 60px 18px 80px; min-height: auto; }
  .store-hero-title { max-width: 100%; }
  .store-section { padding: 72px 18px; }
  .store-reels-section { padding: 72px 18px 60px; }
  .store-about, .store-contact { padding: 72px 18px; }
  .store-section-head { margin-bottom: 40px; }
  .store-reels-row { grid-template-columns: repeat(3, 1fr); }
  .store-contact-cards { grid-template-columns: 1fr; }
  .store-footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .store-footer-cols { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .store-modal-grid { grid-template-columns: 1fr; }
  .store-modal-gallery { padding: 24px; }
  .store-modal-media { padding: 24px; }
  .store-modal-info { padding: 28px 24px 24px; }
  .store-modal-title { font-size: 24px; }
  .store-modal-cta .store-btn { min-width: 0; }
}
@media (max-width: 540px) {
  .store-cat-grid       { grid-template-columns: repeat(2, 1fr); }
  .store-featured-grid  { grid-template-columns: 1fr; }
  .store-grid           { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .store-reels-row      { grid-template-columns: repeat(2, 1fr); }
  .store-trust-inner    { grid-template-columns: 1fr; }
  .store-footer-cols    { grid-template-columns: 1fr 1fr; }
  .store-card-body      { padding: 12px 14px 14px; }
  .store-card-body h3   { font-size: 13.5px; }
  .store-card-price     { font-size: 15px; }
  .store-hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 22px;
    gap: 16px;
    padding: 14px 18px;
  }
  .store-stat-divider { display: none; }
  .store-link span { display: none; }
  .store-link { padding: 8px; }
  .store-fab { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* =========================================================
   AI REEL — animated 9:16 video stand-in
   Used in admin AI Studio (#aiVideo) and storefront modal.
   ========================================================= */
.ai-reel {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 9/16;
  border-radius: 22px;
  overflow: hidden;
  background: #0A0E27;
  box-shadow:
    0 20px 50px rgba(15, 26, 61, 0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  isolation: isolate;
  font-family: var(--font-sans);
  color: #fff;
}

/* --- Frames + Ken Burns --- */
.ai-reel-frames {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ai-reel-frame {
  position: absolute;
  inset: -4%;            /* slight overscan so Ken Burns doesn't reveal edges */
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  transform-origin: center;
}
.ai-reel-f1 { animation: aiReelF1 9s infinite ease-in-out; }
.ai-reel-f2 { animation: aiReelF2 9s infinite ease-in-out; }
.ai-reel-f3 { animation: aiReelF3 9s infinite ease-in-out; }

/* Phase 6 — real video reel. Replaces .ai-reel-frame stack with a
   single <video>; overlays (progress, captions, action bar) keep their
   simulated animations so the look stays consistent. */
.ai-reel-frames-video { background: #000; }
.ai-reel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes aiReelF1 {
  0%   { opacity: 1; transform: scale(1.0)  translate(0%, 0%); }
  30%  { opacity: 1; transform: scale(1.14) translate(-3%, -3%); }
  35%  { opacity: 0; transform: scale(1.14) translate(-3%, -3%); }
  98%  { opacity: 0; transform: scale(1.0)  translate(0%, 0%); }
  100% { opacity: 1; transform: scale(1.0)  translate(0%, 0%); }
}
@keyframes aiReelF2 {
  0%, 30%   { opacity: 0; transform: scale(1.0) translate(3%, 0); }
  35%       { opacity: 1; transform: scale(1.04) translate(2%, 0); }
  63%       { opacity: 1; transform: scale(1.10) translate(-3%, 1%); }
  68%, 100% { opacity: 0; transform: scale(1.10) translate(-3%, 1%); }
}
@keyframes aiReelF3 {
  0%, 63%   { opacity: 0; transform: scale(1.06) translate(0, 3%); }
  68%       { opacity: 1; transform: scale(1.0)  translate(0, 1%); }
  96%       { opacity: 1; transform: scale(1.14) translate(0, -3%); }
  100%      { opacity: 0; transform: scale(1.14) translate(0, -3%); }
}

.ai-reel-vignette {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0,0,0,0.45) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.32) 0%, transparent 18%, transparent 62%, rgba(0,0,0,0.78) 100%);
}

/* Sound toggle — the only control on the reel. */
.ai-reel-sound {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.ai-reel-sound:hover { background: rgba(0,0,0,0.65); transform: scale(1.06); }
.ai-reel-sound .ic-on { display: none; }
.ai-reel-sound.is-on .ic-on { display: block; }
.ai-reel-sound.is-on .ic-off { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ai-reel-sound, .ai-reel-sound:hover { transition: none; transform: none; }
}
/* --- Make it pop in admin AI Studio --- */
#aiVideo .ai-reel {
  margin: 0 auto;
}

/* --- In storefront modal: fit the right column --- */
.store-modal-media .ai-reel {
  max-width: 260px;
}

/* =========================================================
   MEDIA LIGHTBOX — zoomed image/video over the product modal
   ========================================================= */
.store-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;   /* above .store-modal-bg (70) */
  background: rgba(15,26,61,0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.store-lightbox[hidden] { display: none; }
.store-lightbox.is-open { opacity: 1; }
.store-lightbox-body {
  display: grid;
  place-items: center;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
}
.store-lightbox-body img,
.store-lightbox-body video {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--store-radius-lg, 16px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  background: #000;
}
.store-lightbox-close {
  position: absolute;
  top: 18px; right: 22px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.store-lightbox-close:hover { background: rgba(0,0,0,0.7); transform: scale(1.06); }

/* Zoomable media advertise the lightbox */
.store-modal-main-img { cursor: zoom-in; }
.ai-reel-has-video .ai-reel-frames-video { cursor: zoom-in; }

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .ai-reel-frame { animation: none !important; }
  .ai-reel-f1 { opacity: 1; }
  .store-card-media img,
  .store-card:hover .store-card-media img { transition: none; transform: none; }
}

/* =========================================================
   STOREFRONT — Card body + modal CTA
   ========================================================= */
.store-card-body { padding: 14px 16px 16px; }
.store-card-body h3 { margin-bottom: 4px; }
.store-card-weight { font-size: 12px; color: var(--store-text-muted); font-weight: 600; margin-bottom: 8px; }

.store-feat-meta { color: var(--store-text-muted); font-weight: 600; font-size: 13px; }

.store-modal-cta { flex-wrap: wrap; }
.store-modal-cta .store-btn-primary {
  flex: 1 1 220px; min-width: 200px;
}

.store-btn-full { width: 100%; justify-content: center; }
.store-btn-full[disabled] { opacity: 0.5; cursor: not-allowed; }

.store-toast-stack {
  position: fixed; bottom: 24px; left: 24px; z-index: 250;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}
.store-toast-stack .toast {
  pointer-events: auto;
}

/* =========================================================
   ADMIN — Login screen (/login.html)
   ========================================================= */
.login-body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(253,199,47,0.18), transparent 60%),
    radial-gradient(900px 500px at 110% 110%, rgba(15,26,61,0.10), transparent 55%),
    var(--surface, #F7F8FB);
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
}
.login-shell {
  width: 100%; max-width: 420px;
  padding: 24px;
}
.login-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px 30px;
  box-shadow: 0 24px 60px rgba(15,26,61,0.10), 0 2px 8px rgba(15,26,61,0.05);
  border: 1px solid var(--border, rgba(15,26,61,0.08));
}
.login-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.login-logo {
  width: 56px; height: 56px; border-radius: 14px;
  object-fit: contain;
  background: var(--brand-yellow-soft, #FFF4D1);
  padding: 6px;
}
.login-title {
  margin: 0; font-size: 22px; font-weight: 900;
  color: var(--brand-navy, #0F1A3D); letter-spacing: -0.5px;
}
.login-tag {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted, #6E7A99);
  letter-spacing: 1.2px; text-transform: uppercase;
  margin-top: 2px;
}
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-field { display: flex; flex-direction: column; gap: 6px; }
.login-field > span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.4px;
  color: var(--brand-navy, #0F1A3D);
}
.login-field > input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border, rgba(15,26,61,0.14));
  border-radius: 12px;
  font-size: 15px; font-family: inherit;
  background: var(--surface-2, #FBFBFE);
  color: var(--brand-navy, #0F1A3D);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.login-field > input:focus {
  outline: 0;
  border-color: var(--brand-navy, #0F1A3D);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(194,96,58,0.20);
}
.login-error {
  background: rgba(201,42,42,0.08);
  color: #9A1F1F;
  border: 1px solid rgba(201,42,42,0.18);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px; font-weight: 600;
}
.login-submit {
  margin-top: 6px;
  width: 100%; justify-content: center;
  padding: 13px 16px; font-size: 15px;
}
.login-submit[disabled] { opacity: 0.65; cursor: not-allowed; }
.login-meta {
  margin: 18px 0 0;
  text-align: center;
  font-size: 12px; color: var(--text-muted, #6E7A99);
}
.login-meta a {
  color: var(--brand-navy, #0F1A3D); font-weight: 700;
  text-decoration: none; border-bottom: 1.5px solid var(--brand-yellow, #FDC72F);
}
.login-meta a:hover { border-color: var(--brand-navy, #0F1A3D); }

/* =========================================================
   ADMIN — User chip + logout in navbar
   ========================================================= */
.user-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 4px 4px 4px 10px;
  border-radius: 999px;
  background: var(--surface-2, #FBFBFE);
  border: 1px solid var(--border, rgba(15,26,61,0.08));
}
.user-chip-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-navy, #0F1A3D);
  color: var(--brand-yellow, #FDC72F);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 12px;
  letter-spacing: 0.5px;
}
.user-chip-text {
  display: flex; flex-direction: column; line-height: 1.1;
  min-width: 0;
}
.user-chip-name {
  font-size: 13px; font-weight: 800;
  color: var(--brand-navy, #0F1A3D);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 140px;
}
.user-chip-role {
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--text-muted, #6E7A99);
  text-transform: uppercase;
}
.user-chip-logout {
  margin-left: 2px;
  background: transparent;
  color: var(--text-muted, #6E7A99);
}
.user-chip-logout:hover {
  background: rgba(201,42,42,0.10);
  color: #9A1F1F;
}
@media (max-width: 720px) {
  .user-chip-text { display: none; }
  .user-chip { padding: 4px; }
}

/* =========================================================
   ADMIN — Categories view
   ========================================================= */
.cat-list {
  display: flex; flex-direction: column; gap: 10px;
}
.cat-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 14px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, rgba(15,26,61,0.08));
  border-left: 4px solid var(--brand-yellow, #FDC72F);
  border-radius: 14px;
  padding: 12px 16px;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.cat-row:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15,26,61,0.05); }
.cat-row.is-hidden { opacity: 0.55; border-left-color: var(--text-muted, #6E7A99); }
.cat-row-handle {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.cat-arrow {
  width: 28px; height: 20px; padding: 0; border: 0;
  background: var(--surface-2, #FBFBFE);
  color: var(--brand-navy, #0F1A3D);
  border-radius: 6px; font-size: 12px; font-weight: 800;
  cursor: pointer; font-family: inherit;
  transition: background 0.15s;
}
.cat-arrow:hover:not([disabled]) { background: var(--brand-yellow-soft, #FFF4D1); }
.cat-arrow[disabled] { opacity: 0.3; cursor: not-allowed; }
.cat-row-main {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-width: 0;
}
.cat-row-names { min-width: 0; }
.cat-row-names strong {
  display: block; font-size: 15px; color: var(--brand-navy, #0F1A3D);
  font-weight: 800; letter-spacing: -0.2px;
}
.cat-row-names small {
  display: block; font-size: 12px; color: var(--text-muted, #6E7A99);
  margin-top: 2px;
}
.cat-row-names code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px; padding: 1px 5px; border-radius: 4px;
  background: var(--brand-yellow-soft, #FFF4D1); color: var(--brand-navy, #0F1A3D);
}
.cat-count {
  font-size: 11px; font-weight: 800; letter-spacing: 0.6px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2, #FBFBFE);
  color: var(--text-muted, #6E7A99);
  white-space: nowrap;
}
.cat-row-actions {
  display: inline-flex; align-items: center; gap: 8px;
}
.cat-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  border: 1.5px solid var(--border, rgba(15,26,61,0.14));
  border-radius: 999px;
  background: var(--surface-2, #FBFBFE);
  cursor: pointer; font-family: inherit;
  font-size: 12px; font-weight: 800; letter-spacing: 0.4px;
  color: var(--brand-navy, #0F1A3D);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cat-toggle-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text-muted, #6E7A99);
  transition: background 0.15s;
}
.cat-toggle.is-on { border-color: rgba(16,185,129,0.4); color: #047857; }
.cat-toggle.is-on .cat-toggle-dot { background: #10B981; box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
.cat-toggle.is-off { color: var(--text-muted, #6E7A99); }
.cat-toggle:hover { background: #fff; }
.cat-btn { font-size: 13px; padding: 7px 12px; }

.cat-form { padding: 4px 6px 0; }
.cat-form .field { margin-bottom: 14px; }
.cat-form .form-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border, rgba(15,26,61,0.08));
}

@media (max-width: 720px) {
  .cat-row { grid-template-columns: 44px 1fr; }
  .cat-row-actions { grid-column: 1 / -1; justify-content: flex-end; flex-wrap: wrap; }
  .cat-row-main { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* =========================================================
   ADMIN — Product card overlays (visibility, edit, delete)
   ========================================================= */
.product-card.is-hidden { opacity: 0.55; }
.product-card.is-hidden .product-thumb img { filter: grayscale(0.4); }

.product-stock-toggle {
  position: absolute; bottom: 10px; left: 10px;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border: 0; border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer; font-family: inherit;
  font-size: 11px; font-weight: 800; letter-spacing: 0.4px;
  color: var(--brand-navy, #0F1A3D);
  box-shadow: 0 2px 6px rgba(15,26,61,0.18);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.product-stock-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15,26,61,0.22);
}
.product-stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--text-muted, #6E7A99);
}
.product-stock-toggle.is-on  .product-stock-dot { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.20); }
.product-stock-toggle.is-off .product-stock-dot { background: #C92A2A; box-shadow: 0 0 0 3px rgba(201,42,42,0.20); }
.product-stock-toggle.is-off { color: #9A1F1F; }

.product-admin-actions {
  display: flex; gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border, rgba(15,26,61,0.10));
}
.product-admin-btn { font-size: 12px; padding: 6px 10px; flex: 1; justify-content: center; }

/* =========================================================
   ADMIN — Product edit form (modal)
   ========================================================= */
.pf-form { padding: 4px 6px 0; }
.pf-form .field { margin-bottom: 14px; }
.pf-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf-form .dropzone { min-height: 140px; }
.pf-form .form-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid var(--border, rgba(15,26,61,0.08));
}
@media (max-width: 600px) {
  .pf-form .field-row { grid-template-columns: 1fr; }
}

/* =========================================================
   PHASE 5 — AI assets modal
   ========================================================= */
.ai-modal { padding: 4px 6px 0; }
.ai-modal-head {
  display: flex; gap: 16px; align-items: flex-start; justify-content: space-between;
  margin-bottom: 14px;
}
.ai-modal-sub {
  margin: 4px 0 0; font-size: 13px;
  color: var(--text-muted, rgba(15,26,61,0.65));
}
.ai-modal-actions { flex-shrink: 0; }
.ai-modal-status {
  font-size: 13px; padding: 8px 12px; border-radius: 8px;
  background: rgba(253,199,47,0.16); color: #6a4500;
  margin-bottom: 14px;
}

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

.ai-slot {
  border: 1px solid var(--border, rgba(15,26,61,0.10));
  border-radius: 12px;
  padding: 12px;
  background: var(--surface, #fff);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 280px;
}
.ai-slot-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  font-size: 13px;
}
.ai-slot-head strong { flex: 1; min-width: 0; font-size: 13px; line-height: 1.3; }
.ai-slot-tag {
  font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
  padding: 2px 6px; border-radius: 4px;
  background: rgba(27,42,94,0.08); color: var(--store-navy, #1B2A5E);
}
.ai-slot-cost {
  font-size: 11px; color: var(--text-muted, rgba(15,26,61,0.55));
  margin-left: auto;
}

.ai-badge {
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(15,26,61,0.08); color: rgba(15,26,61,0.65);
  white-space: nowrap;
}
.ai-badge.ai-ok  { background: rgba(16,185,129,0.16); color: #0a6a4e; }
.ai-badge.ai-rev { background: rgba(253,199,47,0.20); color: #6a4500; }
.ai-badge.ai-run { background: rgba(59,130,246,0.16); color: #1e3a8a; }
.ai-badge.ai-rej { background: rgba(201,42,42,0.14); color: #9A1F1F; }
.ai-badge.ai-err { background: rgba(201,42,42,0.18); color: #9A1F1F; }

.ai-slot-body {
  flex: 1; min-height: 140px;
  border-radius: 8px; overflow: hidden;
  background: rgba(15,26,61,0.04);
  display: flex; align-items: center; justify-content: center;
}
.ai-slot-body img,
.ai-slot-body video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ai-slot-empty {
  font-size: 12px; color: var(--text-muted, rgba(15,26,61,0.55));
  padding: 20px; text-align: center;
}
.ai-slot-error {
  font-size: 11px; padding: 6px 8px; border-radius: 6px;
  background: rgba(201,42,42,0.10); color: #9A1F1F;
  word-break: break-word;
}
.ai-slot-actions {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.btn-sm { font-size: 12px; padding: 5px 10px; }

@media (max-width: 600px) {
  .ai-modal-head { flex-direction: column; }
  .ai-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   BRANDBOX LANDING PAGE
   ========================================================= */
.brandbox-landing { font-family: 'Inter', system-ui, sans-serif; color: #1B2A5E; }

.bb-nav { background: #fff; border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 100; }
.bb-nav-inner { max-width: 1100px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.bb-brand { text-decoration: none; color: #1B2A5E; font-size: 20px; display: flex; align-items: center; gap: 6px; }
.bb-brand strong { font-weight: 800; }
.bb-brand span { font-weight: 400; color: #6b7280; font-size: 14px; }
.bb-nav-actions { display: flex; gap: 8px; }

.bb-btn { display: inline-flex; align-items: center; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: all .15s; }
.bb-btn-primary { background: #1B2A5E; color: #fff; }
.bb-btn-primary:hover { background: #0f1d45; }
.bb-btn-ghost { background: transparent; color: #1B2A5E; border: 1px solid #d1d5db; }
.bb-btn-ghost:hover { background: #f3f4f6; }
.bb-btn-lg { padding: 14px 28px; font-size: 16px; }

.bb-hero { background: linear-gradient(135deg, #1B2A5E 0%, #2d3f7a 50%, #1B2A5E 100%); color: #fff; padding: 80px 24px 100px; text-align: center; }
.bb-hero-inner { max-width: 700px; margin: 0 auto; }
.bb-eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; font-weight: 700; color: #FDC72F; margin-bottom: 20px; }
.bb-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.15; margin: 0 0 20px; }
.bb-hero h1 em { font-style: normal; color: #FDC72F; }
.bb-hero p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 550px; margin: 0 auto 32px; line-height: 1.6; }
.bb-hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.bb-features { padding: 80px 24px; background: #f9fafb; }
.bb-features-inner { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.bb-feature { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; text-align: center; }
.bb-feature-icon { font-size: 40px; margin-bottom: 16px; }
.bb-feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: #1B2A5E; }
.bb-feature p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

.bb-footer { text-align: center; padding: 32px 24px; border-top: 1px solid #e5e7eb; }
.bb-footer p { margin: 0; font-size: 13px; color: #9ca3af; }

@media (max-width: 600px) {
  .bb-hero { padding: 50px 16px 60px; }
  .bb-nav-inner { flex-wrap: wrap; gap: 8px; }
}

/* =========================================================
   PRICES
   ========================================================= */
.store-card-price {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--store-navy);
  margin-top: 4px;
}
.store-modal-price {
  font-size: 28px;
  font-weight: 900;
  color: var(--store-navy);
  margin: 0 0 12px;
  line-height: 1.1;
}
.store-modal-price small {
  font-size: 14px;
  font-weight: 600;
  color: var(--store-text-muted);
  margin-left: 4px;
}

/* =========================================================
   CART NAV BUTTON
   ========================================================= */
.store-nav-cart {
  position: relative;
  background: none;
  border: 0;
  color: var(--store-navy);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: background 0.2s;
}
.store-nav-cart:hover { background: rgba(15,26,61,0.08); }
@keyframes cartBadgePop {
  0% { transform: scale(0.6); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.cart-badge {
  position: absolute;
  top: -2px; right: -4px;
  background: var(--store-yellow);
  color: var(--store-navy);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  animation: cartBadgePop 0.3s var(--store-transition);
}

/* =========================================================
   CART DRAWER
   ========================================================= */
.cart-drawer-bg {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15,26,61,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.25s var(--store-ease);
}
.cart-drawer-bg[hidden] { display: none; }
.cart-drawer-bg.is-open { opacity: 1; }

.cart-drawer {
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s var(--store-transition);
  border-left: 1px solid var(--store-border);
  box-shadow: -8px 0 24px rgba(0,0,0,0.06);
}
.cart-drawer-bg.is-open .cart-drawer { transform: translateX(0); }

.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--store-border);
}
.cart-drawer-head h2 {
  font-family: var(--store-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--store-navy);
  margin: 0;
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cart Items */
.cart-items { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--store-cream);
  border: 1px solid var(--store-border);
  border-radius: 12px;
}
.cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}
.cart-item-info {
  min-width: 0;
}
.cart-item-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--store-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-price {
  font-size: 13px;
  color: var(--store-text-muted);
  margin-top: 2px;
  display: block;
}
.cart-item-price b { color: var(--store-navy); }

.cart-item-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-qty-btn {
  width: 28px; height: 28px;
  border: 1px solid var(--store-border);
  border-radius: 8px;
  background: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--store-navy);
}
.cart-qty-btn:hover { background: var(--store-cream, #f5f3ee); }
.cart-qty {
  font-size: 14px;
  font-weight: 700;
  color: var(--store-navy);
  min-width: 20px;
  text-align: center;
}
.cart-remove-btn {
  margin-left: auto;
  border: 0;
  background: none;
  color: #dc2626;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.cart-remove-btn:hover { text-decoration: underline; }

/* Cart totals & checkout */
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--store-navy);
  font-size: 16px;
  font-weight: 700;
  color: var(--store-navy);
}
.cart-total strong { font-size: 20px; }

.cart-checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-checkout-form input {
  padding: 12px 14px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--store-font);
}
.cart-checkout-form input:focus {
  outline: none;
  border-color: var(--store-yellow);
  box-shadow: 0 0 0 3px rgba(194,96,58,0.2);
}

.cart-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.4;
}

.cart-empty {
  text-align: center;
  color: var(--store-text-muted);
  padding: 40px 0;
  font-size: 15px;
}

/* =========================================================
   SHARE POPUP
   ========================================================= */
.share-wrap {
  position: relative;
}
.share-popup {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(15,26,61,0.18), 0 0 0 1px rgba(15,26,61,0.06);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 180px;
  z-index: 10;
  animation: sharePopIn 0.18s var(--store-ease);
}
.share-popup[hidden] { display: none; }
@keyframes sharePopIn {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.share-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}
.share-opt:hover { background: rgba(15,26,61,0.05); }
.share-opt-wa { color: #25D366; }
.share-opt-fb { color: #1877F2; }
.share-opt-copy { color: var(--store-navy); }

/* =========================================================
   MOBILE STICKY CART BAR
   ========================================================= */
.store-mobile-cart-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(250,247,242,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--store-border);
  padding: 12px 18px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.35s var(--store-transition);
  display: none;
}
.store-mobile-cart-bar[hidden] { display: none; }
.store-mobile-cart-bar.is-visible { transform: translateY(0); }
@media (max-width: 820px) {
  .store-mobile-cart-bar:not([hidden]) { display: block; }
  .store-fab { bottom: 80px; }
}
.store-mobile-cart-inner {
  max-width: var(--store-maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.store-mobile-cart-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.store-mobile-cart-info span:first-child {
  font-size: 14px;
  font-weight: 700;
  color: var(--store-navy);
}
.store-mobile-cart-info span:last-child {
  font-size: 12px;
  font-weight: 500;
  color: var(--store-text-muted);
}
.store-mobile-cart-btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* =========================================================
   SKELETON LOADING
   ========================================================= */
.store-skeleton {
  position: relative;
  overflow: hidden;
  background: var(--store-cream-2);
  border-radius: var(--store-radius);
}
.store-skeleton::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: storeShimmer 1.5s linear infinite;
}
@keyframes storeShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* =========================================================
   CONTACT ICON SVG STYLING
   ========================================================= */
.store-contact-icon svg { stroke: var(--store-navy); }

/* =========================================================
   COUNTRY CHIPS & SHARE TOOLBAR
   ========================================================= */
#storeCountryChips { margin-top: 6px; }

.store-toolbar-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.store-btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

/* =========================================================
   FILTER SHARE / QR POPUP
   ========================================================= */
.filter-share-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: var(--store-radius-lg);
  box-shadow: 0 24px 64px rgba(0,0,0,0.18), 0 0 0 1px var(--store-border);
  padding: 28px;
  z-index: 10000;
  text-align: center;
  max-width: 320px;
  width: calc(100% - 32px);
  animation: sharePopIn 0.2s var(--store-transition);
}
.filter-share-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--store-navy);
}
.filter-share-close {
  background: none;
  border: 0;
  font-size: 22px;
  cursor: pointer;
  color: var(--store-text-muted);
  padding: 0 4px;
  line-height: 1;
}
.filter-share-close:hover { color: var(--store-navy); }
.filter-share-label {
  font-size: 14px;
  color: var(--store-text-muted);
  margin: 0 0 16px;
}
.filter-share-qr {
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--store-border);
}
.filter-share-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* =========================================================
   CLEAN CATALOG VIEW
   A dedicated, ultra-clean catalog page toggled by the
   `is-catalog-view` class on .store-catalog. Reuses the
   storefront nav, grid, cards and design tokens; hides all
   marketing sections and lays out a sidebar of filters + grid.
   ========================================================= */

/* Search box living inside the nav — only visible in catalog view */
.store-nav-search { display: none; }
.store-catalog.is-catalog-view .store-nav-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 520px;
  margin: 0 24px;
  padding: 10px 16px;
  background: var(--store-surface-2, #f5f6f8);
  border: 1px solid var(--store-border);
  border-radius: 999px;
  transition: border-color 0.2s var(--store-ease), box-shadow 0.2s var(--store-ease), background 0.2s var(--store-ease);
}
.store-catalog.is-catalog-view .store-nav-search:focus-within {
  background: #fff;
  border-color: var(--store-yellow);
  box-shadow: 0 0 0 4px rgba(194,96,58,0.18);
}
.store-nav-search svg { color: var(--store-text-muted); flex-shrink: 0; }
.store-nav-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--store-text);
  min-width: 0;
}

/* In catalog view, hide the marketing nav links + all landing sections */
.store-catalog.is-catalog-view .store-nav-links { display: none; }
.store-catalog.is-catalog-view .store-hero,
.store-catalog.is-catalog-view .store-trust,
.store-catalog.is-catalog-view #categorias,
.store-catalog.is-catalog-view #destacados,
.store-catalog.is-catalog-view .store-reels-section,
.store-catalog.is-catalog-view .store-about,
.store-catalog.is-catalog-view .store-contact { display: none !important; }

/* Drop the WhatsApp CTA (nav) and floating WhatsApp button in catalog view —
   they crowd the slim header / overlap the grid badly on phones. */
.store-catalog.is-catalog-view .store-nav-cta,
.store-catalog.is-catalog-view .store-fab { display: none !important; }

/* The catalog page itself */
#catalogPage { display: none; }
.store-catalog.is-catalog-view #catalogPage { display: block; }

.catalog-shell {
  max-width: var(--store-maxw);   /* align with the nav/header (1280px) */
  margin: 0 auto;
  padding: 32px 24px 72px;
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);   /* minmax(0,…) prevents the scroll-rail from blowing the track out */
  gap: 32px;
  align-items: start;
}

/* ---- Sidebar ---- */
.catalog-sidebar {
  position: sticky;
  top: 96px;
  background: var(--store-surface, #fff);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg, 20px);
  padding: 22px 20px;
  box-shadow: var(--store-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.catalog-sidebar-head { display: none; }   /* only shown as a drawer on mobile */
.catalog-filter-group { display: flex; flex-direction: column; gap: 12px; }
.catalog-filter-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--store-text-muted);
  margin: 0;
}
.catalog-filter-title::after {
  content: '';
  display: block;
  width: 24px; height: 2px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--store-yellow);
}
/* Render chips as a vertical list of rows inside the sidebar */
/* nowrap is essential: .store-chips sets flex-wrap:wrap, and a capped-height
   flex COLUMN that wraps splits into side-by-side columns (hidden by
   overflow-x) instead of overflowing vertically — which kills the scroll. */
.catalog-filter-list { flex-direction: column; flex-wrap: nowrap; gap: 4px; }
.catalog-filter-list .store-chip {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 600;
  font-size: 13.5px;
  background: transparent;
}
.catalog-filter-list .store-chip:hover {
  background: var(--store-surface-2, #f5f6f8);
  border-color: transparent;
}
/* Active category = warm soft pill, terracotta text + icon (editorial) */
.catalog-filter-list .store-chip { border-radius: 12px; }
.catalog-filter-list .store-chip.active {
  background: var(--store-yellow-soft);
  color: var(--store-yellow-dark);
  border-color: transparent;
  box-shadow: inset 0 0 0 1px rgba(70,46,28,0.08);
}
/* Category rows: icon | label | count badge */
.catalog-filter-list .store-chip.cat-chip { display: flex; align-items: center; gap: 11px; }
.cat-chip-ic { width: 20px; height: 20px; flex: none; display: grid; place-items: center; color: var(--store-text-muted); transition: color .15s; }
.cat-chip-ic svg { display: block; }
.catalog-filter-list .store-chip:hover .cat-chip-ic { color: var(--store-navy); }
.catalog-filter-list .store-chip.active .cat-chip-ic { color: var(--store-yellow-dark); }
/* Long category lists (46+ cats) scroll inside the sidebar instead of pushing
   the Country / Price filters off-screen. Desktop only — the mobile drawer
   scrolls as a whole (reset in the media query below). */
#storeChips {
  max-height: 360px;
  overflow-y: scroll;       /* always show the track so the scroll is obvious */
  overflow-x: hidden;       /* vertical scroll only — never a horizontal bar */
  padding-right: 10px;
  /* a delimited channel on the right so it reads as a scroll area */
  border-right: 1px solid var(--store-border);
  scrollbar-width: auto;
  scrollbar-color: var(--store-navy, #2e2118) var(--store-surface-2, #ece2d2);
}
#storeChips::-webkit-scrollbar { width: 12px; }
#storeChips::-webkit-scrollbar-track {
  background: var(--store-surface-2, #ece2d2);
  border-radius: 8px;
}
#storeChips::-webkit-scrollbar-thumb {
  background: var(--store-navy, #2e2118);
  border-radius: 8px;
  border: 2px solid var(--store-surface-2, #ece2d2);
  min-height: 40px;
}
#storeChips::-webkit-scrollbar-thumb:hover { background: var(--store-yellow-dark); }
/* #storeChips is a flex column; without this its rows shrink to fit the
   max-height (scrollHeight == clientHeight) and the scrollbar can't move.
   Keep each row at its natural height so the list actually overflows. */
#storeChips .store-chip { flex: 0 0 auto; }
.cat-chip-label { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-chip-count {
  flex: none;
  font-size: 11px; font-weight: 800;
  color: var(--store-text-muted);
  background: var(--store-surface-2, #f7f1e8);
  padding: 2px 8px; border-radius: 999px;
  transition: background .18s, color .18s;
}
.catalog-filter-list .store-chip.cat-chip.active .cat-chip-count {
  background: var(--store-yellow);
  color: #fff;
}
/* Parent category that has subcategories: slightly bolder label. */
.catalog-filter-list .store-chip.cat-chip.is-parent .cat-chip-label { font-weight: 700; }
/* Subcategory rows: indented under their parent with a hairline guide. */
.catalog-filter-list .store-chip.cat-chip.is-sub {
  margin-left: 14px;
  width: calc(100% - 14px);   /* margin-left must not push the row past 100% */
  padding-left: 12px;
  border-left: 1.5px solid var(--store-border);
  border-radius: 0 8px 8px 0;
}
.catalog-filter-list .store-chip.cat-chip.is-sub .cat-chip-ic { width: 16px; height: 16px; }
.catalog-filter-list .store-chip.cat-chip.is-sub .cat-chip-label { font-size: 13px; }
.catalog-filter-list .store-chip.cat-chip.is-sub.active { border-left-color: var(--store-yellow); }
.catalog-clear {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid var(--store-border);
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--store-text-muted);
  cursor: pointer;
  transition: all 0.18s var(--store-ease);
}
.catalog-clear:hover { color: var(--store-yellow-dark); border-color: var(--store-yellow-dark); }

/* ---- Main column ---- */
/* Reset the generic `main {}` rule (max-width/margin/padding) that otherwise
   stops this grid item from stretching to its track and blows the layout out. */
.catalog-main { min-width: 0; max-width: none; margin: 0; padding: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.catalog-count {
  font-family: var(--store-font-display);
  font-style: italic;
  font-size: 18px;
  font-weight: 550;
  color: var(--store-text);
}
.catalog-toolbar-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.catalog-sort { display: flex; align-items: center; gap: 8px; }
.catalog-sort label { font-size: 13px; font-weight: 600; color: var(--store-text-muted); }
.catalog-sort select {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--store-text);
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 999px;
  padding: 9px 32px 9px 14px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b7a6a' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.catalog-sort select:focus { outline: none; border-color: var(--store-yellow); box-shadow: 0 0 0 3px rgba(194,96,58,0.16); }

/* Active filter pills */
.catalog-active-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.catalog-active-pills:empty { display: none; }
.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--store-border);
  background: var(--store-surface);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--store-navy);
  cursor: pointer;
  transition: all 0.18s var(--store-ease);
}
.catalog-pill:hover { border-color: var(--store-yellow); background: var(--store-yellow); color: #fff; }
.catalog-pill svg { opacity: 0.7; }

/* Tighter, denser grid for the catalog (sidebar steals width) */
.catalog-main .store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 1180px) { .catalog-main .store-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Mobile filters trigger (hidden on desktop) */
.catalog-filter-toggle { display: none; }
.catalog-sidebar-backdrop { display: none; }

/* ---- Responsive: sidebar becomes an off-canvas drawer ---- */
@media (max-width: 960px) {
  .catalog-shell { grid-template-columns: 1fr; gap: 0; padding: 20px 16px 64px; }
  .catalog-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 11px 18px;
    border: 1px solid var(--store-border);
    border-radius: 12px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--store-navy);
    cursor: pointer;
    box-shadow: var(--store-shadow-sm);
  }
  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 84%;
    max-width: 340px;
    z-index: 200;
    border-radius: 0 var(--store-radius-lg, 20px) var(--store-radius-lg, 20px) 0;
    transform: translateX(-105%);
    transition: transform 0.32s var(--store-transition);
    overflow-y: auto;
  }
  .catalog-sidebar.is-open { transform: translateX(0); }
  /* In the off-canvas drawer the whole sidebar scrolls — don't double-scroll
     the category list. */
  #storeChips { max-height: none; overflow: visible; padding-right: 0; }
  .catalog-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
  }
  .catalog-sidebar-head h2 { font-size: 18px; font-weight: 800; margin: 0; }
  .catalog-sidebar-close {
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    color: var(--store-text-muted);
    cursor: pointer;
  }
  .catalog-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(29,20,13,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.32s var(--store-transition);
    z-index: 199;
  }
  .catalog-sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .store-catalog.is-catalog-view .store-nav-search { margin: 0 10px; max-width: none; }
}

@media (max-width: 540px) {
  .catalog-main .store-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .catalog-toolbar { gap: 10px; }
}

/* On phones, stack the catalog header: logo alone on top, search full-width
   on its own row below — the inline layout cramps the brand badly. */
@media (max-width: 640px) {
  .store-catalog.is-catalog-view .store-nav-inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .store-catalog.is-catalog-view .store-nav-search {
    order: 5;
    flex-basis: 100%;
    width: 100%;
    margin: 0;
    max-width: none;
  }
}

/* =========================================================
   STOREFRONT EFFECTS LAYER (web/effects.js)
   Decorative per-tenant overlay (falling emoji, confetti,
   snow, festive banner). Never blocks the UI: pointer-events
   none, and sits below the nav / modals / cart / FAB.
   ========================================================= */
.store-fx-layer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  overflow: hidden;
}
.store-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.store-fx-banner {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 92vw;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--store-navy, #2e2118);
  color: #fff;
  font-family: var(--store-font, inherit);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--store-shadow, 0 8px 24px rgba(0,0,0,0.15));
  border: 2px solid var(--store-yellow, #c2603a);
  animation: storeFxBannerBob 2.6s ease-in-out infinite;
  transition: opacity 0.55s ease;
}
.store-fx-banner.is-leaving { opacity: 0; }
@keyframes storeFxBannerBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 640px) {
  .store-fx-banner { top: 132px; font-size: 13.5px; padding: 8px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-fx-banner { animation: none; }
}

/* ---- Mascot effect: a transparent PNG pinned to a corner ---- */
.store-fx-mascot {
  position: absolute;
  width: auto;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.28));
  transition: opacity 0.55s ease;
  will-change: transform;
}
.store-fx-mascot.is-leaving { opacity: 0; }
.store-fx-mascot.is-sm { height: 110px; }
.store-fx-mascot.is-md { height: 165px; }
.store-fx-mascot.is-lg { height: 225px; }
.store-fx-mascot--bottom-left  { bottom: 18px; left: 18px; transform-origin: bottom left; }
.store-fx-mascot--bottom-right { bottom: 18px; right: 18px; transform-origin: bottom right; }
.store-fx-mascot--top-left     { top: 84px; left: 18px; transform-origin: top left; }
.store-fx-mascot--top-right    { top: 84px; right: 18px; transform-origin: top right; }
.store-fx-mascot.fx-anim-bob  { animation: storeFxMascotBob 3.2s ease-in-out infinite; }
.store-fx-mascot.fx-anim-wave { animation: storeFxMascotWave 3.6s ease-in-out infinite; }
@keyframes storeFxMascotBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes storeFxMascotWave {
  0%, 100% { transform: rotate(-3deg); }
  50%      { transform: rotate(3deg); }
}
@media (max-width: 640px) {
  .store-fx-mascot.is-sm { height: 78px; }
  .store-fx-mascot.is-md { height: 110px; }
  .store-fx-mascot.is-lg { height: 150px; }
  .store-fx-mascot--bottom-left, .store-fx-mascot--bottom-right { bottom: 12px; }
  .store-fx-mascot--bottom-left,  .store-fx-mascot--top-left  { left: 10px; }
  .store-fx-mascot--bottom-right, .store-fx-mascot--top-right { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .store-fx-mascot { animation: none !important; }
}

/* ===================================================================
   MOBILE BOTTOM NAVIGATION (app-like) — workstream D
   =================================================================== */
.store-bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--store-border);
  padding-bottom: env(safe-area-inset-bottom);
}
.sbn-item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 4px 7px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--store-text-muted);
  font-size: 10.5px; font-weight: 700;
  transition: color .15s var(--store-ease);
}
.sbn-item.is-active { color: var(--store-yellow-dark); }
.sbn-item:active { transform: scale(.94); }
.sbn-badge {
  position: absolute; top: 4px; left: 54%;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: #e11d48; color: #fff;
  font-size: 10px; font-weight: 800; line-height: 16px;
  border-radius: 999px; text-align: center;
}
@media (max-width: 820px) {
  .store-catalog .store-bottom-nav { display: grid; }
  .store-mobile-cart-bar { display: none !important; }   /* replaced by the bottom nav */
  .store-fab { bottom: 80px; }
  .catalog-page, .store-footer, .store-contact { padding-bottom: 84px; }
}

/* ===================================================================
   PREDICTIVE SEARCH + DISCOVERY RAILS — workstream E
   =================================================================== */
.search-suggest {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  z-index: 70;
  background: #fff;
  border: 1px solid var(--store-border);
  border-radius: 14px;
  box-shadow: var(--store-shadow-lg);
  padding: 6px;
  max-height: 60vh; overflow: auto;
}
.ss-item {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 8px 10px; border: 0; background: transparent;
  border-radius: 10px; cursor: pointer;
  transition: background .12s var(--store-ease);
}
.ss-item:hover, .ss-item.is-active { background: var(--store-surface-2, #f5f6f8); }
.ss-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: var(--store-surface-2); }
.ss-text { display: flex; flex-direction: column; gap: 1px; flex: 1; min-width: 0; }
.ss-text strong { font-size: 13.5px; font-weight: 700; color: var(--store-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-text small { font-size: 11px; color: var(--store-text-muted); font-weight: 600; }
.ss-price { font-size: 13.5px; font-weight: 800; color: var(--store-navy); flex: none; }

/* Horizontal discovery rail (recently viewed, etc.) */
.store-rail { margin-bottom: 22px; }
.store-rail-title {
  font-size: 13px; font-weight: 800; letter-spacing: 0.02em;
  color: var(--store-navy); margin: 0 0 12px;
}
.store-rail-row {
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-bottom: 6px; -webkit-overflow-scrolling: touch;
}
.store-rail-row::-webkit-scrollbar { height: 6px; }
.store-rail-row::-webkit-scrollbar-thumb { background: var(--store-cream-3, #e5e8ed); border-radius: 999px; }
.store-rail-row .store-card { width: 180px; flex: none; scroll-snap-align: start; }
@media (max-width: 540px) { .store-rail-row .store-card { width: 150px; } }

/* ===================================================================
   ADVANCED FILTERS — price dual-range + toggles (workstream K)
   =================================================================== */
.price-range { position: relative; height: 30px; }
.pr-track { position: absolute; top: 13px; left: 2px; right: 2px; height: 4px; background: var(--store-cream-3, #e5e8ed); border-radius: 999px; }
.pr-fill { position: absolute; top: 0; bottom: 0; background: var(--store-yellow); border-radius: 999px; }
.price-range input[type=range] {
  position: absolute; top: 6px; left: 0; width: 100%; height: 18px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none;
}
.price-range input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; pointer-events: auto;
  width: 18px; height: 18px; border-radius: 50%; background: #fff;
  border: 2px solid var(--store-navy); box-shadow: 0 1px 4px rgba(0,0,0,0.22); cursor: pointer;
}
.price-range input[type=range]::-moz-range-thumb {
  pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: #fff;
  border: 2px solid var(--store-navy); box-shadow: 0 1px 4px rgba(0,0,0,0.22); cursor: pointer;
}
.pr-vals { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--store-navy); margin-top: 4px; }
.catalog-toggles { gap: 6px !important; }
.catalog-toggle { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--store-text); cursor: pointer; padding: 5px 2px; }
.catalog-toggle input { width: 16px; height: 16px; accent-color: var(--store-navy); cursor: pointer; }

/* ===================================================================
   MINI-CART (hover dropdown) — workstream J
   =================================================================== */
.store-cart-wrap { position: relative; }
.mini-cart {
  position: absolute; top: calc(100% + 10px); right: 0;
  width: 320px; max-width: 86vw; z-index: 75;
  background: #fff; border: 1px solid var(--store-border);
  border-radius: 16px; box-shadow: var(--store-shadow-lg);
  padding: 14px;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .16s var(--store-ease), transform .16s var(--store-ease);
}
.mini-cart.is-open { opacity: 1; transform: translateY(0); }
.mini-cart-empty { text-align: center; color: var(--store-text-muted); font-weight: 600; padding: 14px 0; font-size: 13.5px; }
.mini-cart-head { font-size: 13px; font-weight: 800; color: var(--store-navy); margin-bottom: 10px; }
.mini-cart-items { max-height: 280px; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.mini-cart-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; }
.mini-cart-item img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--store-surface-2); }
.mc-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mc-info strong { font-size: 12.5px; font-weight: 700; color: var(--store-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-info small { font-size: 11px; color: var(--store-text-muted); font-weight: 600; }
.mc-line { font-size: 12.5px; font-weight: 800; color: var(--store-navy); }
.mini-cart-foot { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--store-border); }
.mc-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 13.5px; }
.mc-subtotal strong { font-size: 16px; font-weight: 800; color: var(--store-navy); }
@media (max-width: 820px) { .mini-cart { display: none !important; } }

/* ===================================================================
   PROMO BANNER (configurable) — workstream H
   =================================================================== */
.catalog-promo {
  display: flex; align-items: center; position: relative; overflow: hidden;
  border-radius: 20px; margin-bottom: 22px; min-height: 270px;
  box-shadow: var(--store-shadow); text-decoration: none;
}
.catalog-promo[hidden] { display: none; }
.catalog-promo-media { position: absolute; inset: 0; }
.catalog-promo-media img { width: 100%; height: 100%; object-fit: cover; }
.catalog-promo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,20,13,0.82) 0%, rgba(29,20,13,0.4) 55%, rgba(29,20,13,0.05) 100%);
}
.catalog-promo-body { position: relative; z-index: 2; max-width: 62%; padding: 30px 34px; color: #fff; }
.catalog-promo-body h2 { font-size: 27px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 8px; }
.catalog-promo-body p { font-size: 14px; opacity: 0.92; margin: 0 0 16px; }
.catalog-promo-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--store-yellow); color: #fff;
  font-weight: 800; font-size: 13.5px; padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(194,96,58,0.3);
}
.catalog-promo.no-media { background: var(--store-navy); min-height: 0; }
.catalog-promo.no-media::after { display: none; }
@media (max-width: 640px) {
  .catalog-promo { min-height: 240px; align-items: flex-end; }
  .catalog-promo::after { background: linear-gradient(0deg, rgba(29,20,13,0.88) 10%, rgba(29,20,13,0.3) 70%); }
  .catalog-promo-body { max-width: 100%; padding: 22px; }
  .catalog-promo-body h2 { font-size: 21px; }
}

/* ===================================================================
   PER-CLIENT LINK BANNER (AI background + animated admin text)
   =================================================================== */
.catalog-promo.is-link-banner { min-height: 210px; }
.catalog-promo.is-link-banner .catalog-promo-media img {
  transform-origin: 60% 50%;
  animation: kenburns 20s ease-in-out infinite alternate;
}
@keyframes kenburns {
  /* Base scale stays >1 through the whole cycle — permanent edge bleed */
  0%   { transform: scale(1.045) translate(0, 0); }
  100% { transform: scale(1.10) translate(-0.8%, -0.6%); }
}
/* Sweeping shine */
.catalog-promo.is-link-banner::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 47%, transparent 60%);
  transform: translateX(-120%);
}
.catalog-promo.is-link-banner.is-animate::before { animation: bannerShine 4.5s ease-in-out 0.6s infinite; }
@keyframes bannerShine { 0% { transform: translateX(-120%); } 55%,100% { transform: translateX(120%); } }
/* Admin message: keep the typed line breaks; bigger calm type */
.catalog-promo.is-link-banner .catalog-promo-body { max-width: 66%; }
.catalog-promo.is-link-banner .catalog-promo-body h2 {
  white-space: pre-line; font-size: 23px; line-height: 1.25; font-weight: 800;
}
/* Entrance reveal of the overlay text/CTA */
.catalog-promo.is-link-banner .catalog-promo-body > * { opacity: 0; transform: translateY(10px); }
.catalog-promo.is-link-banner.is-animate .catalog-promo-body > * {
  animation: bannerReveal 0.6s var(--store-ease) forwards;
}
.catalog-promo.is-link-banner.is-animate .catalog-promo-body h2 { animation-delay: 0.1s; }
.catalog-promo.is-link-banner.is-animate .catalog-promo-body p  { animation-delay: 0.25s; }
.catalog-promo.is-link-banner.is-animate .catalog-promo-cta     { animation-delay: 0.4s; }
@keyframes bannerReveal { to { opacity: 1; transform: translateY(0); } }
@media (max-width: 640px) { .catalog-promo.is-link-banner .catalog-promo-body { max-width: 100%; } .catalog-promo.is-link-banner .catalog-promo-body h2 { font-size: 18px; } }
@media (prefers-reduced-motion: reduce) {
  .catalog-promo.is-link-banner .catalog-promo-media img,
  .catalog-promo.is-link-banner.is-animate::before,
  .catalog-promo.is-link-banner.is-animate .catalog-promo-body > * { animation: none !important; opacity: 1; transform: none; }
}

/* ===================================================================
   PER-CLIENT LINK BANNER — full-width strip above the search bar
   =================================================================== */
.link-banner-top {
  display: flex; align-items: center; position: relative; overflow: hidden;
  width: min(100% - 32px, var(--store-maxw));
  margin: 16px auto 0;
  border-radius: var(--store-radius-lg);
  border: 1px solid var(--store-border);
  box-shadow: var(--store-shadow);
  /* Hero box matching the 21:9 the AI generates — the image shows complete
     (object-fit: cover with the SAME ratio = no crop). Capped for laptops. */
  aspect-ratio: 21 / 9;
  max-height: min(548px, 62vh);
  text-decoration: none;
  background: var(--store-navy);
}
/* Thin inner cream frame — classic gourmet-label framing */
.link-banner-top {
  outline: 1px solid rgba(250,247,242,0.45);
  outline-offset: -10px;
}
.link-banner-top[hidden] { display: none; }
/* Only show the top banner inside the clean catalog view, never on the
   marketing landing. Curated links (?c=) always open in catalog view. */
.store-catalog:not(.is-catalog-view) .link-banner-top { display: none; }
.store-catalog:not(.is-catalog-view) .catalog-urgency { display: none; }
.link-banner-top.no-media { min-height: 0; aspect-ratio: auto; }
/* inset -1px + dark backdrop + base scale >1 in the kenburns: the photo
   always BLEEDS past the box, so browser zoom / fractional-DPR rounding can
   never expose a light seam between the image and the rounded border. */
.lbt-media { position: absolute; inset: -1px; background: var(--store-navy-deep); overflow: hidden; }
.lbt-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.045); transform-origin: 60% 50%; animation: kenburns 22s ease-in-out infinite alternate; }
.link-banner-top::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(29,20,13,0.84) 0%, rgba(29,20,13,0.5) 48%, rgba(29,20,13,0.12) 100%);
}
.link-banner-top::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 47%, transparent 60%);
  transform: translateX(-120%);
}
.link-banner-top.is-animate::before { animation: bannerShine 4.8s ease-in-out 0.6s infinite; }
.lbt-inner {
  position: relative; z-index: 2;
  /* The banner box is flex + already capped at --store-maxw; auto side
     margins would CENTER short content (flex auto-margins), so a brief
     promo title floated to the middle instead of sitting left like the
     link banner. Keep it pinned to the left padding. */
  max-width: var(--store-maxw); margin: 0;
  padding: 48px 24px; color: #fff;
}
.lbt-eyebrow {
  display: block;
  font-family: var(--store-font-display);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
  margin: 0 0 8px;
  text-shadow: 0 1px 10px rgba(0,0,0,0.35);
}
.lbt-eyebrow::after {
  content: ''; display: block; width: 30px; height: 2px; border-radius: 2px;
  background: var(--store-yellow); margin-top: 8px;
}
.lbt-text {
  white-space: pre-line;
  font-family: var(--store-font-display);
  font-size: 30px; font-weight: 600; line-height: 1.18;
  letter-spacing: -0.005em; margin: 0 0 12px; max-width: 58%;
  text-shadow: 0 2px 14px rgba(0,0,0,0.35);
}
.lbt-sub {
  font-size: 15px; line-height: 1.4; opacity: 0.94; margin: 0 0 18px; max-width: 52%;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}
.lbt-cta {
  display: inline-flex; align-items: center;
  background: var(--store-yellow); color: #fff;
  font-weight: 800; font-size: 14px; padding: 12px 26px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(194,96,58,0.32);
}
.link-banner-top .lbt-inner > * { opacity: 0; transform: translateY(12px); }
.link-banner-top.is-animate .lbt-inner > * { animation: bannerReveal 0.6s var(--store-ease) forwards; }
.link-banner-top.is-animate .lbt-text { animation-delay: 0.1s; }
.link-banner-top.is-animate .lbt-cta { animation-delay: 0.3s; }
@media (max-width: 720px) {
  /* Same 21:9 as the generated image; min-height keeps presence on tiny phones */
  .link-banner-top { aspect-ratio: 21 / 9; min-height: 180px; align-items: flex-end; }
  .link-banner-top::after { background: linear-gradient(0deg, rgba(29,20,13,0.88) 14%, rgba(29,20,13,0.32) 72%); }
  .lbt-inner { padding: 20px 18px; width: 100%; }
  .lbt-text { font-size: 20px; max-width: 100%; margin-bottom: 10px; }
  .lbt-sub { font-size: 13px; max-width: 100%; margin-bottom: 14px; }
  .lbt-cta { font-size: 13px; padding: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .link-banner-top.is-animate::before,
  .link-banner-top.is-animate .lbt-inner > * { animation: none !important; opacity: 1; transform: none; }
  /* Keep the static bleed scale — only the motion stops */
  .lbt-media img { animation: none !important; transform: scale(1.045); }
}

/* ===================================================================
   EDITORIAL CATALOG HERO — 1 large + 2 stacked picks (honest data only)
   =================================================================== */
.catalog-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin-bottom: 26px;
}
.catalog-hero[hidden] { display: none; }
.chero-main {
  grid-row: 1 / 3;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--store-shadow-sm);
  transition: transform .3s var(--store-transition), box-shadow .3s var(--store-transition);
}
.chero-main:hover { transform: translateY(-4px); box-shadow: var(--store-shadow-hover); }
.chero-media { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--store-surface-2); }
.chero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  transition: transform 1.4s var(--store-ease);
}
.chero-main:hover .chero-media img { transform: scale(1.05); }
.chero-media .store-badge { top: 14px; left: 14px; }
.chero-body { padding: 18px 22px 20px; }
.chero-eyebrow {
  display: block;
  font-family: var(--store-font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--store-yellow-dark);
  margin-bottom: 6px;
}
.chero-body h3 {
  font-family: var(--store-font-display);
  font-size: 22px; font-weight: 600; color: var(--store-navy);
  margin: 0 0 6px; line-height: 1.2;
}
.chero-side {
  display: grid;
  grid-template-columns: 132px 1fr;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--store-shadow-sm);
  transition: transform .3s var(--store-transition), box-shadow .3s var(--store-transition);
}
.chero-side:hover { transform: translateY(-3px); box-shadow: var(--store-shadow-hover); }
.chero-side-media { overflow: hidden; background: var(--store-surface-2); }
.chero-side-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--store-ease); }
.chero-side:hover .chero-side-media img { transform: scale(1.05); }
.chero-side-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; justify-content: center; min-width: 0; }
.chero-side-body h4 {
  font-family: var(--store-font-display);
  font-size: 15.5px; font-weight: 600; color: var(--store-navy);
  margin: 0; line-height: 1.25;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
@media (max-width: 820px) {
  .catalog-hero {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 12px; padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .catalog-hero::-webkit-scrollbar { display: none; }
  .chero-main { flex: 0 0 78%; scroll-snap-align: start; grid-row: auto; }
  .chero-media { aspect-ratio: 4/3; flex: none; }
  .chero-side { flex: 0 0 78%; scroll-snap-align: start; grid-template-columns: 110px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .chero-media img, .chero-side-media img { transition: none; transform: none !important; }
}

/* ---- Honest social proof ---- */
.store-card-sold {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: var(--store-text-muted);
}
.store-card-sold svg { color: var(--store-yellow-dark); flex: none; }
.store-modal-sold {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; font-weight: 600; color: var(--store-text-muted);
  margin: -8px 0 14px;
}
.store-modal-sold svg { color: var(--store-yellow-dark); flex: none; }

/* ---- Cross-sell: "Pairs well with…" rail in the product modal ---- */
.modal-xsell { padding: 6px 28px 26px; }
.modal-xsell h3 {
  font-family: var(--store-font-display);
  font-size: 18px; font-weight: 600; color: var(--store-navy);
  margin: 0 0 12px;
}
.modal-xsell-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.mx-item {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 10px;
  padding: 8px 10px;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
.mx-item:hover { border-color: rgba(70,46,28,0.18); box-shadow: var(--store-shadow-sm); }
.mx-item img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--store-surface-2); }
.mx-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.mx-info strong { font-size: 13px; color: var(--store-navy); line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mx-info small { font-family: var(--store-font-display); font-size: 13.5px; font-weight: 600; color: var(--store-yellow-dark); }
.mx-add {
  width: 30px; height: 30px; border: 0; border-radius: 50%;
  background: var(--store-yellow); color: #fff;
  font-size: 17px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background .12s, transform .12s;
}
.mx-add:hover { background: var(--store-yellow-dark); transform: scale(1.06); }
@media (max-width: 720px) { .modal-xsell { padding: 4px 18px 20px; } }

/* ---- Cart drawer cross-sell ---- */
.cart-xsell {
  margin: 6px 0 14px;
  padding: 14px;
  background: var(--store-cream-2);
  border-radius: 14px;
}
.cart-xsell h4 {
  font-family: var(--store-font-display);
  font-size: 15px; font-weight: 600; color: var(--store-navy);
  margin: 0 0 10px;
}
.cart-xsell-item { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; }
.cart-xsell-item img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: var(--store-surface-2); }
.cx-info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.cx-info strong { font-size: 12.5px; color: var(--store-navy); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-info small { font-size: 12px; font-weight: 700; color: var(--store-yellow-dark); }
.cx-add {
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--store-yellow); color: #fff;
  font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: background .12s;
}
.cx-add:hover { background: var(--store-yellow-dark); }

/* ---- Free-shipping progress bar ---- */
.freeship { margin: 4px 0 14px; }
.freeship-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--store-text); margin-bottom: 7px; }
.freeship.is-unlocked .freeship-label { color: var(--store-yellow-dark); }
.freeship-track { height: 6px; border-radius: 999px; background: var(--store-cream-3); overflow: hidden; }
.freeship-fill {
  height: 100%; border-radius: 999px;
  background: var(--store-yellow);
  transition: width .5s var(--store-ease);
}
.mini-cart .freeship { margin: 0 0 10px; }

/* ---- Honest urgency strip (real link expiry only) ---- */
.catalog-urgency {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: min(100% - 32px, var(--store-maxw));
  margin: 10px auto 0;
  padding: 9px 16px;
  background: var(--store-yellow-soft);
  color: var(--store-yellow-dark);
  border: 1px solid rgba(70,46,28,0.10);
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
}
.catalog-urgency[hidden] { display: none; }
.catalog-urgency svg { flex: none; }

/* ---- Curated-link greeting card (no banner image/text yet) ---- */
.link-greeting {
  width: min(100% - 32px, var(--store-maxw));
  margin: 16px auto 0;
  padding: 26px 24px;
  text-align: center;
  background: var(--store-surface);
  border: 1px solid var(--store-border);
  border-radius: var(--store-radius-lg);
  box-shadow: var(--store-shadow-sm);
}
.link-greeting-eyebrow {
  display: block;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--store-text-muted);
  margin-bottom: 6px;
}
.link-greeting-name {
  display: block;
  font-family: var(--store-font-display);
  font-style: italic;
  font-size: 26px; font-weight: 600; color: var(--store-navy);
  line-height: 1.2;
}
.link-greeting-name::after {
  content: ''; display: block; width: 34px; height: 2px; border-radius: 2px;
  background: var(--store-yellow); margin: 12px auto 8px;
}
.link-greeting-sub { display: block; font-size: 13.5px; color: var(--store-text-muted); font-weight: 500; }
.store-catalog:not(.is-catalog-view) .link-greeting { display: none; }
