/* ═══════════════════════════════════════════════════════════════════════════
   Emporio del Valle — Design System
   CSS Variables match the Next.js site exactly (HSL format)
   ═══════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ─── Color Palettes ──────────────────────────────────────────────────────── */
:root,
[data-palette="emporio"] {
  --primary:            170 35% 62%;
  --primary-foreground: 0 0% 100%;
  --background:         40 60% 97%;
  --foreground:         30 15% 25%;
  --card:               0 0% 100%;
  --card-foreground:    30 15% 25%;
  --secondary:          40 60% 95%;
  --secondary-foreground: 30 15% 25%;
  --muted:              40 20% 92%;
  --muted-foreground:   30 10% 50%;
  --accent:             170 30% 90%;
  --accent-foreground:  170 40% 30%;
  --border:             170 20% 85%;
  --input:              170 15% 90%;
  --ring:               170 35% 62%;
  --radius:             0.75rem;
}

[data-palette="terracota"] {
  --primary:            18 65% 55%;
  --background:         30 55% 97%;
  --foreground:         20 20% 20%;
  --secondary:          30 50% 93%;
  --border:             18 30% 82%;
}

[data-palette="forest"] {
  --primary:            140 40% 45%;
  --background:         120 20% 97%;
  --foreground:         130 20% 20%;
  --secondary:          120 20% 94%;
  --border:             140 20% 80%;
}

[data-palette="aubergine"] {
  --primary:            280 35% 55%;
  --background:         270 20% 97%;
  --foreground:         270 20% 20%;
  --secondary:          270 20% 93%;
  --border:             280 20% 82%;
}

[data-palette="coral"] {
  --primary:            10 70% 65%;
  --background:         20 60% 98%;
  --foreground:         15 20% 22%;
  --secondary:          20 50% 95%;
  --border:             10 30% 85%;
}

[data-palette="slate"] {
  --primary:            210 50% 55%;
  --background:         210 20% 97%;
  --foreground:         210 20% 20%;
  --secondary:          210 20% 94%;
  --border:             210 20% 82%;
}

[data-palette="berry"] {
  --primary:            330 50% 55%;
  --background:         320 20% 97%;
  --foreground:         320 20% 20%;
  --secondary:          320 20% 94%;
  --border:             330 20% 82%;
}

[data-palette="golden"] {
  --primary:            45 80% 55%;
  --background:         40 60% 98%;
  --foreground:         35 25% 20%;
  --secondary:          40 55% 95%;
  --border:             45 30% 82%;
}

/* ─── Y2K Admin Palette ────────────────────────────────────────────────────
   Rosa #FF99C9  → 332 100% 80%   peligro / eliminar
   Púrpura #9E7AFF → 256 85% 65%  primario / botones / activo
   Azul #89CFF0  → 199 75% 74%   info / secundario
   Albaricoque #FDD9B5 → 30 90% 85%  fondos alternos / warning
   Aqua #00CED1  → 181 100% 41%  éxito / positivo
   Lavanda #E0BBE4 → 294 35% 82%  bordes / fondo general
   ─────────────────────────────────────────────────────────────────────── */
[data-palette="y2k"] {
  --primary:            256 85% 65%;   /* Púrpura — botones, activo, énfasis */
  --primary-foreground: 0 0% 100%;
  --background:         270 38% 97%;   /* Lavanda muy claro — fondo general */
  --foreground:         260 55% 22%;   /* Púrpura oscuro — texto y sidebar */
  --card:               0 0% 100%;
  --card-foreground:    260 45% 18%;
  --secondary:          30 75% 94%;    /* Albaricoque suave — filas alternas */
  --secondary-foreground: 260 40% 22%;
  --muted:              270 28% 93%;   /* Lavanda muted */
  --muted-foreground:   260 22% 50%;
  --accent:             256 65% 93%;   /* Acento púrpura muy claro */
  --accent-foreground:  256 60% 38%;
  --border:             270 28% 87%;   /* Lavanda border */
  --input:              270 22% 93%;
  --ring:               256 85% 65%;
  --radius:             0.75rem;
}

/* ─── Base Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Lora', serif;
  font-weight: 700;
  line-height: 1.2;
  color: hsl(var(--foreground));
}

p { margin-bottom: 1rem; }
a { color: hsl(var(--primary)); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ─── Container ───────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--primary));
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.88; text-decoration: none; }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background-color: transparent;
  color: hsl(var(--primary));
  border: 2px solid hsl(var(--primary));
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-outline:hover {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background-color: hsl(0 65% 95%);
  color: hsl(0 60% 40%);
  border: 1px solid hsl(0 65% 80%);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-danger:hover { background: hsl(0 65% 90%); border-color: hsl(0 60% 65%); }
.btn-ghost-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.375rem 0.625rem;
  background: transparent;
  color: hsl(0 55% 55%);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn-ghost-danger:hover { background: hsl(0 65% 95%); color: hsl(0 60% 38%); border-color: hsl(0 65% 82%); }

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
}

/* ─── Form Elements ───────────────────────────────────────────────────────── */
.input-field {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.input-field:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}
.input-field::placeholder { color: hsl(var(--muted-foreground)); }

textarea.input-field { resize: vertical; min-height: 120px; }

label { font-size: 0.875rem; font-weight: 500; color: hsl(var(--foreground)); }

/* ─── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 1px 3px hsl(var(--foreground) / 0.06);
}

/* ─── Prose (content rendered from blocks) ────────────────────────────────── */
.prose { max-width: 100%; }
.prose h1 { font-size: 2.25rem; margin-bottom: 1.25rem; }
.prose h2 { font-size: 1.875rem; margin-bottom: 1rem; margin-top: 2rem; color: hsl(var(--foreground)); }
.prose h3 { font-size: 1.5rem; margin-bottom: 0.75rem; margin-top: 1.5rem; }
.prose p  { margin-bottom: 1rem; color: hsl(var(--foreground) / 0.85); }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: 0.25rem; }
.prose a  { color: hsl(var(--primary)); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.prose blockquote {
  border-left: 4px solid hsl(var(--primary));
  padding-left: 1rem;
  color: hsl(var(--muted-foreground));
  font-style: italic;
  margin: 1.5rem 0;
}

/* ─── Public Nav ──────────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: hsl(var(--background) / 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.site-nav .nav-logo {
  font-family: 'Lora', serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
}
.site-nav .nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}
.site-nav .nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.75);
  transition: color 0.2s;
  text-decoration: none;
}
.site-nav .nav-links a:hover { color: hsl(var(--primary)); }
.site-nav .nav-mobile-toggle { display: none; background: none; border: none; cursor: pointer; }

@media (max-width: 768px) {
  .site-nav .nav-links { display: none; }
  .site-nav .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: hsl(var(--background));
    padding: 1rem 1.5rem;
    border-bottom: 1px solid hsl(var(--border));
    z-index: 99;
    gap: 1rem;
  }
  .site-nav .nav-mobile-toggle { display: flex; }
}

/* ─── Site Footer ─────────────────────────────────────────────────────────── */
.site-footer {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background) / 0.8);
  padding: 3rem 1.5rem 2rem;
}
.site-footer a { color: hsl(var(--primary)); }

/* ─── Sections spacing ────────────────────────────────────────────────────── */
.py-8  { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-4  { padding-inline: 1rem; }
.px-6  { padding-inline: 1.5rem; }

/* ─── Utilities ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-primary { color: hsl(var(--primary)); }
.text-muted   { color: hsl(var(--muted-foreground)); }
.font-serif   { font-family: 'Lora', serif; }

.bg-primary   { background-color: hsl(var(--primary)); }
.bg-secondary { background-color: hsl(var(--secondary)); }
.bg-card      { background-color: hsl(var(--card)); }

.rounded      { border-radius: var(--radius); }
.shadow-sm    { box-shadow: 0 1px 3px hsl(var(--foreground) / 0.08); }
.shadow       { box-shadow: 0 4px 12px hsl(var(--foreground) / 0.1); }

.divider {
  width: 4rem;
  height: 3px;
  background-color: hsl(var(--primary));
  border-radius: 999px;
  margin: 1rem auto;
}

/* ─── Flash alerts ────────────────────────────────────────────────────────── */
.alert { padding: 0.875rem 1.25rem; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1rem; }
.alert-success { background-color: hsl(var(--primary) / 0.15); color: hsl(var(--foreground)); border: 1px solid hsl(var(--primary) / 0.3); }
.alert-error   { background-color: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ─── Admin Panel ─────────────────────────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: #f8f7f5;
}

.admin-sidebar {
  width: 240px;
  flex-shrink: 0;
  background: hsl(var(--foreground));
  color: hsl(var(--background) / 0.85);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar .sidebar-logo {
  padding: 1.5rem;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--background) / 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.admin-sidebar .sidebar-nav { padding: 1rem 0; flex: 1; }
.admin-sidebar .sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  color: hsl(var(--background) / 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
  border-radius: 0;
}
.admin-sidebar .sidebar-nav a:hover {
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
}
.admin-sidebar .sidebar-nav a.active {
  background: hsl(var(--primary) / 0.18);
  color: hsl(var(--primary));
  font-weight: 700;
  border-left: 3px solid hsl(var(--primary));
  padding-left: calc(1.25rem - 3px);
}
.admin-sidebar .sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid hsl(var(--background) / 0.1);
  font-size: 0.8rem;
  color: hsl(var(--background) / 0.5);
}

/* ── Sidebar section label ──────────────────────────────────────────────── */
.admin-sidebar .sidebar-section {
  padding: 1.1rem 1.25rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--background) / 0.35);
  user-select: none;
}

/* ── Sidebar group (collapsible) ────────────────────────────────────────── */
.admin-sidebar .sidebar-group-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  color: hsl(var(--background) / 0.7);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}
.admin-sidebar .sidebar-group-header:hover,
.admin-sidebar .sidebar-group-header.active {
  background: hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}
.admin-sidebar .sidebar-chevron {
  transition: transform 0.2s ease;
}
.admin-sidebar .sidebar-group.open .sidebar-chevron {
  transform: rotate(90deg);
}

/* ── Sub links (flat, always visible) ──────────────────────────────────── */
.admin-sidebar a.sidebar-sub {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem 0.4rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: hsl(var(--background) / 0.55);
  text-decoration: none;
  transition: all 0.15s;
}
.admin-sidebar a.sidebar-sub:hover,
.admin-sidebar a.sidebar-sub.active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.15);
  font-weight: 600;
}

/* ── Pending badge ──────────────────────────────────────────────────────── */
.admin-sidebar .badge-pending {
  background: hsl(332 70% 58%);
  color: white;
  border-radius: 999px;
  font-size: 0.65rem;
  padding: 1px 7px;
  font-weight: 700;
  line-height: 1.4;
}

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

.admin-topbar {
  background: white;
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.875rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-topbar h1 { font-size: 1.125rem; font-weight: 600; }

.admin-content { padding: 1.5rem; }

/* Admin tables */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th {
  text-align: left;
  padding: 0.75rem 1rem;
  background: hsl(var(--secondary));
  color: hsl(var(--foreground) / 0.7);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid hsl(var(--border));
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid hsl(var(--border));
  vertical-align: middle;
}
.admin-table tr:hover td { background: hsl(var(--secondary) / 0.5); }

/* Status badges */
.badge {
  display: inline-block;
  padding: 0.2rem 0.625rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.badge-green  { background: #dcfce7; color: #166534; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-yellow { background: #fef9c3; color: #854d0e; }
.badge-gray   { background: #f1f5f9; color: #475569; }

/* ─── Media grid ──────────────────────────────────────────────────────────── */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.media-item {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: hsl(var(--muted));
}
.media-item img { width: 100%; height: 100%; object-fit: cover; }
.media-item:hover { border-color: hsl(var(--primary)); }
.media-item.selected { border-color: hsl(var(--primary)); box-shadow: 0 0 0 3px hsl(var(--primary) / 0.3); }
.media-item .media-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground) / 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.media-item:hover .media-overlay { opacity: 1; }

/* ─── Modal ───────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: hsl(var(--foreground) / 0.5);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-box {
  background: white;
  border-radius: var(--radius);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}
.modal-body { padding: 1.5rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; line-height: 1; color: hsl(var(--muted-foreground)); }

/* ─── Toggle switch ───────────────────────────────────────────────────────── */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: hsl(var(--muted));
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
}
.toggle-switch input:checked + .toggle-slider { background: hsl(var(--primary)); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(18px); }

/* ─── Constructor / Builder ───────────────────────────────────────────────── */
.builder-layout {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  grid-template-rows: auto 1fr;
  height: calc(100vh - 60px);
  overflow: hidden;
}
.builder-topbar {
  grid-column: 1 / -1;
  background: white;
  border-bottom: 1px solid hsl(var(--border));
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.builder-blocks-panel {
  background: hsl(var(--secondary));
  border-right: 1px solid hsl(var(--border));
  overflow-y: auto;
  padding: 1rem;
}
.builder-blocks-panel h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.block-type-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  margin-bottom: 0.375rem;
  background: white;
  border: 1.5px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.block-type-btn:hover {
  border-color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.05);
}

.builder-canvas {
  overflow-y: auto;
  background: #e8e7e3;
  padding: 1rem;
}
#canvas-blocks { min-height: 100%; }

.canvas-block {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  border: 2px solid transparent;
  position: relative;
  transition: border-color 0.15s;
  overflow: hidden;
}
.canvas-block:hover  { border-color: hsl(var(--primary) / 0.4); }
.canvas-block.active { border-color: hsl(var(--primary)); }

.block-controls {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 0;
  background: hsl(var(--foreground));
  border-radius: 0 var(--radius) 0 var(--radius);
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 10;
}
.canvas-block:hover .block-controls { opacity: 1; }
.block-controls button, .block-controls .drag-handle {
  padding: 0.375rem 0.625rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  transition: background 0.15s;
}
.block-controls button:hover { background: hsl(var(--primary) / 0.3); }
.block-controls .drag-handle { cursor: grab; }
.block-controls .drag-handle:active { cursor: grabbing; }
.block-preview { padding: 0.75rem 1rem; font-size: 0.85rem; min-height: 60px; pointer-events: none; }

.builder-props-panel {
  background: white;
  border-left: 1px solid hsl(var(--border));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.props-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid hsl(var(--border));
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.props-body { padding: 1rem 1.25rem; flex: 1; }
.props-body .form-group { margin-bottom: 1rem; }
.props-body label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.375rem; color: hsl(var(--foreground) / 0.75); }
.props-body input[type=text],
.props-body input[type=url],
.props-body input[type=number],
.props-body select,
.props-body textarea { width: 100%; padding: 0.5rem 0.75rem; font-size: 0.85rem; border: 1.5px solid hsl(var(--border)); border-radius: calc(var(--radius) - 2px); outline: none; font-family: inherit; }
.props-body input:focus, .props-body select:focus, .props-body textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / 0.15);
}
.props-body input[type=range] { width: 100%; accent-color: hsl(var(--primary)); }
.media-picker-btn {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 2px dashed hsl(var(--border));
  border-radius: var(--radius);
  background: hsl(var(--secondary));
  cursor: pointer;
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  transition: border-color 0.15s, color 0.15s;
}
.media-picker-btn:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.media-preview-thumb { margin-top: 0.5rem; max-width: 100%; height: 80px; object-fit: cover; border-radius: calc(var(--radius) - 2px); display: block; }

/* ═══════════════════════════════════════════════════════════════════════════
   PUBLIC SITE — Sections & Components
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Google Fonts (also loaded via <link> in layout) ── */
body { font-family: 'Montserrat', sans-serif; }

/* ── Shared section structure ─────────────────────────────────────────────── */
.pub-section {
  padding: 5rem 1.5rem;
}
.pub-section-alt {
  padding: 5rem 1.5rem;
  background-color: hsl(var(--secondary));
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-family: 'Lora', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
}
.section-divider {
  width: 3rem;
  height: 3px;
  background: hsl(var(--primary));
  border-radius: 999px;
  margin: 0.75rem auto 1rem;
}
.section-subtitle {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Hero section ─────────────────────────────────────────────────────────── */
.pub-hero {
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  background-color: hsl(var(--background));
}
.pub-hero .hero-logo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.75rem;
  border: 4px solid hsl(var(--border));
  box-shadow: 0 4px 20px hsl(var(--foreground) / 0.08);
}
.pub-hero .hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pub-hero h1 {
  font-family: 'Lora', serif;
  font-size: 3.25rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
  .pub-hero h1 { font-size: 2.25rem; }
  .section-header h2 { font-size: 1.75rem; }
}
.pub-hero .hero-subtitle {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  font-style: italic;
  margin-bottom: 1.25rem;
}
.pub-hero .hero-desc {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  max-width: 480px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.pub-hero .hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.pub-hero .hero-link-plain {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.pub-hero .hero-link-plain:hover { color: hsl(var(--primary)); }

/* ── Productos cards ──────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.product-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.15s;
}
.product-card:hover {
  box-shadow: 0 8px 24px hsl(var(--foreground) / 0.08);
  transform: translateY(-2px);
}
.product-card .product-icon {
  width: 68px;
  height: 68px;
  background: hsl(var(--primary) / 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: hsl(var(--primary));
}
.product-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}
.product-card p {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.product-card .btn-outline {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
}
.pdf-link-wrap {
  text-align: center;
  margin-bottom: 1rem;
}
.pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--foreground) / 0.6);
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 0.4rem 1rem;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.pdf-link:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary)); }

/* ── Servicios cards ──────────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.service-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px hsl(var(--foreground) / 0.08);
  position: relative;
  background: hsl(var(--card));
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px hsl(var(--foreground) / 0.13);
}
.service-card .service-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.service-card .service-body {
  padding: 1rem 1.25rem 1.25rem;
}
.service-card .service-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.3rem;
}
.service-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
  margin-bottom: 1rem;
}
.service-card .btn-primary {
  font-size: 0.8rem;
  padding: 0.5rem 1.25rem;
  width: 100%;
  justify-content: center;
}

/* ── Historia section ─────────────────────────────────────────────────────── */
.historia-text {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
}
.historia-text p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 1rem;
}
.historia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.historia-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 2px 8px hsl(var(--foreground) / 0.06);
}
.historia-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.historia-card .historia-card-body {
  padding: 1.25rem;
}
.historia-card h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}
.historia-card p {
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin: 0;
}

/* ── Galería grid ─────────────────────────────────────────────────────────── */
.gallery-pub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem;
}
@media (max-width: 600px) {
  .gallery-pub-grid { grid-template-columns: repeat(2, 1fr); }
}
.gallery-pub-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  background: hsl(var(--muted));
}
.gallery-pub-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-pub-item:hover img { transform: scale(1.05); }
.gallery-pub-item.large {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.gallery-pub-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground) / 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-pub-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon {
  color: white;
  font-size: 1.75rem;
}
.gallery-more-link {
  text-align: center;
  margin-top: 1.5rem;
}
.gallery-more-link a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
}
.gallery-more-link a:hover { color: hsl(var(--primary)); }

/* ── Encuéntranos ─────────────────────────────────────────────────────────── */
.encuentranos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .encuentranos-grid { grid-template-columns: 1fr; }
}
.encuentranos-info h3 {
  font-family: 'Lora', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}
.info-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.info-item .info-icon {
  width: 38px;
  height: 38px;
  background: hsl(var(--primary) / 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: hsl(var(--primary));
  margin-top: 2px;
}
.info-item p {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
  margin: 0;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: hsl(var(--foreground) / 0.7);
  text-decoration: none;
  transition: color 0.2s;
}
.social-link:hover { color: hsl(var(--primary)); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  height: 380px;
  border: 1px solid hsl(var(--border));
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.map-placeholder {
  width: 100%;
  height: 100%;
  background: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ── Updated nav: WhatsApp button style ───────────────────────────────────── */
.nav-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25d366;
  color: white !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-btn-wa:hover { background: #1faf55 !important; }

.nav-btn-carta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: hsl(170 50% 38%);
  color: white !important;
  padding: 0.48rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  white-space: nowrap;
  box-shadow: 0 2px 8px hsl(170 50% 38% / 0.35);
}
.nav-btn-carta:hover {
  background: hsl(170 55% 30%) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(170 50% 38% / 0.45);
}

/* ── Block renderer output (non-Tailwind) ─────────────────────────────────── */
.block-hero-pub {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}
.block-hero-pub .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.block-hero-pub .hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--foreground));
  z-index: 1;
}
.block-hero-pub .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.block-hero-pub h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.block-hero-pub p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.block-text-pub {
  padding: 4rem 1.5rem;
}
.block-text-pub .block-text-inner {
  max-width: 800px;
  margin: 0 auto;
}
.block-text-pub h1,.block-text-pub h2,.block-text-pub h3 {
  font-family: 'Lora', serif;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}
.block-text-pub p { color: hsl(var(--muted-foreground)); line-height: 1.75; }
.block-columns-pub {
  padding: 4rem 1.5rem;
}
.block-columns-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.block-col-item { flex: 1; min-width: 220px; }
.block-col-item h1,.block-col-item h2,.block-col-item h3 {
  font-family: 'Lora', serif;
  margin-bottom: 0.75rem;
}
.block-col-item p { font-size: 0.9rem; color: hsl(var(--muted-foreground)); line-height: 1.65; }
.block-contact-pub {
  padding: 5rem 1.5rem;
  background: hsl(var(--secondary));
}
.block-contact-inner {
  max-width: 700px;
  margin: 0 auto;
}
.block-contact-title {
  text-align: center;
  margin-bottom: 2.5rem;
}
.block-contact-title h2 {
  font-family: 'Lora', serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.block-contact-form {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 2rem;
}
.block-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 500px) { .block-contact-form .form-row { grid-template-columns: 1fr; } }
.block-contact-form .form-group { margin-bottom: 1rem; }
.block-contact-form label { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.3rem; }
.block-contact-form textarea { resize: vertical; min-height: 120px; }
.block-contact-form .btn-primary { width: 100%; justify-content: center; margin-top: 0.5rem; }


/* ── Generic columns block ─────────────────────────────────────────────────── */
.generic-columns {
  display: grid;
  gap: 2rem;
}
.generic-columns-1 { grid-template-columns: 1fr; }
.generic-columns-2 { grid-template-columns: repeat(2, 1fr); }
.generic-columns-3 { grid-template-columns: repeat(3, 1fr); }
.generic-columns-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) {
  .generic-columns-2,.generic-columns-3,.generic-columns-4 { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .generic-columns-4 { grid-template-columns: repeat(2, 1fr); }
  .generic-columns-3 { grid-template-columns: repeat(2, 1fr); }
}
.generic-col { min-width: 0; }

.generic-col { min-width: 0; }

/* ── Testimonials Carousel Block ─────────────────────────────────────────── */
.testimonials-section {}
.testimonials-carousel {
  position: relative;
  overflow: hidden;
}
.testimonials-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.tc-card {
  min-width: 100%;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .testimonials-track[data-per-row="2"] .tc-card { min-width: 50%; }
  .testimonials-track[data-per-row="3"] .tc-card { min-width: 33.333%; }
}
.tc-quote {
  font-family: 'Lora', serif;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--foreground));
  font-style: normal;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.tc-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid hsl(var(--primary) / 0.3);
}
.tc-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.12);
  color: hsl(var(--primary));
  font-family: 'Lora', serif;
  font-size: 1.2rem;
  font-weight: 700;
}
.tc-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
}
.tc-cargo {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}
.tc-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.tc-nav {
  width: 36px;
  height: 36px;
  border: 1px solid hsl(var(--border));
  border-radius: 50%;
  background: white;
  color: hsl(var(--foreground));
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.tc-nav:hover { background: hsl(var(--primary)); color: white; border-color: hsl(var(--primary)); }
.tc-dots { display: flex; gap: 0.4rem; }
.tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsl(var(--border));
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.tc-dot.active { background: hsl(var(--primary)); transform: scale(1.25); }

/* ═══════════════════════════════════════════════════════════════════════════
   Y2K ADMIN — Overrides de colores específicos del backend
   (Solo afecta páginas con data-palette="y2k")
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Layout principal ──────────────────────────────────────────────────── */
[data-palette="y2k"] .admin-layout {
  background: hsl(270 30% 95%);
}

/* ── Sidebar: púrpura profundo degradado ───────────────────────────────── */
[data-palette="y2k"] .admin-sidebar {
  background: linear-gradient(180deg, hsl(260 55% 22%) 0%, hsl(272 50% 18%) 100%);
}
[data-palette="y2k"] .admin-sidebar .sidebar-logo {
  color: hsl(270 55% 90%);
  border-bottom-color: hsl(260 40% 32%);
}
[data-palette="y2k"] .admin-sidebar .sidebar-nav a {
  color: hsl(270 35% 75%);
}
[data-palette="y2k"] .admin-sidebar .sidebar-nav a:hover {
  background: hsl(256 85% 65% / 0.18);
  color: hsl(256 100% 82%);
}
[data-palette="y2k"] .admin-sidebar .sidebar-nav a.active {
  background: hsl(256 85% 65% / 0.28);
  color: hsl(256 100% 88%);
  font-weight: 700;
  border-left: 3px solid hsl(256 85% 70%);
  padding-left: calc(1.25rem - 3px);
}
[data-palette="y2k"] .admin-sidebar .sidebar-section {
  color: hsl(270 30% 52%);
}
[data-palette="y2k"] .admin-sidebar a.sidebar-sub {
  color: hsl(270 30% 60%);
}
[data-palette="y2k"] .admin-sidebar a.sidebar-sub:hover,
[data-palette="y2k"] .admin-sidebar a.sidebar-sub.active {
  background: hsl(256 85% 65% / 0.22);
  color: hsl(256 100% 85%);
}
[data-palette="y2k"] .admin-sidebar .sidebar-footer {
  border-top-color: hsl(260 40% 32%);
  color: hsl(270 25% 60%);
}

/* ── Topbar ────────────────────────────────────────────────────────────── */
[data-palette="y2k"] .admin-topbar {
  background: hsl(0 0% 100%);
  border-bottom-color: hsl(270 28% 87%);
}

/* ── Badges Y2K ────────────────────────────────────────────────────────── */
[data-palette="y2k"] .badge-green  {                      /* Aqua = éxito */
  background: hsl(181 55% 88%);
  color:      hsl(181 75% 22%);
}
[data-palette="y2k"] .badge-red    {                      /* Rosa = error/peligro */
  background: hsl(332 70% 92%);
  color:      hsl(332 65% 36%);
}
[data-palette="y2k"] .badge-yellow {                      /* Albaricoque = advertencia */
  background: hsl(30 80% 91%);
  color:      hsl(30 65% 30%);
}
[data-palette="y2k"] .badge-gray   {                      /* Lavanda = neutro */
  background: hsl(270 28% 91%);
  color:      hsl(260 22% 42%);
}

/* ── Alertas flash ─────────────────────────────────────────────────────── */
[data-palette="y2k"] .alert-success {
  background: hsl(181 50% 91%);
  border-color: hsl(181 60% 70%);
  color: hsl(181 75% 20%);
}
[data-palette="y2k"] .alert-error {
  background: hsl(332 75% 94%);
  border-color: hsl(332 65% 78%);
  color: hsl(332 65% 34%);
}

/* ── Botones peligro: Rosa Y2K ─────────────────────────────────────────── */
[data-palette="y2k"] .btn-danger {
  background-color: hsl(332 70% 93%);
  color:            hsl(332 65% 34%);
  border-color:     hsl(332 65% 78%);
}
[data-palette="y2k"] .btn-danger:hover {
  background: hsl(332 70% 87%);
  border-color: hsl(332 60% 62%);
}
[data-palette="y2k"] .btn-ghost-danger {
  color: hsl(332 65% 52%);
}
[data-palette="y2k"] .btn-ghost-danger:hover {
  background:   hsl(332 70% 93%);
  color:        hsl(332 65% 34%);
  border-color: hsl(332 65% 78%);
}

/* ── Builder canvas ────────────────────────────────────────────────────── */
[data-palette="y2k"] .builder-canvas {
  background: hsl(270 22% 90%);
}

/* ── Enlace Punto de Venta en sidebar ──────────────────────────────────── */
[data-palette="y2k"] .admin-sidebar .pos-sidebar-link {
  background: hsl(181 70% 36%) !important;
}
