﻿/* ==========================================================================
   Socolá / ACIDE — Hoja de estilos ÚNICA
   Auto-contenida. Sin CDN. Sin @import externos.
   Todas las fuentes residen en /fonts/ y /fonts/local/.
   ========================================================================== */


/* ---------- 1. @font-face locales ---------- */

@font-face {
  font-family: 'Outfit';
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-200.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-300.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Outfit';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Outfit';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Outfit';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Outfit-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Playfair-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Playfair-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/Playfair-latin-ext-400i.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/Playfair-latin-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Playfair-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Playfair Display';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Playfair-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-ext-400i.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-400i.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/JetBrainsMono-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-300.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-400.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-500.ttf') format('truetype');
}

@font-face {
  font-family: 'Inter';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('../fonts/Inter-600.ttf') format('truetype');
}


/* ---------- 2. Capa ACIDE (correcciones globales) ---------- */

/* ACIDE Visual Layer Correction — global */
body, html { margin: 0; padding: 0; width: 100%; min-height: 100%; }
.mc-global-background { pointer-events: none; }
.mc-page-content-layers { position: relative; z-index: 1; isolation: isolate; width: 100%; }


/* ---------- 3. Tokens y base (theme.css) ---------- */

:root {
    /* Color Palette */
    --color-primary: #89BDAC;
    --color-primary-soft: rgba(137, 189, 172, 0.1);
    --color-secondary: #5D4037;
    --color-secondary-soft: rgba(93, 64, 55, 0.1);
    --color-accent: #D4AF37;
    --color-background: #F9F7F2;
    --color-surface: #FFFFFF;
    --color-text: #2C1E1A;
    --color-text-muted: #5D4037CC;

    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: var(--font-main);
    transition: var(--transition-smooth);
}

/* Base Layout Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section-padding {
    padding: var(--space-xl) 0;
}

/* Custom Utilities */
.gradient-text {
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(137, 189, 172, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: white;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 1s forwards;
}

/* ── HEADER ───────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: rgba(249, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: 0.02em;
    background: none !important;
    -webkit-text-fill-color: inherit !important;
}

.nav {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

/* ── MAIN CONTENT ─────────────────────────────────────────── */
.main-content {
    padding-top: 64px;
}

/* ── WELCOME SECTION ──────────────────────────────────────── */
.welcome-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-background);
    padding: 80px 24px;
}

.welcome-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-secondary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.welcome-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    letter-spacing: 0.08em;
    font-weight: 400;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
    background: var(--color-secondary);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 32px 24px;
    font-size: 13px;
}

.footer-heading {
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

/* ── NAVEGACIÓN ───────────────────────────────────────────── */
.nav-link {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* ── SECCIONES DE CONTENIDO ──────────────────────────────── */
.hero-section {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-background);
    padding-top: 64px;
}

.features-section {
    background: var(--color-surface);
    padding: var(--space-xl) 0;
}

.cta-section {
    background: var(--color-primary-soft);
    padding: var(--space-xl) 0;
}

/* ── TEXTO GRANDE ─────────────────────────────────────────── */
.text-large {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ── EDITOR CANVAS OVERRIDES ─────────────────────────────── */
.emcms_canvas .header {
    position: sticky;
    top: 0;
    left: unset;
    right: unset;
    z-index: 10;
}

.emcms_canvas .hero-section {
    min-height: 300px;
    padding-top: 0;
}

/* ---------- 4. Tema Socolá — Navigation ---------- */

.nav-socola {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
    color: white;
}

.nav-scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    color: var(--color-secondary);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.8rem;
    line-height: 1;
}

.nav-logo span {
    font-family: var(--font-main);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-tools {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.mobile-toggle {
    display: none;
    color: inherit;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--color-secondary);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu a {
    color: white;
    font-size: 2rem;
    font-family: var(--font-heading);
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-scrolled .mobile-toggle {
        color: var(--color-secondary);
    }
}

/* ---------- 5. Tema Socolá — Footer ---------- */

.footer-socola {
    background-color: var(--color-secondary);
    color: white;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.footer-info p {
    opacity: 0.8;
    max-width: 300px;
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-socials a {
    color: white;
    transition: var(--transition-smooth);
}

.footer-socials a:hover {
    color: var(--color-primary);
}

.footer-contact h3,
.footer-hours h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-contact h3::after,
.footer-hours h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-contact ul,
.footer-hours ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.footer-icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hours-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ---------- 6. Tema Socolá — Hero ---------- */

.hero-socola {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('../assets/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(44, 30, 26, 0.4) 0%, rgba(44, 30, 26, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-text-box {
    max-width: 650px;
    animation: fadeIn 1.2s ease-out;
}

.hero-badge {
    display: inline-block;
    background-color: var(--color-primary);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .accent-text {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline:hover {
    background-color: white;
    color: var(--color-secondary);
}

.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-socola {
        background-attachment: scroll;
        text-align: center;
    }

    .hero-text-box {
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* ---------- 7. Tema Socolá — About ---------- */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-image-container {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 20px 20px 0 var(--color-primary-soft);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--color-secondary);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 5px solid var(--color-background);
}

.experience-badge .number {
    font-size: 1.5rem;
    font-weight: 700;
}

.experience-badge .text {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text .section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.title-divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--color-secondary-soft);
    padding-top: 2rem;
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-primary);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .about-image-container {
        order: 2;
    }
}

/* ---------- 8. Tema Socolá — Menu ---------- */

.menu-socola {
    padding-bottom: 5rem;
    background-color: var(--color-background);
    min-height: 100vh;
}

.menu-header {
    background-color: #ffffff;
    padding: 3rem 0 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.title-carta {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    text-align: center;
}

.subtitle-carta {
    text-align: center;
    color: var(--color-text);
    opacity: 0.6;
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    overflow-x: auto;
    padding: 0.5rem;
    scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    background: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn.active {
    background-color: var(--color-text);
    color: white;
    border-color: var(--color-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.menu-item-card {
    background: white;
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.menu-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.item-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.item-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.1rem;
}

.item-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
    opacity: 0.7;
    margin-bottom: 1rem;
}

.item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.item-tags {
    margin-top: auto;
}

.tag-natural {
    font-size: 0.7rem;
    background-color: #f0f7f4;
    color: #2d5a27;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-footer-info {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    border-top: 1px dashed #ccc;
    color: var(--color-text);
    opacity: 0.6;
    font-size: 0.9rem;
}

.floating-cart {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--color-text);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .menu-item-card {
        padding: 1rem;
        gap: 1rem;
    }

    .item-image {
        width: 80px;
        height: 80px;
    }

    .title-carta {
        font-size: 1.8rem;
    }

    .menu-header {
        top: 60px;
        padding: 1.5rem 0 1rem;
    }
}

/* ---------- 9. Tema Socolá — Services ---------- */

.services-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.services-header .section-title {
    font-size: 3rem;
    color: var(--color-secondary);
}

.services-header .subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.service-card {
    background: var(--color-surface);
    padding: var(--space-md);
    border-radius: 20px;
    border: 1px solid var(--color-secondary-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: var(--color-primary);
}

.card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-icon {
    color: var(--color-primary);
    width: 32px;
    height: 32px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: var(--space-lg);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.info-icon {
    color: var(--color-primary);
}

.services-banner {
    background-color: var(--color-secondary);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    overflow: hidden;
    color: white;
}

.banner-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.banner-content h3 {
    font-size: 2.5rem;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-banner {
        grid-template-columns: 1fr;
    }

    .banner-image {
        display: none;
    }

    .services-info {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* ---------- 10. Carta TPV (mobile cliente) — scope: body.page-carta-tpv ---------- */

:root {
      --sc-brn: #2C1E1A;
      --sc-grn: #7FA68E;
      --sc-bg: #FDFCF9;
      --sc-lne: rgba(44,30,26,0.09);
      --sc-muted: #999;
    }
    body.page-carta-tpv { height: 100%; overflow-x: hidden; background: var(--sc-bg); }
    #soco-app {
      font-family: 'Outfit', sans-serif;
      color: var(--sc-brn);
      background: var(--sc-bg);
      max-width: 640px;
      margin: 0 auto;
      min-height: 100vh;
      padding-bottom: 120px;
    }
    .sc-hero { height: 26vh; overflow: hidden; position: relative; }
    .sc-hero img { width: 100%; height: 100%; object-fit: cover; }
    .sc-back-btn {
      position: absolute; top: 16px; left: 16px;
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.2);
      backdrop-filter: blur(10px);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      color: #fff; z-index: 100;
      border: 1px solid rgba(255,255,255,0.3);
      text-decoration: none; transition: all .2s;
    }
    .sc-back-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.4); }
    .sc-hero-title {
      position: absolute; bottom: 18px; left: 0; right: 0;
      text-align: center; color: #fff;
      font-family: 'Playfair Display', serif;
      font-size: 2.2rem; font-weight: 700;
      text-shadow: 0 2px 16px rgba(0,0,0,0.55);
      letter-spacing: .04em;
    }
    .sc-hero-sub {
      position: absolute; bottom: 7px; left: 0; right: 0;
      text-align: center; color: rgba(255,255,255,0.7);
      font-size: 0.62rem; letter-spacing: 3px;
      text-transform: uppercase; font-weight: 500;
    }
    .sc-cat-nav {
      position: sticky; top: 0;
      background: var(--sc-bg); z-index: 50;
      display: flex; gap: 6px; padding: 10px 16px;
      overflow-x: auto; border-bottom: 1px solid var(--sc-lne);
      scrollbar-width: none;
    }
    .sc-cat-nav::-webkit-scrollbar { display: none; }
    .cat-btn {
      padding: 5px 16px;
      border: 1.5px solid var(--sc-lne); border-radius: 2px;
      background: transparent; font-size: 0.72rem; font-weight: 600;
      cursor: pointer; color: var(--sc-muted); transition: all .2s;
      white-space: nowrap; letter-spacing: .04em; text-transform: uppercase;
    }
    .cat-btn.on, .cat-btn:hover { border-color: var(--sc-brn); color: var(--sc-brn); background: #fff; }
    .sc-menu { padding: 0 16px 16px; }
    .sc-cat-block { margin-bottom: 8px; }
    .sc-cat-title {
      font-family: 'Playfair Display', serif;
      font-size: 0.9rem; font-style: italic; color: var(--sc-muted);
      padding: 20px 0 10px; letter-spacing: .06em;
      border-bottom: 1px solid var(--sc-lne); margin-bottom: 4px;
    }
    .prod-row {
      display: flex; gap: 15px; align-items: center;
      padding: 15px 0; border-bottom: 1px solid var(--sc-lne);
      transition: all .35s ease;
    }
    .prod-row.active {
      background: rgba(127,166,142,0.03);
      margin-left: -16px; margin-right: -16px;
      padding-left: 16px; padding-right: 16px;
    }
    .prod-txt { flex: 1; min-width: 0; }
    .prod-nm { font-weight: 600; font-size: 0.97rem; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .prod-ds { font-size: 0.76rem; color: var(--sc-muted); line-height: 1.45; margin-bottom: 5px; }
    .prod-pr { font-weight: 500; font-size: 0.83rem; color: var(--sc-brn); opacity: .65; }
    .sc-item-ctrl { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 60px; }
    .sc-select {
      width: 22px; height: 22px; border-radius: 50%;
      border: 1.8px solid var(--sc-brn);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: all .2s;
    }
    .sc-select.on { background: var(--sc-grn); border-color: var(--sc-grn); color: #fff; }
    .sc-select svg { display: none; width: 13px; height: 13px; }
    .sc-select.on svg { display: block; }
    .prod-qty-nav { display: none; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--sc-lne); border-radius: 4px; padding: 2px; }
    .prod-row.active .prod-qty-nav { display: flex; }
    .qty-btn-s { width: 20px; height: 20px; border: none; background: none; font-weight: 600; cursor: pointer; color: var(--sc-brn); }
    .qty-val-s { font-size: 0.75rem; font-weight: 700; min-width: 12px; text-align: center; }
    .prod-img { width: 68px; height: 68px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
    .prod-img-ph { width: 68px; height: 68px; border-radius: 8px; background: rgba(44,30,26,0.04); flex-shrink: 0; }
    /* Overlay */
    .sc-overlay { display: none; position: fixed; inset: 0 0 80px 0; background: rgba(20,12,10,0.45); backdrop-filter: blur(6px); z-index: 300; }
    .sc-overlay.show { display: block; }
    /* Chat panel */
    .sc-chat {
      position: fixed; bottom: 80px; left: 50%;
      transform: translateX(-50%) translateY(110%);
      width: 100%; max-width: 640px;
      background: #fff; border-radius: 18px 18px 0 0; z-index: 400;
      display: flex; flex-direction: column; max-height: 72vh;
      transition: transform .38s cubic-bezier(.32,0,.2,1);
      box-shadow: 0 -8px 40px rgba(0,0,0,0.1);
    }
    .sc-chat.open { transform: translateX(-50%) translateY(0); }
    .sc-chat-hd { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px 13px; border-bottom: 1px solid var(--sc-lne); flex-shrink: 0; }
    .sc-chat-nm { font-family: 'Playfair Display', serif; font-size: 1.05rem; display: flex; align-items: center; gap: 8px; }
    .sc-chat-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sc-grn); animation: pulse 2s infinite; }
    .sc-chat-close { background: none; border: 1px solid var(--sc-lne); border-radius: 3px; padding: 4px 14px; font-size: 0.72rem; cursor: pointer; color: var(--sc-muted); font-family: 'Outfit', sans-serif; letter-spacing: .04em; }
    .sc-chat-close:hover { border-color: var(--sc-brn); color: var(--sc-brn); }
    .sc-msgs { flex: 1; overflow-y: auto; padding: 16px 20px 55px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: rgba(44,30,26,.1) transparent; }
    .msg { display: flex; flex-direction: column; max-width: 88%; }
    .msg-m { align-self: flex-start; }
    .msg-u { align-self: flex-end; }
    .msg-lbl { font-size: 0.56rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--sc-grn); margin-bottom: 4px; }
    .msg-body { font-size: 0.875rem; line-height: 1.55; color: var(--sc-brn); border-left: 2px solid var(--sc-lne); padding-left: 10px; }
    .msg-u-body { border-left: none; border-right: 2px solid var(--sc-lne); padding-left: 0; padding-right: 10px; color: var(--sc-muted); font-style: italic; text-align: right; }
    .msg-typing { align-self: flex-start; display: flex; gap: 5px; padding: 10px 12px; border-left: 2px solid var(--sc-lne); }
    .typing-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sc-muted); animation: bounce .8s infinite; }
    .typing-dot:nth-child(2) { animation-delay: .15s; }
    .typing-dot:nth-child(3) { animation-delay: .3s; }
    .msg-card { display: flex; gap: 12px; align-items: center; border: 1px solid var(--sc-lne); border-radius: 10px; padding: 11px 14px; background: var(--sc-bg); margin-top: 2px; max-width: 95%; }
    .msg-card img { width: 52px; height: 52px; border-radius: 7px; object-fit: cover; flex-shrink: 0; }
    .msg-card-nm { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
    .msg-card-ds { font-size: 0.71rem; color: var(--sc-muted); margin-bottom: 4px; line-height: 1.4; }
    .msg-card-pr { font-weight: 700; color: var(--sc-grn); font-size: 0.88rem; }
    .msg-card-btn { background: var(--sc-brn); color: #fff; border: none; margin-top: 8px; padding: 6px 10px; border-radius: 4px; font-size: 0.62rem; font-weight: 600; text-transform: uppercase; cursor: pointer; transition: all .2s; letter-spacing: .04em; }
    .msg-card-btn:hover { background: var(--sc-grn); }
    .qty-ctrl { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
    .qty-btn { width: 22px; height: 22px; border-radius: 4px; border: 1px solid var(--sc-lne); background: #fff; color: var(--sc-brn); cursor: pointer; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; }
    .qty-val { font-size: 0.8rem; font-weight: 700; min-width: 14px; text-align: center; }
    /* Cart dock button */
    .cart-btn-dock {
      background: var(--sc-brn); color: #fff; border: none;
      padding: 8px 18px; border-radius: 8px;
      font-size: 0.75rem; font-weight: 600;
      cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.15);
      transition: all 0.2s; white-space: nowrap;
    }
    .cart-btn-dock:active { transform: scale(0.95); }
    /* Cart / list view */
    .sc-list-view { display: none; position: fixed; inset: 0; background: #fff; z-index: 1000; flex-direction: column; animation: slideUp .3s ease-out; }
    .sc-list-view.show { display: flex; }
    .sc-list-hd { padding: 20px; border-bottom: 1px solid var(--sc-lne); display: flex; justify-content: space-between; align-items: center; background: var(--sc-bg); }
    .sc-list-hd h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; }
    .sc-list-body { flex: 1; overflow-y: auto; padding: 20px; }
    .ticket-row { display: flex; flex-direction: column; padding: 15px 0; border-bottom: 1px dashed var(--sc-lne); }
    .tr-top { display: flex; justify-content: space-between; align-items: flex-start; }
    .tr-name { font-weight: 700; font-size: 1rem; }
    .tr-price { font-weight: 700; color: var(--sc-grn); font-size: 1rem; }
    .tr-details { display: flex; align-items: center; gap: 12px; margin-top: 8px; color: var(--sc-muted); font-size: 0.8rem; }
    .tr-obs { margin-top: 8px; font-style: italic; color: #666; font-size: 0.75rem; background: rgba(44,30,26,0.03); padding: 6px 10px; border-radius: 4px; border-left: 2px solid var(--sc-brn); }
    .tr-edit-btn { background: none; border: 1px solid var(--sc-lne); padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; cursor: pointer; color: var(--sc-brn); display: flex; align-items: center; gap: 4px; font-weight: 600; }
    .sc-list-total { padding: 25px 20px; border-top: 2px solid var(--sc-brn); display: flex; justify-content: space-between; font-weight: 800; font-size: 1.2rem; background: var(--sc-bg); }
    /* Edit modal */
    .sc-edit-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(3px); z-index: 1100; align-items: center; justify-content: center; padding: 20px; }
    .sc-edit-modal.show { display: flex; }
    .edit-card { background: #fff; width: 100%; max-width: 340px; padding: 24px; border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,0.3); }
    .edit-card h4 { margin-bottom: 15px; font-family: 'Playfair Display', serif; font-size: 1.2rem; }
    .edit-card p { font-size: 0.8rem; color: var(--sc-muted); margin-bottom: 12px; }
    .edit-card textarea { width: 100%; height: 90px; padding: 12px; border: 1px solid var(--sc-lne); border-radius: 8px; font-family: inherit; font-size: 0.88rem; resize: none; outline: none; background: #f9f9f9; }
    .edit-card textarea:focus { border-color: var(--sc-brn); }
    .edit-card .btn-row { display: flex; gap: 10px; margin-top: 20px; }
    .btn-save { flex: 1; background: var(--sc-brn); color: #fff; border: none; padding: 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
    .btn-del { background: #fadde1; color: #b00; border: none; padding: 12px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
    /* Dock */
    .sc-dock {
      position: fixed; bottom: 0; left: 50%;
      transform: translateX(-50%);
      width: 100%; max-width: 640px; z-index: 500;
      background: var(--sc-bg);
      border-top: 1px solid var(--sc-lne);
      padding: 10px 16px 20px;
    }
    .sc-dock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0 4px; }
    .sc-dock-inner { display: flex; align-items: center; gap: 10px; background: #F5F3EF; border-radius: 8px; padding: 10px 14px; box-shadow: inset 0 1px 3px rgba(0,0,0,0.04); }
    .sc-input { flex: 1; border: none; background: transparent; outline: none; font-size: 0.92rem; font-family: 'Outfit', sans-serif; color: var(--sc-brn); }
    .sc-input::placeholder { color: #c0b8b0; }
    .sc-send { background: none; border: none; cursor: pointer; opacity: .45; padding: 4px; color: var(--sc-brn); transition: opacity .2s; flex-shrink: 0; }
    .sc-send:hover, .sc-send:focus { opacity: 1; }
    /* Action bar styles (injected dynamically by socola-carta.js) */
    .sc-action-bar { display: flex; gap: 6px; padding: 8px 16px 20px; align-items: stretch; }
    .sc-action-call { flex: 0 0 auto; background: transparent; color: #c2410c; border: 1.5px solid #fed7aa; border-radius: 8px; padding: 10px 14px; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; white-space: nowrap; }
    .sc-action-call:active { background: #fff7ed; }
    .sc-action-bill { flex: 0 0 auto; background: #f9fafb; color: #374151; border: 1.5px solid #e5e7eb; border-radius: 8px; padding: 10px 14px; font-size: 0.78rem; font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; white-space: nowrap; }
    .sc-action-bill:active { background: #f3f4f6; }
    .sc-action-pay { flex: 1; background: #2C1E1A; color: #fff; border: none; border-radius: 8px; padding: 11px 16px; font-size: 0.85rem; font-weight: 700; cursor: pointer; font-family: 'Outfit', sans-serif; display: flex; align-items: center; justify-content: center; gap: 8px; }
    .sc-action-pay:active { background: #1a110e; }
    .sc-action-pay .pay-total { opacity: 0.7; font-size: 0.72rem; font-weight: 500; }
    .sc-mini-btn { background: transparent; border: 1.5px solid var(--sc-lne); border-radius: 8px; padding: 8px 12px; font-size: 0.75rem; font-weight: 600; cursor: pointer; color: var(--sc-muted); font-family: 'Outfit', sans-serif; white-space: nowrap; }
    .sc-mini-btn:active { background: #f5f5f5; }
    /* Animations */
    @keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
    @keyframes bounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(-4px)} }
    @keyframes slideUp { from{transform:translateY(100%)}to{transform:translateY(0)} }

/* ---------- 11. Login — scope: body.page-login ---------- */

:root {
            --bg-color: #ffffff;
            --card-bg: #ffffff;
            --accent-color: #3b82f6;
            --accent-hover: #2563eb;
            --text-primary: #111111;
            --text-secondary: #64748b;
            --border-color: #e2e8f0;
            --error-color: #ef4444;
            --input-bg: #f8fafc;
        }
body.page-login {
            font-family: 'Outfit', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-primary);
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            position: relative;
        }

        /* Fondo Animado Simple - Sutil para modo claro */
body.page-login::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
            animation: pulse 15s infinite alternate;
            z-index: -1;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
            }

            100% {
                transform: scale(1.05);
            }
        }

        .auth-card {
            background-color: var(--card-bg);
            width: 100%;
            max-width: 420px;
            padding: 3rem 2.5rem;
            border-radius: 1.5rem;
            border: 1px solid white;
            box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
            position: relative;
            transform: translateY(20px);
            opacity: 0;
            animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        @keyframes reveal {
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .auth-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 40%;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
        }

        .auth-header {
            text-align: center;
            margin-bottom: 2.5rem;
        }

        .auth-logo {
            font-size: 1.8rem;
            font-weight: 800;
            letter-spacing: -0.03em;
            margin-bottom: 0.5rem;
            color: #111;
        }

        .auth-subtitle {
            font-size: 0.8rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 0.1em;
            font-weight: 600;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 0.5rem;
            color: var(--text-secondary);
        }

        .form-input {
            width: 100%;
            background: var(--input-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 1rem;
            border-radius: 0.8rem;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.2s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
            background: #fff;
        }

        .auth-btn {
            width: 100%;
            padding: 1rem;
            background-color: var(--accent-color);
            color: white;
            border: none;
            border-radius: 0.8rem;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .auth-btn:hover {
            background-color: var(--accent-hover);
            transform: translateY(-1px);
            box-shadow: 0 8px 15px -4px rgba(37, 99, 235, 0.2);
        }

        .auth-btn:active {
            transform: translateY(0);
        }

        .auth-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        .error-message {
            background-color: #fef2f2;
            border: 1px solid #fee2e2;
            color: var(--error-color);
            padding: 0.75rem;
            border-radius: 0.75rem;
            font-size: 0.875rem;
            margin-bottom: 1.5rem;
            display: none;
            animation: shake 0.4s ease-in-out;
        }

        @keyframes shake {

            0%,
            100% {
                transform: translateX(0);
            }

            25% {
                transform: translateX(-5px);
            }

            75% {
                transform: translateX(5px);
            }
        }

        .loader {
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 0.8s linear infinite;
            display: none;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        .auth-footer {
            margin-top: 3rem;
            text-align: center;
            font-size: 0.75rem;
            color: var(--text-secondary);
        }

        .auth-footer strong {
            color: var(--text-primary);
        }

/* ---------- 12. Ajustes carta.html ---------- */

#sec-filter-area { position: sticky !important; top: 60px !important; z-index: 100 !important; background: #f9f5f0 !important }
#sec-products-area { padding: 32px 24px 60px 24px !important; min-height: 500px !important; background: #f9f5f0 !important }
#sec-daily-menu { padding: 60px 24px !important; background: #1a1a1a !important }

/* ---------- 13. Ajustes contacto.html ---------- */

#contact-h-cont { padding: 40px 20px !important }
#contact-cont { padding: 40px 20px !important }
#contact-grid { gap: 40px !important }

/* ================= Home page (page-home) - rediseno 2026-04-21 ================= */
/* -- Tokens propios de la home -------------------------------------------- */
body.page-home {
    --home-ink:     #1a1a1a;
    --home-ink-dim: #5a5a5a;
    --home-muted:   #8a8a8a;
    --home-line:    rgba(0,0,0,0.06);
    --home-cream:   #FEFBF3;
    --home-green:   var(--color-primary, #89BDAC);
    --home-green-soft: rgba(137,189,172,0.10);
    --home-gold:    var(--color-accent, #D4AF37);
    --home-max:     1200px;
    --home-ease:    .25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -- Reset y tipografía scoped -------------------------------------------- */
/* html también necesita overflow-x:hidden; de lo contrario body solo crea un BFC
   y el <html> sigue siendo el scroll container real en muchos navegadores. */
html { overflow-x: hidden; }

body.page-home {
    margin: 0;
    background: #ffffff;
    color: var(--home-ink);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}
body.page-home *,
body.page-home *::before,
body.page-home *::after { box-sizing: border-box; }
body.page-home h1,
body.page-home h2,
body.page-home h3,
body.page-home h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--home-ink);
}
body.page-home p  { margin: 0; }
body.page-home a  { color: inherit; text-decoration: none; }
body.page-home ul { list-style: none; margin: 0; padding: 0; }

/* -- Botones -------------------------------------------------------------- */
body.page-home .home-btn {
    display: inline-block;
    padding: .85rem 2.2rem;
    font-family: inherit;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    border: 1.5px solid currentColor;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--home-ease);
    white-space: nowrap;
}
body.page-home .home-btn--light   { color: #fff; border-color: rgba(255,255,255,0.9); }
body.page-home .home-btn--light:hover  { background: #fff; color: var(--home-ink); }
body.page-home .home-btn--outline { color: #fff; border-color: rgba(255,255,255,0.85); }
body.page-home .home-btn--outline:hover { background: rgba(255,255,255,0.12); }
body.page-home .home-btn--solid   { background: var(--home-ink); color: #fff; border-color: var(--home-ink); }
body.page-home .home-btn--solid:hover   { background: #000; }

/* -- Header --------------------------------------------------------------- */
body.page-home .home-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--home-line);
}
body.page-home .home-header-inner {
    max-width: var(--home-max);
    margin: 0 auto;
    padding: 1.05rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}
body.page-home .home-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--home-ink);
}
body.page-home .home-brand span { color: var(--home-gold); }
body.page-home .home-nav {
    display: flex;
    justify-content: center;
    gap: 2.2rem;
    flex-wrap: wrap;
    min-width: 0;  /* evita desbordamiento de la celda grid */
}
body.page-home .home-nav a {
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #4a4a4a;
    transition: color .2s;
}
body.page-home .home-nav a:hover { color: var(--home-ink); }
body.page-home .home-social {
    justify-self: end;
    color: #4a4a4a;
    display: inline-flex;
    padding: .25rem;
    transition: color .2s;
}
body.page-home .home-social:hover { color: var(--home-ink); }
body.page-home .home-social svg   { width: 18px; height: 18px; }

/* Scroll suave con offset del header pegajoso */
html { scroll-behavior: smooth; }
body.page-home main#top { scroll-margin-top: 64px; }
body.page-home section[id] { scroll-margin-top: 72px; }

/* -- Hero ---------------------------------------------------------------- */
body.page-home .home-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    padding: 3rem 1.25rem;
}
body.page-home .home-hero-bg {
    position: absolute; inset: 0; z-index: -2;
    background: #2a2a2a url('../MEDIA/hero.png') center/cover no-repeat;
    transform: scale(1.02);
}
body.page-home .home-hero-veil {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg,
        rgba(0,0,0,0.12) 0%,
        rgba(0,0,0,0.20) 55%,
        rgba(0,0,0,0.30) 100%);
}
body.page-home .home-hero-inner { max-width: 780px; }
body.page-home .home-hero-eyebrow {
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .35em;
    text-transform: uppercase;
    opacity: .92;
    margin-bottom: 1.6rem;
}
body.page-home .home-hero-title {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff;
}
body.page-home .home-hero-title em {
    font-style: italic;
    color: var(--home-gold);
    font-weight: 400;
}
body.page-home .home-hero-sub {
    font-size: .92rem;
    letter-spacing: .1em;
    opacity: .92;
    margin-bottom: 2.2rem;
}

/* -- Video block --------------------------------------------------------- */
body.page-home .home-video {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
    padding: 3rem 1.25rem;
}
body.page-home .home-video-media {
    position: absolute; inset: 0; z-index: -2;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}
body.page-home .home-video-veil {
    position: absolute; inset: 0; z-index: -1;
    background: rgba(0,0,0,0.28);
}
body.page-home .home-video-inner { max-width: 720px; }
body.page-home .home-video-inner h2 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-style: italic;
    margin-bottom: 1.1rem;
    color: #fff;
}
body.page-home .home-video-inner p {
    font-size: .98rem;
    line-height: 1.75;
    opacity: .92;
    margin: 0 auto 2rem;
    font-weight: 300;
    max-width: 620px;
}

/* -- Encargos y Eventos -------------------------------------------------- */
body.page-home .home-orders {
    background: var(--home-cream);
    padding: 5.5rem 1.25rem;
    text-align: center;
}
body.page-home .home-orders-inner { max-width: 560px; margin: 0 auto; }
body.page-home .home-icon {
    width: 28px; height: 28px;
    margin: 0 auto 1.6rem;
    display: block;
    color: var(--home-ink);
    stroke-width: 1.3;
}
body.page-home .home-orders h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.3rem;
}
body.page-home .home-orders p {
    font-size: .94rem;
    color: var(--home-ink-dim);
    line-height: 1.8;
    margin-bottom: 2.2rem;
}

/* -- Nuestra Filosofía --------------------------------------------------- */
body.page-home .home-philo {
    padding: 6.5rem 1.25rem 4.5rem;
    text-align: center;
    background: #fff;
}
body.page-home .home-philo-inner { max-width: 720px; margin: 0 auto; }
body.page-home .home-divider-v {
    display: block;
    width: 1px;
    height: 50px;
    background: var(--home-gold);
    margin: 0 auto 2rem;
    opacity: .7;
}
body.page-home .home-philo h2 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 1.4rem;
}
body.page-home .home-philo p {
    font-size: .95rem;
    color: var(--home-ink-dim);
    line-height: 1.9;
}

/* -- Nuestras Raíces ----------------------------------------------------- */
body.page-home .home-roots {
    padding: 1rem 1.25rem 6rem;
    background: #fff;
    text-align: center;
}
body.page-home .home-roots-card {
    max-width: 980px;
    margin: 0 auto;
    background: var(--home-green-soft);
    border-radius: 24px;
    padding: 4rem 1.75rem;
}
body.page-home .home-roots-card h2 {
    font-size: clamp(1.8rem, 4.5vw, 2.4rem);
    margin-bottom: 1.4rem;
}
body.page-home .home-roots-card p {
    font-size: .94rem;
    color: #3f4e46;
    line-height: 1.85;
    max-width: 640px;
    margin: 0 auto 2rem;
}
body.page-home .home-roots-caption {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--home-gold);
    margin: 0 !important;
}

/* -- La Carta ------------------------------------------------------------ */
body.page-home .home-menu {
    padding: 5.5rem 1.25rem 6.5rem;
    background: #fff;
}
body.page-home .home-menu-head {
    text-align: center;
    margin-bottom: 4.5rem;
}
body.page-home .home-menu-head h2 {
    font-size: clamp(2.6rem, 8vw, 4rem);
    font-style: italic;
    margin-bottom: .5rem;
}
body.page-home .home-menu-head p {
    font-size: .7rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--home-gold);
    font-weight: 500;
}
body.page-home .home-menu-cat {
    max-width: 720px;
    margin: 0 auto 4.5rem;
    text-align: center;
}
body.page-home .home-menu-cat:last-child { margin-bottom: 0; }
body.page-home .home-menu-cat h3 {
    font-size: 1.7rem;
    margin-bottom: .4rem;
}
body.page-home .home-menu-cat-sub {
    font-size: .66rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--home-gold);
    font-weight: 500;
    margin-bottom: 2.6rem;
}
body.page-home .home-menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}
body.page-home .home-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    text-align: left;
}
body.page-home .home-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}
body.page-home .home-item-body { flex: 1; }
body.page-home .home-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .35rem;
    flex-wrap: wrap;
}
body.page-home .home-item-price {
    font-size: .9rem;
    font-weight: 600;
    color: var(--home-ink);
    margin-left: auto;
}
body.page-home .home-item-name {
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--home-ink);
}
body.page-home .home-item-desc {
    font-size: .83rem;
    color: var(--home-muted);
    font-style: italic;
    line-height: 1.5;
}

/* Badges de la carta */
body.page-home .home-badge {
    font-size: .55rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .22rem .55rem;
    border-radius: 4px;
    border: 1px solid;
    line-height: 1;
}
body.page-home .home-badge--eco     { color: #5FA155; border-color: #c8e6c5; background: #f5faf3; }
body.page-home .home-badge--premium { color: #b5893a; border-color: #ece1cc; background: #faf6ee; }
body.page-home .home-badge--top     { color: #1a1a1a; border-color: #d8d8d8; background: #f5f5f5; }
body.page-home .home-badge--artisan { color: #8a6b3b; border-color: #e8dcc5; background: #fbf7ee; }
body.page-home .home-badge--fav     { color: #b54e3c; border-color: #eed5cf; background: #fbf3f0; }
body.page-home .home-badge--best    { color: #fff; border-color: var(--home-ink); background: var(--home-ink); }
body.page-home .home-badge--popular { color: #5C7D91; border-color: #c9d7df; background: #f1f5f7; }
body.page-home .home-badge--sign    { color: #8a3b7a; border-color: #ddc5db; background: #faeef7; }

/* -- Footer -------------------------------------------------------------- */
body.page-home .home-footer {
    background: #fff;
    border-top: 1px solid var(--home-line);
    padding: 4.5rem 1.25rem 2.5rem;
    text-align: center;
}
body.page-home .home-footer-inner { max-width: 960px; margin: 0 auto; }
body.page-home .home-footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: var(--home-ink);
}
body.page-home .home-footer-brand span { color: var(--home-gold); }
body.page-home .home-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    margin-bottom: 3rem;
}
body.page-home .home-footer-col h4 {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--home-gold);
    margin-bottom: 1rem;
}
body.page-home .home-footer-col p {
    font-size: .88rem;
    color: #4a4a4a;
    line-height: 1.9;
}
body.page-home .home-footer-legal {
    font-size: .62rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #aaa;
    padding-top: 2.2rem;
    border-top: 1px solid var(--home-line);
}

/* -- Breakpoints --------------------------------------------------------- */
@media (max-width: 640px) {
    body.page-home .home-header-inner {
        grid-template-columns: auto auto;
        row-gap: .55rem;
        padding: .85rem 1rem;
    }
    body.page-home .home-brand   { grid-column: 1; grid-row: 1; }
    body.page-home .home-social  { grid-column: 2; grid-row: 1; }
    body.page-home .home-nav {
        grid-column: 1 / -1; grid-row: 2;
        gap: .5rem 1.1rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    body.page-home .home-nav a { font-size: .6rem; letter-spacing: .18em; }
}

@media (max-width: 400px) {
    body.page-home .home-nav { gap: .4rem .8rem; }
    body.page-home .home-nav a { font-size: .58rem; letter-spacing: .12em; }
}

@media (min-width: 640px) {
    body.page-home .home-footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 768px) {
    body.page-home .home-hero       { min-height: 85vh; padding: 4rem 2rem; }
    body.page-home .home-video      { min-height: 80vh; padding: 5rem 2rem; }
    body.page-home .home-orders     { padding: 7rem 2rem; }
    body.page-home .home-philo      { padding: 8rem 2rem 5rem; }
    body.page-home .home-roots      { padding: 1rem 2rem 8rem; }
    body.page-home .home-roots-card { padding: 5rem 3rem; }
    body.page-home .home-menu       { padding: 7rem 2rem 8rem; }
    body.page-home .home-footer     { padding: 5.5rem 2rem 3rem; }
    body.page-home .home-menu-list  { gap: 2rem; }
}


/* ----- Sellos de calidad (home-seals) -- 2026-04-21b -- */
body.page-home .home-seals {
    background: #fff;
    padding: 4.5rem 1.25rem 4rem;
    text-align: center;
}
body.page-home .home-seals-head {
    max-width: 640px;
    margin: 0 auto 3rem;
}
body.page-home .home-seals-eyebrow {
    display: block;
    font-size: .64rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--home-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}
body.page-home .home-seals-title {
    font-size: clamp(1.6rem, 4.2vw, 2.2rem);
    color: var(--home-ink);
    font-style: italic;
    line-height: 1.25;
}

body.page-home .home-seals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.4rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
}
body.page-home .home-seal {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .55rem;
    padding: 0 .25rem;
    min-width: 0;       /* evita que el flex/grid item exceda su celda */
    overflow: hidden;
}
body.page-home .home-seal-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-green);
    background: rgba(137, 189, 172, 0.08);
    border: 1px solid rgba(137, 189, 172, 0.22);
    border-radius: 50%;
    transition: transform .25s ease, background .25s ease;
}
body.page-home .home-seal:hover .home-seal-icon {
    background: rgba(137, 189, 172, 0.16);
    transform: translateY(-2px);
}
body.page-home .home-seal-icon svg {
    width: 28px;
    height: 28px;
}
body.page-home .home-seal-name {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--home-ink);
    margin-top: .3rem;
    max-width: 100%;
    word-break: break-word;
    overflow-wrap: break-word;
}
body.page-home .home-seal-desc {
    font-size: .78rem;
    color: var(--home-ink-dim);
    line-height: 1.55;
    max-width: 100%;
    word-break: break-word;
}

/* Fila secundaria de sellos (más pequeños, acento dorado) */
body.page-home .home-seals-extra {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.4rem 3rem;
    max-width: 1100px;
    margin: 3rem auto 0;
    padding: 2.4rem 1rem 0;
    border-top: 1px solid var(--home-line);
}
body.page-home .home-seal--sm {
    flex-direction: row;
    gap: .8rem;
    padding: 0;
}
body.page-home .home-seal--sm .home-seal-icon {
    width: 40px;
    height: 40px;
    color: var(--home-gold);
    background: rgba(212, 175, 55, 0.09);
    border-color: rgba(212, 175, 55, 0.25);
}
body.page-home .home-seal--sm .home-seal-icon svg {
    width: 20px;
    height: 20px;
}
body.page-home .home-seal--sm .home-seal-name {
    font-size: .7rem;
    letter-spacing: .22em;
    margin-top: 0;
}

@media (min-width: 640px) {
    body.page-home .home-seals-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem 1rem;
    }
}
@media (min-width: 960px) {
    body.page-home .home-seals {
        padding: 6rem 2rem 5rem;
    }
    body.page-home .home-seals-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    body.page-home .home-seals-extra {
        gap: 3rem;
    }
}


/* ----- Video story (La tarta de la abuela Rosa) ----- */
body.page-home .home-video-eyebrow {
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .32em;
    text-transform: uppercase;
    color: var(--home-gold);
    margin-bottom: 1.3rem;
    opacity: .95;
}
body.page-home .home-video-inner p + p {
    margin-top: 1.1rem;
}
body.page-home .home-video-signature {
    margin-top: 2.2rem !important;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,0.22);
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: .88rem;
    letter-spacing: .06em;
    opacity: .85;
}


/* ================================================================
   TPV — Override JetBrains New UI (2026-04-21c)
   Reestiliza el bundle compilado del TPV sin rebuild, redefiniendo
   las variables --tpv-* y aplicando selectores de alta especificidad.
   Se carga desde /css/app.css, que llega antes que el bundle; por eso
   los tokens usan !important (vencen al :root del bundle) y las
   reglas de clase usan "html body .tpv_*" para vencer especificidad.
   ================================================================ */

/* -- Tokens JetBrains (Light) ----------------------------------- */
:root,
body {
    --tpv-bg:              #FFFFFF !important;
    --tpv-surface:         #F7F8FA !important;
    --tpv-border:          #EBECF0 !important;
    --tpv-accent:          #3592C4 !important;
    --tpv-accent-dark:     #2F85B6 !important;
    --tpv-accent-gradient: #3592C4 !important;
    --tpv-success:         #5FB839 !important;
    --tpv-danger:          #E55757 !important;
    --tpv-radius:          2px    !important;
    --tpv-radius-sm:       2px    !important;
    --tpv-shadow:          none   !important;
    --tpv-shadow-sm:       none   !important;
    --tpv-shadow-lg:       none   !important;
    --tpv-font-body:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    --tpv-font-display:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;

    /* Tokens auxiliares (los usamos abajo para tablas/monos) */
    --tpv-text:            #333333 !important;
    --tpv-text-dim:        #6C707E !important;
    --tpv-hover:           #F0F1F3 !important;
    --tpv-selected:        #E7EFFD !important;
    --tpv-font-mono:       'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace !important;
}

/* -- Tokens JetBrains (Dark) — body.dark ------------------------ */
body.dark {
    --tpv-bg:              #1E1F22 !important;
    --tpv-surface:         #2B2D30 !important;
    --tpv-border:          #323232 !important;
    --tpv-accent:          #548AF7 !important;
    --tpv-accent-dark:     #3E77E3 !important;
    --tpv-accent-gradient: #548AF7 !important;
    --tpv-success:         #7FB45D !important;
    --tpv-danger:          #F75464 !important;
    --tpv-text:            #CED0D6 !important;
    --tpv-text-dim:        #868A91 !important;
    --tpv-hover:           #2E3033 !important;
    --tpv-selected:        #1A3754 !important;
}

/* -- Reglas de apariencia sobre clases .tpv_* (alta especificidad)
      Vence al bundle sin necesidad de !important.
------------------------------------------------------------------- */

/* Texto y colores base */
html body [class*="tpv_"] {
    box-shadow: none;
    text-shadow: none;
}

html body .tpv_container,
html body .tpv_layout,
html body .tpv_main,
html body .tpv_sidebar,
html body .tpv_header,
html body .tpv_footer {
    font-family: var(--tpv-font-body);
    color: var(--tpv-text);
    letter-spacing: 0;
}

html body .tpv_container h1,
html body .tpv_container h2,
html body .tpv_container h3,
html body .tpv_container h4 {
    font-family: var(--tpv-font-body);
    font-weight: 600;
    letter-spacing: -0.2px;
}

/* Bordes finos 1px, radios mínimos, fondos planos */
html body [class*="tpv_card"],
html body [class*="tpv_btn"],
html body [class*="tpv_input"],
html body [class*="tpv_select"],
html body [class*="tpv_chip"],
html body [class*="tpv_badge"],
html body [class*="tpv_table"],
html body [class*="tpv_modal"],
html body [class*="tpv_panel"] {
    border-radius: 2px;
    box-shadow: none;
    border-width: 1px;
}

/* Fondos y superficies */
html body .tpv_container,
html body .tpv_layout,
html body [class*="tpv_background"],
html body [class*="tpv_main"] {
    background: var(--tpv-bg);
}

html body [class*="tpv_sidebar"],
html body [class*="tpv_header"],
html body [class*="tpv_footer"],
html body [class*="tpv_panel_header"],
html body [class*="tpv_admin_panel_header"],
html body [class*="tpv_zone_tabs"],
html body [class*="tpv_category_nav"] {
    background: var(--tpv-surface);
    border-color: var(--tpv-border);
}

/* Hover genérico de elementos interactivos */
html body [class*="tpv_btn"]:hover,
html body [class*="tpv_card"]:hover,
html body [class*="tpv_row"]:hover,
html body [class*="tpv_product_card"]:hover,
html body [class*="tpv_table_card"]:hover {
    background-color: var(--tpv-hover);
    transform: none;
}

/* Estado seleccionado/activo */
html body [class*="tpv_"][class*="active"],
html body [class*="tpv_"][class*="selected"],
html body [class*="tpv_"][class*="_on"] {
    background-color: var(--tpv-selected);
    border-color: var(--tpv-accent);
    color: var(--tpv-accent);
}

/* Botón primario plano (era gradiente) */
html body [class*="tpv_btn_primary"],
html body [class*="tpv_pay_btn"],
html body [class*="tpv_checkout_btn"],
html body [class*="tpv_confirm_btn"],
html body [class*="tpv_send_btn"] {
    background: var(--tpv-accent) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    border: 1px solid var(--tpv-accent) !important;
    box-shadow: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 2px;
}
html body [class*="tpv_btn_primary"]:hover,
html body [class*="tpv_pay_btn"]:hover,
html body [class*="tpv_checkout_btn"]:hover,
html body [class*="tpv_confirm_btn"]:hover {
    background: var(--tpv-accent-dark) !important;
}

/* Botones secundarios: contorno plano */
html body [class*="tpv_btn_secondary"],
html body [class*="tpv_btn_ghost"],
html body [class*="tpv_action_mini_btn"] {
    background: var(--tpv-bg) !important;
    color: var(--tpv-text) !important;
    border: 1px solid var(--tpv-border) !important;
    box-shadow: none !important;
}
html body [class*="tpv_btn_secondary"]:hover,
html body [class*="tpv_btn_ghost"]:hover,
html body [class*="tpv_action_mini_btn"]:hover {
    background: var(--tpv-hover) !important;
}

/* Modales: fondo plano, borde fino */
html body [class*="tpv_modal_overlay"] {
    background: rgba(0, 0, 0, 0.32) !important;
    backdrop-filter: none !important;
}
html body [class*="tpv_modal"],
html body [class*="tpv_checkout_modal"],
html body [class*="tpv_admin_panel"] {
    background: var(--tpv-bg) !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

/* Números monoespaciados en tablas / totales / tickets */
html body [class*="tpv_amount"],
html body [class*="tpv_total"],
html body [class*="tpv_price"],
html body [class*="tpv_subtotal"],
html body [class*="tpv_qty"],
html body [class*="tpv_number"],
html body [class*="tpv_count"],
html body [class*="tpv_table_number"],
html body [class*="tpv_order_id"],
html body [class*="tpv_ticket"] [class*="tpv_line"] {
    font-family: var(--tpv-font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}

/* Celdas numéricas de tablas */
html body [class*="tpv_"] td,
html body [class*="tpv_"] th {
    font-size: 12px;
    padding: 6px 8px;
}
html body [class*="tpv_"] thead th {
    background: var(--tpv-surface);
    color: var(--tpv-text-dim);
    font-weight: 500;
    border-bottom: 1px solid var(--tpv-border);
}
html body [class*="tpv_"] tbody tr {
    border-bottom: 1px solid var(--tpv-border);
}
html body [class*="tpv_"] tbody tr:last-child {
    border-bottom: none;
}

/* Inputs planos */
html body [class*="tpv_input"],
html body [class*="tpv_select"],
html body [class*="tpv_textarea"] {
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    background: var(--tpv-bg) !important;
    color: var(--tpv-text) !important;
    box-shadow: none !important;
    font-family: var(--tpv-font-body) !important;
}
html body [class*="tpv_input"]:focus,
html body [class*="tpv_select"]:focus {
    border-color: var(--tpv-accent) !important;
    outline: 1px solid var(--tpv-accent) !important;
    outline-offset: -1px !important;
    box-shadow: none !important;
}

/* Badges/chips: caps espaciadas mínimas */
html body [class*="tpv_badge"],
html body [class*="tpv_chip"],
html body [class*="tpv_tag"] {
    font-size: 10px !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    padding: 2px 6px !important;
    border-radius: 2px !important;
    font-weight: 500 !important;
}

/* Mesas / tarjetas de zona */
html body [class*="tpv_table_card"],
html body [class*="tpv_zone_card"] {
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    background: var(--tpv-bg) !important;
    box-shadow: none !important;
}

/* Panel de alertas (QR / llamadas) — sobrio */
html body [class*="tpv_alert"],
html body [class*="tpv_notification"] {
    background: var(--tpv-bg) !important;
    border: 1px solid var(--tpv-border) !important;
    border-left: 3px solid var(--tpv-accent) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

/* Gradientes a plano */
html body [class*="tpv_"] [style*="linear-gradient"] {
    background-image: none !important;
}

/* Animaciones/transformaciones excesivas fuera */
html body [class*="tpv_"] {
    transition-property: background-color, border-color, color;
    transition-duration: 120ms;
    transition-timing-function: ease;
}


/* ----- TPV JetBrains layer 2 (sidebar, mesas, ticket) - 2026-04-21d ----- */

/* ---- Sidebar izquierda (MESAS, TODOS, SUBS, USERS, PAGOS, PRODS, CIERRE, QR) ---- */
html body .tpv_category_sidebar {
    background: var(--tpv-surface) !important;
    border-right: 1px solid var(--tpv-border) !important;
    padding: 2px 0 !important;
    gap: 1px !important;
    width: auto !important;
    min-width: 56px !important;
}
html body .tpv_cat_btn,
html body .tpv_cat_pill,
html body .tpv_admin_btn,
html body .tpv_icon_btn {
    background: transparent !important;
    border: none !important;
    border-radius: 2px !important;
    padding: 8px 6px !important;
    margin: 1px 4px !important;
    color: var(--tpv-text-dim) !important;
    font-family: var(--tpv-font-body) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: 0.6px !important;
    text-transform: uppercase !important;
    gap: 3px !important;
    box-shadow: none !important;
    min-height: 44px !important;
}
html body .tpv_cat_btn:hover,
html body .tpv_admin_btn:hover,
html body .tpv_icon_btn:hover {
    background: var(--tpv-hover) !important;
    color: var(--tpv-text) !important;
}
html body .tpv_cat_btn[class*="active"],
html body .tpv_cat_btn.active,
html body .tpv_admin_btn[class*="active"],
html body .tpv_admin_btn.active,
html body .tpv_admin_active {
    background: var(--tpv-selected) !important;
    color: var(--tpv-accent) !important;
}

/* Iconos finos en TODO el TPV (Lucide por defecto stroke 2, bajamos a 1.25) */
html body [class*="tpv_"] svg {
    stroke-width: 1.25 !important;
}
html body .tpv_cat_btn svg,
html body .tpv_admin_btn svg,
html body .tpv_icon_btn svg,
html body .tpv_cart_close_btn svg {
    width: 18px !important;
    height: 18px !important;
}

/* ---- Top bar (logo + icono editar + icono carrito) ---- */
html body .tpv_top_bar {
    background: var(--tpv-bg) !important;
    border-bottom: 1px solid var(--tpv-border) !important;
    padding: 6px 12px !important;
    box-shadow: none !important;
    min-height: 44px !important;
}
html body .tpv_brand_compact {
    background: var(--tpv-text) !important;
    color: #fff !important;
    padding: 5px 8px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

/* ---- Tabs de zonas (Salón, terraza) ---- */
html body .tpv_zone_nav,
html body .tpv_tabs,
html body .tpv_categories_nav {
    background: var(--tpv-bg) !important;
    border-bottom: 1px solid var(--tpv-border) !important;
    padding: 6px 10px !important;
    gap: 4px !important;
    box-shadow: none !important;
}
html body .tpv_zone_pill,
html body .tpv_tab_btn {
    background: transparent !important;
    border: 1px solid transparent !important;
    border-radius: 2px !important;
    padding: 5px 14px !important;
    font-family: var(--tpv-font-body) !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px !important;
    text-transform: none !important;
    color: var(--tpv-text-dim) !important;
    box-shadow: none !important;
}
html body .tpv_zone_pill:hover,
html body .tpv_tab_btn:hover {
    background: var(--tpv-hover) !important;
    color: var(--tpv-text) !important;
}
html body .tpv_zone_pill[class*="active"],
html body .tpv_zone_pill.active,
html body .tpv_tab_btn[class*="active"],
html body .tpv_tab_btn.active {
    background: var(--tpv-selected) !important;
    color: var(--tpv-accent) !important;
    border-color: transparent !important;
}

/* ---- Mapa de mesas ---- */
html body .tpv_blueprint_map,
html body .tpv_tables_view {
    background: var(--tpv-surface) !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
}

/* ---- Mesa como nodo ---- */
html body .tpv_table_node {
    background: var(--tpv-bg) !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    padding: 8px !important;
    transition: all 120ms ease !important;
}
html body .tpv_table_node:hover {
    border-color: var(--tpv-accent) !important;
    background: var(--tpv-hover) !important;
}
html body .tpv_table_node[class*="occupied"],
html body .tpv_table_node[class*="selected"],
html body .tpv_table_node[class*="active"] {
    border-color: var(--tpv-success) !important;
    border-width: 1.5px !important;
    background: rgba(95, 184, 57, 0.04) !important;
}
html body .tpv_table_number {
    font-family: var(--tpv-font-mono) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-variant-numeric: tabular-nums !important;
    color: var(--tpv-text) !important;
    letter-spacing: 0 !important;
}
html body .tpv_table_cap {
    font-family: var(--tpv-font-mono) !important;
    font-size: 9px !important;
    color: var(--tpv-text-dim) !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    font-variant-numeric: tabular-nums !important;
}
html body .tpv_table_total,
html body .tpv_active_table_badge {
    font-family: var(--tpv-font-mono) !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 10px !important;
}

/* ---- Ticket / Cart sidebar derecha ---- */
html body .tpv_cart_sidebar {
    background: var(--tpv-bg) !important;
    border-left: 1px solid var(--tpv-border) !important;
    box-shadow: none !important;
}
html body .tpv_cart_header {
    background: var(--tpv-surface) !important;
    border-bottom: 1px solid var(--tpv-border) !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
}
html body .tpv_cart_title {
    font-family: var(--tpv-font-body) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: -0.1px !important;
    text-transform: none !important;
    color: var(--tpv-text) !important;
}
html body .tpv_cart_subtitle {
    font-size: 11px !important;
    color: var(--tpv-text-dim) !important;
}
html body .tpv_cart_items {
    padding: 4px 0 !important;
}
html body .tpv_cart_row,
html body .tpv_item_row {
    padding: 6px 14px !important;
    border-bottom: 1px solid var(--tpv-border) !important;
    background: var(--tpv-bg) !important;
}
html body .tpv_cart_row:hover,
html body .tpv_item_row:hover {
    background: var(--tpv-hover) !important;
}
html body .tpv_cart_item_name {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--tpv-text) !important;
}
html body .tpv_cart_item_note {
    font-size: 10px !important;
    color: var(--tpv-text-dim) !important;
    font-style: italic !important;
}
html body .tpv_cart_empty {
    padding: 32px 20px !important;
    color: var(--tpv-text-dim) !important;
    font-size: 11px !important;
    text-align: center !important;
}
html body .tpv_cart_empty svg {
    width: 36px !important;
    height: 36px !important;
    opacity: 0.4 !important;
    margin-bottom: 8px !important;
    stroke-width: 1 !important;
}
html body .tpv_cart_close_btn {
    background: transparent !important;
    border: none !important;
    border-radius: 50% !important;
    padding: 4px !important;
    color: var(--tpv-text-dim) !important;
    width: 28px !important;
    height: 28px !important;
}
html body .tpv_cart_close_btn:hover {
    background: var(--tpv-hover) !important;
    color: var(--tpv-text) !important;
}

/* Totales */
html body .tpv_total_row {
    padding: 3px 14px !important;
    font-family: var(--tpv-font-body) !important;
    font-size: 11px !important;
    color: var(--tpv-text-dim) !important;
}
html body .tpv_total_row > span:last-child {
    font-family: var(--tpv-font-mono) !important;
    font-variant-numeric: tabular-nums !important;
    color: var(--tpv-text-dim) !important;
}
html body .tpv_total_box {
    padding: 10px 14px !important;
    border-top: 1px solid var(--tpv-border) !important;
    background: var(--tpv-bg) !important;
    box-shadow: none !important;
}
html body .tpv_total_box [class*="total"],
html body .tpv_total_box > div:last-child,
html body .tpv_total_box strong {
    font-family: var(--tpv-font-mono) !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    color: var(--tpv-text) !important;
    letter-spacing: -0.3px !important;
}

/* Botón COBRAR TICKET */
html body .tpv_pay_btn,
html body .tpv_save_btn,
html body .tpv_save_table_btn,
html body .tpv_send_more_btn {
    background: var(--tpv-accent) !important;
    background-image: none !important;
    color: #fff !important;
    border: 1px solid var(--tpv-accent) !important;
    border-radius: 2px !important;
    padding: 10px 14px !important;
    font-family: var(--tpv-font-body) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    gap: 6px !important;
}
html body .tpv_pay_btn:hover,
html body .tpv_save_btn:hover,
html body .tpv_save_table_btn:hover,
html body .tpv_send_more_btn:hover {
    background: var(--tpv-accent-dark) !important;
}
html body .tpv_pay_btn svg {
    width: 14px !important;
    height: 14px !important;
}

/* ---- Leyenda inferior (Libre, Ocupada, Pedido enviado) ---- */
html body .tpv_legend {
    background: var(--tpv-surface) !important;
    border-top: 1px solid var(--tpv-border) !important;
    padding: 6px 14px !important;
    gap: 16px !important;
}
html body .tpv_legend_item {
    font-family: var(--tpv-font-body) !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: var(--tpv-text-dim) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    gap: 4px !important;
}
html body .tpv_badge_dot,
html body .tpv_table_sent_dot,
html body .tpv_zone_occupied_dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
}

/* ---- Tarjetas de productos: imagen arriba completa + info compacta debajo ---- */
html body .tpv_product_card {
    position: relative !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 4px !important;
    background: var(--tpv-bg) !important;
    box-shadow: none !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 210px !important;      /* 150 imagen + ~60 info = visible garantizado */
}

/* Imagen arriba, altura fija, completa (contain) */
html body .tpv_p_image_wrap {
    position: static !important;       /* price_badge se ancla al card, no al wrap */
    width: 100% !important;
    height: 150px !important;
    border: none !important;
    border-bottom: 1px solid var(--tpv-border) !important;
    background: var(--tpv-surface) !important;
    flex-shrink: 0 !important;
}
html body .tpv_p_image_wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;    /* imagen entera, sin recorte */
    display: block !important;
    padding: 4px !important;
}
html body .tpv_p_placeholder {
    width: 100% !important;
    height: 100% !important;
    background: var(--tpv-surface) !important;
    background-image: none !important;
    color: var(--tpv-text-dim) !important;
    font-weight: 500 !important;
    font-size: 1.8rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Info: ocupa todo el alto restante del card, display flex-column */
html body .tpv_p_info {
    position: relative !important;
    flex: 1 1 auto !important;
    min-height: 52px !important;
    padding: 6px 52px 8px 8px !important;  /* 52px derecha reservada al precio */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 2px !important;
}
html body .tpv_p_name {
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    color: var(--tpv-text) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}
html body .tpv_p_cat {
    font-size: 8.5px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: var(--tpv-text-dim) !important;
    opacity: 0.85 !important;
    line-height: 1.2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    display: block !important;
}

/* Precio: esquina inferior derecha del card, sin caja */
html body .tpv_p_price_badge {
    position: absolute !important;
    bottom: 8px !important;
    right: 10px !important;
    top: auto !important;
    left: auto !important;
    background: transparent !important;
    color: var(--tpv-text) !important;
    font-family: var(--tpv-font-mono) !important;
    font-variant-numeric: tabular-nums !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
}

/* Grid: solo separación y anchura de columna; no se toca flex/altura */
html body .tpv_product_grid {
    gap: 14px !important;
    padding: 14px !important;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
}

/* ---- Status tags ---- */
html body .tpv_status_tag {
    font-family: var(--tpv-font-body) !important;
    font-size: 9px !important;
    font-weight: 500 !important;
    letter-spacing: 0.4px !important;
    text-transform: uppercase !important;
    padding: 1px 5px !important;
    border-radius: 2px !important;
    background: var(--tpv-surface) !important;
    color: var(--tpv-text-dim) !important;
    border: 1px solid var(--tpv-border) !important;
}

/* ---- Inputs tipo search ---- */
html body .tpv_search_input_group,
html body .tpv_input {
    background: var(--tpv-bg) !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    padding: 4px 8px !important;
    box-shadow: none !important;
    font-family: var(--tpv-font-body) !important;
    font-size: 12px !important;
}
html body .tpv_input:focus,
html body .tpv_search_input_group:focus-within {
    border-color: var(--tpv-accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 1px var(--tpv-accent) !important;
}

/* ---- Logout button ---- */
html body .tpv_logout_btn {
    background: transparent !important;
    color: var(--tpv-text-dim) !important;
    border: 1px solid var(--tpv-border) !important;
    border-radius: 2px !important;
    padding: 6px 10px !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}
html body .tpv_logout_btn:hover {
    background: var(--tpv-hover) !important;
    color: var(--tpv-danger) !important;
    border-color: var(--tpv-danger) !important;
}


/* ----- TPV sidebar a la derecha y más angosta - 2026-04-21e ----- */

/* Mueve la sidebar al lado derecho (order alto en el flex padre) y la estrecha */
html body .tpv_category_sidebar {
    order: 999 !important;
    border-right: none !important;
    border-left: 1px solid var(--tpv-border) !important;
    min-width: 44px !important;
    width: 44px !important;
    padding: 2px 0 !important;
    gap: 0 !important;
}

/* Botones más compactos: icono pequeño + texto minúsculo */
html body .tpv_cat_btn,
html body .tpv_cat_pill,
html body .tpv_admin_btn,
html body .tpv_icon_btn {
    padding: 6px 2px !important;
    margin: 1px 2px !important;
    min-height: 38px !important;
    font-size: 8px !important;
    letter-spacing: 0.4px !important;
    gap: 2px !important;
}
html body .tpv_cat_btn svg,
html body .tpv_admin_btn svg,
html body .tpv_icon_btn svg {
    width: 16px !important;
    height: 16px !important;
}


/* ================================================================
   Panel admin standalone (admin.html) — scope body.page-admin
   Estética JetBrains coherente con el TPV: flat, Inter + JetBrains Mono
   ================================================================ */

body.page-admin {
    --adm-bg:        #FFFFFF;
    --adm-surface:   #F7F8FA;
    --adm-border:    #EBECF0;
    --adm-text:      #333333;
    --adm-text-dim:  #6C707E;
    --adm-accent:    #3592C4;
    --adm-accent-d:  #2F85B6;
    --adm-success:   #5FB839;
    --adm-danger:    #E55757;
    --adm-hover:     #F0F1F3;
    --adm-selected:  #E7EFFD;
    --adm-radius:    2px;

    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: var(--adm-text);
    background: var(--adm-bg);
    -webkit-font-smoothing: antialiased;
}
body.page-admin *,
body.page-admin *::before,
body.page-admin *::after { box-sizing: border-box; }
body.page-admin h1, body.page-admin h2, body.page-admin h3, body.page-admin h4 {
    margin: 0;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -0.1px;
}
body.page-admin p { margin: 0; }
body.page-admin .mono {
    font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
}
body.page-admin.adm-modal-open { overflow: hidden; }

/* -------- Topbar -------- */
body.page-admin .adm-topbar {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 10px 16px;
    border-bottom: 1px solid var(--adm-border);
    background: var(--adm-surface);
    position: sticky;
    top: 0;
    z-index: 50;
}
body.page-admin .adm-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}
body.page-admin .adm-brand span { color: #D4AF37; }
body.page-admin .adm-brand em {
    font-family: 'JetBrains Mono', monospace;
    font-style: normal;
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--adm-text-dim);
    margin-left: 0.6rem;
}
body.page-admin .adm-tabs {
    display: flex;
    gap: 4px;
}
body.page-admin .adm-tab {
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--adm-radius);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--adm-text-dim);
    cursor: pointer;
    font-family: inherit;
    transition: all 120ms ease;
}
body.page-admin .adm-tab:hover { background: var(--adm-hover); color: var(--adm-text); }
body.page-admin .adm-tab.is-active {
    background: var(--adm-selected);
    color: var(--adm-accent);
}
body.page-admin .adm-user {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--adm-text-dim);
}
body.page-admin .adm-user #adm-user-name { color: var(--adm-text); font-size: 11px; }
body.page-admin .adm-link {
    color: var(--adm-accent);
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.1px;
}
body.page-admin .adm-link:hover { text-decoration: underline; }

/* -------- Main & views -------- */
body.page-admin .adm-main {
    padding: 16px;
    min-height: calc(100vh - 48px);
}
body.page-admin .adm-view { display: none; }
body.page-admin .adm-view.is-active { display: block; }

/* -------- Toolbar (filtros) -------- */
body.page-admin .adm-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    align-items: center;
}
body.page-admin .adm-toolbar .adm-input { max-width: 300px; }
body.page-admin .adm-toolbar .adm-input[type="search"] { flex: 1 1 260px; max-width: 440px; }

/* -------- Inputs -------- */
body.page-admin .adm-input {
    font-family: inherit;
    font-size: 12px;
    color: var(--adm-text);
    background: var(--adm-bg);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    padding: 6px 10px;
    outline: none;
    transition: all 120ms ease;
    min-height: 30px;
}
body.page-admin .adm-input:focus {
    border-color: var(--adm-accent);
    box-shadow: 0 0 0 1px var(--adm-accent);
}
body.page-admin .adm-input.mono {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
}
body.page-admin textarea.adm-input { resize: vertical; min-height: 70px; }
body.page-admin select.adm-input { cursor: pointer; }

/* -------- Botones -------- */
body.page-admin .adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-bg);
    color: var(--adm-text);
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 120ms ease;
    min-height: 30px;
    white-space: nowrap;
}
body.page-admin .adm-btn:hover { background: var(--adm-hover); }
body.page-admin .adm-btn--primary {
    background: var(--adm-accent);
    border-color: var(--adm-accent);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
    font-size: 11px;
}
body.page-admin .adm-btn--primary:hover { background: var(--adm-accent-d); border-color: var(--adm-accent-d); }
body.page-admin .adm-btn--ghost { background: transparent; }
body.page-admin .adm-btn--danger-ghost {
    background: transparent;
    color: var(--adm-danger);
    border-color: var(--adm-border);
}
body.page-admin .adm-btn--danger-ghost:hover {
    background: rgba(229, 87, 87, 0.08);
    border-color: var(--adm-danger);
}
body.page-admin .adm-link-btn {
    background: none;
    border: none;
    padding: 2px 4px;
    font-family: inherit;
    font-size: 11px;
    color: var(--adm-accent);
    cursor: pointer;
}
body.page-admin .adm-link-btn:hover { text-decoration: underline; }
body.page-admin .adm-link-btn--danger { color: var(--adm-danger); }
body.page-admin .adm-icon-btn {
    background: transparent;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: var(--adm-text-dim);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
body.page-admin .adm-icon-btn:hover { background: var(--adm-hover); color: var(--adm-text); }

/* -------- Tabla productos -------- */
body.page-admin .adm-table-wrap {
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    overflow: auto;
    background: var(--adm-bg);
}
body.page-admin .adm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
body.page-admin .adm-table thead th {
    background: var(--adm-surface);
    color: var(--adm-text-dim);
    text-align: left;
    font-weight: 500;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--adm-border);
    position: sticky;
    top: 0;
    z-index: 1;
}
body.page-admin .adm-table tbody td {
    padding: 6px 10px;
    border-bottom: 1px solid var(--adm-border);
    vertical-align: middle;
}
body.page-admin .adm-table tbody tr:hover { background: var(--adm-hover); }
body.page-admin .adm-col-num { text-align: right; }
body.page-admin .adm-col-img { width: 44px; }
body.page-admin .adm-col-actions { width: 70px; text-align: right; }
body.page-admin .adm-table .adm-col-num { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }
body.page-admin .adm-cell-name { display: flex; flex-direction: column; gap: 1px; }
body.page-admin .adm-cell-name small {
    font-size: 10px;
    color: var(--adm-text-dim);
}
body.page-admin .adm-thumb {
    width: 32px;
    height: 32px;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-surface);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.page-admin .adm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.page-admin .adm-placeholder-mini {
    color: var(--adm-text-dim);
    font-size: 14px;
}
body.page-admin .adm-empty {
    padding: 24px;
    text-align: center;
    color: var(--adm-text-dim);
    font-size: 12px;
}

/* Status pills */
body.page-admin .adm-status {
    display: inline-block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 1px 6px;
    border-radius: var(--adm-radius);
    border: 1px solid var(--adm-border);
    color: var(--adm-text-dim);
    background: var(--adm-surface);
}
body.page-admin .adm-status--publish {
    color: var(--adm-success);
    border-color: rgba(95, 184, 57, 0.3);
    background: rgba(95, 184, 57, 0.08);
}
body.page-admin .adm-status--draft {
    color: #b5893a;
    border-color: #ece1cc;
    background: #faf6ee;
}
body.page-admin .adm-status--active {
    color: var(--adm-accent);
    border-color: rgba(53, 146, 196, 0.3);
    background: var(--adm-selected);
}

/* -------- Media grid (vista Media y picker) -------- */
body.page-admin .adm-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
body.page-admin .adm-media-tile {
    display: block;
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-bg);
    overflow: hidden;
    cursor: default;
    font-family: inherit;
    color: var(--adm-text);
    padding: 0;
    text-align: left;
}
body.page-admin .adm-media-tile--pickable {
    cursor: pointer;
    transition: border-color 120ms ease, background 120ms ease;
}
body.page-admin .adm-media-tile--pickable:hover {
    border-color: var(--adm-accent);
    background: var(--adm-selected);
}
body.page-admin .adm-media-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--adm-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
body.page-admin .adm-media-thumb img,
body.page-admin .adm-media-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.page-admin .adm-media-thumb .adm-placeholder {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--adm-text-dim);
    letter-spacing: 1px;
}
body.page-admin .adm-media-meta {
    padding: 6px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-top: 1px solid var(--adm-border);
}
body.page-admin .adm-media-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--adm-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
body.page-admin .adm-media-size {
    font-size: 10px;
    color: var(--adm-text-dim);
}
body.page-admin .adm-media-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2px;
}
body.page-admin .adm-media-tile--pickable .adm-media-name {
    padding: 6px 8px;
    border-top: 1px solid var(--adm-border);
    display: block;
}

/* -------- Modal -------- */
body.page-admin .adm-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
body.page-admin .adm-modal[hidden] { display: none; }
body.page-admin .adm-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.32);
    cursor: pointer;
}
body.page-admin .adm-modal__panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    background: var(--adm-bg);
    border: 1px solid var(--adm-border);
    border-radius: var(--adm-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
body.page-admin .adm-modal__panel--wide { max-width: 960px; }
body.page-admin .adm-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--adm-surface);
    border-bottom: 1px solid var(--adm-border);
}
body.page-admin .adm-modal__head h2 {
    font-size: 13px;
    font-weight: 600;
}
body.page-admin .adm-modal__body {
    padding: 14px;
    overflow: auto;
}
body.page-admin .adm-modal__foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-top: 1px solid var(--adm-border);
    background: var(--adm-surface);
    gap: 8px;
}
body.page-admin .adm-modal__foot-right { display: flex; gap: 8px; }

/* -------- Form del producto -------- */
body.page-admin .adm-form {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: auto;
}
body.page-admin .adm-form-grid { display: grid; gap: 12px; }
body.page-admin .adm-cols-2 { grid-template-columns: 1fr 1fr; }
body.page-admin .adm-cols-3 { grid-template-columns: 1fr 1fr 1fr; }
body.page-admin .adm-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
body.page-admin .adm-field > label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--adm-text-dim);
}

/* -------- Image field en el modal de producto -------- */
body.page-admin .adm-image-field {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 14px;
    align-items: flex-start;
}
body.page-admin .adm-image-preview {
    width: 140px;
    height: 140px;
    border: 1px dashed var(--adm-border);
    border-radius: var(--adm-radius);
    background: var(--adm-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
body.page-admin .adm-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
body.page-admin .adm-image-preview .adm-placeholder {
    font-size: 11px;
    color: var(--adm-text-dim);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
body.page-admin .adm-image-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
body.page-admin .adm-image-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* -------- Toast -------- */
body.page-admin .adm-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translate(-50%, 50px);
    background: var(--adm-text);
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--adm-radius);
    font-size: 12px;
    font-weight: 500;
    z-index: 200;
    opacity: 0;
    transition: transform 220ms ease, opacity 220ms ease;
    pointer-events: none;
    max-width: 80vw;
}
body.page-admin .adm-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}
body.page-admin .adm-toast--error { background: var(--adm-danger); }

/* -------- Responsive -------- */
@media (max-width: 720px) {
    body.page-admin .adm-topbar { flex-wrap: wrap; gap: 8px; }
    body.page-admin .adm-user { margin-left: 0; width: 100%; }
    body.page-admin .adm-cols-2,
    body.page-admin .adm-cols-3 { grid-template-columns: 1fr; }
    body.page-admin .adm-image-field { grid-template-columns: 1fr; }
    body.page-admin .adm-image-preview { width: 100%; height: 180px; }
}


/* 
/* Formatos admitidos bajo el campo de imagen (admin standalone) */
body.page-admin .adm-formats {
    font-size: 10px;
    color: var(--adm-text-dim);
    letter-spacing: 0.3px;
    margin-top: 2px;
}

