/* ==========================================================================
   LUMIÈRE — STYLES.CSS (versión limpia y reorganizada)
   ==========================================================================

   ÍNDICE
   ─────────────────────────────────────────────────────────────────────
   1. Variables y configuración global (:root)
   2. Reset y base (html, body, headings, links)
   3. Layout (container, secciones, grids comunes)
   4. Tipografía y elementos del mockup (eyebrows, dividers, títulos)
   5. Botones reutilizables
   6. Navbar y dropdowns
   7. Footer
   8. Hero (home + páginas internas)
   9. Stats (contadores animados home)
   10. Home — Quiénes somos preview
   11. Home — Beneficios (carrusel promo + giftcard)
   12. Cards de tratamiento (con efecto flip)
   13. Slider antes/después
   14. Carruseles (Swiper overrides)
   15. Tratamientos catálogo (categorías)
   16. Detalle de tratamiento (acordeón + sidebar sticky)
   17. Página Nosotros (FAQ + tecnologías + especialistas + testimonios)
   18. Página Promociones
   19. Página Gift Cards
   20. Página Contacto (form + mapa + alerts)
   21. CTA doble (footer pre-section)
   22. Componentes utilitarios (cookie banner, back-to-top, modales)
   23. Animaciones (reveal, etc.)
   24. Bootstrap overrides necesarios
   25. Responsive (todo junto al final)
   ─────────────────────────────────────────────────────────────────────
*/


/* ==========================================================================
   1. VARIABLES Y CONFIGURACIÓN GLOBAL
   ========================================================================== */

:root {
    /* === Paleta principal: Beige + Marrón + Rosa empolvado === */
    --base: #4A4136;
    --base-deep: #3A3128;
    --bg: #F5F2EC;
    --bg-deep: #EDE7DC;
    --accent: #B8AEA1;
    --accent-soft: #CFC6B9;
    --rose: #E8C4C4;
    --rose-soft: #F0D5D5;
    --rose-deep: #C99B9B;

    /* === Texto === */
    --text: #4A4136;
    --text-mute: #8B8175;

    /* === Estados === */
    --warning: #A8654C;
    --success: #6B8E5A;
    --error: #B33A3A;

    /* === Líneas y sombras === */
    --line: rgba(74, 65, 54, 0.12);
    --line-soft: rgba(74, 65, 54, 0.06);
    --shadow-sm: 0 2px 12px rgba(74, 65, 54, 0.08);
    --shadow-md: 0 12px 40px rgba(74, 65, 54, 0.12);
    --shadow-lg: 0 25px 50px -15px rgba(74, 65, 54, 0.18);

    /* === Tipografías === */
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* === Container y espaciados === */
    --container-max: 1320px;
    --container-padding: 32px;
    --sidebar-padding: clamp(20px, 2.6vw, 32px);

    /* === Alias para compatibilidad (no romper código heredado) === */
    --navy: var(--base);
    --navy-dark: var(--base-deep);
    --navy-light: var(--accent);
    --cream: var(--bg-deep);
    --cream-bg: var(--bg);
    --cream-light: var(--bg);
    --white: #FFFFFF;
    --text-light: rgba(245, 242, 236, 0.85);
    --muted: var(--text-mute);
    --border: var(--accent-soft);
    --border-dark: var(--accent);
}


/* ==========================================================================
   2. RESET Y BASE
   ========================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--sans);
    font-weight: 300;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.01em;
    color: var(--base);
}

em {
    font-style: italic;
    color: var(--rose-deep);
}

strong {
    font-weight: 500;
}

a {
    color: var(--base);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--rose-deep);
}

img, video {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.seccion {
    padding: 100px 0;
}

.seccion-cream {
    background: var(--bg-deep);
}

.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 50px; }


/* ==========================================================================
   4. TIPOGRAFÍA DEL MOCKUP (eyebrows, dividers, títulos de sección)
   ========================================================================== */

.section-eyebrow {
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 16px;
}

.section-title {
    text-align: center;
    font-family: var(--serif);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.015em;
    color: var(--base);
    margin-bottom: 14px;
}

.section-title em {
    color: var(--rose-deep);
    font-style: italic;
}

.section-divider {
    width: 40px;
    height: 1px;
    background: var(--rose-deep);
    margin: 18px auto 24px;
    border: none;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 560px;
    margin: 0 auto 50px;
}

.hero-eyebrow {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 16px;
}

.hero-eyebrow-line {
    width: 60px;
    height: 1px;
    background: var(--rose-deep);
    margin: 0 auto 32px;
}

/* ==========================================================================
   5. BOTONES REUTILIZABLES
   ========================================================================== */

/* Botón primario sólido (marrón → hover rosa) */
.btn-lumiere-primary,
.btn-lumiere-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--base);
    color: var(--bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--base);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-lumiere-primary:hover,
.btn-lumiere-solid:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

/* Botón outline (transparente con borde) */
.btn-lumiere-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--base);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--base);
    transition: all 0.35s;
}

.btn-lumiere-outline:hover {
    background: var(--base);
    color: var(--bg);
    transform: translateY(-2px);
}

/* Botón con fondo rosa (para destacar promos sobre fondos oscuros) */
.btn-lumiere-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--rose);
    color: var(--base);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--rose);
    transition: all 0.35s;
}

.btn-lumiere-gold:hover {
    background: var(--bg);
    border-color: var(--bg);
    color: var(--base);
    transform: translateY(-2px);
}


/* ==========================================================================
   6. NAVBAR Y DROPDOWNS — Opción C (marrón + acento rosa)
   ========================================================================== */

.navbar-lumiere {
    background: var(--base);
    border-bottom: 1px solid var(--rose-deep);
    box-shadow: 0 2px 8px rgba(58, 49, 40, 0.15);
    padding: 14px 0;
    z-index: 1000;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Estado oculto: al clickear la pantalla la navbar se desliza hacia arriba */
.navbar-lumiere.nav-oculto {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.navbar-lumiere .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 12px;
}

/* Logo */
.navbar-lumiere .navbar-brand,
.navbar-lumiere .navbar-brand-logo {
    font-family: var(--serif);
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--bg);
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.navbar-lumiere .navbar-brand-logo .logo-img,
.navbar-lumiere .navbar-brand-logo img {
    height: 42px;
    max-height: 42px;
    width: auto;
    max-width: 160px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
    transition: opacity 0.2s;
    display: block;
}

.navbar-lumiere .navbar-brand-logo:hover .logo-img {
    opacity: 1;
}

/* Botón hamburguesa móvil */
.navbar-lumiere .navbar-toggler {
    color: var(--bg);
    background: transparent;
    border: 1px solid rgba(232, 196, 196, 0.4);
    padding: 8px 12px;
    border-radius: 4px;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    line-height: 0;
    transition: all 0.2s;
}

.navbar-lumiere .navbar-toggler:hover {
    color: var(--rose);
    background: rgba(232, 196, 196, 0.1);
    border-color: var(--rose);
}

.navbar-lumiere .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(232, 196, 196, 0.25);
    outline: none;
}

/* Search dentro del navbar */
.nav-search {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: flex;
    align-items: stretch;
    background: rgba(232, 196, 196, 0.1);
    border: 1px solid rgba(232, 196, 196, 0.3);
    border-radius: 999px;
    overflow: hidden;
    width: 280px;
    max-width: 100%;
    transition: all 0.25s;
}

.nav-search:focus-within {
    background: rgba(232, 196, 196, 0.18);
    border-color: var(--rose);
}

.nav-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--bg);
    padding: 8px 16px;
    font-size: 13px;
    font-family: var(--sans);
}

.nav-search-input::placeholder {
    color: rgba(245, 242, 236, 0.6);
}

.nav-search-input:focus {
    outline: none;
}

.nav-search-btn {
    background: transparent;
    border: none;
    color: var(--bg);
    padding: 0 14px;
    cursor: pointer;
}

/* Menú colapsable */
.navbar-lumiere .navbar-collapse {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(232, 196, 196, 0.2);
    margin-top: 14px;
    padding-top: 8px;
}

.navbar-lumiere .navbar-nav {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
}

.navbar-lumiere .nav-item {
    border-bottom: 1px solid rgba(232, 196, 196, 0.12);
}

.navbar-lumiere .nav-item:last-child {
    border-bottom: none;
}

.navbar-lumiere .nav-link {
    color: var(--bg);
    opacity: 0.9;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 12px 16px;
    transition: color 0.3s, opacity 0.3s;
    position: relative;
}

.navbar-lumiere .nav-link:hover {
    color: var(--rose);
    opacity: 1;
}

.navbar-lumiere .nav-link.active {
    color: var(--rose);
    opacity: 1;
}

.navbar-lumiere .nav-link-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Carrito y avatar de cliente */
.nav-link-carrito {
    position: relative;
}

.carrito-badge,
.cliente-novedades-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--rose);
    color: var(--base);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
}

.nav-cliente-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    color: var(--base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 500;
    border: 2px solid rgba(232, 196, 196, 0.4);
    overflow: hidden;
    transition: border-color 0.3s;
}

.nav-cliente-avatar:hover {
    border-color: var(--rose);
}

.nav-cliente-avatar--imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Dropdowns === */
.dropdown-menu {
    background: var(--base-deep);
    border: 1px solid rgba(232, 196, 196, 0.2);
    border-top: 2px solid var(--rose-deep);
    border-radius: 0 0 4px 4px;
    box-shadow: 0 12px 30px rgba(58, 49, 40, 0.35);
    padding: 8px 0;
    margin-top: 0;
    min-width: 220px;
}

.dropdown-item {
    color: var(--bg);
    padding: 12px 24px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(232, 196, 196, 0.08);
    transition: all 0.25s;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(232, 196, 196, 0.12);
    color: var(--rose);
    padding-left: 28px;
}

.dropdown-item.active {
    background: rgba(232, 196, 196, 0.18);
    color: var(--rose);
}

.dropdown-item-gold {
    color: var(--rose);
}

.dropdown-item-logout {
    color: var(--rose-soft);
}

.dropdown-divider,
.dropdown-divider-cliente {
    border: none;
    border-top: 1px solid rgba(232, 196, 196, 0.15);
    margin: 6px 0;
}


/* ==========================================================================
   7. FOOTER
   ========================================================================== */

.footer-lumiere {
    background: var(--base-deep);
    color: rgba(245, 242, 236, 0.7);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(232, 196, 196, 0.08);
    margin-top: auto;
}

.footer-brand-logo {
    display: inline-block;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.22em;
    color: var(--bg);
    margin-bottom: 20px;
    max-width: 220px;
}

.footer-brand-logo .logo-img,
.footer-brand-logo img {
    height: auto;
    max-height: 80px;
    max-width: 220px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-tag {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 300;
}

.footer-lumiere h5 {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 22px;
}

.footer-lumiere ul li {
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 300;
}

.footer-lumiere a {
    display: block;
    color: rgba(245, 242, 236, 0.7);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.4;
    padding: 6px 0;
    text-decoration: none;
    transition: color 0.3s;
}

/* Excepción: links dentro del footer-legal-links se mantienen inline */
.footer-legal-links a,
.footer-bottom a {
    display: inline-block;
    padding: 0;
}

.footer-lumiere a:hover {
    color: var(--rose);
}

.footer-bottom {
    padding-top: 28px;
    margin-top: 60px;
    border-top: 1px solid rgba(232, 196, 196, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: rgba(245, 242, 236, 0.5);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-copy {
    margin: 0;
}

/* ==========================================================================
   8. HERO — Home + Páginas internas
   ========================================================================== */

/* Hero de la home (más alto, con gradiente decorativo) */
.hero {
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 25% 35%, rgba(232, 196, 196, 0.20) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 70%, rgba(184, 174, 161, 0.15) 0%, transparent 55%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(48px, 7vw, 96px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--base);
    margin-bottom: 28px;
}

.hero h1 em {
    color: var(--rose-deep);
    font-style: italic;
}

.hero-desc {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 560px;
    margin: 0 auto;
}

/* Hero de páginas internas (más bajo) */
.hero-inner {
    background: var(--bg);
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(232, 196, 196, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 70% 70%, rgba(184, 174, 161, 0.10) 0%, transparent 55%);
    pointer-events: none;
}

.hero-inner > .container {
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-family: var(--serif);
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--base);
    margin-bottom: 28px;
}

.hero-inner h1 em {
    color: var(--rose-deep);
    font-style: italic;
}

.hero-inner p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 620px;
    margin: 0 auto;
}

/* Link "Limpiar búsqueda ×" en hero de tratamientos */
.search-clear {
    display: inline-block;
    margin-left: 16px;
    color: var(--rose-deep);
    font-size: 13px;
    font-weight: 500;
    border-bottom: 1px solid var(--rose-deep);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.search-clear:hover {
    color: var(--base);
    border-bottom-color: var(--base);
}


/* ==========================================================================
   9. STATS (contadores animados de la home)
   ========================================================================== */

.stats-section {
    padding: 100px 0;
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stat-item {
    padding: 56px 24px;
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    width: 1px;
    height: 50%;
    background: var(--line);
}

.stat-num {
    font-family: var(--serif);
    font-size: clamp(50px, 7vw, 80px);
    font-weight: 300;
    line-height: 1;
    color: var(--base);
    margin-bottom: 14px;
}

.stat-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mute);
}


/* ==========================================================================
   10. HOME — Quiénes Somos preview
   ========================================================================== */

.home-quienes-somos {
    padding: 110px 0;
    background: var(--bg-deep);
}

.home-quienes-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.home-quienes-text .section-eyebrow {
    text-align: left;
    color: var(--rose-deep);
    margin-bottom: 16px;
}

.home-quienes-text .section-title {
    text-align: left;
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 16px;
}

.home-quienes-text .section-divider {
    margin: 20px 0 28px;
    background: var(--rose-deep);
}

.home-quienes-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mute);
    margin-bottom: 18px;
}

.home-quienes-actions {
    margin-top: 32px;
}

.home-quienes-visual {
    position: relative;
}

.home-quienes-visual::before,
.home-quienes-visual::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 1px solid var(--rose-deep);
    z-index: -1;
}

.home-quienes-visual::before {
    top: -16px;
    left: -16px;
}

.home-quienes-visual::after {
    bottom: -16px;
    right: -16px;
}

.home-quienes-video-wrap,
.home-quienes-frame {
    aspect-ratio: 4/5;
    background: var(--bg-deep);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.home-quienes-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-quienes-frame {
    background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-quienes-frame img {
    max-width: 60%;
    opacity: 0.9;
    filter: brightness(1.1);
}

/* ===== Bloque "Atención real, no tratamientos en serie" ===== */
.home-quienes-titulo {
    font-family: var(--serif);
    text-align: left;
    font-size: clamp(32px, 4.4vw, 50px);
    font-weight: 300;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: var(--base);
    margin: 0 0 4px;
}

.home-quienes-lista {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    counter-reset: qs;
}

.home-quienes-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.home-quienes-item:last-child {
    border-bottom: 1px solid var(--line);
}

.home-quienes-item-num {
    flex: 0 0 auto;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--rose-deep);
    padding-top: 5px;
    min-width: 24px;
}

.home-quienes-item-titulo {
    font-family: var(--serif);
    font-size: clamp(19px, 2.4vw, 24px);
    font-weight: 400;
    color: var(--base);
    margin: 0 0 4px;
}

.home-quienes-item-texto {
    font-size: 14.5px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    margin: 0;
}

/* ===== Marco lateral con etiqueta "Estética Lumière" ===== */
.home-quienes-visual .home-quienes-frame {
    margin: 0;
}

.home-quienes-frame--imagen {
    background: var(--bg-deep);
    display: block;
}

.home-quienes-frame--imagen img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    opacity: 1;
    filter: none;
}

.home-quienes-frame-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 400;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: rgba(241, 233, 214, 0.85);
    text-align: center;
    pointer-events: none;
    z-index: 2;
}

.home-quienes-frame--imagen .home-quienes-frame-label {
    color: var(--bg);
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}


/* ==========================================================================
   11. HOME — Beneficios (carrusel promo + giftcard)
   ========================================================================== */

.beneficios-section {
    padding: 110px 0;
    background: var(--bg);
}

.beneficios-carrusel-wrap {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.beneficio-banner {
    position: relative;
    min-height: 380px;
    padding: 60px 50px;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--accent);
}

.beneficio-banner--promo:not(.beneficio-banner--con-foto) {
    background: linear-gradient(135deg, var(--rose-soft) 0%, var(--accent) 50%, var(--base) 100%);
}

.beneficio-banner--giftcard {
    background: linear-gradient(135deg, var(--base) 0%, var(--base-deep) 100%);
}

.beneficio-banner-overlay,
.beneficio-banner-overlay--promo {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(58, 49, 40, 0.78) 0%, rgba(74, 65, 54, 0.4) 60%, transparent 100%);
}

.beneficio-banner-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 50px;
    align-items: center;
    min-height: 260px;
}

.beneficio-banner-content--giftcard {
    grid-template-columns: 1fr auto;
}

/* Etiqueta de precio (lado izquierdo del banner promo) */
.promo-precio-tag {
    background: var(--rose);
    color: var(--base);
    padding: 30px 36px;
    border-radius: 4px;
    text-align: center;
    min-width: 200px;
}

.promo-precio-tag-descuento {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 300;
    line-height: 1;
    color: var(--base-deep);
    margin-bottom: 8px;
}

.promo-precio-tag-descuento--offer {
    font-size: 28px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.promo-precio-tag-label {
    display: block;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 4px;
}

.promo-precio-tag-anterior {
    margin-top: 12px;
}

.promo-precio-tag-valor-anterior {
    font-family: var(--serif);
    font-size: 16px;
    text-decoration: line-through;
    opacity: 0.6;
}

.promo-precio-tag-divider {
    width: 30px;
    height: 1px;
    background: rgba(74, 65, 54, 0.3);
    margin: 8px auto;
}

.promo-precio-tag-ahora {
    margin-top: 4px;
}

.promo-precio-tag-valor-ahora {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--base-deep);
}

.promo-precio-tag-sin-precio {
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.2;
}

.promo-precio-tag-sparkle {
    display: block;
    font-size: 28px;
    margin-bottom: 8px;
}

/* Texto del banner (lado derecho) */
.promo-banner-texto,
.giftcard-banner-text {
    color: var(--bg);
}

.beneficio-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rose);
    color: var(--base);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.beneficio-banner-titulo {
    font-family: var(--serif);
    font-size: clamp(26px, 3.2vw, 40px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--bg);
    margin-bottom: 14px;
}

.beneficio-banner-titulo em {
    color: var(--rose);
    font-style: italic;
}

.beneficio-banner-subtitulo {
    font-size: 14px;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.8);
    margin-bottom: 16px;
}

.beneficio-banner-subtitulo strong {
    color: var(--bg);
    font-weight: 500;
}

.beneficio-banner-vigencia {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--rose);
    margin-bottom: 24px;
}

.beneficio-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-beneficio-ver-todas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 4px;
    color: var(--bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--bg);
    transition: all 0.3s;
}

.btn-beneficio-ver-todas:hover {
    color: var(--rose);
    border-bottom-color: var(--rose);
    gap: 14px;
}

/* Gift card ticket */
.giftcard-banner-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(245, 242, 236, 0.85);
    margin-bottom: 28px;
    max-width: 380px;
}

.btn-giftcard-banner {
    color: var(--bg);
    border-color: rgba(245, 242, 236, 0.5);
}

.btn-giftcard-banner:hover {
    background: var(--bg);
    color: var(--base);
}

.giftcard-ticket {
    background: var(--rose);
    padding: 8px;
    border-radius: 6px;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transform: rotate(-2deg);
    transition: transform 0.4s;
}

.giftcard-ticket:hover {
    transform: rotate(0);
}

.giftcard-ticket-inner {
    background: var(--rose-soft);
    border: 1px dashed var(--rose-deep);
    border-radius: 4px;
    padding: 36px 24px 28px;
    text-align: center;
    position: relative;
}

.giftcard-ticket-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--rose);
    border-radius: 50%;
}

.giftcard-ticket-corner--tl { top: -7px; left: -7px; }
.giftcard-ticket-corner--tr { top: -7px; right: -7px; }
.giftcard-ticket-corner--bl { bottom: -7px; left: -7px; }
.giftcard-ticket-corner--br { bottom: -7px; right: -7px; }

.giftcard-ticket-tag {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 14px;
}

.giftcard-ticket-nombre {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 14px;
}

.giftcard-ticket-divider {
    width: 40px;
    height: 1px;
    background: var(--rose-deep);
    margin: 0 auto 14px;
}

.giftcard-ticket-precio {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    color: var(--base-deep);
    margin-bottom: 4px;
}

.giftcard-ticket-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 14px;
}

.giftcard-ticket-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-mute);
    margin-top: 8px;
}

/* Paginación del carrusel */
.beneficios-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.beneficios-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 2px;
    border-radius: 0;
    background: var(--line);
    opacity: 1;
    transition: background 0.3s;
}

.beneficios-pagination .swiper-pagination-bullet-active {
    background: var(--rose-deep);
}

/* ==========================================================================
   12. CARDS DE TRATAMIENTO (con efecto FLIP)
   ========================================================================== */

/* Wrapper con perspectiva 3D */
.tratamiento-card-flip {
    perspective: 1500px;
    height: 540px;
    background: transparent;
    border: none;
}

.tratamiento-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.tratamiento-card-flip.is-flipped .tratamiento-card-inner {
    transform: rotateY(180deg);
}

/* Las dos caras */
.tratamiento-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.35s, box-shadow 0.35s;
}

.tratamiento-card-front {
    z-index: 2;
}

.tratamiento-card-back {
    transform: rotateY(180deg);
    background: var(--bg-deep);
}

.tratamiento-card-flip:hover .tratamiento-card-front {
    border-color: var(--rose-deep);
    box-shadow: var(--shadow-lg);
}

/* Badge de promo en la card */
.tratamiento-promo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--rose);
    color: var(--base);
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(74, 65, 54, 0.15);
    z-index: 5;
}

/* Cuerpo de la cara frontal */
.tratamiento-body {
    padding: 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tratamiento-nombre {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--base);
    margin-bottom: 8px;
}

.tratamiento-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-mute);
    margin-bottom: 16px;
    flex: 1;
}

.tratamiento-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    margin-bottom: 12px;
}

.tratamiento-precio {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--base);
}

.tratamiento-precio-promo {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tratamiento-precio-anterior {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--text-mute);
    text-decoration: line-through;
}

.tratamiento-precio-nuevo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--rose-deep);
}

.tratamiento-duracion {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-mute);
}

/* Botón "Ver más info" que dispara el flip */
.btn-ver-info,
.btn-flip-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--base);
    color: var(--bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: auto;
    transition: all 0.3s;
}

.btn-ver-info:hover,
.btn-flip-trigger:hover {
    background: var(--rose-deep);
    color: var(--bg);
    gap: 14px;
}

.btn-ver-info svg,
.btn-flip-trigger svg {
    transition: transform 0.3s;
}

.btn-ver-info:hover svg,
.btn-flip-trigger:hover svg {
    transform: translateX(3px);
}

/* Cara trasera */
.tratamiento-card-back-inner {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.tratamiento-back-categoria {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 12px;
}

.tratamiento-back-nombre {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--base);
    margin-bottom: 16px;
}

.tratamiento-back-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    margin-bottom: 18px;
    flex: 1;
}

.tratamiento-back-meta {
    display: flex;
    gap: 16px;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--base);
}

.tratamiento-back-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-back-primary {
    display: block;
    text-align: center;
    padding: 13px 20px;
    background: var(--base);
    color: var(--bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-back-primary:hover {
    background: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
}

.btn-back-secondary {
    display: block;
    text-align: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--base);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: 1px solid var(--accent);
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-back-secondary:hover {
    border-color: var(--rose-deep);
    color: var(--rose-deep);
}

/* Botón "Volver" arriba a la derecha de la cara trasera */
.btn-flip-back {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    color: var(--base);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
    z-index: 3;
}

.btn-flip-back:hover {
    background: var(--bg);
    border-color: var(--rose-deep);
    color: var(--rose-deep);
}


/* ==========================================================================
   13. SLIDER ANTES/DESPUÉS (dentro de cards y detalle)
   ========================================================================== */

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: ew-resize;
    user-select: none;
    background: var(--accent-soft);
}

.ba-before,
.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: var(--accent-soft);
}

.ba-before {
    filter: brightness(0.85) contrast(1.05) saturate(0.9);
}

.ba-after {
    clip-path: inset(0 0 0 50%);
}

.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--bg);
    transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(74, 65, 54, 0.2);
    z-index: 2;
    pointer-events: none;
}

.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--bg);
    border: 2px solid var(--rose);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(74, 65, 54, 0.25);
    cursor: ew-resize;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle::after {
    content: '◆';
    color: var(--rose-deep);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.ba-label-dinamico {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rose);
    color: var(--base);
    padding: 5px 14px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    z-index: 4;
    pointer-events: none;
}

.ba-hint {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(74, 65, 54, 0.55);
    color: var(--bg);
    padding: 5px 12px;
    border-radius: 40px;
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.85;
    z-index: 4;
    pointer-events: none;
}


/* ==========================================================================
   14. CARRUSELES (Swiper overrides)
   ========================================================================== */

.categoria-carrusel-wrap {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cat-carrusel-prev,
.cat-carrusel-next {
    position: absolute;
    top: 40%;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--base);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s;
}

.cat-carrusel-prev:hover,
.cat-carrusel-next:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
}

.cat-carrusel-prev { left: -10px; }
.cat-carrusel-next { right: -10px; }

.cat-carrusel-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.cat-carrusel-pagination .swiper-pagination-bullet {
    width: 28px;
    height: 2px;
    border-radius: 0;
    background: var(--line);
    opacity: 1;
}

.cat-carrusel-pagination .swiper-pagination-bullet-active {
    background: var(--rose-deep);
}

/* ==========================================================================
   15. TRATAMIENTOS CATÁLOGO (categorías agrupadas)
   ========================================================================== */

.categoria-section {
    margin-bottom: 90px;
}

.categoria-section:last-child {
    margin-bottom: 0;
}

.categoria-header {
    text-align: center;
    margin-bottom: 50px;
}

.categoria-titulo {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--base);
    margin-bottom: 12px;
}

.categoria-desc {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-mute);
    max-width: 600px;
    margin: 0 auto;
}

.tratamientos-flex-centered {
    display: flex;
    gap: 24px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.tratamientos-flex-centered > * {
    flex: 1;
    min-width: 280px;
    max-width: 380px;
}

/* Empty state cuando no hay resultados de búsqueda */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-mute);
}

.empty-state svg {
    color: var(--accent);
    opacity: 0.6;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 12px;
}

.empty-state p {
    font-weight: 300;
    color: var(--text-mute);
    margin-bottom: 28px;
}


/* ==========================================================================
   16. DETALLE DE TRATAMIENTO (acordeón + sidebar sticky)
   ========================================================================== */

.detail-main {
    padding: 120px 0 100px;
    background: var(--bg);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Imagen / galería */
.detail-image {
    aspect-ratio: 4/3;
    background: var(--bg-deep);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.detail-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--accent-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

/* Slider antes/después en el detalle (más grande) */
.detail-main .ba-handle {
    width: 48px;
    height: 48px;
}

.detail-main .ba-label-dinamico {
    bottom: 18px;
    padding: 7px 18px;
    font-size: 11px;
}

/* Galería: wrap general */
.galeria-wrap {
    position: relative;
    width: 100%;
}

/* Galería: thumbnails */
.galeria-thumbs-wrap {
    position: relative;
    margin-top: 16px;
}

.galeria-thumb {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-deep);
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: border-color 0.3s;
}

.galeria-thumb.active {
    border-color: var(--rose-deep);
}

.galeria-thumb:hover {
    border-color: var(--rose);
}

.galeria-thumb-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.galeria-thumb-badge {
    position: absolute;
    top: 4px;
    left: 4px;
    background: var(--rose);
    color: var(--base);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.galeria-thumb-video-bg {
    width: 100%;
    height: 100%;
    background: var(--base);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
}

/* Título y descripción del detalle */
.detail-text {
    margin-top: 40px;
}

.detail-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 16px;
}

.detail-titulo {
    font-family: var(--serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--base);
    margin-bottom: 16px;
}

.detail-descripcion {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mute);
    margin-bottom: 40px;
}

/* === Acordeón === */
.detail-accordion {
    border-top: 1px solid var(--line);
}

.acc-item {
    border-bottom: 1px solid var(--line);
}

.acc-header {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    color: var(--base);
    transition: color 0.3s;
}

.acc-header::-webkit-details-marker {
    display: none;
}

.acc-header:hover {
    color: var(--rose-deep);
}

.acc-icon {
    color: var(--rose-deep);
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.35s;
}

details[open] .acc-icon {
    transform: rotate(180deg);
}

.acc-body {
    padding: 4px 0 22px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mute);
}

.detail-beneficios li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-mute);
}

.detail-beneficios li::before {
    content: '✓';
    color: var(--rose-deep);
    font-weight: 600;
    margin-top: 1px;
    flex-shrink: 0;
}

.acc-warning .acc-header,
.acc-warning .acc-icon {
    color: var(--warning);
}

/* === Sidebar sticky === */
.detail-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-card {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 36px 32px;
}

.sidebar-promo-box {
    background: linear-gradient(135deg, var(--rose-deep), var(--base));
    color: var(--bg);
    padding: 20px 24px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.sidebar-promo-eyebrow {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose-soft);
    margin-bottom: 8px;
}

.sidebar-promo-texto {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--bg);
    margin-bottom: 8px;
}

.sidebar-promo-vigencia {
    font-size: 11px;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.85);
}

.sidebar-precio-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 8px;
}

.sidebar-precio-wrapper-promo {
    margin-bottom: 4px;
}

.sidebar-precio-anterior {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--text-mute);
    text-decoration: line-through;
    margin-bottom: 4px;
}

.sidebar-precio,
.sidebar-precio-nuevo {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 300;
    line-height: 1;
    color: var(--base);
}

.sidebar-precio-tag {
    font-size: 12px;
    font-weight: 300;
    color: var(--text-mute);
    margin-top: 4px;
    margin-bottom: 24px;
}

.sidebar-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 24px 0;
}

.sidebar-info {
    margin-bottom: 28px;
}

.sidebar-info li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.sidebar-info li:last-child {
    border-bottom: none;
}

.sidebar-info-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.sidebar-info-valor {
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
}

/* Botones del sidebar */
.btn-reservar-grande {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 10px;
    border: 1px solid transparent;
    transition: all 0.35s;
}

.btn-reservar-online {
    background: var(--base);
    color: var(--bg);
    border-color: var(--base);
}

.btn-reservar-online:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
}

.btn-reservar-whatsapp {
    background: transparent;
    color: var(--base);
    border: 1px solid var(--base);
}

.btn-reservar-whatsapp:hover {
    background: var(--base);
    color: var(--bg);
}

.sidebar-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--text-mute);
}

.sidebar-tag svg {
    color: var(--rose-deep);
    flex-shrink: 0;
}


/* ==========================================================================
   17. PÁGINA NOSOTROS (FAQ + tecnologías + especialistas + testimonios)
   ========================================================================== */

/* FAQ */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-pregunta {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    list-style: none;
    font-family: var(--serif);
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 400;
    color: var(--base);
    transition: color 0.3s;
}

.faq-pregunta::-webkit-details-marker {
    display: none;
}

.faq-pregunta:hover {
    color: var(--rose-deep);
}

.faq-icon {
    color: var(--rose-deep);
    margin-left: 16px;
    flex-shrink: 0;
    transition: transform 0.35s;
}

details[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-respuesta {
    padding: 0 0 28px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mute);
    max-width: 700px;
}

/* Tecnologías */
.tecnologia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.tecnologia-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tecnologia-card:hover {
    border-color: var(--rose-deep);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.tecnologia-img {
    aspect-ratio: 4/3;
    background: var(--bg-deep);
    overflow: hidden;
}

.tecnologia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.tecnologia-card:hover .tecnologia-img img {
    transform: scale(1.05);
}

.tecnologia-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-deep) 0%, var(--accent-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.tecnologia-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.tecnologia-marca {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 8px;
}

.tecnologia-nombre {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--base);
    margin-bottom: 12px;
}

.tecnologia-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    margin-bottom: 22px;
    flex: 1;
}

.tecnologia-ver-mas-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding-bottom: 4px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--base);
    border-bottom: 1px solid var(--base);
    transition: all 0.3s;
}

.tecnologia-ver-mas-btn:hover {
    color: var(--rose-deep);
    border-color: var(--rose-deep);
    gap: 16px;
}

/* Especialistas */
.especialistas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}

.especialista-card {
    text-align: center;
}

.especialista-img {
    aspect-ratio: 3/4;
    background: var(--bg-deep);
    border-radius: 4px;
    margin-bottom: 24px;
    overflow: hidden;
}

.especialista-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.especialista-card:hover .especialista-img img {
    transform: scale(1.04);
}

.especialista-iniciales {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rose), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 64px;
    font-weight: 300;
    color: var(--bg);
}

.especialista-body {
    padding: 0 16px;
}

.especialista-nombre {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 8px;
}

.especialista-especialidad {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 14px;
}

.especialista-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    max-width: 280px;
    margin: 0 auto;
}

.especialista-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.especialista-link-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-deep);
    color: var(--base);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.especialista-link-btn:hover {
    background: var(--rose);
    color: var(--base);
}

/* Testimonios */
.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.testimonio-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 36px;
    transition: all 0.4s;
}

.testimonio-card:hover {
    border-color: var(--rose-deep);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonio-quote {
    color: var(--rose-deep);
    opacity: 0.5;
    margin-bottom: 20px;
}

.testimonio-texto {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.6;
    color: var(--base);
    margin-bottom: 28px;
}

.testimonio-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.testimonio-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    color: var(--base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 500;
}

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

.testimonio-iniciales {
    font-family: var(--serif);
    font-weight: 500;
    color: var(--base);
}

.testimonio-info {
    flex: 1;
}

.testimonio-nombre {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    margin-bottom: 2px;
}

.testimonio-tratamiento {
    font-size: 12px;
    color: var(--text-mute);
}


/* ==========================================================================
   18. PÁGINA PROMOCIONES
   ========================================================================== */

.promo-destacada-section {
    padding: 80px 0 60px;
}

.promo-destacada {
    position: relative;
    min-height: 480px;
    padding: 60px 50px;
    border-radius: 4px;
    overflow: hidden;
    background-color: var(--base);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.promo-destacada--sin-foto {
    background: linear-gradient(135deg, var(--base) 0%, var(--base-deep) 100%);
}

.promo-destacada-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(58, 49, 40, 0.88) 0%, rgba(74, 65, 54, 0.6) 60%, rgba(74, 65, 54, 0.2) 100%);
}

.promo-destacada-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    color: var(--bg);
}

.promo-destacada-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--rose);
    color: var(--base);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.promo-destacada-titulo {
    font-family: var(--serif);
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 300;
    line-height: 1.05;
    color: var(--bg);
    margin-bottom: 20px;
}

.promo-destacada-titulo em {
    color: var(--rose);
    font-style: italic;
}

.promo-destacada-servicio {
    font-size: 15px;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.85);
    margin-bottom: 20px;
}

.promo-destacada-servicio strong {
    font-weight: 500;
    color: var(--bg);
}

.promo-destacada-precios {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 16px;
}

.precio-anterior {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.6);
    text-decoration: line-through;
}

.precio-nuevo {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    color: var(--bg);
}

.promo-destacada-vigencia {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--rose);
    margin-bottom: 32px;
}

.promo-destacada-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-promo-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: transparent;
    color: var(--bg);
    border: 1px solid rgba(245, 242, 236, 0.4);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.35s;
}

.btn-promo-whatsapp:hover {
    background: var(--bg);
    color: var(--base);
    border-color: var(--bg);
}

/* Grid de otras promociones */
.promos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.promo-card {
    position: relative;
    min-height: 320px;
    padding: 36px 32px;
    background-color: var(--base);
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.promo-card:hover {
    transform: translateY(-4px);
}

.promo-card:not(.promo-card--con-foto) {
    background: linear-gradient(135deg, var(--base) 0%, var(--base-deep) 100%);
}

.promo-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(58, 49, 40, 0.4) 50%, rgba(58, 49, 40, 0.92) 100%);
}

.promo-card-content {
    position: relative;
    z-index: 1;
    color: var(--bg);
}

.promo-card-titulo {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--bg);
    margin-bottom: 8px;
}

.promo-card-servicio {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 14px;
}

.promo-card-precios {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.precio-anterior-mini {
    font-family: var(--serif);
    font-size: 14px;
    font-weight: 300;
    color: rgba(245, 242, 236, 0.55);
    text-decoration: line-through;
}

.precio-nuevo-mini {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--bg);
}

.promo-card-vigencia {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: var(--rose);
    margin-bottom: 22px;
}

.promo-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    padding: 12px 24px;
    background: var(--bg);
    color: var(--base);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.35s;
}

.promo-card-btn:hover {
    background: var(--rose);
    color: var(--base);
    gap: 14px;
}


/* ==========================================================================
   19. PÁGINA GIFT CARDS
   ========================================================================== */

.giftcards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}

.giftcard-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.giftcard-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.giftcard-card.featured {
    border-color: var(--rose-deep);
    box-shadow: 0 15px 40px -15px rgba(201, 155, 155, 0.3);
}

.giftcard-card.featured::before {
    content: 'Más elegida';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rose-deep);
    color: var(--bg);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    z-index: 2;
}

.giftcard-header {
    background: var(--base);
    color: var(--bg);
    padding: 32px 28px 28px;
    text-align: center;
    position: relative;
}

.giftcard-card.featured .giftcard-header {
    background: linear-gradient(135deg, var(--base) 0%, var(--base-deep) 100%);
}

.giftcard-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--rose-deep);
}

.giftcard-header-tag {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 14px;
}

.giftcard-titulo {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--bg);
    margin-bottom: 18px;
}

.giftcard-precio {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    color: var(--rose-soft);
}

.giftcard-precio small {
    display: block;
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 242, 236, 0.6);
}

.giftcard-body {
    padding: 32px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.giftcard-descripcion {
    font-size: 14px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    color: var(--text-mute);
    text-align: center;
    margin-bottom: 24px;
}

.giftcard-incluye-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose-deep);
    text-align: center;
    margin-bottom: 12px;
}

.giftcard-incluye {
    margin-bottom: 28px;
    flex: 1;
}

.giftcard-incluye li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--base);
}

.giftcard-incluye li:last-child {
    border-bottom: none;
}

.giftcard-incluye li::before {
    content: '◆';
    color: var(--rose-deep);
    font-size: 8px;
    margin-top: 6px;
    flex-shrink: 0;
}

.giftcard-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

/* Pasos */
.giftcard-pasos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 60px;
}

.giftcard-paso {
    text-align: center;
    padding: 24px 16px;
}

.giftcard-paso-num {
    font-family: var(--serif);
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    color: var(--rose-deep);
    opacity: 0.7;
    margin-bottom: 16px;
}

.giftcard-paso h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 10px;
}

.giftcard-paso p {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
}

.giftcard-paso strong {
    font-weight: 500;
    color: var(--base);
}

/* Caja "Información importante" */
.giftcard-info-box {
    max-width: 760px;
    margin: 0 auto;
    padding: 32px 36px;
    background: var(--rose-soft);
    border: 1px solid var(--rose);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
}

.giftcard-info-box h3 {
    display: flex;
    align-items: center;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 16px;
}

.giftcard-info-box h3 svg {
    color: var(--rose-deep);
    margin-right: 8px;
}

.giftcard-info-box ul li {
    position: relative;
    padding: 8px 0 8px 22px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--base);
}

.giftcard-info-box ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 14px;
    color: var(--rose-deep);
    font-size: 8px;
}

.giftcard-info-box ul li strong {
    font-weight: 500;
    color: var(--base);
}


/* ==========================================================================
   20. PÁGINA CONTACTO (info + mapa + formulario)
   ========================================================================== */

.contacto-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 10px;
}

.contacto-valor {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--base);
}

.contacto-valor a {
    color: var(--base);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.contacto-valor a:hover {
    border-bottom-color: var(--rose-deep);
}

.contacto-info-extra {
    display: block;
    font-size: 11px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-mute);
    margin-top: 4px;
}

.mapa-wrap {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.mapa-wrap iframe {
    display: block;
    width: 100%;
    filter: grayscale(0.4) sepia(0.15);
    transition: filter 0.4s;
}

.mapa-wrap:hover iframe {
    filter: grayscale(0) sepia(0);
}

.contacto-opciones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contacto-opciones-grid--solo {
    grid-template-columns: 1fr;
    max-width: 700px;
}

.contacto-opcion-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 36px;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    height: auto;
    align-self: start;
}

.contacto-opcion-card:hover {
    border-color: var(--rose-deep);
    box-shadow: var(--shadow-lg);
}

.contacto-opcion-icon {
    color: var(--rose-deep);
    margin-bottom: 24px;
}

.contacto-opcion-card h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 14px;
}

.contacto-opcion-card p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    margin-bottom: 28px;
}

/* Formulario */
.contacto-form {
    margin-top: 8px;
}

.contacto-form-field {
    margin-bottom: 18px;
}

.contacto-form-field label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--base);
    margin-bottom: 8px;
}

.contacto-form-field input,
.contacto-form-field textarea,
.contacto-form-field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--base);
    transition: border-color 0.3s, background 0.3s;
}

.contacto-form-field input:focus,
.contacto-form-field textarea:focus,
.contacto-form-field select:focus {
    outline: none;
    border-color: var(--rose-deep);
    background: var(--bg);
}

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

.contacto-form-field select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99B9B' stroke-width='2' stroke-linecap='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
}

.contacto-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contacto-form-helper {
    margin: 8px 0 14px;
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    color: var(--text-mute);
}

.contacto-form-helper strong {
    font-weight: 500;
    color: var(--base);
}

.contacto-form-submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--base);
    color: var(--bg);
    border: none;
    border-radius: 50px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 6px;
    transition: all 0.35s;
}

.contacto-form-submit:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
}

.contacto-form-disclaimer {
    margin: 16px 0 0;
    font-size: 11px;
    font-weight: 300;
    text-align: center;
    color: var(--text-mute);
}

/* Honeypot (campo anti-spam) */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Alerts */
.contacto-alert {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.contacto-alert-success {
    background: rgba(107, 142, 90, 0.08);
    border-left: 3px solid var(--success);
    color: var(--base);
}

.contacto-alert-error {
    background: rgba(168, 101, 76, 0.1);
    border-left: 3px solid var(--warning);
    color: var(--base);
}

.contacto-alert strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.contacto-errores-lista {
    margin: 4px 0 0;
    padding: 0;
}

.contacto-errores-lista li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 13px;
}

.contacto-errores-lista li::before {
    content: '◆';
    position: absolute;
    left: 4px;
    top: 9px;
    color: var(--rose-deep);
    font-size: 7px;
}

.contacto-link-prefiero {
    font-size: 13px;
    color: var(--text-mute);
    text-decoration: underline;
    transition: color 0.3s;
}

.contacto-link-prefiero:hover {
    color: var(--rose-deep);
}

/* ==========================================================================
   21. CTA DOBLE (footer pre-section reutilizable)
   ========================================================================== */

/* Sección "¿Tenés dudas?" — banner CTA al pie de páginas */
.cta-banner {
    padding: 80px 20px;
    text-align: center;
    background: var(--bg-deep);
    margin: 0;
}

.cta-banner .container {
    max-width: 720px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--base);
    margin: 0 0 14px;
}

.cta-banner p {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-mute);
    margin: 0 auto 30px;
    max-width: 560px;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: 60px 20px;
        margin: 0;
    }
}

.cta-doble-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-doble {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.35s;
}

.btn-cta-whatsapp {
    background: var(--base);
    color: var(--bg);
}

.btn-cta-whatsapp:hover {
    background: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
}

.btn-cta-formulario {
    background: transparent;
    color: var(--base);
    border: 1px solid var(--base);
}

.btn-cta-formulario:hover {
    background: var(--base);
    color: var(--bg);
}



/* ==========================================================================
   21b. AUTH (Login + Registro)
   ========================================================================== */

.auth-section {
    padding: 140px 0 80px;
    background: var(--bg);
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

.auth-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(232, 196, 196, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(184, 174, 161, 0.10) 0%, transparent 50%);
    pointer-events: none;
}

.auth-section > .container {
    position: relative;
    z-index: 1;
}

/* Wrapper centrado */
.auth-wrap {
    max-width: 540px;
    margin: 0 auto;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 48px 40px;
    box-shadow: var(--shadow-md);
}

.auth-wrap--small {
    max-width: 440px;
}

/* Header del bloque */
.auth-header {
    text-align: center;
    margin-bottom: 36px;
}

.auth-header .hero-eyebrow {
    color: var(--rose-deep);
    margin-bottom: 12px;
}

.auth-titulo {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--base);
    margin-bottom: 14px;
}

.auth-titulo em {
    color: var(--rose-deep);
    font-style: italic;
}

.auth-subtitulo {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-mute);
}

/* === FORM AUREA (formulario base reutilizable) === */
.form-aurea .form-label,
.auth-form .form-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--base);
    margin-bottom: 8px;
}

.form-aurea .form-control,
.auth-form .form-control,
.form-aurea input[type="text"],
.form-aurea input[type="email"],
.form-aurea input[type="password"],
.form-aurea input[type="tel"],
.form-aurea textarea,
.form-aurea select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--base);
    transition: border-color 0.3s, background 0.3s;
}

.form-aurea .form-control:focus,
.auth-form .form-control:focus {
    outline: none;
    border-color: var(--rose-deep);
    background: var(--bg);
}

/* Estado inválido */
.form-aurea .form-control.is-invalid,
.auth-form .form-control.is-invalid {
    border-color: var(--warning);
    background: rgba(168, 101, 76, 0.04);
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 400;
    color: var(--warning);
}

/* Helper text bajo los inputs */
.auth-form-helper {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 300;
    color: var(--text-mute);
}

/* Checkbox de "Recordarme" */
.auth-checkbox-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

.auth-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--rose-deep);
    border-radius: 3px;
}

.auth-checkbox-label {
    margin: 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
    text-transform: none;
    letter-spacing: 0;
}

/* Botones del form */
.auth-actions {
    margin-top: 28px;
    text-align: center;
}

.btn-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s;
}

.btn-auth-submit:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

/* Link al final (¿No tenés cuenta? / ¿Ya tenés cuenta?) */
.auth-link-secundario {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
}

.auth-link-secundario a {
    color: var(--rose-deep);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
    margin-left: 4px;
}

.auth-link-secundario a:hover {
    border-bottom-color: var(--rose-deep);
}

/* Mensajes feedback (éxito / error) */
.auth-feedback {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid;
}

.auth-feedback--success {
    background: rgba(107, 142, 90, 0.08);
    border-color: var(--success);
    color: var(--base);
}

.auth-feedback--error {
    background: rgba(168, 101, 76, 0.1);
    border-color: var(--warning);
    color: var(--base);
}

/* Responsive auth */
@media (max-width: 640px) {
    .auth-section {
        padding: 110px 0 60px;
    }
    .auth-wrap {
        padding: 32px 24px;
    }
    .auth-titulo {
        font-size: 28px;
    }
}




/* ==========================================================================
   21c. PANEL CLIENTE — Dashboard
   ========================================================================== */

/* Wrapper feedback */
.cliente-feedback-wrap {
    margin-top: 20px;
}

/* Contenedor general del dashboard */
.cliente-dashboard {
    max-width: 1100px;
    margin: 0 auto;
}

/* === Tarjeta de bienvenida (info del cliente) === */
.cliente-card--bienvenida {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 36px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.cliente-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    color: var(--base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid var(--rose-deep);
}

.cliente-avatar--imagen {
    background: var(--bg-deep);
}

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

.cliente-info {
    flex: 1;
    min-width: 0;
}

.cliente-nombre {
    font-family: var(--serif);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--base);
    margin-bottom: 4px;
}

.cliente-email {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin-bottom: 2px;
    word-break: break-word;
}

.cliente-telefono {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
}

/* === Grid de opciones === */
.cliente-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card de opción (Mis turnos / Mis pedidos / Mi perfil) */
.cliente-card--opcion {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 28px;
    text-decoration: none;
    color: var(--base);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.cliente-card--opcion:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rose-deep);
    color: var(--base);
}

.cliente-card--con-badge {
    position: relative;
}

/* Card inactiva (próximamente, por ej.) */
.cliente-card--opcion:not(.cliente-card--activo) {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

/* Icono dentro de la card */
.cliente-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-deep);
    color: var(--rose-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
}

.cliente-card--opcion:hover .cliente-card-icon {
    background: var(--rose);
    color: var(--base);
}

/* Título y descripción */
.cliente-card-titulo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--base);
    line-height: 1.2;
    margin: 0;
}

.cliente-card-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-mute);
    margin: 0;
    flex: 1;
}

/* CTA "Ver mis turnos →" */
.cliente-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--base);
    transition: all 0.3s;
}

.cliente-card--opcion:hover .cliente-card-cta {
    color: var(--rose-deep);
    gap: 14px;
}

/* Badge de novedades */
.cliente-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--rose-deep);
    color: var(--bg);
    padding: 4px 10px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(201, 155, 155, 0.4);
    z-index: 2;
    text-decoration: none;
}

/* === Responsive === */
@media (max-width: 900px) {
    .cliente-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .cliente-card--bienvenida {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
    }
    .cliente-grid {
        grid-template-columns: 1fr;
    }
    .cliente-card--opcion {
        padding: 24px 22px;
    }
}




/* ==========================================================================
   21d. PANEL CLIENTE — Perfil
   ========================================================================== */

/* Wrapper general (4 cards apiladas) */
.perfil-cliente-wrap {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Cada card (Imagen, Datos, Email, Contraseña) */
.perfil-cliente-wrap .cliente-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 36px;
    box-shadow: var(--shadow-sm);
}

/* Título de la card con icono */
.perfil-card-titulo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--base);
    margin: 0 0 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.perfil-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-deep);
    color: var(--rose-deep);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* === Imagen de perfil === */
.perfil-imagen-wrap {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
}

.perfil-imagen-preview {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-deep);
    border: 2px solid var(--rose-deep);
    flex-shrink: 0;
}

.perfil-imagen-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perfil-imagen-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    color: var(--base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 44px;
    font-weight: 500;
}

.perfil-imagen-forms {
    flex: 1;
    min-width: 0;
}

/* Botón "Subir/Cambiar imagen" */
.perfil-btn-imagen {
    margin-top: 12px;
    width: auto;
    padding: 12px 22px;
    font-size: 11px;
}

/* Form de eliminar imagen */
.perfil-form-eliminar {
    margin-top: 12px;
}

.btn-eliminar-imagen {
    background: transparent;
    border: 1px solid var(--warning);
    color: var(--warning);
    padding: 8px 16px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-eliminar-imagen:hover {
    background: var(--warning);
    color: var(--bg);
}

/* === Email actual === */
.perfil-email-actual {
    margin-bottom: 18px;
    padding: 14px 18px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
}

.perfil-email-actual-valor {
    color: var(--base);
    font-weight: 500;
    margin-left: 4px;
}

/* === Modifier para alinear botones a la izquierda === */
.auth-actions--left {
    text-align: left;
    margin-top: 24px;
}

.auth-actions--left .btn-auth-submit {
    width: auto;
    padding: 14px 28px;
}

/* === Responsive === */
@media (max-width: 640px) {
    .perfil-cliente-wrap .cliente-card {
        padding: 24px 22px;
    }
    .perfil-imagen-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
        justify-items: center;
        text-align: center;
    }
    .perfil-imagen-forms {
        text-align: left;
        width: 100%;
    }
    .auth-actions--left .btn-auth-submit {
        width: 100%;
    }
}




/* ==========================================================================
   21e. PANEL CLIENTE — Mis Turnos
   ========================================================================== */

.mis-turnos-wrap {
    max-width: 900px;
    margin: 0 auto;
}

/* === Tabs (Próximos / Historial) === */
.mis-turnos-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
}

.mis-turnos-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
    border-radius: 40px;
    transition: all 0.3s;
    text-decoration: none;
}

.mis-turnos-tab:hover {
    color: var(--base);
}

.mis-turnos-tab-activo {
    background: var(--base);
    color: var(--bg);
}

.mis-turnos-tab-activo:hover {
    color: var(--bg);
}

.mis-turnos-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: var(--rose);
    color: var(--base);
    border-radius: 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
}

.mis-turnos-tab-activo .mis-turnos-badge {
    background: var(--rose-soft);
    color: var(--base);
}

.mis-turnos-badge--muted {
    background: var(--bg-deep);
    color: var(--text-mute);
}

/* === Toolbar (Sacar nuevo turno) === */
.mis-turnos-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.mis-turnos-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--base);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--base);
    transition: all 0.35s;
    text-decoration: none;
}

.mis-turnos-action:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

/* === Empty state === */
.mis-turnos-empty {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.mis-turnos-empty-icon {
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.35;
}

.mis-turnos-empty h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 12px;
}

.mis-turnos-empty p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin-bottom: 28px;
}

/* Botón submit con width auto (para usar dentro de empty state, etc) */
.btn-auth-submit--auto {
    width: auto;
    padding: 14px 28px;
}

/* === Lista de turnos === */
.mis-turnos-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mis-turnos-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card de turno */
.mis-turnos-card {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 24px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 4px;
    padding: 24px 28px;
    align-items: center;
    transition: box-shadow 0.3s, transform 0.3s;
}

.mis-turnos-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Variantes por estado */
.mis-turnos-card--success {
    border-left-color: var(--success);
}

.mis-turnos-card--warning {
    border-left-color: var(--warning);
}

.mis-turnos-card--danger {
    border-left-color: var(--rose-deep);
}

.mis-turnos-card--info,
.mis-turnos-card--primary {
    border-left-color: var(--rose-deep);
}

.mis-turnos-card--muted,
.mis-turnos-card--secondary {
    border-left-color: var(--accent);
    opacity: 0.85;
}

/* === Bloque fecha (a la izquierda) === */
.mis-turnos-fecha {
    text-align: center;
    padding: 14px 0;
    background: var(--bg-deep);
    border-radius: 4px;
    border: 1px solid var(--line);
}

.mis-turnos-fecha-dia {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    color: var(--base);
    margin-bottom: 4px;
}

.mis-turnos-fecha-mes {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--rose-deep);
    margin-bottom: 2px;
}

.mis-turnos-fecha-anio {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-mute);
}

/* === Info del turno (centro) === */
.mis-turnos-info {
    min-width: 0;
}

.mis-turnos-hora {
    display: flex;
    align-items: center;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    margin-bottom: 8px;
}

.mis-turnos-duracion {
    color: var(--text-mute);
    font-size: 12px;
    font-weight: 400;
    margin-left: 8px;
}

.mis-turnos-trat {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--base);
    margin: 0 0 10px;
}

.mis-turnos-motivo,
.mis-turnos-notas {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-mute);
    margin: 8px 0 0;
}

.mis-turnos-motivo strong {
    font-weight: 500;
    color: var(--base);
}

.mis-turnos-notas em {
    font-style: italic;
    color: var(--rose-deep);
}

/* === Badge de estado === */
.badge-estado {
    display: inline-block;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 40px;
    border: 1px solid;
}

.badge-estado-success {
    background: rgba(107, 142, 90, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.badge-estado-warning {
    background: rgba(168, 101, 76, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.badge-estado-danger {
    background: rgba(201, 155, 155, 0.15);
    border-color: var(--rose-deep);
    color: var(--rose-deep);
}

.badge-estado-info,
.badge-estado-primary {
    background: rgba(201, 155, 155, 0.12);
    border-color: var(--rose-deep);
    color: var(--rose-deep);
}

.badge-estado-muted,
.badge-estado-secondary {
    background: var(--bg-deep);
    border-color: var(--accent);
    color: var(--text-mute);
}

/* === Acciones (botón cancelar) === */
.mis-turnos-acciones {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.btn-cancelar-turno {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: transparent;
    color: var(--warning);
    border: 1px solid var(--warning);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 40px;
    transition: all 0.3s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-cancelar-turno:hover {
    background: var(--warning);
    color: var(--bg);
}

/* Paginación */
.mis-turnos-paginacion {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}


/* ==========================================================================
   21f. PANEL CLIENTE — Cancelar Turno
   ========================================================================== */

.cancelar-turno-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.cancelar-turno-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 36px 40px;
    box-shadow: var(--shadow-sm);
}

/* Resumen del turno a cancelar */
.cancelar-turno-resumen {
    padding: 24px 28px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    margin-bottom: 28px;
}

.cancelar-turno-resumen-titulo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 16px;
}

.resumen-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

.resumen-row:last-child {
    border-bottom: none;
}

.resumen-lbl {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.resumen-val {
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    text-align: right;
}

/* Nota informativa */
.cancelar-turno-nota {
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-mute);
}

/* Botones de acción */
.cancelar-turno-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-cancelar-confirmar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--warning);
    color: var(--bg);
    border: 1px solid var(--warning);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s;
}

.btn-cancelar-confirmar:hover {
    background: #8B5340;
    border-color: #8B5340;
    transform: translateY(-2px);
}


/* ==========================================================================
   21g. PANEL CLIENTE — Cancelación recibida
   ========================================================================== */

.confirmacion-wrap {
    max-width: 600px;
    margin: 0 auto;
}

.confirmacion-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 48px 40px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.confirmacion-icono {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(107, 142, 90, 0.15), rgba(107, 142, 90, 0.05));
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirmacion-titulo {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 400;
    color: var(--base);
    margin-bottom: 16px;
}

.confirmacion-desc {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-mute);
    margin-bottom: 32px;
}

.confirmacion-desc strong {
    font-weight: 500;
    color: var(--base);
}

/* Detalle */
.confirmacion-detalle {
    background: var(--bg-deep);
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 32px;
    text-align: left;
}

.detalle-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.detalle-item:last-child {
    border-bottom: none;
}

.detalle-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
    flex-shrink: 0;
}

.detalle-valor {
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    text-align: right;
}

.detalle-valor--italic {
    font-style: italic;
    font-weight: 400;
    color: var(--rose-deep);
}

.confirmacion-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}


/* === Responsive Turnos === */
@media (max-width: 720px) {
    .mis-turnos-tabs {
        width: 100%;
        justify-content: center;
    }
    .mis-turnos-tab {
        flex: 1;
        justify-content: center;
        padding: 10px 12px;
    }
    .mis-turnos-card {
        grid-template-columns: 80px 1fr;
        gap: 16px;
        padding: 20px;
    }
    .mis-turnos-acciones {
        grid-column: 1 / -1;
        flex-direction: row;
        margin-top: 8px;
    }
    .mis-turnos-fecha-dia {
        font-size: 28px;
    }
    .mis-turnos-trat {
        font-size: 18px;
    }
    .cancelar-turno-card,
    .confirmacion-card {
        padding: 28px 22px;
    }
    .cancelar-turno-resumen {
        padding: 20px 22px;
    }
    .resumen-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .resumen-val {
        text-align: left;
    }
    .cancelar-turno-acciones {
        flex-direction: column-reverse;
    }
    .cancelar-turno-acciones > * {
        width: 100%;
        text-align: center;
    }
    .confirmacion-acciones {
        flex-direction: column;
    }
    .confirmacion-acciones > * {
        width: 100%;
    }
    .detalle-item {
        flex-direction: column;
        gap: 2px;
        align-items: flex-start;
    }
    .detalle-valor {
        text-align: left;
    }
}




/* ==========================================================================
   21h. PANEL CLIENTE — Mis Pedidos (lista)
   ========================================================================== */

.mis-pedidos-wrap {
    max-width: 1000px;
    margin: 0 auto;
}

/* Toolbar arriba */
.mis-pedidos-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.mis-pedidos-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: var(--base);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--base);
    transition: all 0.35s;
    text-decoration: none;
}

.mis-pedidos-action:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

/* === Tabs (Activos / Pendientes / Completados / Cancelados) === */
.cliente-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 4px;
    width: fit-content;
    flex-wrap: wrap;
}

.cliente-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    border-radius: 40px;
    transition: all 0.3s;
    text-decoration: none;
}

.cliente-tab:hover {
    color: var(--base);
}

.cliente-tab-activo {
    background: var(--base);
    color: var(--bg);
}

.cliente-tab-activo:hover {
    color: var(--bg);
}

.cliente-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    background: var(--rose);
    color: var(--base);
    border-radius: 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
}

.cliente-tab-activo .cliente-tab-count {
    background: var(--rose-soft);
}

/* === Empty state === */
.carrito-vacio {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.mis-pedidos-empty-icon {
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 24px;
}

.carrito-vacio h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 12px;
}

.carrito-vacio p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin-bottom: 28px;
}

/* === Lista de pedidos === */
.mis-pedidos-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mis-pedidos-card {
    display: block;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 22px 26px;
    text-decoration: none;
    color: var(--base);
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.mis-pedidos-card:hover {
    border-color: var(--rose-deep);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--base);
}

.mis-pedidos-card--novedad {
    border-left: 4px solid var(--rose-deep);
    box-shadow: 0 4px 16px rgba(201, 155, 155, 0.15);
}

/* Header de la card */
.mis-pedidos-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.mis-pedidos-numero {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--base);
}

.badge-novedad {
    display: inline-block;
    margin-left: 10px;
    padding: 3px 10px;
    background: var(--rose-deep);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 40px;
    vertical-align: middle;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

/* Body de la card */
.mis-pedidos-card-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
    margin-bottom: 14px;
}

.mis-pedidos-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 16px;
}

.mis-pedidos-info > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mis-pedidos-info .label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.mis-pedidos-info span:not(.label) {
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
}

.mis-pedidos-total strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--base);
}

/* Preview de items */
.mis-pedidos-items-preview {
    padding-left: 20px;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-preview {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-mute);
    line-height: 1.5;
}

.item-preview--mas {
    font-style: italic;
    font-weight: 500;
    color: var(--rose-deep);
}

/* Footer de la card */
.mis-pedidos-card-footer {
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: right;
}

.mis-pedidos-ver {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose-deep);
    transition: gap 0.3s;
}

.mis-pedidos-card:hover .mis-pedidos-ver {
    letter-spacing: 0.2em;
}

/* Paginación */
.mis-pedidos-paginacion {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}


/* ==========================================================================
   21i. PANEL CLIENTE — Pedido Detalle
   ========================================================================== */

/* === Breadcrumb === */
.breadcrumb-wrap {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 100px 0 16px;
    font-size: 12px;
}

.breadcrumb-wrap .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-wrap a {
    color: var(--text-mute);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 400;
}

.breadcrumb-wrap a:hover {
    color: var(--rose-deep);
}

.breadcrumb-sep {
    color: var(--rose-deep);
    font-size: 8px;
    opacity: 0.6;
}

.breadcrumb-current {
    color: var(--base);
    font-weight: 500;
}

/* === Header del pedido === */
.pedido-detalle-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.pedido-detalle-titulo {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--base);
    margin: 0 0 6px;
}

.pedido-detalle-titulo em {
    color: var(--rose-deep);
    font-style: italic;
    font-weight: 400;
}

.pedido-detalle-fecha {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    margin: 0;
}

.badge-estado-grande {
    padding: 7px 18px;
    font-size: 11px;
}

/* === Timeline === */
.pedido-timeline {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    padding: 24px 28px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow-x: auto;
}

.timeline-paso {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-deep);
    border-radius: 4px;
    opacity: 0.55;
    position: relative;
    transition: all 0.3s;
}

.timeline-paso--completado {
    opacity: 1;
    background: rgba(232, 196, 196, 0.18);
    border-left: 3px solid var(--rose-deep);
}

.timeline-paso--error {
    background: rgba(168, 101, 76, 0.1);
    border-left: 3px solid var(--warning);
}

.timeline-icono {
    font-size: 24px;
    flex-shrink: 0;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.timeline-content strong {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    color: var(--base);
}

.timeline-fecha {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-mute);
}

/* === Feedback boxes (mensaje según estado) === */
.pedido-feedback {
    margin: 20px 0;
}

.pedido-feedback-action {
    margin-top: 10px;
}

/* Variante info para auth-feedback (azul/info) */
.auth-feedback--info {
    background: rgba(201, 155, 155, 0.1);
    border-color: var(--rose-deep);
    color: var(--base);
}

/* === Grid del detalle (Productos | Modalidad) === */
.pedido-detalle-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.pedido-detalle-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
}

.pedido-card-titulo {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.pedido-card-subtitulo {
    margin-top: 20px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 6px;
}

/* === Items del pedido === */
.pedido-item-row {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.pedido-item-row:first-of-type {
    padding-top: 0;
}

.pedido-item-row:last-of-type {
    border-bottom: none;
}

.pedido-item-img {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-deep);
    border: 1px solid var(--line);
}

.pedido-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrito-item-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.pedido-item-info {
    min-width: 0;
}

.pedido-item-info strong {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    line-height: 1.3;
    display: block;
}

.pedido-item-info small {
    font-size: 12px;
    color: var(--text-mute);
    font-weight: 300;
}

.pedido-item-cant {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-mute);
}

.pedido-item-subtotal {
    text-align: right;
    white-space: nowrap;
}

.pedido-item-subtotal strong {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--base);
}

/* === Totales === */
.pedido-detalle-totales {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 2px solid var(--line);
}

.resumen-linea {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-mute);
}

.resumen-linea--total {
    padding-top: 14px;
    margin-top: 6px;
    border-top: 1px solid var(--line);
    font-size: 16px;
    color: var(--base);
}

.resumen-linea--total span {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--base);
}

.resumen-linea--total strong {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    color: var(--base);
}

/* === Modalidad (card derecha) === */
.pedido-detalle-card p {
    font-size: 14px;
    font-weight: 400;
    color: var(--base);
    margin: 6px 0;
}

.pedido-modalidad-direccion {
    color: var(--text-mute);
    font-weight: 400;
}

.pedido-modalidad-horario {
    color: var(--text-mute);
    font-size: 13px;
    font-weight: 300;
}

.pedido-modalidad-detalle {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    line-height: 1.5;
}

.pedido-modalidad-detalle a {
    color: var(--rose-deep);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.pedido-modalidad-detalle a:hover {
    border-bottom-color: var(--rose-deep);
}

/* === Acciones bottom === */
.pedido-detalle-acciones {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Botón "Cancelar pedido" (vaciar) */
.btn-vaciar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    background: transparent;
    color: var(--warning);
    border: 1px solid var(--warning);
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-vaciar:hover {
    background: var(--warning);
    color: var(--bg);
}


/* === Responsive Pedidos === */
@media (max-width: 768px) {
    .cliente-tabs {
        width: 100%;
        justify-content: center;
    }
    .cliente-tab {
        flex: 1 1 calc(50% - 4px);
        justify-content: center;
        padding: 10px 12px;
    }
    .mis-pedidos-card {
        padding: 18px 20px;
    }
    .mis-pedidos-card-body {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .mis-pedidos-items-preview {
        padding-left: 0;
        padding-top: 14px;
        border-left: none;
        border-top: 1px solid var(--line);
    }
    .mis-pedidos-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .pedido-detalle-header {
        align-items: flex-start;
    }
    .pedido-timeline {
        flex-direction: column;
        gap: 12px;
        padding: 18px 20px;
    }
    .timeline-paso {
        min-width: 0;
    }
    .pedido-detalle-grid {
        grid-template-columns: 1fr;
    }
    .pedido-detalle-card {
        padding: 22px 22px;
    }
    .pedido-item-row {
        grid-template-columns: 56px 1fr;
        gap: 12px;
    }
    .pedido-item-subtotal {
        grid-column: 2;
        text-align: left;
    }
    .pedido-detalle-acciones {
        flex-direction: column;
    }
    .pedido-detalle-acciones > * {
        width: 100%;
        text-align: center;
    }
}




/* ==========================================================================
   21j. TIENDA — Catálogo + Componente producto-card
   ========================================================================== */

/* === Filtros superiores (buscador + orden) === */
.tienda-filtros {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.tienda-buscador {
    display: flex;
    align-items: stretch;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    transition: border-color 0.3s;
}

.tienda-buscador:focus-within {
    border-color: var(--rose-deep);
}

.tienda-buscador-input {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--base);
}

.tienda-buscador-input::placeholder {
    color: var(--text-mute);
}

.tienda-buscador-input:focus {
    outline: none;
}

.tienda-buscador-btn {
    background: var(--base);
    color: var(--bg);
    border: none;
    padding: 0 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.tienda-buscador-btn:hover {
    background: var(--rose-deep);
}

.tienda-orden {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tienda-orden label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.tienda-orden select {
    padding: 10px 36px 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 40px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--base);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C99B9B' stroke-width='2' stroke-linecap='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
    transition: border-color 0.3s;
}

.tienda-orden select:focus {
    outline: none;
    border-color: var(--rose-deep);
}

/* === Layout (sidebar + contenido) === */
.tienda-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

/* === Sidebar de categorías === */
.tienda-sidebar {
    position: sticky;
    top: 100px;
}

.tienda-sidebar-section {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 22px;
}

.tienda-sidebar-titulo {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.tienda-sidebar-lista {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tienda-sidebar-lista li {
    margin-bottom: 4px;
}

.tienda-sidebar-lista a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--base);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.tienda-sidebar-lista a:hover {
    background: var(--bg-deep);
    color: var(--rose-deep);
}

.tienda-sidebar-lista a span {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-mute);
}

.tienda-sidebar-activo {
    background: var(--base) !important;
    color: var(--bg) !important;
    font-weight: 500;
}

.tienda-sidebar-activo span {
    color: rgba(245, 242, 236, 0.7) !important;
}

/* === Header de resultados === */
.tienda-resultados-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.tienda-resultados-cant {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
}

.tienda-limpiar {
    display: inline-block;
    margin-left: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--rose-deep);
    border-bottom: 1px solid var(--rose-deep);
    text-decoration: none;
    transition: all 0.3s;
}

.tienda-limpiar:hover {
    color: var(--base);
    border-bottom-color: var(--base);
}

/* === Empty state === */
.tienda-vacio {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
}

.tienda-empty-icon {
    color: var(--accent);
    opacity: 0.35;
    margin-bottom: 24px;
}

.tienda-vacio h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--base);
    margin-bottom: 12px;
}

.tienda-vacio p {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin-bottom: 28px;
}

/* === Grilla de productos === */
.tienda-grilla {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tienda-paginacion {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

/* === COMPONENTE producto-card === */
.producto-card {
    display: flex;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    color: var(--base);
    position: relative;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--rose-deep);
    color: var(--base);
}

.producto-card--agotado {
    opacity: 0.7;
}

.producto-card--agotado .producto-card-imagen {
    filter: grayscale(0.5);
}

/* Badges (arriba a la izquierda) */
.producto-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.producto-badge {
    display: inline-block;
    padding: 4px 10px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 40px;
    color: var(--bg);
    background: var(--base);
}

.producto-badge--custom {
    background: var(--rose);
    color: var(--base);
}

.producto-badge--promo {
    background: var(--rose-deep);
    color: var(--bg);
}

.producto-badge--agotado {
    background: var(--text-mute);
    color: var(--bg);
}

/* Imagen */
.producto-card-imagen {
    aspect-ratio: 1/1;
    background: var(--bg-deep);
    overflow: hidden;
}

.producto-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.producto-card:hover .producto-card-imagen img {
    transform: scale(1.06);
}

.producto-card-noimg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-deep), var(--accent-soft));
    color: var(--accent);
}

/* Info (cuerpo) */
.producto-card-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.producto-card-marca {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

.producto-card-nombre {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--base);
    margin: 0;
}

.producto-card-desc {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-mute);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.producto-card-precio {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.precio-original {
    font-family: var(--serif);
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    text-decoration: line-through;
}

.precio-promo,
.precio-normal {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 500;
    color: var(--base);
    line-height: 1;
}

.precio-promo {
    color: var(--rose-deep);
}

.producto-card-stock-bajo {
    margin-top: 6px;
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    color: var(--warning);
    font-style: italic;
}


/* ==========================================================================
   21k. TIENDA — Detalle del producto
   ========================================================================== */

/* Layout 2 columnas */
.producto-detalle {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 60px;
}

/* === Galería === */
.producto-galeria {
    position: sticky;
    top: 100px;
}

.producto-galeria-principal {
    aspect-ratio: 1/1;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}

.producto-galeria-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-galeria-vacia {
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-galeria-vacia-icon {
    color: var(--accent);
    opacity: 0.35;
}

/* Badge sobre la imagen principal */
.producto-detalle-etiqueta,
.producto-detalle-promo {
    position: absolute;
    padding: 6px 14px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 40px;
    z-index: 2;
}

.producto-detalle-etiqueta {
    top: 16px;
    left: 16px;
    background: var(--rose);
    color: var(--base);
}

.producto-detalle-promo {
    top: 16px;
    right: 16px;
    background: var(--rose-deep);
    color: var(--bg);
}

/* Miniaturas */
.producto-galeria-miniaturas {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.producto-miniatura {
    aspect-ratio: 1/1;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-deep);
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.3s;
}

.producto-miniatura:hover {
    border-color: var(--rose);
}

.producto-miniatura-activa {
    border-color: var(--rose-deep);
}

.producto-miniatura img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Info derecha === */
.producto-info {
    padding-top: 4px;
}

.producto-info-categoria {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.producto-info-categoria:hover {
    border-bottom-color: var(--rose-deep);
}

.producto-info-titulo {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 300;
    line-height: 1.1;
    color: var(--base);
    margin: 0 0 8px;
    letter-spacing: -0.015em;
}

.producto-info-marca {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin: 0 0 24px;
}

.producto-info-marca strong {
    font-weight: 500;
    color: var(--base);
}

/* === Bloque de precio === */
.producto-info-precio-bloque {
    padding: 18px 22px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: 18px;
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.producto-info-precio-original {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 300;
    color: var(--text-mute);
    text-decoration: line-through;
}

.producto-info-precio-promo,
.producto-info-precio-normal {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 400;
    color: var(--base);
    line-height: 1;
}

.producto-info-precio-promo {
    color: var(--rose-deep);
}

.producto-info-ahorro {
    flex-basis: 100%;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--success);
    letter-spacing: 0.1em;
}

/* === Stock === */
.producto-info-stock {
    margin-bottom: 22px;
}

.stock-badge {
    display: inline-block;
    padding: 5px 14px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 40px;
    border: 1px solid;
}

.stock-badge--ok {
    background: rgba(107, 142, 90, 0.1);
    border-color: var(--success);
    color: var(--success);
}

.stock-badge--bajo {
    background: rgba(168, 101, 76, 0.1);
    border-color: var(--warning);
    color: var(--warning);
}

.stock-badge--agotado {
    background: var(--bg-deep);
    border-color: var(--text-mute);
    color: var(--text-mute);
}

.stock-help {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
}

/* === Resumen (descripción corta) === */
.producto-info-resumen {
    padding: 16px 20px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--base);
    margin-bottom: 24px;
}

/* === Acciones (cantidad + botón comprar) === */
.producto-info-acciones {
    margin-bottom: 24px;
}

.form-agregar-carrito {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Selector de cantidad */
.cantidad-selector {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cantidad-selector label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.cantidad-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--base);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cantidad-btn:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
}

.cantidad-input {
    width: 50px;
    padding: 8px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: var(--base);
}

.cantidad-input:focus {
    outline: none;
    border-color: var(--rose-deep);
}

/* Quitar flechas del input number */
.cantidad-input::-webkit-outer-spin-button,
.cantidad-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cantidad-input[type=number] {
    -moz-appearance: textfield;
}

/* Botón comprar */
.btn-comprar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s;
    text-decoration: none;
}

.btn-comprar:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

.btn-comprar-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: var(--bg-deep);
    color: var(--text-mute);
    border: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: not-allowed;
}

/* === Datos extra (código, peso) === */
.producto-info-extra {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.extra-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.extra-row > span:first-child {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.extra-row > span:last-child {
    font-weight: 500;
    color: var(--base);
}

/* === Descripción larga === */
.producto-descripcion-larga {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.producto-descripcion-titulo {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 300;
    color: var(--base);
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: -0.015em;
}

.producto-descripcion-titulo em {
    color: var(--rose-deep);
    font-style: italic;
    font-weight: 400;
}

.producto-descripcion-texto {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--text-mute);
}

/* === Productos relacionados === */
.productos-relacionados {
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.productos-relacionados-titulo {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 300;
    color: var(--base);
    text-align: center;
    margin: 0 0 32px;
    letter-spacing: -0.015em;
}

.productos-relacionados-titulo em {
    color: var(--rose-deep);
    font-style: italic;
    font-weight: 400;
}


/* === Responsive Tienda === */
@media (max-width: 1100px) {
    .tienda-layout {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    .tienda-grilla {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tienda-layout {
        grid-template-columns: 1fr;
    }
    .tienda-sidebar {
        position: static;
    }
    .tienda-filtros {
        flex-direction: column;
        align-items: stretch;
    }
    .tienda-buscador {
        max-width: 100%;
    }
    .tienda-orden {
        justify-content: space-between;
    }
    .tienda-grilla {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .producto-card-info {
        padding: 14px 14px;
    }
    .producto-card-nombre {
        font-size: 15px;
    }

    .producto-detalle {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .producto-galeria {
        position: static;
    }
    .producto-info-precio-bloque {
        padding: 14px 18px;
    }
    .producto-info-precio-promo,
    .producto-info-precio-normal {
        font-size: 30px;
    }
    .producto-galeria-miniaturas {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .tienda-grilla {
        grid-template-columns: 1fr;
    }
}




/* ==========================================================================
   21l. CARRITO — Lista de items
   ========================================================================== */

.carrito-vacio-icon {
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 24px;
}

/* Layout (items izquierda + resumen derecha) */
.carrito-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: start;
}

.carrito-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.carrito-problema-alert {
    margin-bottom: 16px;
}

/* === Item del carrito === */
.carrito-item {
    display: grid;
    grid-template-columns: 96px 1fr auto auto 36px;
    gap: 20px;
    align-items: center;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 18px 22px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.carrito-item:hover {
    box-shadow: var(--shadow-sm);
}

.carrito-item--problema {
    border-color: var(--warning);
    background: rgba(168, 101, 76, 0.04);
}

.carrito-item-imagen {
    width: 96px;
    height: 96px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-deep);
    border: 1px solid var(--line);
}

.carrito-item-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carrito-item-info {
    min-width: 0;
}

.carrito-item-nombre {
    display: block;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--base);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.carrito-item-nombre:hover {
    color: var(--rose-deep);
}

.carrito-item-marca {
    display: inline-block;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-bottom: 6px;
}

.carrito-item-precio {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
}

.carrito-item-error {
    margin-top: 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--warning);
}

/* Cantidad form */
.carrito-cantidad-form {
    display: flex;
    align-items: center;
    gap: 6px;
}

.carrito-item-subtotal {
    text-align: right;
    white-space: nowrap;
}

.carrito-item-subtotal strong {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--base);
}

/* Botón quitar (X) */
.btn-quitar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: var(--text-mute);
    border: 1px solid var(--line);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-quitar:hover {
    background: var(--warning);
    border-color: var(--warning);
    color: var(--bg);
}

/* Acciones secundarias (Seguir / Vaciar) */
.carrito-acciones-secundarias {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* === Resumen lateral (carrito + checkout) === */
.carrito-resumen,
.checkout-resumen,
.como-pagar-resumen {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 26px;
    position: sticky;
    top: 100px;
}

.carrito-resumen-titulo,
.checkout-resumen-titulo {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.resumen-divider {
    border: none;
    border-top: 1px solid var(--line);
    margin: 14px 0;
    height: 1px;
}

.resumen-linea--muted {
    font-size: 12px;
    color: var(--text-mute);
    font-style: italic;
}

.resumen-help {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 300;
    color: var(--text-mute);
    text-align: center;
    line-height: 1.5;
}

/* Botón checkout (Finalizar compra) */
.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 20px;
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.35s;
}

.btn-checkout:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

.btn-checkout-disabled,
.btn-checkout-disabled:hover {
    background: var(--bg-deep);
    color: var(--text-mute);
    border-color: var(--line);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    pointer-events: none;
}


/* ==========================================================================
   21m. CHECKOUT — Formulario + resumen
   ========================================================================== */

.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 28px;
}

.checkout-card-titulo {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

/* Info del cliente */
.checkout-cliente-info p {
    margin: 4px 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--base);
}

.checkout-cliente-info p:first-child {
    font-weight: 500;
}

.checkout-cliente-info .text-warning {
    color: var(--warning);
    font-size: 13px;
    font-weight: 400;
    margin-top: 10px;
    padding: 10px 14px;
    background: rgba(168, 101, 76, 0.08);
    border-left: 3px solid var(--warning);
    border-radius: 4px;
}

.checkout-cliente-info .text-warning a {
    color: var(--warning);
    border-bottom: 1px solid var(--warning);
    text-decoration: none;
    font-weight: 500;
}

/* === Modalidad (radios) === */
.modalidad-opcion {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.modalidad-opcion:has(input[type="radio"]:checked) {
    background: var(--bg);
    border-color: var(--rose-deep);
    box-shadow: 0 4px 16px rgba(201, 155, 155, 0.15);
}

.modalidad-opcion:last-child {
    margin-bottom: 0;
}

.modalidad-opcion input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--rose-deep);
    margin-top: 2px;
    flex-shrink: 0;
}

.modalidad-contenido {
    flex: 1;
    min-width: 0;
}

.modalidad-titulo {
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 500;
    color: var(--base);
    margin-bottom: 4px;
}

.modalidad-desc {
    font-size: 12px;
    font-weight: 300;
    line-height: 1.55;
    color: var(--text-mute);
}

.modalidad-sin-costo {
    color: var(--success);
    font-weight: 600;
}

/* Errores en formulario */
.checkout-errores-lista {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

.checkout-errores-lista li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 13px;
}

.checkout-errores-lista li::before {
    content: '◆';
    position: absolute;
    left: 4px;
    top: 9px;
    color: var(--warning);
    font-size: 7px;
}

/* === Resumen de checkout (derecha) === */
.checkout-items {
    margin-bottom: 14px;
    max-height: 240px;
    overflow-y: auto;
    padding-right: 4px;
}

.checkout-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    align-items: baseline;
    font-size: 13px;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-cantidad {
    font-family: var(--sans);
    font-weight: 600;
    color: var(--rose-deep);
}

.checkout-item-nombre {
    font-weight: 400;
    color: var(--base);
    line-height: 1.3;
}

.checkout-item-subtotal {
    font-weight: 500;
    color: var(--base);
    white-space: nowrap;
}

.btn-checkout-final {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 18px;
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.35s;
}

.btn-checkout-final:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 155, 155, 0.3);
}

.checkout-help {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 300;
    text-align: center;
    color: var(--text-mute);
}


/* ==========================================================================
   21n. CÓMO PAGAR — Transferencia + comprobante
   ========================================================================== */

.como-pagar-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.como-pagar-rechazo-wrap {
    margin-bottom: 20px;
}

.como-pagar-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.como-pagar-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
}

.como-pagar-titulo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.como-pagar-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rose-deep);
    color: var(--bg);
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;
}

.como-pagar-helper {
    color: var(--text-mute);
    font-size: 13px;
    font-weight: 300;
    margin: 0 0 16px;
    font-style: italic;
}

.como-pagar-helper--mini {
    margin: 0 0 8px;
}

.como-pagar-file-input {
    margin-bottom: 16px;
}

/* === Caja de datos bancarios === */
.como-pagar-banco {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 26px;
}

.banco-monto {
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 2px dashed var(--accent);
}

.banco-monto-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 4px;
}

.banco-monto-valor {
    display: block;
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--base);
    line-height: 1.1;
}

.banco-datos {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.banco-fila {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.banco-fila:last-of-type {
    border-bottom: none;
}

.banco-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
}

.banco-valor {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--base);
    word-break: break-all;
}

/* Valor copiable */
.banco-copy {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px;
    background: var(--bg);
    border: 1px dashed var(--rose-deep);
    border-radius: 4px;
    transition: all 0.3s;
}

.banco-copy:hover {
    border-color: var(--rose-deep);
    border-style: solid;
    background: var(--rose-soft);
}

.banco-copy-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    line-height: 1;
}

.banco-instrucciones {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--rose-soft);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--base);
}

/* Acciones bottom */
.como-pagar-acciones {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* Info de modalidad en aside */
.como-pagar-modalidad-info {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-mute);
    margin-top: 12px;
}

.como-pagar-modalidad-info strong {
    font-weight: 500;
    color: var(--base);
}


/* ==========================================================================
   21o. CHECKOUT PENDIENTE + PAGO PROCESANDO
   ========================================================================== */

/* Detalle alineado a izquierda */
.confirmacion-detalle--left {
    text-align: left;
}

/* Item de total destacado */
.detalle-item--total-destacado {
    border-top: 2px solid var(--rose-deep);
    padding-top: 12px;
    margin-top: 12px;
}

.detalle-total-monto {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--base);
}

/* Icono de confirmación en rosa */
.confirmacion-icono--rose {
    background: linear-gradient(135deg, var(--rose-soft), rgba(232, 196, 196, 0.3));
    color: var(--rose-deep);
}

/* Info al pie del pago procesando */
.pago-procesando-info {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    line-height: 1.5;
}


/* === Responsive Carrito + Checkout === */
@media (max-width: 1024px) {
    .carrito-layout,
    .checkout-layout,
    .como-pagar-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .carrito-resumen,
    .checkout-resumen,
    .como-pagar-resumen {
        position: static;
    }
}

@media (max-width: 768px) {
    .carrito-item {
        grid-template-columns: 70px 1fr auto;
        gap: 12px;
        padding: 14px;
    }
    .carrito-item-imagen {
        width: 70px;
        height: 70px;
    }
    .carrito-item-cantidad,
    .carrito-item-subtotal,
    .carrito-item-quitar {
        grid-column: 2 / -1;
    }
    .carrito-item-cantidad {
        margin-top: 6px;
    }
    .carrito-item-subtotal {
        text-align: right;
        margin-top: 6px;
    }
    .carrito-item-quitar {
        position: absolute;
        top: 12px;
        right: 12px;
    }
    .carrito-item {
        position: relative;
    }
    .carrito-acciones-secundarias {
        flex-direction: column;
        align-items: stretch;
    }
    .carrito-acciones-secundarias > * {
        text-align: center;
    }

    .checkout-card,
    .como-pagar-card {
        padding: 20px 22px;
    }
    .banco-fila {
        grid-template-columns: 1fr;
        gap: 2px;
        padding: 8px 0;
    }
    .banco-valor {
        font-size: 13px;
    }
    .como-pagar-acciones {
        flex-direction: column;
    }
    .como-pagar-acciones > * {
        width: 100%;
        text-align: center;
    }
    .banco-monto-valor {
        font-size: 28px;
    }
}




/* ==========================================================================
   21p. RESERVAR TURNO — Wizard de 4 pasos
   ========================================================================== */

.reserva-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* === Paso individual === */
.reserva-paso {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 32px 36px;
    margin-bottom: 18px;
    position: relative;
    transition: opacity 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.reserva-paso:last-child {
    margin-bottom: 0;
}

.reserva-paso-deshabilitado {
    opacity: 0.5;
    pointer-events: none;
}

.reserva-paso:not(.reserva-paso-deshabilitado):hover {
    border-color: var(--rose-deep);
    box-shadow: 0 8px 24px rgba(201, 155, 155, 0.1);
}

/* Número del paso (círculo grande arriba a la izq) */
.reserva-paso-numero {
    position: absolute;
    top: -16px;
    left: 28px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--rose-deep);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(201, 155, 155, 0.3);
    z-index: 1;
}

.reserva-paso-titulo {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--base);
    margin: 0 0 18px;
}

.reserva-paso-hint {
    margin-top: 10px;
    padding: 10px 14px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 400;
    color: var(--base);
}

.reserva-paso-hint span {
    font-weight: 500;
    color: var(--rose-deep);
}

.reserva-paso-info {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-mute);
}


/* === Calendario === */
.calendario-wrap {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 20px;
}

.calendario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.cal-nav {
    background: transparent;
    color: var(--base);
    border: 1px solid var(--line);
    padding: 8px 14px;
    border-radius: 40px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.cal-nav:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
}

.cal-titulo {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--base);
    text-align: center;
    flex: 1;
}

/* Cabecera de días (L M M J V S D) */
.calendario-dias-cabecera {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 8px;
}

.calendario-dias-cabecera > div {
    text-align: center;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose-deep);
    padding: 6px 0;
}

/* Grilla de días */
.calendario-dias {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

/* Estado inicial / loading / error dentro de la grilla */
.cal-estado-inicial {
    grid-column: span 7;
    padding: 30px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    font-style: italic;
}

.cal-estado-inicial--error {
    color: var(--warning);
    font-style: normal;
    font-weight: 500;
}

/* Día del calendario */
.cal-dia {
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--base);
    transition: all 0.25s;
    cursor: default;
    user-select: none;
}

.cal-dia-vacio {
    visibility: hidden;
}

.cal-dia-bloqueado {
    color: var(--text-mute);
    opacity: 0.35;
    cursor: not-allowed;
    text-decoration: line-through;
}

.cal-dia-disponible {
    background: var(--bg);
    border: 1px solid var(--line);
    cursor: pointer;
    font-weight: 500;
}

.cal-dia-disponible:hover {
    background: var(--rose);
    border-color: var(--rose);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 155, 155, 0.2);
}

.cal-dia-seleccionado,
.cal-dia-disponible.cal-dia-seleccionado {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    font-weight: 600;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 155, 155, 0.4);
}


/* === Slots de horarios === */
.slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.slots-estado-inicial {
    grid-column: span 4;
    padding: 30px 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    font-style: italic;
}

.slots-estado-inicial--error {
    color: var(--warning);
    font-style: normal;
    font-weight: 500;
}

.slot-btn {
    padding: 12px 8px;
    background: var(--bg);
    color: var(--base);
    border: 1px solid var(--line);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.slot-btn:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 155, 155, 0.2);
}

.slot-btn-seleccionado,
.slot-btn.slot-btn-seleccionado {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 155, 155, 0.4);
}


/* === Resumen del paso 4 === */
.reserva-resumen {
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.resumen-item {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 400;
    color: var(--base);
    line-height: 1.5;
}

.resumen-item strong {
    display: inline-block;
    min-width: 110px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

/* Wrappers de paso 4 */
.reserva-notas-wrap {
    margin-top: 20px;
}

.reserva-confirmar-wrap {
    margin-top: 24px;
    text-align: center;
}

.reserva-confirmar-help {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 300;
    color: var(--text-mute);
    line-height: 1.5;
}

/* Botón disabled del wizard */
.reserva-confirmar-wrap .btn-auth-submit:disabled,
#btnReservar:disabled {
    background: var(--bg-deep);
    color: var(--text-mute);
    border-color: var(--line);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.65;
}


/* === Responsive Reservar === */
@media (max-width: 640px) {
    .reserva-paso {
        padding: 22px 20px;
    }
    .reserva-paso-numero {
        left: 20px;
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
    .reserva-paso-titulo {
        font-size: 18px;
    }
    .calendario-wrap {
        padding: 14px 12px;
    }
    .calendario-header {
        flex-direction: column;
        gap: 10px;
    }
    .cal-titulo {
        order: -1;
        font-size: 16px;
    }
    .cal-nav {
        font-size: 10px;
        padding: 6px 12px;
    }
    .cal-dia {
        font-size: 12px;
    }
    .slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .slot-btn {
        padding: 10px 6px;
        font-size: 13px;
    }
    .resumen-item strong {
        display: block;
        min-width: 0;
        margin-bottom: 2px;
    }
}

@media (max-width: 380px) {
    .slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* ==========================================================================
   30. ADMIN — Base (layout, navbar, alerts, botones globales)
   ========================================================================== */

/* === Body del admin === */
.admin-body {
    background: var(--bg-deep);
}

/* === Logout button en navbar === */
.nav-logout {
    margin: 0;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
}

.btn-logout {
    background: transparent;
    color: var(--bg);
    border: 1px solid rgba(232, 196, 196, 0.4);
    padding: 8px 16px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
}

.btn-logout-text {
    line-height: 1;
}

/* === Avatar admin en navbar === */
.nav-admin-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose), var(--rose-soft));
    overflow: hidden;
    border: 1px solid rgba(232, 196, 196, 0.4);
}

.nav-admin-avatar--imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-link-perfil {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
}

.nav-link-userhint {
    opacity: 0.5;
    font-size: 10px;
    margin-left: 8px;
    text-transform: none;
    letter-spacing: 0.04em;
    font-weight: 400;
}

/* === Badge de notificaciones (turnos/pedidos/consultas) === */
.nav-badge,
.turnos-badge-navbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--rose-deep);
    color: var(--bg);
    border-radius: 40px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.turnos-badge-navbar[hidden] {
    display: none;
}

/* === Main content === */
.admin-main {
    padding: 130px 0 80px;
    min-height: calc(100vh - 100px);
}

/* === Alerts globales del admin === */
.admin-main .alert {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 14px 20px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid;
}

.admin-main .alert-success {
    border-left-color: var(--success);
    background: rgba(107, 142, 90, 0.04);
    color: var(--base);
}

.admin-main .alert-danger {
    border-left-color: var(--warning);
    background: rgba(168, 101, 76, 0.06);
    color: var(--base);
}

.admin-main .alert strong {
    font-weight: 600;
    color: var(--base);
}

.admin-main .alert ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.admin-main .alert ul li {
    position: relative;
    padding: 3px 0 3px 18px;
    font-size: 13px;
}

.admin-main .alert ul li::before {
    content: '◆';
    position: absolute;
    left: 4px;
    top: 9px;
    color: var(--warning);
    font-size: 7px;
}

/* === Page header (título de página + acciones) === */
.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.admin-page-titulo {
    font-family: var(--serif);
    font-size: clamp(24px, 2.4vw, 30px);
    font-weight: 400;
    color: var(--base);
    line-height: 1.2;
    margin: 0 0 8px;
}

.admin-page-titulo-grande {
    font-family: var(--serif);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 400;
    color: var(--base);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin: 0 0 32px;
}

.admin-page-subtitulo {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-mute);
    margin: 0;
}

.admin-page-action-form {
    margin: 0;
}

/* === Botón admin estándar === */
.btn-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-admin:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201, 155, 155, 0.25);
}

.btn-admin--icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-admin-sm {
    padding: 7px 14px;
    font-size: 10px;
}

.btn-admin-outline {
    background: transparent;
    color: var(--base);
    border-color: var(--line);
}

.btn-admin-outline:hover {
    background: var(--base);
    border-color: var(--base);
    color: var(--bg);
}

.btn-admin-danger {
    border-color: var(--warning);
    color: var(--warning);
    background: transparent;
}

.btn-admin-danger:hover {
    background: var(--warning);
    border-color: var(--warning);
    color: var(--bg);
}

/* === Card del admin === */
.admin-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.admin-card--info {
    background: var(--bg-deep);
    border-color: var(--accent-soft);
}

.admin-card-titulo {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
}

.admin-card-titulo-mini {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin: 0 0 16px;
}


/* ==========================================================================
   31. ADMIN — Dashboard (stats + gráficos + tablas top)
   ========================================================================== */

/* === Grid de stats === */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    padding: 20px 22px;
    transition: all 0.3s;
}

.stat-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.stat-card--alert {
    border-left-color: var(--warning);
    background: rgba(168, 101, 76, 0.04);
}

.stat-card--alert .stat-num {
    color: var(--warning);
}

.stat-card .stat-num {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--base);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-card .stat-num-total {
    font-size: 18px;
    opacity: 0.4;
    font-weight: 300;
}

.stat-card .stat-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin-top: 4px;
}

/* === Sección gráficos === */
.admin-grafico-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.admin-grafico-titulo {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--base);
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.grafico-canvas-wrap {
    max-width: 300px;
    margin: 0 auto;
}

.admin-empty-msg {
    font-size: 13px;
    font-weight: 300;
    color: var(--text-mute);
    margin: 0;
    text-align: center;
    padding: 20px 0;
    font-style: italic;
}

/* === Tablas admin === */
.admin-tabla,
.admin-main table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--sans);
    font-size: 13px;
}

.admin-tabla thead th,
.admin-main table thead th {
    background: var(--bg-deep);
    color: var(--rose-deep);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.admin-tabla tbody td,
.admin-main table tbody td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    color: var(--base);
    font-weight: 400;
    vertical-align: middle;
}

.admin-tabla tbody tr:hover,
.admin-main table tbody tr:hover {
    background: rgba(232, 196, 196, 0.06);
}

.admin-tabla tbody tr:last-child td,
.admin-main table tbody tr:last-child td {
    border-bottom: none;
}

.tabla-cell-small {
    font-size: 12px;
    color: var(--text-mute);
}

.tabla-cell-meta {
    font-size: 11px;
    color: var(--text-mute);
    margin-top: 2px;
}

.text-end {
    text-align: right;
}


/* ==========================================================================
   32. ADMIN — Perfil
   ========================================================================== */

.admin-perfil-imagen-wrap {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.admin-perfil-imagen-forms {
    flex: 1;
    min-width: 280px;
}

.admin-form-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--base);
    margin-bottom: 8px;
}

.admin-form-error {
    color: var(--warning);
    font-size: 12px;
    font-weight: 400;
    margin-top: 6px;
}

.admin-form-helper {
    display: block;
    margin-top: 6px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 300;
    color: var(--text-mute);
}

.admin-mt-16 {
    margin-top: 16px;
}

.admin-form-eliminar {
    margin-top: 16px;
}

.admin-label-spaced {
    margin-top: 16px;
    display: block;
}

.perfil-valor--password {
    letter-spacing: 0.2em;
    font-family: monospace;
}

.admin-info-valor {
    font-family: var(--sans);
    font-weight: 600;
    color: var(--base);
    font-size: 15px;
}


/* === Responsive admin === */
@media (max-width: 1024px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: 1fr;
    }
    .admin-page-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-card {
        padding: 22px 22px;
    }
    .nav-logout {
        grid-column: 3;
    }
    .btn-logout-text {
        display: none;
    }
    .btn-logout {
        padding: 8px 10px;
    }
    .admin-tabla,
    .admin-main table {
        font-size: 12px;
    }
    .admin-tabla thead th,
    .admin-main table thead th {
        padding: 10px 8px;
        font-size: 9px;
    }
    .admin-tabla tbody td,
    .admin-main table tbody td {
        padding: 10px 8px;
    }
}




/* ==========================================================================
   33. ADMIN — Utilidades y clases comunes (cubren los reemplazos masivos)
   ========================================================================== */

/* === Títulos === */
.admin-titulo-cormorant {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--base);
    margin: 0;
    line-height: 1.2;
}

.admin-titulo-monts {
    font-family: var(--sans);
    font-weight: 600;
    color: var(--base);
}

.admin-titulo-fraunces {
    font-family: var(--serif);
    font-weight: 400;
    color: var(--base);
    margin: 0;
}

.admin-seccion-titulo {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--base);
    margin: 32px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.admin-subtitulo {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 13px;
    color: var(--base);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
}

.admin-helper-text {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-mute);
    margin: 0;
    line-height: 1.5;
}

/* === Mensajes (success / info / warning / error) === */
.admin-mensaje {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    border-left: 3px solid;
}

.admin-mensaje--success {
    background: rgba(107, 142, 90, 0.08);
    border-left-color: var(--success);
    color: var(--base);
}

.admin-mensaje--info {
    background: var(--bg-deep);
    border-left-color: var(--rose-deep);
    color: var(--base);
}

.admin-mensaje--warning {
    background: rgba(168, 101, 76, 0.08);
    border-left-color: var(--warning);
    color: var(--base);
}

.admin-mensaje--error {
    background: rgba(179, 58, 58, 0.06);
    border-left-color: var(--error);
    color: var(--base);
}

/* === Checkboxes & radios === */
.admin-checkbox {
    width: 16px;
    height: 16px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--rose-deep);
}

.admin-checkbox-grande {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--rose-deep);
}

.admin-checkbox-danger {
    accent-color: var(--warning);
}

.admin-check-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    font-size: 14px;
    color: var(--base);
    margin: 0;
}

.admin-check-label--small {
    font-weight: 400;
}

.admin-radio-label {
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: var(--base);
}

.admin-radio-label--bold {
    font-weight: 500;
}

/* === Tabla utilities === */
.admin-cell-meta {
    font-size: 11px;
    color: var(--text-mute);
    text-transform: none;
    letter-spacing: 0;
    margin-top: 2px;
    font-weight: 400;
}

.admin-cell-fecha {
    color: var(--text-mute);
    font-size: 13px;
    white-space: nowrap;
}

/* === Forms === */
.admin-form-inline {
    display: inline;
}

.admin-form-error {
    color: var(--warning);
    font-size: 12px;
    margin-top: 4px;
    font-weight: 400;
}

/* === Botones === */
.btn-admin-danger {
    border-color: var(--warning);
    color: var(--warning);
    background: transparent;
}

.btn-admin-danger:hover {
    background: var(--warning);
    border-color: var(--warning);
    color: var(--bg);
}

.admin-link-danger {
    background: transparent;
    color: var(--warning);
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    padding: 0;
    text-decoration: underline;
    transition: opacity 0.3s;
}

.admin-link-danger:hover {
    opacity: 0.75;
}

/* === Empty state === */
.admin-empty-block {
    color: var(--text-mute);
    text-align: center;
    padding: 40px 0;
    font-size: 14px;
    font-style: italic;
}

/* === Actions row === */
.admin-actions-row {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* === Separadores === */
.admin-hr-sep {
    border: none;
    border-top: 1px solid var(--line);
    margin: 8px 0;
}

.admin-hr-sep--md {
    margin: 16px 0 8px;
}

.admin-hr-sep--lg {
    margin: 24px 0;
}

/* === Thumbnails === */
.admin-thumb-42 {
    width: 42px;
    height: 42px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 3px;
}

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

/* === Disabled state === */
.admin-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* === Color de acento dorado (lo cambiamos a rosa-deep) === */
.admin-color-acento {
    color: var(--rose-deep);
}

/* === Info valor (datos personales) === */
.admin-info-valor {
    font-family: var(--sans);
    font-weight: 600;
    color: var(--base);
    font-size: 15px;
}

/* === Bold base === */
.admin-bold-base {
    font-weight: 600;
    color: var(--base);
}

/* === Borde lateral base === */
.admin-border-left-base {
    border-left: 3px solid var(--base);
}

/* === Borde base === */
.admin-border-base {
    border: 1px solid var(--line);
}

/* === Backgrounds === */
.admin-bg-cream {
    background: var(--bg-deep);
}

.admin-bg-light {
    background: var(--bg);
}

.admin-bg-white {
    background: #FFFFFF;
}

.admin-bg-danger-light {
    background: rgba(179, 58, 58, 0.1);
}

.admin-badge-danger-bg {
    background: rgba(179, 58, 58, 0.12);
    color: var(--error);
}

/* === Textos === */
.admin-text-base {
    color: var(--base);
}

.admin-text-muted {
    color: var(--text-mute);
}

.admin-text-danger {
    color: var(--warning);
}

.admin-text-xs {
    font-size: 11px;
}

.admin-text-sm {
    font-size: 12px;
}

.admin-text-13 {
    font-size: 13px;
}

.admin-text-14 {
    font-size: 14px;
}

.admin-text-md {
    font-size: 15px;
}

.admin-text-16 {
    font-size: 16px;
}

.admin-text-lg {
    font-size: 18px;
}

.admin-text-xl {
    font-size: 20px;
}

.admin-italic {
    font-style: italic;
}

.admin-underline {
    text-decoration: underline;
}

.admin-no-underline {
    text-decoration: none;
}

.admin-lh-relaxed {
    line-height: 1.6;
}

.admin-nowrap {
    white-space: nowrap;
}

.admin-word-break {
    word-break: break-all;
}

.admin-cursor-pointer {
    cursor: pointer;
}

/* === Widths === */
.admin-w-60 { width: 60px; }
.admin-w-80 { width: 80px; }
.admin-w-100 { width: 100px; }
.admin-w-200 { width: 200px; }
.admin-w-full { width: 100%; }
.admin-max-w-200 { max-width: 200px; }

/* === Spacings (margin) === */
.admin-mt-2 { margin-top: 2px; }
.admin-mt-4 { margin-top: 4px; }
.admin-mt-6 { margin-top: 6px; }
.admin-mt-8 { margin-top: 8px; }
.admin-mt-12 { margin-top: 12px; }
.admin-mt-16 { margin-top: 16px; }
.admin-mt-20 { margin-top: 20px; }
.admin-mt-24 { margin-top: 24px; }

.admin-mb-4 { margin-bottom: 4px; }
.admin-mb-6 { margin-bottom: 6px; }
.admin-mb-8 { margin-bottom: 8px; }
.admin-mb-10 { margin-bottom: 10px; }
.admin-mb-12 { margin-bottom: 12px; }
.admin-mb-16 { margin-bottom: 16px; }
.admin-mb-20 { margin-bottom: 20px; }
.admin-mb-24 { margin-bottom: 24px; }
.admin-mb-32 { margin-bottom: 32px; }

.admin-ml-4 { margin-left: 4px; }
.admin-ml-8 { margin-left: 8px; }
.admin-mr-4 { margin-right: 4px; }
.admin-mr-8 { margin-right: 8px; }

.admin-my-8 { margin: 8px 0; }
.admin-my-16 { margin: 16px 0; }

/* === Spacings (padding) === */
.admin-p-8 { padding: 8px; }
.admin-p-12 { padding: 12px; }
.admin-p-16 { padding: 16px; }
.admin-p-20 { padding: 20px; }
.admin-p-24 { padding: 24px; }
.admin-p-40 { padding: 40px; }
.admin-p-6-12 { padding: 6px 12px; }
.admin-p-8-12 { padding: 8px 12px; }

/* === Flex utilities === */
.admin-d-flex {
    display: flex;
}

.admin-d-block {
    display: block;
}

.admin-d-grid {
    display: grid;
}

.admin-flex-row {
    display: flex;
    align-items: center;
}

.admin-flex-1 {
    flex: 1;
}

.admin-flex-shrink-0 {
    flex-shrink: 0;
}

.admin-gap-8 { gap: 8px; }
.admin-gap-12 { gap: 12px; }
.admin-gap-16 { gap: 16px; }
.admin-flex-gap-8 { display: flex; gap: 8px; }
.admin-flex-gap-12 { display: flex; gap: 12px; }
.admin-flex-gap-16 { display: flex; gap: 16px; }

/* === UL clean === */
.admin-ul-clean {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

/* === Font weights === */
.admin-fw-500 { font-weight: 500; }
.admin-fw-600 { font-weight: 600; }

/* === Opacity === */
.admin-op-50 { opacity: 0.5; }
.admin-op-60 { opacity: 0.6; }
.admin-op-70 { opacity: 0.7; }

/* === Float === */
.admin-float-right { float: right; }

/* === Vertical align === */
.admin-va-middle { vertical-align: middle; }

/* === Rounded === */
.admin-rounded { border-radius: 4px; }
.admin-rounded-md { border-radius: 8px; }

/* === Card titulo mini === */
.admin-card-titulo-mini {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-mute);
    margin: 0 0 16px;
}

/* === Stat mini card (cards en gradient) === */
.admin-stat-mini {
    background: linear-gradient(135deg, var(--bg-deep), var(--bg));
    padding: 24px;
    border-radius: 4px;
    text-align: center;
    border: 1px solid var(--line);
}




/* ==========================================================================
   34. ADMIN — Componentes Productos / Promos / Gift Cards
   ========================================================================== */

/* === Subtítulo medium (h3 dentro de cards) === */
.admin-subtitulo-md {
    font-family: var(--sans);
    font-weight: 600;
    font-size: 16px;
    color: var(--base);
    line-height: 1.3;
    margin: 0;
}

/* === Badges admin === */
.admin-badge {
    display: inline-block;
    padding: 3px 10px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 40px;
    background: var(--bg-deep);
    color: var(--base);
    white-space: nowrap;
}

.admin-badge--success {
    background: rgba(107, 142, 90, 0.12);
    color: var(--success);
}

.admin-badge--warning {
    background: rgba(168, 101, 76, 0.12);
    color: var(--warning);
}

.admin-badge--info {
    background: rgba(201, 155, 155, 0.15);
    color: var(--rose-deep);
}

.admin-badge--muted {
    background: var(--bg-deep);
    color: var(--text-mute);
}

/* === Estrella destacado (★) === */
.admin-icon-star {
    color: var(--rose-deep);
    font-size: 14px;
}

/* === Thumbnails admin === */
.admin-thumb-placeholder {
    width: 42px;
    height: 42px;
    background: var(--bg-deep);
    flex-shrink: 0;
    border-radius: 3px;
}

.admin-thumb-60-40 {
    width: 60px;
    height: 40px;
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-mute);
}

.admin-thumb-60-40-img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 3px;
}

/* === Image preview (formularios) === */
.admin-img-preview {
    max-width: 200px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

/* === Input deshabilitado (slug auto-generado, etc) === */
.admin-input-disabled {
    background: var(--bg-deep);
    color: var(--text-mute);
    cursor: not-allowed;
}

/* === Código inline (slugs en tablas) === */
.admin-code {
    font-family: 'Monaco', 'Consolas', monospace;
    background: var(--bg-deep);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    color: var(--text-mute);
}

/* === Text utilities específicas === */
.admin-text-success {
    color: var(--success);
}

.admin-text-error-strong {
    color: var(--error);
    font-size: 11px;
    font-weight: 600;
}

.admin-min-w-0 {
    min-width: 0;
}

.admin-gap-10 {
    gap: 10px;
}

/* === TH widths para listados === */
.admin-w-50  { width: 50px; }
.admin-w-110 { width: 110px; }
.admin-w-120 { width: 120px; }
.admin-w-130 { width: 130px; }
.admin-w-180 { width: 180px; }




/* ==========================================================================
   35. ADMIN — Componentes Pedidos + Configuraciones
   ========================================================================== */

/* === Badge danger (alertas en lista de pedidos) === */
.admin-badge--danger {
    background: rgba(179, 58, 58, 0.12);
    color: var(--error);
}

.admin-badge--mini {
    font-size: 9px;
    padding: 2px 6px;
}

/* === Precio destacado (total del pedido) === */
.admin-precio-destacado {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--base);
}

/* === Card variante success (comprobante aprobado) === */
.admin-card--success {
    border-left: 3px solid var(--success);
    background: rgba(107, 142, 90, 0.04);
}

/* === Row con border-bottom (separador entre zonas en config-envío) === */
.admin-row-divider {
    border-bottom: 1px solid var(--line);
}

/* === Nombre de zona en config-envío === */
.admin-zona-nombre {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--base);
}

/* === Input prefix ($) en config-envío === */
.admin-input-prefix {
    background: var(--bg-deep);
    border-color: var(--line);
    color: var(--text-mute);
    font-weight: 500;
}

/* === Previews multimedia (configuración home) === */
.admin-video-preview {
    max-width: 320px;
    max-height: 240px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.admin-poster-preview {
    max-height: 120px;
    border: 1px solid var(--line);
    border-radius: 4px;
}




/* ==========================================================================
   36. ADMIN — Componentes Turnos
   ========================================================================== */

/* === Variante de título card (más chico) === */
.admin-card-titulo--md {
    font-size: 14px;
    margin-bottom: 16px;
}

/* === Details/summary expandible === */
.admin-details-summary {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-mute);
    cursor: pointer;
    list-style: none;
    padding: 4px 0;
    transition: color 0.3s;
}

.admin-details-summary::-webkit-details-marker {
    display: none;
}

.admin-details-summary::before {
    content: '▸ ';
    color: var(--rose-deep);
    transition: transform 0.3s;
    display: inline-block;
}

details[open] .admin-details-summary::before {
    transform: rotate(90deg);
}

.admin-details-summary:hover {
    color: var(--base);
}

/* === Checkbox extra grande (para activar día en horarios) === */
.admin-checkbox-xl {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rose-deep);
    flex-shrink: 0;
}

/* === Día de la semana label (LUNES/MARTES/...) === */
.admin-dia-label {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--base);
    min-width: 90px;
}

/* === Inputs de hora apertura/cierre === */
.admin-input-hora {
    max-width: 150px;
}

/* === Empty state grande === */
.admin-empty-state {
    padding: 60px 30px;
    text-align: center;
    color: var(--text-mute);
}

.admin-empty-icon {
    margin-bottom: 16px;
    opacity: 0.4;
    color: var(--accent);
}

/* === Tabla strong nombre === */
.admin-tabla-strong {
    color: var(--base);
    font-size: 14px;
    font-weight: 600;
}

/* === Caja "Notas del cliente" === */
.admin-notas-box {
    margin-top: 24px;
    padding: 16px 18px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
}

.admin-notas-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rose-deep);
    margin-bottom: 6px;
}

.admin-notas-content {
    font-style: italic;
    color: var(--base);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}

/* === Link WhatsApp en tablas === */
.admin-link-whatsapp {
    color: #25D366;
    font-size: 12px;
    margin-left: 8px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.admin-link-whatsapp:hover {
    opacity: 0.75;
    color: #25D366;
}

/* === Botón success (verde, para confirmar turno) === */
.btn-admin--success {
    background: var(--success);
    border-color: var(--success);
    color: var(--bg);
}

.btn-admin--success:hover {
    background: #5a7c4d;
    border-color: #5a7c4d;
    color: var(--bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(107, 142, 90, 0.25);
}

/* === Margin-top 10px === */
.admin-mt-10 {
    margin-top: 10px;
}

/* === Margin-top 24 (ya está pero por si acaso) === */
.admin-mt-24 {
    margin-top: 24px;
}




/* ==========================================================================
   37. ADMIN — Componentes Nosotros (Especialistas, Testimonios, Tecnologías, Consultorios) + Consultas
   ========================================================================== */

/* === Image previews extra === */
.admin-img-preview-sm {
    max-height: 80px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.admin-rounded-full {
    border-radius: 50% !important;
}

/* === Avatar circular (lista especialistas) === */
.admin-avatar-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--rose-deep) 0%, var(--rose) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg);
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
}

/* === TH widths extras === */
.admin-w-70 { width: 70px; }
.admin-w-240 { width: 240px; }
.admin-w-280 { width: 280px; }

/* === Grid de thumbs (consultorios) === */
.admin-grid-thumbs {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.admin-grid-thumbs--220 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.admin-grid-thumbs--260 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* === Card de consultorio === */
.admin-consultorio-card {
    background: var(--bg-deep);
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.admin-consultorio-card:hover {
    box-shadow: var(--shadow-sm);
}

.admin-consultorio-thumb {
    overflow: hidden;
    background: var(--base);
}

.admin-consultorio-thumb--imagen {
    aspect-ratio: 16/10;
}

.admin-consultorio-thumb--video {
    aspect-ratio: 16/9;
}

.admin-consultorio-thumb img,
.admin-consultorio-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-consultorio-label {
    display: block;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--base);
    margin-bottom: 4px;
}

.admin-consultorio-input {
    font-size: 13px;
    padding: 6px 10px;
    margin-bottom: 8px;
}

/* === Stat card variante warning === */
.stat-card--warning {
    border-left-color: var(--warning);
}

/* === Fila sin leer (consultas) === */
.admin-tr-no-leida {
    background: rgba(232, 196, 196, 0.08);
}

.admin-tr-no-leida td {
    font-weight: 500;
}

/* === Celda mensaje con max-width === */
.admin-cell-mensaje {
    max-width: 300px;
}

/* === Empty msg en caja === */
.admin-empty-msg-box {
    color: var(--text-mute);
    padding: 24px;
    text-align: center;
    background: var(--bg-deep);
    border-radius: 4px;
    font-style: italic;
    margin: 0;
}

.admin-empty-msg-box--sm {
    padding: 16px;
    font-size: 13px;
}

/* === Mensaje de consulta (detalle) === */
.admin-consulta-mensaje {
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    padding: 20px 22px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--base);
    white-space: pre-line;
    border-radius: 4px;
}

/* === Variante card-titulo-mini chico === */
.admin-card-titulo-mini--sm {
    font-size: 13px;
    margin-bottom: 8px;
}

/* === Badge grande (consultas show) === */
.admin-badge--lg {
    padding: 10px 16px;
    font-size: 12px;
}

/* === Back link (categorias show) === */
.admin-back-link {
    display: inline-block;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-mute);
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s;
}

.admin-back-link::before {
    content: '◂ ';
    color: var(--rose-deep);
    margin-right: 4px;
}

.admin-back-link:hover {
    color: var(--rose-deep);
}

/* === Categoría descripción === */
.admin-categoria-desc {
    color: var(--base);
    font-size: 15px;
    line-height: 1.6;
    margin: 6px 0 0;
}

/* === Link strong === */
.admin-link-strong {
    color: var(--rose-deep);
    font-weight: 600;
    border-bottom: 1px solid var(--rose-deep);
    text-decoration: none;
}

.admin-link-strong:hover {
    opacity: 0.8;
    color: var(--rose-deep);
}

/* === Image galería preview (servicios) === */
.admin-img-galeria-preview {
    max-width: 200px;
    border: 1px solid var(--line);
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
}

.admin-img-galeria-preview--accent {
    border-color: var(--rose-deep);
}

/* === Margins faltantes === */
.admin-mt-32 { margin-top: 32px; }




/* ==========================================================================
   PÁGINAS LEGALES — Términos y Condiciones + Política de Privacidad
   ========================================================================== */

/* Vigencia bajo el título del hero */
.pp-vigencia {
    margin-top: 18px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--rose-deep);
}

/* Container del documento */
.pp-doc {
    max-width: 760px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    color: var(--base);
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
}

.pp-doc p {
    margin: 0 0 18px;
    color: var(--base);
    font-weight: 400;
}

/* Intro destacado (primer párrafo) */
.pp-intro {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.65;
    color: var(--base);
    padding: 24px 28px;
    background: var(--bg-deep);
    border-left: 3px solid var(--rose-deep);
    border-radius: 4px;
    margin: 0 0 40px;
}

.pp-intro strong {
    font-style: normal;
    font-weight: 500;
    color: var(--base);
}

/* H2 con número decorativo */
.pp-doc h2 {
    font-family: var(--serif);
    font-size: clamp(22px, 2.4vw, 28px);
    font-weight: 400;
    line-height: 1.25;
    color: var(--base);
    margin: 48px 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    gap: 14px;
}

/* Número del h2 (01, 02, ...) */
.pp-n {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--rose-deep);
    flex-shrink: 0;
}

/* H3 subsecciones */
.pp-doc h3 {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--base);
    margin: 28px 0 12px;
}

/* Listas */
.pp-doc ul,
.pp-doc ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.pp-doc ul li,
.pp-doc ol li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.pp-doc ul li::marker {
    color: var(--rose-deep);
}

.pp-doc ol li::marker {
    color: var(--rose-deep);
    font-weight: 500;
}

.pp-doc strong {
    font-weight: 500;
    color: var(--base);
}

.pp-doc em {
    font-style: italic;
}

/* Enlaces dentro del documento */
.pp-doc a {
    color: var(--rose-deep);
    text-decoration: none;
    border-bottom: 1px solid var(--rose-deep);
    transition: opacity 0.3s;
    font-weight: 500;
}

.pp-doc a:hover {
    opacity: 0.7;
}

/* Lista de contacto (al pie del documento) */
.pp-contacto-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--bg-deep);
    border-radius: 4px;
    padding: 24px 28px;
}

.pp-contacto-list li {
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    padding-left: 22px;
}

.pp-contacto-list li:last-child {
    margin-bottom: 0;
}

.pp-contacto-list li::before {
    content: '◆';
    position: absolute;
    left: 4px;
    top: 6px;
    color: var(--rose-deep);
    font-size: 8px;
}

.pp-contacto-list li::marker {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .pp-doc {
        padding: 40px 20px 60px;
        font-size: 14px;
    }

    .pp-intro {
        padding: 18px 20px;
        font-size: 16px;
    }

    .pp-doc h2 {
        margin: 36px 0 14px;
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .pp-n {
        font-size: 11px;
    }
}



/* ==========================================================================
   22. COMPONENTES UTILITARIOS
   ========================================================================== */

/* === Promo bar (banner superior con promoción) === */
.promo-bar {
    position: relative;
    background: var(--rose-deep);
    color: var(--bg);
    padding: 10px 0;
    overflow: hidden;
    z-index: 1001;
}

.promo-track {
    display: flex;
    overflow: hidden;
}

.promo-slide {
    flex-shrink: 0;
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.promo-slide-text {
    margin-right: 12px;
}

.promo-slide-cta {
    color: var(--bg);
    text-decoration: underline;
    font-weight: 500;
}

.promo-slide-cta:hover {
    color: var(--rose-soft);
}

.promo-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--bg);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.promo-close:hover {
    opacity: 1;
}

.promo-bullets {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 4px;
}

.promo-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(245, 242, 236, 0.4);
    transition: background 0.3s;
}

.promo-bullet.is-active {
    background: var(--bg);
}

.promo-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--bg);
    cursor: pointer;
    opacity: 0.7;
    padding: 4px;
}

.promo-arrow:hover {
    opacity: 1;
}

.promo-arrow--prev { left: 12px; }
.promo-arrow--next { right: 40px; }

/* === Botón flotante de WhatsApp === */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

/* === Botón "Volver arriba" === */
.back-to-top {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--base);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--rose-deep);
    box-shadow: 0 4px 12px rgba(74, 65, 54, 0.2);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    z-index: 99;
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--rose-deep);
    transform: translateY(-2px);
    color: var(--bg);
}

/* === Cookie banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(74, 65, 54, 0.1);
    padding: 20px 24px;
    z-index: 9998;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-title {
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 500;
    color: var(--base);
    margin-bottom: 4px;
}

.cookie-banner-desc {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-mute);
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.3s;
    cursor: pointer;
}

.cookie-btn-primary {
    background: var(--base);
    color: var(--bg);
    border: 1px solid var(--base);
}

.cookie-btn-primary:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
}

.cookie-btn-outline {
    background: transparent;
    color: var(--base);
    border: 1px solid var(--base);
}

.cookie-btn-outline:hover {
    background: var(--base);
    color: var(--bg);
}

/* === Consultorios (mix carrusel para la página Nosotros) === */
.consultorios-mix-carrusel,
.consultorios-single {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.consultorio-item {
    aspect-ratio: 16/9;
    background: var(--bg-deep);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.consultorio-item img,
.consultorio-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultorio-item--video {
    cursor: pointer;
}

.consultorio-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.consultorio-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(74, 65, 54, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.consultorio-item--video:hover .consultorio-video-overlay {
    background: rgba(74, 65, 54, 0.45);
}

.consultorio-video-play {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(245, 242, 236, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--base);
    box-shadow: 0 6px 20px rgba(74, 65, 54, 0.3);
}

.consultorio-video-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--rose);
    color: var(--base);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.consultorio-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(180deg, transparent, rgba(58, 49, 40, 0.8));
    color: var(--bg);
    font-size: 14px;
    font-weight: 400;
}

/* === Modal de video === */
.modal-video {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-video.is-active {
    display: flex;
}

.modal-video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(58, 49, 40, 0.9);
}

.modal-video-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: var(--base-deep);
    border-radius: 4px;
    overflow: hidden;
}

.modal-video-titulo {
    padding: 16px 24px;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--bg);
    border-bottom: 1px solid rgba(232, 196, 196, 0.15);
}

.modal-video-player {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.modal-video-player iframe,
.modal-video-player video {
    width: 100%;
    height: 100%;
}

.modal-video-cerrar {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(245, 242, 236, 0.1);
    color: var(--bg);
    border: 1px solid rgba(245, 242, 236, 0.2);
    cursor: pointer;
    transition: background 0.3s;
}

.modal-video-cerrar:hover {
    background: var(--rose-deep);
    border-color: var(--rose-deep);
}

/* === Loader (pantalla de bienvenida) === */
/* ============================================================
   Fuente del loader: "The Seasons" (Light)
   ------------------------------------------------------------
   "The Seasons" es una fuente comercial: hay que comprar la
   licencia para uso comercial. Apenas tengas el archivo
   licenciado, dejalo en /public/fonts/ con estos nombres y
   se aplica automáticamente. Mientras tanto, cae a una serif
   elegante (Cormorant Garamond) como fallback.
   ============================================================ */
@font-face {
    font-family: 'The Seasons';
    src: url('/fonts/the-seasons-light.woff2') format('woff2'),
         url('/fonts/the-seasons-light.otf') format('opentype'),
         url('/fonts/the-seasons-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--base);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Container del logo escrito letra por letra */
.loader-logo-wrap {
    text-align: center;
    margin-bottom: 24px;
}

/* Línea 1: LUMIÈRE en blanco */
.loader-titulo {
    font-family: 'The Seasons', 'Cormorant Garamond', var(--serif);
    font-size: clamp(40px, 7vw, 64px);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--bg);
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 0.02em;
}

/* Línea 2: ESTÉTICA en rosa */
.loader-subtitulo {
    font-family: var(--sans);
    font-size: clamp(11px, 1.4vw, 14px);
    font-weight: 500;
    letter-spacing: 0.4em;
    color: var(--rose);
    margin: 12px 0 0;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 0.05em;
}

/* Cada letra empieza invisible y aparece con animación */
.loader-letra {
    opacity: 0;
    transform: translateY(20px);
    animation: loader-letra-aparecer 0.4s ease-out forwards;
    display: inline-block;
}

/* Cada letra tiene su propio delay */
.loader-titulo .loader-letra:nth-child(1) { animation-delay: 0.1s; }
.loader-titulo .loader-letra:nth-child(2) { animation-delay: 0.2s; }
.loader-titulo .loader-letra:nth-child(3) { animation-delay: 0.3s; }
.loader-titulo .loader-letra:nth-child(4) { animation-delay: 0.4s; }
.loader-titulo .loader-letra:nth-child(5) { animation-delay: 0.5s; }
.loader-titulo .loader-letra:nth-child(6) { animation-delay: 0.6s; }
.loader-titulo .loader-letra:nth-child(7) { animation-delay: 0.7s; }
.loader-titulo .loader-letra:nth-child(8) { animation-delay: 0.8s; }

/* ESTÉTICA arranca después de que LUMIÈRE terminó */
.loader-subtitulo .loader-letra:nth-child(1) { animation-delay: 1.0s; }
.loader-subtitulo .loader-letra:nth-child(2) { animation-delay: 1.08s; }
.loader-subtitulo .loader-letra:nth-child(3) { animation-delay: 1.16s; }
.loader-subtitulo .loader-letra:nth-child(4) { animation-delay: 1.24s; }
.loader-subtitulo .loader-letra:nth-child(5) { animation-delay: 1.32s; }
.loader-subtitulo .loader-letra:nth-child(6) { animation-delay: 1.40s; }
.loader-subtitulo .loader-letra:nth-child(7) { animation-delay: 1.48s; }
.loader-subtitulo .loader-letra:nth-child(8) { animation-delay: 1.56s; }

@keyframes loader-letra-aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Barra de carga: empieza después de que terminaron las letras */
.loader-barra-wrap {
    width: 240px;
    height: 2px;
    background: rgba(232, 196, 196, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 36px;
    opacity: 0;
    animation: loader-barra-fadein 0.4s ease-out 1.8s forwards;
}

.loader-barra {
    height: 100%;
    background: var(--rose);
    width: 0%;
    animation: loader-barra-progress 1.0s ease-out 1.8s forwards;
    border-radius: 2px;
}

@keyframes loader-barra-fadein {
    to { opacity: 1; }
}

@keyframes loader-barra-progress {
    to { width: 100%; }
}

/* === Alerts genéricas === */
.alert-lumiere {
    padding: 14px 20px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 3px solid var(--rose-deep);
    background: var(--rose-soft);
    color: var(--base);
}


/* ==========================================================================
   23. ANIMACIONES (reveal al scroll)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible,
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   24. BOOTSTRAP OVERRIDES NECESARIOS
   ========================================================================== */

/* Container Bootstrap → usa nuestro padding */
.container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Row Bootstrap usa flex normal pero limitamos negative margin */
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
}

/* Badge custom para promociones */
.badge {
    font-weight: 500;
}

.bg-danger {
    background: var(--rose-deep) !important;
}

.bg-white {
    background: var(--bg) !important;
}




/* ==========================================================================
   FIX PATCH — Clases faltantes detectadas en blades
   ========================================================================== */

/* === Galería: items con display none/active (toggle de imágenes) === */
.galeria-principal {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 ratio (3/4 = 75%) — más robusto que aspect-ratio en grids */
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-deep);
}

.galeria-principal-item {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.galeria-principal-item.active {
    display: block;
}

.galeria-principal-item img,
.galeria-principal-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* El galeria-wrap contiene la principal + thumbs, sin aspect-ratio propio */
.galeria-wrap {
    width: 100%;
}

/* === Swiper thumbs (navegación de miniaturas) === */
.galeria-thumbs-wrap {
    position: relative;
    margin-top: 14px;
    padding: 0 36px;
}

.galeria-thumbs-swiper {
    overflow: hidden;
}

.galeria-thumbs-swiper .swiper-wrapper {
    display: flex;
    gap: 8px;
}

.galeria-thumbs-prev,
.galeria-thumbs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--base);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.galeria-thumbs-prev {
    left: 0;
}

.galeria-thumbs-next {
    right: 0;
}

.galeria-thumbs-prev:hover,
.galeria-thumbs-next:hover {
    background: var(--rose);
    border-color: var(--rose);
    color: var(--base);
}

.galeria-thumbs-prev.swiper-button-disabled,
.galeria-thumbs-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* === Asegurar que .detail-image también muestre las cosas === */
.detail-image .galeria-principal,
.detail-image .galeria-principal-item {
    width: 100%;
    height: 100%;
}

/* === Logo en el slider antes/después: pequeño rombo === */
/* Ya está aplicado el ◆ arriba */





/* ==========================================================================
   FIX URGENTE — Tamaños de SVG (evita que SVGs sin width/height se expandan)
   ========================================================================== */

/* SVG en el back-to-top */
.back-to-top svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* SVG en el toggler hamburguesa */
.navbar-toggler svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* SVG en el botón de búsqueda */
.nav-search-btn svg {
    width: 18px;
    height: 18px;
    display: block;
}

/* SVG en WhatsApp floating */
.whatsapp-float svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* SVG dentro de nav-link-icon */
.nav-link-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* SVG en cookie banner (cerrar) */
.cookie-banner svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* SVG en alerts y mensajes */
.admin-mensaje svg,
.alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Regla general protectora: cualquier SVG dentro de botones */
button svg:not([width]):not([height]) {
    max-width: 32px;
    max-height: 32px;
}

/* Protección para SVGs sueltos que se podrían expandir */
.btn-admin svg,
.btn-lumiere-primary svg,
.btn-lumiere-outline svg,
.btn-lumiere-gold svg,
.btn-auth-submit svg,
.btn-checkout svg,
.btn-checkout-final svg,
.btn-comprar svg,
.btn-reservar-grande svg,
.btn-promo-whatsapp svg,
.btn-cta-doble svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}



/* ==========================================================================
   25. RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .detail-sidebar {
        position: static;
    }
}

@media (max-width: 1024px) {
    .home-quienes-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .stats-grid .stat-item:nth-child(2)::after {
        display: none;
    }
    .beneficio-banner-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tecnologia-grid,
    .especialistas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contacto-opciones-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    .giftcards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
    }
    .giftcard-pasos {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .promos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --container-padding: 20px;
    }
    .hero { padding: 120px 0 80px; }
    .hero-inner { padding: 120px 0 60px; }
    .seccion,
    .stats-section,
    .home-quienes-somos,
    .beneficios-section { padding: 70px 0; }
    .detail-main { padding: 90px 0 70px; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item:not(:last-child)::after {
        left: 25%;
        top: auto;
        bottom: 0;
        width: 50%;
        height: 1px;
    }

    .beneficio-banner {
        padding: 40px 28px;
        min-height: auto;
    }
    .promo-precio-tag {
        padding: 24px;
        min-width: auto;
    }
    .promo-precio-tag-descuento {
        font-size: 40px;
    }

    .promo-destacada,
    .promo-card {
        padding: 28px 24px;
    }
    .promo-destacada {
        min-height: auto;
    }
    .promo-card {
        min-height: 280px;
    }
    .promo-destacada-precios {
        flex-direction: column;
        gap: 4px;
    }

    .tecnologia-grid,
    .especialistas-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
    }
    .testimonio-card {
        padding: 28px 24px;
    }
    .faq-pregunta {
        font-size: 16px;
        padding: 20px 0;
    }

    .giftcard-pasos {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .giftcard-info-box {
        padding: 24px 22px;
    }

    .contacto-opcion-card {
        padding: 36px 28px;
    }
    .contacto-form-row {
        grid-template-columns: 1fr;
    }
    .mapa-wrap iframe {
        height: 280px !important;
    }

    .tratamiento-card-flip {
        height: 480px;
    }
    .tratamientos-flex-centered {
        flex-direction: column;
        align-items: center;
    }
    .ba-handle {
        width: 36px;
        height: 36px;
    }
    .ba-hint {
        font-size: 8px;
        padding: 4px 10px;
    }
    .categoria-section {
        margin-bottom: 60px;
    }
    .cat-carrusel-prev,
    .cat-carrusel-next {
        display: none;
    }

    .home-quienes-visual::before,
    .home-quienes-visual::after {
        display: none;
    }
    .giftcard-ticket {
        transform: none;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-actions {
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
    }
}


/* ==========================================================================
   FIXES ADICIONALES
   ========================================================================== */

/* --- Imagen simple en cards de tratamiento (reemplaza slider antes/después) --- */
.tratamiento-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--accent-soft);
    position: relative;
}

.tratamiento-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tratamiento-card-flip:hover .tratamiento-img-wrap img {
    transform: scale(1.04);
}

.tratamiento-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
}

/* --- Perfil cliente: fix input file en mobile --- */
@media (max-width: 640px) {
    .perfil-imagen-wrap {
        overflow: hidden;
    }
    .perfil-imagen-forms .form-control[type="file"] {
        max-width: 100%;
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cliente-card {
        overflow: hidden;
    }
}

/* --- Gift Cards: fix overflow en mobile --- */
.giftcards-grid {
    overflow-x: hidden;
}

.giftcard-card {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.giftcard-card.featured {
    margin-top: 16px;
}

.giftcard-header {
    word-break: break-word;
}

.giftcard-titulo {
    word-break: break-word;
}

.giftcard-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.giftcard-actions .btn-lumiere-solid,
.giftcard-actions .btn-lumiere-outline {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

/* --- Barra de búsqueda en mobile --- */
@media (max-width: 768px) {
    .nav-search {
        width: 100%;
        grid-column: 1 / -1;
        grid-row: 3;
        max-width: 100%;
        margin-top: 4px;
    }
    .navbar-lumiere .container {
        grid-template-columns: auto 1fr auto;
    }
    .navbar-lumiere .navbar-brand-logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    .navbar-lumiere .navbar-toggler {
        grid-column: 1;
        grid-row: 1;
    }
    .nav-logout {
        grid-column: 3;
        grid-row: 1;
    }
}

/* --- Toast de notificaciones admin --- */
.turnos-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    width: calc(100vw - 48px);
}

.turno-toast {
    background: var(--bg, #F5F2EC);
    border: 1px solid var(--line, #E0D8D0);
    border-radius: 8px;
    box-shadow: 0 8px 32px -4px rgba(58, 49, 40, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    max-width: 100%;
    box-sizing: border-box;
}

.turno-toast--mostrar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.turno-toast--nuevo {
    border-left: 3px solid #7B9E87;
}

.turno-toast--cancelado {
    border-left: 3px solid #C97A7A;
}

.turno-toast--pedido {
    border-left: 3px solid #B8956A;
}

.turno-toast-icono {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.turno-toast-content {
    flex: 1;
    min-width: 0;
}

.turno-toast-titulo {
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--base, #4A4136);
    margin-bottom: 4px;
}

.turno-toast-cliente {
    font-family: var(--serif, 'Cormorant Garamond', serif);
    font-size: 17px;
    font-weight: 500;
    color: var(--base, #4A4136);
    line-height: 1.2;
    margin-bottom: 4px;
    word-break: break-word;
}

.turno-toast-detalles {
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 12px;
    color: var(--text-mute, #7A7266);
    line-height: 1.5;
    margin-bottom: 6px;
    word-break: break-word;
}

.turno-toast-motivo {
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 11px;
    color: #C97A7A;
    margin-bottom: 6px;
    padding: 6px 10px;
    background: rgba(201, 122, 122, 0.08);
    border-radius: 4px;
}

.turno-toast-acciones {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.turno-toast-btn {
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--base, #4A4136);
    text-decoration: none;
    background: var(--bg-deep, #EDE8E1);
    padding: 6px 14px;
    border-radius: 40px;
    border: 1px solid var(--line, #E0D8D0);
    transition: all 0.2s;
    white-space: nowrap;
}

.turno-toast-btn:hover {
    background: var(--base, #4A4136);
    color: var(--bg, #F5F2EC);
    text-decoration: none;
}

.turno-toast-cerrar {
    background: transparent;
    border: none;
    color: var(--text-mute, #7A7266);
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
    white-space: nowrap;
}

.turno-toast-cerrar:hover {
    color: var(--base, #4A4136);
}

/* Badge en navbar (turnos/pedidos) */
.turnos-badge-navbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #C97A7A;
    color: #fff;
    font-family: var(--sans, 'Montserrat', sans-serif);
    font-size: 9px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 40px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
}


/* ==========================================================================
   FIX GALERÍA v5 (LA SOLUCIÓN REAL) — width explotaba a 33M px
   CAUSA: en CSS Grid, los items tienen min-width:auto por defecto, lo que
   les impide encogerse por debajo de su contenido. Con una imagen dentro,
   el ancho se dispara. La cura es min-width:0 en el item del grid.
   ========================================================================== */

/* LA CLAVE: permitir que la columna del grid se encoja */
.detail-content,
.detail-sidebar {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

/* La galería ocupa su columna sin desbordar */
.galeria-wrap {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Contenedor principal: ratio 4:3 con el método padding (estable) */
.galeria-principal {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 0;
    padding-bottom: 75%;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 4px;
    background: var(--bg-deep);
}

.galeria-principal-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.galeria-principal-item img,
.galeria-principal-item video {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.galeria-principal .ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

/* ==========================================================================
   FIX ALTURA — Galería con la misma altura que el sidebar derecho
   Pegar al FINAL de styles.css (después del fix v5 que ya funciona).
   ========================================================================== */

/* 1. El grid estira ambas columnas a la misma altura */
.detail-grid {
    align-items: stretch;   /* antes era 'start' */
}

/* 2. La columna izquierda (galería) ocupa toda la altura disponible */
.detail-content {
    display: flex;
    flex-direction: column;
}

/* 3. El wrap de la galería crece para llenar la columna */
.detail-content .galeria-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* 4. La galería principal llena la altura (en vez de ratio fijo 4:3) */
.detail-content .galeria-principal {
    flex: 1;
    height: auto;            /* anula el height:0 del fix anterior */
    padding-bottom: 0;       /* anula el padding-bottom 75% */
    min-height: 300px;       /* nunca más chica que esto */
    aspect-ratio: auto;
}

/* 5. La imagen se recorta para llenar sin deformarse */
.detail-content .galeria-principal-item img,
.detail-content .galeria-principal-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   RESPONSIVE: en pantallas chicas el grid es 1 columna, volvemos al 4:3
   ========================================================================== */
@media (max-width: 1200px) {
    .detail-content {
        display: block;          /* deja de ser flex */
    }
    .detail-content .galeria-wrap {
        display: block;
    }
    .detail-content .galeria-principal {
        flex: none;
        height: 0;
        padding-bottom: 75%;     /* vuelve al ratio 4:3 en mobile */
        min-height: 0;
    }
}/* ==========================================================================
   AGREGAR ESTO AL FINAL de public/css/styles.css
   Fuerza que los números de los ítems queden AL COSTADO del título y en ROSA.
   ========================================================================== */
.home-quienes-text .home-quienes-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 16px !important;
}
.home-quienes-text .home-quienes-item-num {
    flex: 0 0 auto !important;
    min-width: 26px !important;
    padding-top: 7px !important;
    font-family: var(--serif) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 0.12em !important;
    color: var(--rose-deep) !important;   /* rosa empolvado de la marca */
}
.home-quienes-text .home-quienes-item-body {
    flex: 1 1 auto !important;
}
