/* =================================================================
   Estampados Voi — hoja de estilos
   CSS plano (sin frameworks ni build) para hosting PHP compartido.
   Estructura: 1) tokens · 2) base · 3) componentes · 4) secciones
   públicas · 5) catálogo/producto/checkout · 6) panel admin · 7) utilidades
   ================================================================= */

/* 1) TOKENS ------------------------------------------------------- */
:root {
  --color-ink: #0b0b0c;
  --color-ink-soft: #1a1a1d;
  --color-ink-muted: #2a2a2e;
  --color-paper: #ffffff;
  --color-cloud: #f6f5f3;
  --color-sand: #efede9;
  --color-mist: #e6e4e0;
  --color-line: rgba(11, 11, 12, .1);
  --color-text: #0b0b0c;
  --color-text-muted: #5c5c63;
  --color-text-soft: #85858c;
  --color-accent: #ff4d2e;
  --color-accent-dark: #d93a1d;
  --color-accent-soft: #fff1ed;
  --color-success: #15803d;
  --color-success-soft: #ecfdf3;
  --color-danger: #c62828;
  --color-danger-soft: #fef2f2;
  --color-warning: #92400e;
  --color-warning-soft: #fffbeb;
  --color-whatsapp: #25d366;
  --color-whatsapp-dark: #1da851;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: .5rem;
  --radius: .875rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(11, 11, 12, .05);
  --shadow-sm: 0 2px 8px rgba(11, 11, 12, .06);
  --shadow-md: 0 12px 28px -8px rgba(11, 11, 12, .16);
  --shadow-lg: 0 24px 60px -16px rgba(11, 11, 12, .28);
  --ring: 0 0 0 3px rgba(255, 77, 46, .35);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 4.25rem;
  --container: 1240px;
}
@media (min-width: 768px) { :root { --header-h: 5rem; } }

/* 2) BASE --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body.is-locked { overflow: hidden; }
main { flex: 1; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; font-size: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
hr { border: none; border-top: 1px solid var(--color-line); margin: 0; }
::selection { background: var(--color-accent); color: #fff; }
.icon { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* Foco visible y consistente para navegación con teclado */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--color-ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--radius-pill);
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container-voi { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .container-voi { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-voi { padding-inline: 2rem; } }

/* 3) COMPONENTES -------------------------------------------------- */

/* Botones */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 2.875rem; padding: .75rem 1.5rem;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; letter-spacing: -.005em;
  white-space: nowrap; text-align: center;
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-shift { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 3.25rem; padding: .9rem 1.85rem; font-size: 1rem; }
.btn-sm { min-height: 2.25rem; padding: .45rem 1rem; font-size: .85rem; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 6px 16px -6px rgba(255, 77, 46, .6); }
.btn-accent:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(255, 77, 46, .55); }
.btn-dark { background: var(--color-ink); color: #fff; }
.btn-dark:hover { background: var(--color-ink-muted); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--color-ink); }
.btn-light:hover { background: var(--color-cloud); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: rgba(11, 11, 12, .2); }
.btn-outline:hover { border-color: var(--color-ink); background: var(--color-ink); color: #fff; transform: translateY(-2px); }
.btn-outline-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-outline-light:hover { background: #fff; color: var(--color-ink); border-color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--color-whatsapp-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(37, 211, 102, .55); }
.btn-ghost { background: transparent; color: var(--color-text-muted); }
.btn-ghost:hover { background: var(--color-cloud); color: var(--color-ink); }
.btn-danger { background: var(--color-danger); color: #fff; }
.btn-danger:hover { background: #a61f1f; }
.btn-block { width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-accent.is-added { background: var(--color-success); box-shadow: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn-outline.is-loading::after, .btn-light.is-loading::after { border-color: rgba(11, 11, 12, .2); border-top-color: var(--color-ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Etiquetas de sección y encabezados */
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--color-accent);
}
.section-label::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; border-radius: 2px; }
.section-header { max-width: 40rem; margin-bottom: 2.5rem; }
.section-header h2, .section-title {
  margin-top: .85rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 700; letter-spacing: -.03em;
}
.section-header p, .section-lead { margin-top: .9rem; font-size: 1.05rem; color: var(--color-text-muted); max-width: 38rem; }
.section-header--center { margin-inline: auto; text-align: center; }
.section-header--center .section-label::before { display: none; }
.section-header-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 2.5rem; }
.section-header-row .section-header { margin-bottom: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--color-ink); border-bottom: 1.5px solid transparent; transition: border-color .2s, gap .2s; }
.link-arrow:hover { border-color: currentColor; gap: .6rem; }

/* Alertas / mensajes */
.alert { display: flex; align-items: flex-start; gap: .6rem; border-radius: var(--radius); padding: .8rem 1rem; font-size: .9rem; line-height: 1.45; border: 1px solid transparent; }
.alert .icon { margin-top: .05rem; }
.alert-error { background: var(--color-danger-soft); color: var(--color-danger); border-color: rgba(198, 40, 40, .15); }
.alert-success { background: var(--color-success-soft); color: var(--color-success); border-color: rgba(21, 128, 61, .15); }
.alert-warning { background: var(--color-warning-soft); color: var(--color-warning); border-color: rgba(146, 64, 14, .15); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .35rem; border-radius: var(--radius-pill); padding: .25rem .7rem; font-size: .72rem; font-weight: 600; line-height: 1.4; white-space: nowrap; border: none; }
.badge::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: currentColor; opacity: .8; }
.badge-active, .badge-status-finalizado { background: #dcfce7; color: #166534; }
.badge-inactive { background: #f1f1f3; color: #52525b; }
.badge-neutral { background: var(--color-cloud); color: var(--color-ink); }
.badge-status-pendiente { background: #fff7ed; color: #c2410c; }
.badge-status-confirmado { background: #eff6ff; color: #1d4ed8; }
.badge-status-en_preparacion { background: #f5f3ff; color: #6d28d9; }
.badge-status-enviado { background: #ecfeff; color: #0e7490; }
.badge-status-cancelado { background: #f4f4f5; color: #71717a; }

/* Campos de formulario */
.field { display: flex; flex-direction: column; gap: .4rem; }
.field + .field { margin-top: 1rem; }
.field label, .field-label { font-size: .875rem; font-weight: 600; color: var(--color-ink); }
.field .req { color: var(--color-accent); margin-left: .15rem; }
.input,
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=number], .field input[type=search], .field input[type=url], .field textarea, .field select {
  width: 100%; min-height: 2.875rem; border-radius: var(--radius); border: 1.5px solid var(--color-mist); background: #fff;
  padding: .7rem .95rem; font-size: 1rem; line-height: 1.4; outline: none;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c5c63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.input:hover, .field input:hover, .field textarea:hover, .field select:hover { border-color: #cfccc6; }
.input:focus, .field input:focus, .field textarea:focus, .field select:focus { border-color: var(--color-ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .07); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--color-danger); background: #fffafa; }
.field-error { display: none; font-size: .8rem; color: var(--color-danger); font-weight: 500; }
.field.has-error .field-error { display: block; }
.field .hint { font-size: .8rem; color: var(--color-text-soft); }
.field .hint.is-error { color: var(--color-danger); font-weight: 500; }
.field .hint.is-ok { color: var(--color-success); font-weight: 500; }
::placeholder { color: #a3a3a9; opacity: 1; }

/* Selector de archivo tipo "dropzone" */
.dropzone {
  position: relative; display: flex; align-items: center; gap: .9rem;
  border: 1.5px dashed #cfccc6; border-radius: var(--radius); background: #fff; padding: .9rem 1rem;
  transition: border-color .15s, background-color .15s;
}
.dropzone:hover, .dropzone.is-dragover { border-color: var(--color-ink); background: var(--color-cloud); }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dropzone__icon { display: flex; height: 2.5rem; width: 2.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: var(--color-cloud); color: var(--color-ink); }
.dropzone__text strong { display: block; font-size: .9rem; }
.dropzone__text span { font-size: .8rem; color: var(--color-text-soft); }
.dropzone:focus-within { border-color: var(--color-ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .07); }

/* Stepper de cantidad */
.qty-stepper { display: inline-flex; align-items: center; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); background: #fff; }
.qty-stepper button { display: flex; align-items: center; justify-content: center; height: 2.75rem; width: 2.75rem; background: none; border: none; border-radius: var(--radius-pill); color: var(--color-ink); transition: background-color .15s; }
.qty-stepper button:hover:not(:disabled) { background: var(--color-cloud); }
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper span, .qty-stepper input { width: 3rem; text-align: center; font-weight: 600; border: none; background: none; font-size: 1rem; -moz-appearance: textfield; }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Íconos redondos del header */
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 2.75rem; width: 2.75rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-line); background: #fff; color: var(--color-ink);
  transition: border-color .15s, background-color .15s, transform .15s;
}
.icon-btn:hover { border-color: var(--color-ink); }
.icon-btn:active { transform: scale(.94); }
@keyframes iconBump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.2); } }
.icon-btn.is-bump { animation: iconBump .45s var(--ease); }
.cart-badge {
  position: absolute; top: -.3rem; right: -.3rem;
  display: flex; align-items: center; justify-content: center;
  height: 1.3rem; min-width: 1.3rem; padding: 0 .3rem; border-radius: var(--radius-pill);
  background: var(--color-accent); color: #fff; font-size: .68rem; font-weight: 700; border: 2px solid #fff;
}

/* Animaciones de entrada */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.animate-fade-up { animation: fadeUp .7s var(--ease) both; }
.animate-fade-up.delay-1 { animation-delay: .08s; }
.animate-fade-up.delay-2 { animation-delay: .16s; }
.animate-fade-up.delay-3 { animation-delay: .24s; }
/* .reveal la agrega main.js en tiempo de ejecución: sin JS todo queda visible. */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Toast (avisos flotantes) */
.toast-region { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: .5rem; pointer-events: none; width: calc(100% - 2rem); max-width: 26rem; }
.toast {
  display: flex; align-items: center; gap: .65rem; width: 100%;
  background: var(--color-ink); color: #fff; border-radius: var(--radius); padding: .85rem 1rem;
  box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 500; pointer-events: auto;
  animation: toastIn .35s var(--ease) both;
}
.toast .icon { color: #4ade80; }
.toast--error .icon { color: #f87171; }
.toast button { margin-left: auto; background: none; border: none; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.toast.is-leaving { animation: toastOut .25s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }

/* 4) SECCIONES PÚBLICAS ------------------------------------------ */

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40; width: 100%;
  background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--color-line); box-shadow: 0 6px 24px -18px rgba(11, 11, 12, .35); background: rgba(255, 255, 255, .94); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: 8px; }
.logo-img { height: 2.6rem; width: auto; }
@media (min-width: 768px) { .logo-img { height: 3.25rem; } }

.site-nav { display: none; align-items: center; gap: .15rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav a {
  position: relative; padding: .5rem .8rem; border-radius: var(--radius-pill);
  font-size: .9rem; font-weight: 500; color: var(--color-text-muted); transition: color .15s, background-color .15s;
}
.site-nav a:hover { color: var(--color-ink); background: var(--color-cloud); }
.site-nav a.is-active { color: var(--color-ink); font-weight: 600; }
.site-nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 1rem; height: 2px; margin-left: -.5rem; border-radius: 2px; background: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: .5rem; }
.header-cta { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.menu-toggle { display: inline-flex; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle .menu-lines { position: relative; width: 18px; height: 12px; }
.menu-toggle .menu-lines span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s, top .25s var(--ease); }
.menu-toggle .menu-lines span:nth-child(1) { top: 0; }
.menu-toggle .menu-lines span:nth-child(2) { top: 5px; }
.menu-toggle .menu-lines span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: 0; overflow: hidden; background: #fff; border-bottom: 1px solid transparent;
  visibility: hidden; transition: max-height .35s var(--ease), visibility 0s linear .35s, border-color .35s;
}
.mobile-menu.is-open { max-height: calc(100vh - var(--header-h)); overflow-y: auto; visibility: visible; border-bottom-color: var(--color-line); box-shadow: 0 24px 40px -24px rgba(11, 11, 12, .35); transition: max-height .35s var(--ease), border-color .35s; }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }
.mobile-menu nav { display: flex; flex-direction: column; padding: .5rem 1rem 1.25rem; }
.mobile-menu nav a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--color-line);
}
.mobile-menu nav a:not(.btn)::after { content: "→"; color: var(--color-text-soft); transition: transform .2s; }
.mobile-menu nav a:not(.btn):hover::after { transform: translateX(3px); color: var(--color-accent); }
.mobile-menu nav a.is-active { color: var(--color-accent); font-weight: 600; }
.mobile-menu .btn { margin-top: 1.25rem; }
.menu-backdrop { position: fixed; inset: var(--header-h) 0 0; z-index: 39; background: rgba(11, 11, 12, .35); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
.menu-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
@media (min-width: 1024px) { .menu-backdrop { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--color-ink); color: #fff; isolation: isolate; }
.hero__glow {
  pointer-events: none; position: absolute; z-index: 0; top: -10rem; right: -8rem;
  height: 30rem; width: 30rem; border-radius: 50%; opacity: .35; filter: blur(80px);
  background: radial-gradient(circle, var(--color-accent), transparent 70%);
}
.hero__grain {
  pointer-events: none; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero__inner { position: relative; z-index: 1; padding-block: 4.5rem 4rem; }
@media (min-width: 768px) { .hero__inner { padding-block: 6.5rem 5.5rem; } }
@media (min-width: 1024px) { .hero__inner { padding-block: 7.5rem 6.5rem; } }
.hero__content { max-width: 44rem; }
.hero .section-label { color: #ff7a61; }
.hero h1 { margin-top: 1.1rem; font-size: clamp(2.35rem, 1.4rem + 4.2vw, 4.4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.hero__subtitle { margin-top: 1.4rem; max-width: 36rem; font-size: clamp(1rem, .95rem + .3vw, 1.175rem); line-height: 1.65; color: rgba(255, 255, 255, .74); white-space: pre-line; }
.hero__actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 560px) { .hero__actions { flex-direction: row; flex-wrap: wrap; } }

/* Hero con foto de fondo detrás del texto (modo "fondo") */
.hero--photo .hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero--photo .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 11, 12, .94) 0%, rgba(11, 11, 12, .72) 50%, rgba(11, 11, 12, .4) 100%); }
@media (max-width: 767px) { .hero--photo .hero__bg::after { background: linear-gradient(180deg, rgba(11, 11, 12, .7), rgba(11, 11, 12, .92)); } }

/* Hero con banner completo (modo "banner"): la imagen ya trae su propio texto/logo,
   así que se muestra entera y el título/CTAs van debajo, sin superponerse. */
.hero--banner .hero__banner { position: relative; z-index: 1; }
.hero--banner .hero__banner img { width: 100%; height: auto; max-height: 78vh; object-fit: cover; object-position: center; }
.hero--banner .hero__banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, transparent, var(--color-ink)); pointer-events: none; }
.hero--banner .hero__inner { padding-block: 2.25rem 3.5rem; }
@media (min-width: 768px) { .hero--banner .hero__inner { padding-block: 2.5rem 4.5rem; } }
.hero--banner .hero__panel { display: grid; gap: 1.75rem; align-items: end; }
@media (min-width: 1024px) { .hero--banner .hero__panel { grid-template-columns: 1.15fr 1fr; gap: 3rem; } }
.hero--banner h1 { margin-top: .9rem; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.35rem); }
.hero--banner .hero__subtitle { margin-top: 0; }
.hero--banner .hero__actions { margin-top: 1.5rem; }

/* Tira de beneficios bajo el hero */
.trust-strip { background: var(--color-ink-soft); color: rgba(255, 255, 255, .86); border-top: 1px solid rgba(255, 255, 255, .06); }
.trust-strip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.25rem; padding-block: 1.25rem; }
@media (min-width: 900px) { .trust-strip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 1.4rem; } }
.trust-strip__item { display: flex; align-items: center; gap: .75rem; font-size: .85rem; line-height: 1.35; }
.trust-strip__item .icon-wrap { display: flex; height: 2.35rem; width: 2.35rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .07); color: #ff7a61; }
.trust-strip__item strong { display: block; color: #fff; font-weight: 600; font-size: .9rem; }

/* Secciones */
.section { padding: 4.5rem 0; }
@media (min-width: 768px) { .section { padding: 6rem 0; } }
.section--tight { padding: 3rem 0; }
.section--results { padding-top: 2rem; }
@media (min-width: 768px) { .section--results { padding-top: 2.5rem; } }
.section--cloud { background: var(--color-cloud); }
.section--ink { background: var(--color-ink); color: #fff; }
.section--ink .section-header p, .section--ink .section-lead { color: rgba(255, 255, 255, .68); }
.section--ink .section-label { color: #ff7a61; }

/* Categorías */
.grid-cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .grid-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1024px) { .grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.cat-card {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; background: var(--color-sand);
  isolation: isolate; transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
@media (min-width: 640px) { .cat-card { aspect-ratio: 1 / 1; } }
.cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cat-card img, .cat-card svg { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover img, .cat-card:hover svg { transform: scale(1.06); }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .15) 55%, transparent 80%); }
.cat-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding: 1rem; color: #fff; }
@media (min-width: 640px) { .cat-card__body { padding: 1.15rem 1.25rem; } }
.cat-card__name { font-family: var(--font-display); font-size: .95rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
@media (min-width: 640px) { .cat-card__name { font-size: 1.1rem; } }
.cat-card__count { display: block; margin-top: .2rem; font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .7); font-family: var(--font-sans); letter-spacing: 0; }
.cat-card__arrow { display: none; height: 2.25rem; width: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--color-ink); transform: translateX(-6px); opacity: 0; transition: opacity .3s, transform .3s var(--ease); }
@media (min-width: 640px) { .cat-card__arrow { display: flex; } }
.cat-card:hover .cat-card__arrow, .cat-card:focus-visible .cat-card__arrow { opacity: 1; transform: none; }

/* Servicios */
.grid-services { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; } }
@media (min-width: 1024px) { .grid-services { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .icon-wrap {
  margin-bottom: 1.25rem; display: flex; height: 3rem; width: 3rem; align-items: center; justify-content: center;
  border-radius: var(--radius); background: var(--color-ink); color: #fff; transition: background-color .3s, transform .3s var(--ease);
}
.service-card:hover .icon-wrap { background: var(--color-accent); transform: rotate(-6deg); }
.service-card__num { position: absolute; top: 1.5rem; right: 1.5rem; font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--color-text-soft); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { margin-top: .6rem; font-size: .925rem; color: var(--color-text-muted); }

/* Cómo comprar (pasos) */
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); margin-bottom: .75rem; }
.step h3 { font-size: 1.05rem; color: #fff; }
.step p { margin-top: .45rem; font-size: .9rem; color: rgba(255, 255, 255, .65); }

/* Grilla de productos */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .grid-products { gap: 1.25rem; } }
@media (min-width: 900px) { .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; } }

.product-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--color-line); transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.product-card__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-cloud); }
.product-card__img img, .product-card__img svg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s ease; }
.product-card__img .product-card__img-alt { opacity: 0; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card:hover .product-card__img .product-card__img-alt { opacity: 1; }
.product-card__badges { position: absolute; top: .6rem; left: .6rem; right: .6rem; display: flex; flex-wrap: wrap; gap: .35rem; pointer-events: none; }
.product-badge { border-radius: var(--radius-pill); background: rgba(255, 255, 255, .92); color: var(--color-ink); padding: .2rem .6rem; font-size: .68rem; font-weight: 600; backdrop-filter: blur(6px); box-shadow: var(--shadow-xs); }
.product-badge--dark { background: rgba(11, 11, 12, .85); color: #fff; }
@media (max-width: 479px) { .product-badge:not(.product-badge--dark) { display: none; } }
.product-card__body { flex: 1; display: flex; flex-direction: column; padding: .85rem .9rem 1rem; }
@media (min-width: 640px) { .product-card__body { padding: 1rem 1.15rem 1.15rem; } }
.product-card__body h3 { font-family: var(--font-sans); font-size: .9rem; font-weight: 600; line-height: 1.35; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (min-width: 640px) { .product-card__body h3 { font-size: 1rem; } }
.product-card__body p { margin-top: .3rem; font-size: .82rem; line-height: 1.45; color: var(--color-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 479px) { .product-card__body p { display: none; } }
.product-card__footer { margin-top: auto; padding-top: .8rem; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.product-card__price { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: -.01em; }
@media (min-width: 640px) { .product-card__price { font-size: 1.05rem; } }
.product-card__price { white-space: nowrap; }
.product-card__price-label { display: block; font-family: var(--font-sans); font-size: .7rem; font-weight: 500; color: var(--color-text-soft); letter-spacing: 0; line-height: 1.2; }
.product-card__cta { display: flex; height: 2.25rem; width: 2.25rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-cloud); color: var(--color-ink); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.product-card:hover .product-card__cta { background: var(--color-ink); color: #fff; transform: rotate(-45deg); }
@media (max-width: 479px) { .product-card__cta { height: 1.9rem; width: 1.9rem; } }

/* Galería de trabajos */
.grid-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 640px) { .grid-gallery { gap: 1rem; } }
@media (min-width: 900px) { .grid-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-gallery .gallery-item:nth-child(6n + 1) { grid-column: span 2; grid-row: span 2; } }
.gallery-item { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg); border: none; padding: 0; background: var(--color-sand); width: 100%; }
.gallery-item img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent 55%); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }
.gallery-item .caption { position: absolute; bottom: .85rem; left: .9rem; right: 3.5rem; z-index: 1; font-size: .875rem; font-weight: 600; color: #fff; text-align: left; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease); }
.gallery-item .zoom { position: absolute; right: .75rem; bottom: .75rem; z-index: 1; display: flex; height: 2.2rem; width: 2.2rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--color-ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.gallery-item:hover .caption, .gallery-item:focus-visible .caption, .gallery-item:hover .zoom, .gallery-item:focus-visible .zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery-item::after { opacity: .85; } .gallery-item .caption { opacity: 1; transform: none; font-size: .78rem; } }

/* Lightbox */
.lightbox {
  display: flex; position: fixed; inset: 0; z-index: 80; align-items: center; justify-content: center;
  background: rgba(8, 8, 9, .94); padding: 1rem; backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.lightbox__body { display: flex; flex-direction: column; align-items: center; max-width: 60rem; max-height: 100%; transform: scale(.97); transition: transform .3s var(--ease); }
.lightbox.is-open .lightbox__body { transform: none; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center;
  height: 3rem; width: 3rem; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .15); transition: background-color .2s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: .5rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: .5rem; top: 50%; transform: translateY(-50%); }
@media (min-width: 640px) { .lightbox__prev { left: 1.5rem; } .lightbox__next { right: 1.5rem; } }
.lightbox__img-wrap { position: relative; height: 72vh; width: 88vw; max-width: 60rem; }
.lightbox__img-wrap img { height: 100%; width: 100%; object-fit: contain; }
.lightbox__caption { margin-top: 1rem; text-align: center; color: #fff; max-width: 40rem; }
.lightbox__caption p:first-child { font-weight: 600; }
.lightbox__caption p:nth-child(2) { font-size: .875rem; color: rgba(255, 255, 255, .65); margin-top: .2rem; }
.lightbox__counter { margin-top: .5rem; font-size: .75rem; color: rgba(255, 255, 255, .45); letter-spacing: .08em; }

/* Empresas */
.business-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .business-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; } }
.business-grid h2 { margin-top: .85rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.business-grid .section-lead { color: rgba(255, 255, 255, .7); }
.pill-row { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { display: inline-flex; align-items: center; gap: .4rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04); padding: .4rem .9rem; font-size: .85rem; color: rgba(255, 255, 255, .85); }
.pill::before { content: ""; width: .35rem; height: .35rem; border-radius: 50%; background: var(--color-accent); }
.business-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.decor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.decor-box { border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); height: 9rem; }
@media (min-width: 640px) { .decor-box { height: 12rem; } }
.decor-box.wide { grid-column: span 2; height: 12rem; }
@media (min-width: 640px) { .decor-box.wide { height: 16rem; } }
.decor-box.light { background: linear-gradient(to bottom right, var(--color-cloud), var(--color-mist)); border: none; }
.decor-box--photo { overflow: hidden; position: relative; border: none; }
.decor-box--photo img { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.decor-box--photo:hover img { transform: scale(1.04); }
.decor-box--offset { margin-top: 2.5rem; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4.5rem; } .about-grid .about-media { order: 2; } }
.about-text h2 { margin-top: .85rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); }
.about-text p { margin-top: 1.1rem; color: var(--color-text-muted); font-size: 1.025rem; }
.about-media .decor-box { height: 13rem; }
@media (min-width: 640px) { .about-media .decor-box { height: 18rem; } }
.checklist { margin-top: 1.75rem; display: grid; gap: .8rem; }
@media (min-width: 640px) { .checklist { grid-template-columns: 1fr 1fr; } }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; font-size: .925rem; font-weight: 500; line-height: 1.4; }
.checklist .check { display: flex; height: 1.5rem; width: 1.5rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-accent-soft); color: var(--color-accent); }

/* Instagram */
.instagram-card {
  position: relative; overflow: hidden; display: grid; gap: 1.5rem; align-items: center;
  border-radius: var(--radius-xl); padding: 2.5rem 1.5rem; text-align: center;
  background: linear-gradient(135deg, #1a1a1d 0%, #0b0b0c 60%); color: #fff; isolation: isolate;
}
.instagram-card::before { content: ""; position: absolute; z-index: -1; width: 26rem; height: 26rem; right: -8rem; top: -12rem; border-radius: 50%; background: radial-gradient(circle, rgba(225, 48, 108, .45), transparent 65%); filter: blur(20px); }
.instagram-card::after { content: ""; position: absolute; z-index: -1; width: 22rem; height: 22rem; left: -8rem; bottom: -12rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 170, 60, .3), transparent 65%); filter: blur(20px); }
@media (min-width: 900px) { .instagram-card { grid-template-columns: 1fr auto; text-align: left; padding: 3.5rem 4rem; } }
.instagram-card .section-label { color: #ff9f8c; }
.instagram-card h2 { margin-top: .75rem; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.2rem); }
.instagram-card p { margin-top: .75rem; color: rgba(255, 255, 255, .7); max-width: 34rem; }
@media (max-width: 899px) { .instagram-card .section-label::before { display: none; } .instagram-card p { margin-inline: auto; } }

/* FAQ */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; } .faq-layout .section-header { position: sticky; top: calc(var(--header-h) + 2rem); } }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-heading { font: inherit; letter-spacing: 0; margin: 0; }
.faq-item { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-line); transition: border-color .2s, box-shadow .2s; }
.faq-item.is-open { border-color: transparent; box-shadow: var(--shadow-sm); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.25rem; background: none; border: none; text-align: left; font-weight: 600; font-size: 1rem; line-height: 1.4; border-radius: var(--radius-lg);
}
.faq-plus { position: relative; display: flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-cloud); transition: background-color .25s, transform .3s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--color-ink); transition: transform .3s var(--ease), background-color .25s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item.is-open .faq-plus { background: var(--color-accent); transform: rotate(180deg); }
.faq-item.is-open .faq-plus::before, .faq-item.is-open .faq-plus::after { background: #fff; }
.faq-item.is-open .faq-plus::after { transform: rotate(0deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { padding: 0 1.25rem 1.25rem; font-size: .95rem; color: var(--color-text-muted); }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }

/* Banda final de contacto */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-xl); background: var(--color-accent); color: #fff; padding: 2.5rem 1.5rem; isolation: isolate; }
@media (min-width: 768px) { .cta-band { padding: 3.5rem 4rem; } }
.cta-band::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1px); background-size: 18px 18px; mask-image: linear-gradient(to left, #000, transparent 70%); -webkit-mask-image: linear-gradient(to left, #000, transparent 70%); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 3rem; } }
.cta-band h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); letter-spacing: -.03em; }
.cta-band p { margin-top: .6rem; color: rgba(255, 255, 255, .88); max-width: 34rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-dark:hover { background: #000; }

/* Footer */
.site-footer { background: var(--color-ink); color: #fff; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem 3rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 3rem; } }
.footer-brand .logo-img { height: 3.5rem; }
.footer-desc { margin-top: 1.1rem; max-width: 22rem; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.footer-meta { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .85rem; color: rgba(255, 255, 255, .65); }
.footer-meta span { display: flex; align-items: flex-start; gap: .5rem; }
.footer-col h3 { margin-bottom: 1.1rem; font-family: var(--font-sans); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255, 255, 255, .45); }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; font-size: .9rem; color: rgba(255, 255, 255, .8); }
.footer-col a { display: inline-flex; align-items: center; gap: .55rem; transition: color .15s; word-break: break-word; }
.footer-col a:hover { color: #fff; }
.footer-col a .icon { color: rgba(255, 255, 255, .5); transition: color .15s; }
.footer-col a:hover .icon { color: var(--color-accent); }
.social-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.social-btn { display: inline-flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.social-btn:hover { background: #fff; color: var(--color-ink); border-color: #fff; transform: translateY(-2px); }
.footer-social-handle { margin-top: .9rem; font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: .5rem; padding-block: 1.4rem; font-size: .78rem; color: rgba(255, 255, 255, .42); text-align: center; }
@media (min-width: 768px) { .footer-bottom-inner { flex-direction: row; text-align: left; } }

/* Botones flotantes (WhatsApp + chat) */
.float-stack { position: fixed; right: 1rem; bottom: 1rem; z-index: 30; display: flex; flex-direction: column; gap: .75rem; align-items: flex-end; transition: opacity .25s, transform .25s var(--ease); }
@media (min-width: 768px) { .float-stack { right: 1.5rem; bottom: 1.5rem; } }
@media (max-width: 767px) { .page-checkout .float-stack { display: none; } }
body.is-locked .float-stack { opacity: 0; pointer-events: none; transform: translateY(10px); }
.float-whatsapp, .float-chat-btn {
  position: relative; display: flex; height: 3.5rem; width: 3.5rem; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff; border: none; box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.float-whatsapp { background: var(--color-whatsapp); }
.float-whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--color-whatsapp); z-index: -1; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
.float-chat-btn { background: var(--color-ink); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.float-whatsapp:hover, .float-chat-btn:hover { transform: translateY(-3px) scale(1.04); }
.float-label { position: absolute; right: calc(100% + .75rem); top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--color-ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .75rem; border-radius: var(--radius-pill); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
@media (hover: hover) { .float-whatsapp:hover .float-label, .float-chat-btn:hover .float-label { opacity: 1; transform: translate(0, -50%); } }

/* Panel de chat */
.chat-panel {
  display: flex; position: fixed; inset: 0; z-index: 70; flex-direction: column; background: #fff;
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(14px);
  transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
}
.chat-panel.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: opacity .25s ease, transform .3s var(--ease); }
@media (min-width: 640px) {
  .chat-panel { inset: auto 1.5rem 6rem auto; height: min(620px, calc(100vh - 8rem)); width: 390px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--color-line); overflow: hidden; }
}
.chat-panel__header { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.1rem; background: var(--color-ink); color: #fff; }
.chat-panel__who { display: flex; align-items: center; gap: .7rem; }
.chat-avatar { position: relative; display: flex; height: 2.4rem; width: 2.4rem; align-items: center; justify-content: center; border-radius: 50%; background: #fff; }
.chat-avatar img { height: 1.7rem; width: auto; }
.chat-avatar::after { content: ""; position: absolute; right: 0; bottom: 0; width: .65rem; height: .65rem; border-radius: 50%; background: #22c55e; border: 2px solid var(--color-ink); }
.chat-panel__header p:first-child { font-family: var(--font-display); font-weight: 700; font-size: .95rem; }
.chat-panel__header p:last-child { font-size: .75rem; color: rgba(255, 255, 255, .6); }
.chat-panel__close { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 50%; background: none; border: none; color: #fff; transition: background-color .15s; }
.chat-panel__close:hover { background: rgba(255, 255, 255, .12); }
.chat-messages { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .7rem; background: var(--color-cloud); }
.chat-bubble { max-width: 85%; border-radius: 1.1rem; padding: .7rem .95rem; font-size: .9rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: fadeUp .3s var(--ease) both; }
.chat-bubble.user { margin-left: auto; background: var(--color-ink); color: #fff; border-bottom-right-radius: .35rem; }
.chat-bubble.assistant { background: #fff; color: var(--color-ink); border-bottom-left-radius: .35rem; box-shadow: var(--shadow-xs); }
.chat-bubble.is-typing { display: inline-flex; gap: .3rem; padding: .85rem 1rem; width: fit-content; }
.chat-bubble.is-typing span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--color-text-soft); animation: typing 1.2s infinite ease-in-out; }
.chat-bubble.is-typing span:nth-child(2) { animation-delay: .15s; }
.chat-bubble.is-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .45; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-suggestions { display: flex; flex-wrap: wrap; gap: .5rem; }
.chat-suggestions button { border-radius: var(--radius-pill); border: 1px solid var(--color-mist); background: #fff; padding: .45rem .85rem; font-size: .8rem; font-weight: 500; color: var(--color-ink); transition: border-color .15s, background-color .15s; }
.chat-suggestions button:hover { border-color: var(--color-ink); }
.chat-form { display: flex; align-items: center; gap: .5rem; border-top: 1px solid var(--color-line); padding: .75rem; background: #fff; }
.chat-form input { flex: 1; min-width: 0; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); padding: .7rem 1rem; font-size: 1rem; outline: none; transition: border-color .15s; }
.chat-form input:focus { border-color: var(--color-ink); }
.chat-form button { flex-shrink: 0; display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-accent); color: #fff; border: none; transition: background-color .15s, transform .15s; }
.chat-form button:hover { background: var(--color-accent-dark); }
.chat-form button:active { transform: scale(.94); }

/* Breadcrumbs */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .82rem; color: var(--color-text-soft); margin-bottom: 1.5rem; }
.breadcrumbs a { color: var(--color-text-muted); transition: color .15s; }
.breadcrumbs a:hover { color: var(--color-ink); }
.breadcrumbs [aria-current] { color: var(--color-ink); font-weight: 500; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breadcrumbs .sep { color: #c4c2bd; }

/* Encabezado de páginas internas */
.page-hero { background: var(--color-cloud); border-bottom: 1px solid var(--color-line); padding: 2.5rem 0 2.25rem; }
@media (min-width: 768px) { .page-hero { padding: 3.5rem 0 3rem; } }
.page-hero h1 { margin-top: .75rem; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; letter-spacing: -.035em; }
.page-hero p { margin-top: .8rem; max-width: 42rem; color: var(--color-text-muted); font-size: 1.025rem; }
.page-hero .breadcrumbs { margin-bottom: 1rem; }

/* 5) CATÁLOGO / PRODUCTO / CARRITO / CHECKOUT ------------------- */

/* Buscador y filtros */
.catalog-toolbar { position: relative; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--color-line); }
.catalog-controls { display: flex; flex-direction: column; gap: .75rem; padding-block: .9rem; }
@media (min-width: 900px) { .catalog-controls { flex-direction: row; align-items: center; } }
.search-wrap { position: relative; display: flex; align-items: center; flex: 1; min-width: 0; }
@media (min-width: 900px) { .search-wrap { max-width: 24rem; flex: 0 0 24rem; } }
.search-wrap > .icon { position: absolute; left: 1rem; color: var(--color-text-soft); pointer-events: none; }
.search-wrap input {
  width: 100%; min-height: 2.875rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); background: #fff;
  padding: .7rem 2.9rem .7rem 2.8rem; font-size: 1rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
.search-wrap input:focus { border-color: var(--color-ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .07); }
.search-wrap input::-webkit-search-cancel-button { display: none; }
.search-clear { position: absolute; right: .35rem; display: flex; height: 2.2rem; width: 2.2rem; align-items: center; justify-content: center; border-radius: 50%; color: var(--color-text-muted); transition: background-color .15s; }
.search-clear:hover { background: var(--color-cloud); color: var(--color-ink); }
.filter-row { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: -1rem; padding: 0 1rem .1rem; scroll-padding-inline: 1rem; scroll-snap-type: x proximity; }
@media (min-width: 768px) { .catalog-toolbar { position: sticky; top: var(--header-h); } }
.filter-row::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .filter-row { margin-inline: 0; padding-inline: 0; } }
@media (min-width: 900px) { .filter-row { flex-wrap: wrap; overflow: visible; } }
.filter-pill {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; scroll-snap-align: start;
  border-radius: var(--radius-pill); padding: .5rem .95rem; font-size: .85rem; font-weight: 600;
  background: #fff; color: var(--color-text-muted); border: 1.5px solid var(--color-mist); transition: background-color .18s, color .18s, border-color .18s, transform .12s;
}
.filter-pill:hover { border-color: var(--color-ink); color: var(--color-ink); }
.filter-pill:active { transform: scale(.96); }
.filter-pill.is-active { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.filter-pill__count { font-size: .72rem; font-weight: 600; opacity: .6; }
.catalog-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1.5rem; }
.catalog-count { font-size: .9rem; color: var(--color-text-muted); }
.catalog-count strong { color: var(--color-ink); }
.sort-select { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--color-text-muted); }
.sort-select select { min-height: 2.5rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); background: #fff; padding: .4rem 2.2rem .4rem .9rem; font-size: .875rem; font-weight: 600; color: var(--color-ink); appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c5c63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .75rem center; cursor: pointer; outline: none; }
.sort-select select:focus-visible { border-color: var(--color-ink); }
.active-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.active-filter { display: inline-flex; align-items: center; gap: .35rem; border-radius: var(--radius-pill); background: var(--color-cloud); padding: .3rem .4rem .3rem .8rem; font-size: .8rem; font-weight: 500; }
.active-filter a { display: flex; height: 1.4rem; width: 1.4rem; align-items: center; justify-content: center; border-radius: 50%; color: var(--color-text-muted); }
.active-filter a:hover { background: var(--color-mist); color: var(--color-ink); }

.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4rem 1rem; }
.empty-state__icon { display: flex; height: 4rem; width: 4rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-cloud); color: var(--color-ink); margin-bottom: 1.25rem; }
.empty-state h2, .empty-state h3 { font-size: 1.35rem; }
.empty-state p { margin-top: .6rem; max-width: 26rem; color: var(--color-text-muted); }
.empty-state .actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Detalle de producto */
.product-page { padding: 1.75rem 0 4rem; }
@media (min-width: 768px) { .product-page { padding: 2.5rem 0 5rem; } }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .product-detail { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4rem; align-items: start; } .product-gallery { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.product-gallery__main { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-cloud); }
.product-gallery__main img, .product-gallery__main svg { position: absolute; inset: 0; height: 100%; width: 100%; object-fit: cover; transition: opacity .25s ease; }
.product-gallery__main img.is-swapping { opacity: .3; }
.gallery-nav { position: absolute; top: 50%; z-index: 1; display: flex; height: 2.75rem; width: 2.75rem; align-items: center; justify-content: center; margin-top: -1.375rem; border-radius: 50%; border: none; background: rgba(255, 255, 255, .92); color: var(--color-ink); box-shadow: var(--shadow-sm); opacity: 0; transition: opacity .2s, transform .2s; }
.gallery-nav--prev { left: .75rem; }
.gallery-nav--next { right: .75rem; }
.product-gallery__main:hover .gallery-nav, .gallery-nav:focus-visible { opacity: 1; }
@media (hover: none) { .gallery-nav { opacity: 1; } }
.gallery-counter { position: absolute; right: .75rem; bottom: .75rem; z-index: 1; border-radius: var(--radius-pill); background: rgba(11, 11, 12, .7); color: #fff; font-size: .72rem; font-weight: 600; padding: .25rem .6rem; }
.product-gallery__thumbs { margin-top: .75rem; display: flex; gap: .6rem; overflow-x: auto; scrollbar-width: none; padding: .15rem; }
.product-gallery__thumbs::-webkit-scrollbar { display: none; }
.product-gallery__thumbs button { position: relative; height: 4.5rem; width: 4.5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); border: 2px solid transparent; padding: 0; background: var(--color-cloud); opacity: .65; transition: opacity .15s, border-color .15s; }
@media (min-width: 640px) { .product-gallery__thumbs button { height: 5.25rem; width: 5.25rem; } }
.product-gallery__thumbs button:hover { opacity: 1; }
.product-gallery__thumbs button.is-active { border-color: var(--color-ink); opacity: 1; }
.product-gallery__thumbs img { height: 100%; width: 100%; object-fit: cover; }

.product-info__eyebrow { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-soft); }
.product-info__eyebrow a:hover { color: var(--color-accent); }
.product-info h1 { margin-top: .6rem; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 700; letter-spacing: -.03em; }
.product-info__desc { margin-top: .9rem; color: var(--color-text-muted); font-size: 1rem; white-space: pre-line; }
.product-info__price { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-lg); background: var(--color-cloud); }
.product-info__price .amount { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; font-family: var(--font-display); font-size: 1.85rem; font-weight: 700; letter-spacing: -.03em; }
.product-info__price .amount small { font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--color-text-muted); letter-spacing: 0; }
.product-info__price .note { margin-top: .2rem; font-size: .82rem; color: var(--color-text-muted); }
.price-perks { margin-top: .85rem; display: flex; flex-direction: column; gap: .5rem; padding-top: .85rem; border-top: 1px solid var(--color-mist); }
.product-info__minqty { display: flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 500; color: var(--color-ink); }
.product-info__minqty .icon { color: var(--color-accent); }

.variant-group { margin-top: 1.5rem; border: none; padding: 0; margin-inline: 0; min-width: 0; }
.variant-group > label, .variant-group legend { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-bottom: .6rem; font-size: .875rem; font-weight: 600; padding: 0; }
.variant-group legend .selected-value { font-weight: 500; color: var(--color-text-muted); }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-option {
  min-width: 3rem; min-height: 2.75rem; border-radius: var(--radius); border: 1.5px solid var(--color-mist); padding: .55rem 1rem;
  font-size: .9rem; font-weight: 500; background: #fff; transition: border-color .15s, background-color .15s, color .15s, transform .12s;
}
.variant-option:hover { border-color: var(--color-ink); }
.variant-option:active { transform: scale(.96); }
.variant-option.is-selected { border-color: var(--color-ink); background: var(--color-ink); color: #fff; }

.personalization-box { margin-top: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--color-line); padding: 1.25rem; }
.personalization-box summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; cursor: pointer; list-style: none; }
.personalization-box summary::-webkit-details-marker { display: none; }
.personalization-box h2 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; }
.personalization-box h2 .icon { color: var(--color-accent); }
.personalization-box .summary-hint { font-size: .8rem; color: var(--color-text-soft); }
.personalization-box .chev { transition: transform .25s var(--ease); color: var(--color-text-muted); }
.personalization-box[open] .chev { transform: rotate(180deg); }
.personalization-box .field { margin-top: 1rem; }

.product-actions { margin-top: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 560px) { .product-actions { flex-direction: row; } }
.product-actions .btn { flex: 1; }
.product-assurance { margin-top: 1.5rem; display: grid; gap: .8rem; padding-top: 1.5rem; border-top: 1px solid var(--color-line); }
.product-assurance li { display: flex; align-items: flex-start; gap: .75rem; font-size: .875rem; color: var(--color-text-muted); line-height: 1.45; }
.product-assurance li .icon { color: var(--color-ink); margin-top: .1rem; }
.product-assurance strong { color: var(--color-ink); font-weight: 600; }

/* Barra fija de compra en celular */
.mobile-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--color-line); transform: translateY(110%); transition: transform .3s var(--ease); }
.mobile-buy-bar.is-visible { transform: none; }
.mobile-buy-bar__price { min-width: 0; flex: 1; }
.mobile-buy-bar__price small { display: block; font-size: .72rem; color: var(--color-text-soft); }
.mobile-buy-bar__price strong { font-family: var(--font-display); font-size: 1.1rem; }
.mobile-buy-bar .btn { flex-shrink: 0; }
@media (min-width: 1024px) { .mobile-buy-bar { display: none; } }
body.has-buy-bar .float-stack { bottom: 5.5rem; }
@media (min-width: 1024px) { body.has-buy-bar .float-stack { bottom: 1.5rem; } }

.related-section { padding: 4rem 0; border-top: 1px solid var(--color-line); }

/* Carrito (drawer) */
.cart-overlay { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(11, 11, 12, .45); backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.cart-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.cart-drawer {
  position: fixed; right: 0; top: 0; z-index: 61; display: flex; height: 100%; height: 100dvh; width: 100%; max-width: 27rem;
  flex-direction: column; background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(100%); visibility: hidden; transition: transform .38s var(--ease), visibility 0s linear .38s;
}
.cart-drawer.is-open { transform: none; visibility: visible; transition: transform .38s var(--ease); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--color-line); padding: 1.1rem 1.25rem; }
.cart-drawer__header h2 { font-size: 1.2rem; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem; overscroll-behavior: contain; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-align: center; color: var(--color-text-muted); padding: 2rem 1rem; }
.cart-empty .empty-state__icon { margin-bottom: 1rem; }
.cart-empty h3 { font-size: 1.15rem; color: var(--color-ink); }
.cart-empty p { margin: .4rem 0 1.5rem; font-size: .9rem; }
.cart-item { display: flex; gap: .9rem; padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--color-line); animation: fadeUp .35s var(--ease) both; }
.cart-item:last-child { border-bottom: none; margin-bottom: 0; }
.cart-item__thumb { display: block; height: 5.5rem; width: 5.5rem; flex-shrink: 0; overflow: hidden; border-radius: var(--radius); background: var(--color-cloud); }
.cart-item__thumb img { height: 100%; width: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.cart-item__top p, .cart-item__top a { font-weight: 600; font-size: .925rem; line-height: 1.3; }
.cart-item__top a:hover { text-decoration: underline; }
.cart-item__remove { display: flex; height: 2rem; width: 2rem; flex-shrink: 0; align-items: center; justify-content: center; margin: -.35rem -.35rem 0 0; border-radius: 50%; background: none; border: none; color: var(--color-text-soft); transition: color .15s, background-color .15s; }
.cart-item__remove:hover { color: var(--color-danger); background: var(--color-danger-soft); }
.cart-item__meta { margin-top: .2rem; font-size: .78rem; color: var(--color-text-muted); line-height: 1.4; word-break: break-word; }
.cart-item__bottom { margin-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.cart-item__bottom .qty-stepper button { height: 2.1rem; width: 2.1rem; }
.cart-item__bottom .qty-stepper span { width: 2rem; font-size: .875rem; }
.cart-item__price { font-weight: 700; font-size: .925rem; }
.cart-drawer__footer { border-top: 1px solid var(--color-line); padding: 1.1rem 1.25rem calc(1.1rem + env(safe-area-inset-bottom)); background: #fff; }
.cart-subtotal-row { margin-bottom: .5rem; display: flex; align-items: center; justify-content: space-between; font-size: .95rem; color: var(--color-text-muted); }
.cart-subtotal-row strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--color-ink); }
.cart-drawer__note { margin-bottom: 1rem; font-size: .78rem; color: var(--color-text-soft); line-height: 1.45; }
.cart-drawer__actions { display: flex; flex-direction: column; gap: .5rem; }

/* Checkout */
.checkout-steps { display: flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .8rem; font-weight: 600; color: var(--color-text-soft); flex-wrap: wrap; }
.checkout-steps li { display: flex; align-items: center; gap: .45rem; }
.checkout-steps .num { display: flex; height: 1.5rem; width: 1.5rem; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid currentColor; font-size: .72rem; }
.checkout-steps li.is-done { color: var(--color-ink); }
.checkout-steps li.is-done .num { background: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.checkout-steps li.is-current { color: var(--color-accent); }
.checkout-steps .line { width: 1.5rem; height: 1.5px; background: var(--color-mist); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.checkout-card { border-radius: var(--radius-lg); border: 1px solid var(--color-line); background: #fff; padding: 1.5rem 1.25rem; }
@media (min-width: 640px) { .checkout-card { padding: 2rem; } }
.checkout-card + .checkout-card { margin-top: 1.25rem; }
.checkout-card__title { display: flex; align-items: center; gap: .75rem; font-size: 1.15rem; margin-bottom: 1.35rem; }
.checkout-card__title .num { display: flex; height: 1.9rem; width: 1.9rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-ink); color: #fff; font-size: .8rem; font-family: var(--font-sans); }
.checkout-form { display: flex; flex-direction: column; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.form-row + .form-row, .form-row + .field, .field + .form-row { margin-top: 1rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.delivery-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.delivery-toggle button {
  display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; text-align: left;
  border-radius: var(--radius); border: 1.5px solid var(--color-mist); padding: 1rem; background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.delivery-toggle button strong { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.delivery-toggle button span { font-size: .78rem; color: var(--color-text-muted); line-height: 1.35; }
.delivery-toggle button:hover { border-color: var(--color-ink); }
.delivery-toggle button.is-selected { border-color: var(--color-ink); background: var(--color-cloud); box-shadow: inset 0 0 0 1px var(--color-ink); }
.checkout-submit-wrap { margin-top: 1.5rem; }
.checkout-legal { margin-top: .85rem; display: flex; align-items: flex-start; gap: .5rem; font-size: .78rem; color: var(--color-text-soft); line-height: 1.45; }
.order-summary { border-radius: var(--radius-lg); background: var(--color-cloud); padding: 1.5rem 1.25rem; }
@media (min-width: 640px) { .order-summary { padding: 1.75rem; } }
@media (min-width: 1024px) { .order-summary { position: sticky; top: calc(var(--header-h) + 1.5rem); } }
.order-summary h2 { display: flex; align-items: center; justify-content: space-between; font-size: 1.15rem; }
.order-summary h2 a { font-family: var(--font-sans); font-size: .8rem; font-weight: 600; color: var(--color-text-muted); text-decoration: underline; text-underline-offset: 3px; }
.order-summary-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; }
.order-summary-list li { display: flex; gap: .85rem; align-items: flex-start; }
.order-summary-list .thumb { position: relative; height: 3.75rem; width: 3.75rem; flex-shrink: 0; border-radius: var(--radius-sm); background: #fff; }
.order-summary-list .thumb img { height: 100%; width: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.order-summary-list .thumb .qty { position: absolute; top: -.4rem; right: -.4rem; display: flex; height: 1.35rem; min-width: 1.35rem; padding: 0 .3rem; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--color-ink); color: #fff; font-size: .7rem; font-weight: 700; }
.order-summary-list .info { flex: 1; min-width: 0; }
.order-summary-list .info p:first-child { font-weight: 600; line-height: 1.3; }
.order-summary-list .info p + p { font-size: .75rem; color: var(--color-text-muted); margin-top: .15rem; }
.order-summary-list .price { font-weight: 600; flex-shrink: 0; }
.order-summary-total { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--color-mist); display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.order-summary-note { margin-top: .6rem; font-size: .78rem; color: var(--color-text-muted); line-height: 1.45; }

/* Confirmación / 404 */
.confirmation { display: flex; min-height: 62vh; align-items: center; padding: 4.5rem 0; }
.confirmation__inner { max-width: 34rem; margin: 0 auto; text-align: center; }
.confirmation__icon { position: relative; margin: 0 auto 1.75rem; display: flex; height: 5rem; width: 5rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--color-success); color: #fff; box-shadow: 0 0 0 .6rem var(--color-success-soft); animation: popIn .6s var(--ease) both; }
@keyframes popIn { 0% { transform: scale(.5); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.confirmation h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; }
.confirmation p.lead { margin-top: .9rem; color: var(--color-text-muted); font-size: 1.05rem; }
.confirmation .alert { margin-top: 1.5rem; text-align: left; }
.confirmation .actions { margin-top: 2.25rem; display: flex; flex-direction: column; gap: .75rem; justify-content: center; }
@media (min-width: 560px) { .confirmation .actions { flex-direction: row; } }
.next-steps { margin-top: 2.5rem; display: grid; gap: .75rem; text-align: left; }
.next-steps li { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: var(--radius); background: var(--color-cloud); font-size: .9rem; color: var(--color-text-muted); }
.next-steps li strong { display: block; color: var(--color-ink); font-size: .95rem; }
.next-steps .num { display: flex; height: 1.75rem; width: 1.75rem; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--color-ink); font-weight: 700; font-size: .8rem; box-shadow: var(--shadow-xs); }
.error-code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--color-ink); }

/* 6) PANEL ADMIN -------------------------------------------------- */
.admin-login-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-cloud); padding: 1rem; background-image: radial-gradient(rgba(11, 11, 12, .06) 1px, transparent 1px); background-size: 20px 20px; }
.admin-login-card { width: 100%; max-width: 25rem; border-radius: var(--radius-xl); background: #fff; padding: 2.25rem 2rem; box-shadow: var(--shadow-lg); border: 1px solid var(--color-line); }
.admin-login-logo { height: 3.25rem; width: auto; margin-bottom: 1.25rem; }
.admin-login-brand { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.admin-login-sub { margin-top: .25rem; margin-bottom: 1.75rem; font-size: .9rem; color: var(--color-text-muted); }
.admin-login-back { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.5rem; font-size: .85rem; color: var(--color-text-muted); }
.admin-login-back:hover { color: var(--color-ink); }
.admin-form { display: flex; flex-direction: column; gap: 1.1rem; }
.admin-form label { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--color-ink); }
.admin-form .label-hint { font-weight: 400; color: var(--color-text-soft); font-size: .78rem; }
.admin-form input:not([type=checkbox]):not([type=file]):not([type=hidden]), .admin-form select, .admin-form textarea, .admin-input-inline {
  width: 100%; min-height: 2.75rem; border-radius: var(--radius); border: 1.5px solid var(--color-mist); background: #fff; padding: .6rem .85rem;
  font-size: .95rem; font-weight: 400; line-height: 1.4; outline: none; font-family: inherit; color: var(--color-ink); transition: border-color .15s, box-shadow .15s;
}
.admin-form textarea, textarea.admin-input-inline { min-height: 5.5rem; resize: vertical; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus, .admin-input-inline:focus { border-color: var(--color-ink); box-shadow: 0 0 0 4px rgba(11, 11, 12, .07); }
.admin-form .form-row + .form-row { margin-top: 0; }
.admin-form-section { padding-top: 1.25rem; border-top: 1px solid var(--color-line); }
.admin-form-section:first-of-type { padding-top: 0; border-top: none; }
.admin-form-section__title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.admin-form-section__desc { font-size: .82rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.admin-form-section .admin-form { gap: 1rem; }
.form-grid-3 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 768px) { .form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.form-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-inline-create { display: grid; grid-template-columns: minmax(0, 1fr); gap: .85rem; align-items: end; }
@media (min-width: 768px) { .admin-inline-create { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; } }
.admin-inline-create label { margin: 0; }
.admin-inline-edit { display: grid; grid-template-columns: minmax(0, 1fr); gap: .6rem; align-items: center; }
@media (min-width: 768px) { .admin-inline-edit { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; } }
.admin-inline-edit .actions { display: flex; gap: .5rem; }
.form-actions-bar { position: sticky; bottom: 0; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1.5rem -1.25rem -1.25rem; padding: 1rem 1.25rem; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-top: 1px solid var(--color-line); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
@media (min-width: 640px) { .form-actions-bar { margin: 1.75rem -1.75rem -1.75rem; padding: 1rem 1.75rem; } }
.form-actions-bar p { font-size: .8rem; color: var(--color-text-soft); }

.admin-layout { min-height: 100vh; background: var(--color-cloud); color: var(--color-ink); }
.admin-shell { display: flex; flex-direction: column; min-height: 100vh; }
@media (min-width: 1024px) { .admin-shell { flex-direction: row; } }
.admin-sidebar { position: sticky; top: 0; z-index: 20; background: var(--color-ink); color: #fff; padding: .85rem 1rem; }
@media (min-width: 1024px) { .admin-sidebar { position: sticky; top: 0; height: 100vh; width: 16.5rem; flex-shrink: 0; display: flex; flex-direction: column; padding: 1.75rem 1.1rem; overflow-y: auto; } }
.admin-sidebar__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-sidebar__brand { display: flex; align-items: center; gap: .7rem; }
@media (min-width: 1024px) { .admin-sidebar__brand { margin-bottom: 2rem; padding: 0 .5rem; } }
.admin-sidebar__brand img { height: 2.4rem; width: auto; }
.admin-sidebar__brand .brand-title { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.admin-sidebar__brand .brand-sub { display: block; font-size: .72rem; color: rgba(255, 255, 255, .5); }
.admin-sidebar__site { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; color: rgba(255, 255, 255, .75); padding: .45rem .75rem; border-radius: var(--radius-pill); border: 1px solid rgba(255, 255, 255, .18); }
.admin-sidebar__site:hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (min-width: 1024px) { .admin-sidebar__top .admin-sidebar__site { display: none; } }
.admin-nav { display: flex; gap: .25rem; overflow-x: auto; margin: .85rem -1rem 0; padding: 0 1rem .15rem; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .admin-nav { flex-direction: column; overflow: visible; margin: 0; padding: 0; } }
.admin-nav a { display: flex; align-items: center; gap: .7rem; white-space: nowrap; border-radius: var(--radius); padding: .6rem .8rem; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .68); transition: background-color .15s, color .15s; }
.admin-nav a .icon { opacity: .75; }
.admin-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.admin-nav a.is-active { background: #fff; color: var(--color-ink); font-weight: 600; }
.admin-nav a.is-active .icon { opacity: 1; color: var(--color-accent); }
.admin-nav .nav-count { margin-left: auto; min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--color-accent); color: #fff; font-size: .7rem; font-weight: 700; }
.admin-sidebar__footer { display: none; }
@media (min-width: 1024px) { .admin-sidebar__footer { display: block; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .1); } }
.admin-sidebar__footer .who { display: flex; align-items: center; gap: .6rem; margin-bottom: .85rem; padding: 0 .5rem; font-size: .78rem; color: rgba(255, 255, 255, .6); min-width: 0; }
.admin-sidebar__footer .who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-sidebar__footer .btn { color: #fff; border-color: rgba(255, 255, 255, .2); }
.admin-sidebar__footer .btn:hover { background: #fff; color: var(--color-ink); border-color: #fff; }
.admin-sidebar__footer .btn + .btn, .admin-sidebar__footer form { margin-top: .5rem; }
.admin-mobile-logout { display: inline-flex; }
@media (min-width: 1024px) { .admin-mobile-logout { display: none; } }
.admin-mobile-logout button { display: flex; height: 2.25rem; width: 2.25rem; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: none; color: #fff; }
.admin-sidebar__top-actions { display: flex; align-items: center; gap: .5rem; }

.admin-main { flex: 1; min-width: 0; padding: 1.5rem 1rem 3rem; }
@media (min-width: 640px) { .admin-main { padding: 2rem 1.5rem 3rem; } }
@media (min-width: 1024px) { .admin-main { padding: 2.5rem 2.75rem 4rem; } }
.admin-container { max-width: 1100px; }
.admin-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.admin-page-head .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.admin-back { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; font-size: .82rem; font-weight: 600; color: var(--color-text-muted); }
.admin-back:hover { color: var(--color-ink); }
.admin-main h1 { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; }
.admin-sub { margin-top: .3rem; font-size: .9rem; color: var(--color-text-muted); }
.admin-sub a { color: var(--color-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.admin-flash { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }

.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
@media (min-width: 900px) { .stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }
.stat-card { display: flex; flex-direction: column; gap: .75rem; border-radius: var(--radius-lg); background: #fff; padding: 1.15rem 1.25rem; border: 1px solid var(--color-line); transition: box-shadow .2s, transform .2s var(--ease), border-color .2s; }
a.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: transparent; }
.stat-card__icon { display: flex; height: 2.4rem; width: 2.4rem; align-items: center; justify-content: center; border-radius: var(--radius); background: var(--color-cloud); color: var(--color-ink); }
.stat-card--accent .stat-card__icon { background: var(--color-accent-soft); color: var(--color-accent); }
.stat-card__label { font-size: .82rem; color: var(--color-text-muted); }
.stat-card__value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }

.admin-card { margin-top: 1.5rem; border-radius: var(--radius-lg); background: #fff; padding: 1.25rem; border: 1px solid var(--color-line); }
@media (min-width: 640px) { .admin-card { padding: 1.75rem; } }
.admin-card:first-child { margin-top: 0; }
.admin-card-header { margin-bottom: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.admin-card-header h2, .admin-card h2 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; }
.admin-card-header .admin-sub { margin-top: .2rem; }
.admin-two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .admin-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.admin-two-col .admin-card { margin-top: 0; }

.admin-list { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-line); margin-top: 1.5rem; overflow: hidden; }
.admin-list__item { padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.admin-list__item:last-child { border-bottom: none; }
.admin-list__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; }
.admin-list__main { display: flex; align-items: center; gap: .9rem; min-width: 0; flex: 1 1 16rem; }
.admin-list__title { font-weight: 600; font-size: .95rem; }
.admin-list__desc { font-size: .85rem; color: var(--color-text-muted); margin-top: .1rem; }
.admin-list__empty { padding: 2.5rem 1.5rem; text-align: center; color: var(--color-text-muted); font-size: .9rem; }
.admin-list__handle { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--color-text-soft); width: 1.5rem; flex-shrink: 0; }

.admin-table-wrap { overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-line); }
.admin-table-scroll { overflow-x: auto; }
.admin-table { width: 100%; min-width: 680px; font-size: .875rem; border-collapse: collapse; }
.admin-table thead tr { background: #fbfaf8; border-bottom: 1px solid var(--color-line); text-align: left; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-text-soft); }
.admin-table th { font-weight: 600; }
.admin-table th, .admin-table td { padding: .85rem 1rem; vertical-align: middle; }
.admin-table tbody tr { border-bottom: 1px solid var(--color-line); transition: background-color .12s; }
.admin-table tbody tr:hover { background: #fcfbfa; }
.admin-table tbody tr:last-child { border-bottom: none; }
.admin-table .cell-product { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.admin-table .cell-product strong { font-weight: 600; display: block; line-height: 1.3; }
.admin-table .cell-product small { color: var(--color-text-soft); font-size: .75rem; }
.admin-thumb { height: 2.75rem; width: 2.75rem; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-cloud); display: flex; align-items: center; justify-content: center; color: var(--color-text-soft); }
.admin-thumb img, .admin-thumb svg { height: 100%; width: 100%; object-fit: cover; }
.admin-thumb--lg { height: 3.5rem; width: 3.5rem; }
.admin-thumb span { font-size: .6rem; text-align: center; line-height: 1.1; }
.table-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .35rem; }
.table-actions form { display: inline; margin: 0; }
.admin-table .table-actions { flex-wrap: nowrap; }
.link-accent, .link-danger, .link-muted {
  display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .82rem; background: none; border: none; padding: .45rem .7rem; border-radius: var(--radius-pill); transition: background-color .15s, color .15s; cursor: pointer; white-space: nowrap;
}
.link-accent { color: var(--color-ink); }
.link-accent:hover { background: var(--color-cloud); }
.link-danger { color: var(--color-danger); }
.link-danger:hover { background: var(--color-danger-soft); }
.link-muted { color: var(--color-text-muted); }
.link-muted:hover { background: var(--color-cloud); color: var(--color-ink); }
.toggle-status { border: none; cursor: pointer; transition: filter .15s; }
.toggle-status:hover { filter: brightness(.95); }

.admin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.admin-search { position: relative; flex: 1 1 16rem; max-width: 22rem; }
.admin-search .icon { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--color-text-soft); pointer-events: none; }
.admin-search input { width: 100%; min-height: 2.6rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); background: #fff; padding: .5rem 1rem .5rem 2.5rem; font-size: .9rem; outline: none; }
.admin-search input:focus { border-color: var(--color-ink); }
.admin-tabs { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; }
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs a { flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .85rem; border-radius: var(--radius-pill); font-size: .82rem; font-weight: 600; color: var(--color-text-muted); background: #fff; border: 1px solid var(--color-line); }
.admin-tabs a:hover { color: var(--color-ink); border-color: var(--color-ink); }
.admin-tabs a.is-active { background: var(--color-ink); color: #fff; border-color: var(--color-ink); }
.admin-tabs a small { font-size: .7rem; opacity: .65; }

.checkbox-row { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.checkbox-row label, .check-label { flex-direction: row !important; align-items: center; gap: .6rem !important; font-size: .9rem; font-weight: 500 !important; cursor: pointer; }
.checkbox-row input[type=checkbox], .check-label input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--color-ink); cursor: pointer; }
.switch-list { display: grid; gap: .6rem; }
@media (min-width: 640px) { .switch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.switch-list label { padding: .8rem 1rem; border-radius: var(--radius); border: 1px solid var(--color-line); background: #fff; }

.variant-editor { border-radius: var(--radius); border: 1px solid var(--color-line); background: #fbfaf8; padding: .85rem; margin-bottom: .75rem; }
.variant-editor-row { display: flex; align-items: center; gap: .5rem; }
.variant-editor-row input { flex: 1; min-width: 0; }
.variant-editor > input { margin-top: .5rem; }

.image-manager-grid { margin-top: 1.1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 640px) { .image-manager-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .image-manager-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.image-manager-item { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--color-cloud); border: 1px solid var(--color-line); }
.image-manager-item img { height: 100%; width: 100%; object-fit: cover; }
.image-manager-item form { margin: 0; }
.image-manager-item > form > button, .image-manager-item .remove-btn {
  position: absolute; top: .35rem; right: .35rem; display: flex; height: 1.9rem; width: 1.9rem;
  align-items: center; justify-content: center; border-radius: 50%; background: rgba(11, 11, 12, .7); color: #fff; border: none; transition: background-color .15s;
}
.image-manager-item > form > button:hover { background: var(--color-danger); }
.image-manager-item .cover-tag { position: absolute; left: .35rem; top: .35rem; border-radius: var(--radius-pill); background: #fff; color: var(--color-ink); font-size: .65rem; font-weight: 700; padding: .15rem .5rem; box-shadow: var(--shadow-xs); }
.image-manager-item--wide { aspect-ratio: 16 / 6; grid-column: 1 / -1; }
.image-manager-reorder { position: absolute; bottom: .35rem; left: .35rem; right: .35rem; display: flex; justify-content: space-between; opacity: 0; transition: opacity .15s; }
.image-manager-item:hover .image-manager-reorder, .image-manager-item:focus-within .image-manager-reorder { opacity: 1; }
@media (hover: none) { .image-manager-reorder { opacity: 1; } }
.image-manager-reorder form { display: inline; }
.image-manager-reorder button { width: 1.9rem; height: 1.9rem; border-radius: 50%; border: none; background: rgba(11, 11, 12, .7); color: #fff; cursor: pointer; }
.image-manager-reorder button:disabled { opacity: .3; cursor: not-allowed; }
.upload-label {
  margin-top: 1.1rem; display: inline-flex; cursor: pointer; align-items: center; gap: .5rem;
  border-radius: var(--radius-pill); background: var(--color-ink); padding: .6rem 1.1rem; font-size: .875rem; font-weight: 600; color: #fff; transition: background-color .15s, transform .15s;
}
.upload-label:hover { background: var(--color-ink-muted); }
.upload-label:focus-within { box-shadow: var(--ring); }
.upload-label input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-label.is-loading { opacity: .7; pointer-events: none; }
.upload-note { margin-top: .6rem; font-size: .78rem; color: var(--color-text-soft); }

.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.work-card { border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--color-line); overflow: hidden; display: flex; flex-direction: column; }
.work-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.work-card__body { padding: .9rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.work-card__body .admin-form { gap: .5rem; }
.work-card__title { font-weight: 600; font-size: .9rem; }
.work-card__desc { font-size: .8rem; color: var(--color-text-muted); margin-top: .15rem; }
.work-card .table-actions { margin-top: auto; padding-top: .6rem; justify-content: flex-start; margin-left: -.7rem; }

.dl-list { display: flex; flex-direction: column; font-size: .9rem; }
.dl-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--color-line); }
.dl-list > div:last-child { border-bottom: none; }
.dl-list dt { color: var(--color-text-muted); flex-shrink: 0; }
.dl-list dd { margin: 0; font-weight: 500; text-align: right; word-break: break-word; }
.dl-list dd a { text-decoration: underline; text-underline-offset: 3px; }
.order-items { display: flex; flex-direction: column; }
.order-items li { padding: .9rem 0; border-bottom: 1px solid var(--color-line); font-size: .875rem; }
.order-items li:first-child { padding-top: 0; }
.order-items .meta { font-size: .78rem; color: var(--color-text-muted); margin-top: .2rem; }
.order-total { margin-top: 1rem; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; }
.quick-contact { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.status-select { min-height: 2.6rem; border-radius: var(--radius-pill); border: 1.5px solid var(--color-mist); padding: .45rem 2.25rem .45rem 1rem; font-weight: 600; font-size: .875rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235c5c63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E") no-repeat right .8rem center; appearance: none; cursor: pointer; outline: none; }
.status-select:focus { border-color: var(--color-ink); }
.recent-orders { display: flex; flex-direction: column; }
.recent-orders a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .75rem; padding: .85rem .5rem; margin: 0 -.5rem; border-radius: var(--radius); border-bottom: 1px solid var(--color-line); transition: background-color .12s; }
.recent-orders a:last-child { border-bottom: none; }
.recent-orders a:hover { background: var(--color-cloud); }
.recent-orders .name { font-weight: 600; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-orders .date { font-size: .75rem; color: var(--color-text-soft); }
.recent-orders .amount { font-weight: 600; font-size: .875rem; }
@media (max-width: 479px) { .recent-orders .amount { display: none; } .recent-orders a { grid-template-columns: minmax(0, 1fr) auto; } }
.quick-links { display: grid; gap: .6rem; }
.quick-links a { display: flex; align-items: center; gap: .75rem; padding: .85rem 1rem; border-radius: var(--radius); border: 1px solid var(--color-line); font-weight: 600; font-size: .9rem; transition: border-color .15s, background-color .15s; }
.quick-links a:hover { border-color: var(--color-ink); background: var(--color-cloud); }
.quick-links a .icon:last-child { margin-left: auto; color: var(--color-text-soft); }

/* 7) UTILIDADES --------------------------------------------------- */
.mt-2 { margin-top: .5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.w-fit { width: fit-content; }
.hidden { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .float-stack, .cart-drawer, .cart-overlay, .chat-panel, .mobile-buy-bar, .admin-sidebar { display: none !important; }
}
