/* ==========================================================================
   BRIGANDY — TIENDA ONLINE PÚBLICA (ESTÉTICA OSCURA PREMIUM BOUTIQUE)
   Dirección de Diseño: Tienda especializada en cervezas selectas y licores.
   Paleta Oficial: Carbón (#191817), Grafito (#242220 / #292725),
                   Amarillo Mostaza (#EAB83F), Marfil (#F2EEE6),
                   Gris Secundario (#AAA49A), Borde Fino (#383430).
   Estilo: Oscuro, cálido, artesanal, premium y comercial.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. RESET, TIPOGRAFÍA Y TOKENS LOCALES DE TIENDA
   ------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body.tienda-body {
    /* Paleta Estética Oscura Scoped para aislar 100% respecto del POS */
    --bg-crema-calido: #191817;
    --bg-crema-suave: #22201E;
    --bg-crema-dark: #292725;
    --bg-crema-muted: #383430;

    --bg-surface: #242220;
    --bg-surface-cream: #1E1D1B;
    --bg-surface-dark: #141312;
    --bg-border: #383430;
    --bg-border-light: #2D2B28;
    --bg-border-dark: #4A453F;

    --bg-carbon: #F2EEE6;
    --bg-carbon-soft: #E6E1D8;
    --bg-carbon-muted: #AAA49A;
    --bg-carbon-light: #8E887E;

    --bg-text-main: #F2EEE6;
    --bg-text-secondary: #AAA49A;
    --bg-text-muted: #8E887E;
    --bg-text-light: #736E66;
    --bg-text-on-dark: #F2EEE6;
    --bg-text-on-dark-muted: #AAA49A;

    --bg-verde-profundo: #141312;
    --bg-verde-profundo-hover: #1E1D1B;
    --bg-verde-profundo-dark: #0D0C0B;

    --bg-verde-botella: #EAB83F;
    --bg-verde-botella-hover: #D6A432;
    --bg-verde-botella-active: #C29125;
    --bg-verde-botella-light: #2A261D;
    --bg-verde-botella-subtle: #201E18;

    --bg-ambar: #EAB83F;
    --bg-ambar-hover: #D6A432;
    --bg-ambar-active: #C29125;
    --bg-ambar-light: #2A261D;
    --bg-ambar-subtle: #201E18;
    --bg-ambar-border: #4D4327;

    --bg-blanco: #FFFFFF;

    background-color: #191817 !important;
    color: #F2EEE6 !important;
    font-family: var(--font-family-base, 'Plus Jakarta Sans', sans-serif);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Clases utilitarias de Bootstrap adaptadas a la superficie oscura */
body.tienda-body .bg-light {
    background-color: #1E1D1B !important;
    color: #F2EEE6 !important;
}

body.tienda-body .text-dark {
    color: #F2EEE6 !important;
}

body.tienda-body .text-muted {
    color: #AAA49A !important;
}

body.tienda-body .text-secondary {
    color: #AAA49A !important;
}

/* Evitar que el header fijo tape el inicio de las secciones con ancla */
#inicio,
#catalogo,
#seccionCategorias,
#seccionBeneficios,
#seccionSeguimiento,
#seccionInformacion,
#contacto {
    scroll-margin-top: 85px;
}

/* -------------------------------------------------------------------------
   2. ENCABEZADO / NAVBAR INSTITUCIONAL COMPACTA
   ------------------------------------------------------------------------- */
.tienda-navbar {
    background-color: #141312 !important;
    border-top: 3px solid #EAB83F !important;
    border-bottom: 1px solid #282624 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: var(--transition-base);
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
}

.tienda-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #F2EEE6;
    transition: var(--transition-fast);
}
.tienda-brand:hover {
    color: #EAB83F;
    transform: translateY(-1px);
}

.tienda-brand-logo {
    height: 42px;
    max-height: 46px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    border: none;
}

.tienda-brand-info {
    display: flex;
    flex-direction: column;
}

.tienda-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #F2EEE6;
    line-height: 1.1;
}

.tienda-brand-subtitle {
    font-size: 0.72rem;
    font-weight: 700;
    color: #EAB83F;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tienda-nav-link {
    color: #AAA49A !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tienda-nav-link:hover {
    color: #F2EEE6 !important;
    background-color: rgba(234, 184, 63, 0.12);
    transform: translateY(-1px);
}
.tienda-nav-link.active {
    color: #191817 !important;
    background-color: #EAB83F !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-weight: 700;
}

/* Botón Carrito en Cabecera */
.btn-carrito-header {
    background: #EAB83F;
    color: #191817;
    border: 1px solid #D6A432;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-carrito-header:hover {
    background: #D6A432;
    color: #141312;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 184, 63, 0.35);
}
.btn-carrito-header:active {
    transform: translateY(0);
}

#carritoBadgeCantidad {
    background-color: #191817 !important;
    color: #EAB83F !important;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25em 0.6em;
    border: 1px solid #EAB83F;
}

/* Botón Mi Cuenta en Cabecera */
.btn-cuenta-header {
    background: #242220;
    color: #F2EEE6;
    border: 1px solid #383430;
    font-weight: 600;
    font-size: 0.90rem;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-base);
}
.btn-cuenta-header:hover {
    background: #2D2A27;
    border-color: #EAB83F;
    color: #EAB83F;
    transform: translateY(-1px);
}
.btn-cuenta-header:active {
    transform: translateY(0);
}

.hover-shadow-transition {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-shadow-transition:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45) !important;
}

/* -------------------------------------------------------------------------
   3. BANNER PRINCIPAL (HERO COMERCIAL EDITORIAL)
   ------------------------------------------------------------------------- */
.tienda-hero {
    background: radial-gradient(ellipse at 85% 20%, rgba(234, 184, 63, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, #141312 0%, #191817 100%);
    color: #F2EEE6;
    padding: 4.25rem 0 3.75rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #282624;
}

.tienda-hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(234, 184, 63, 0.12);
    border: 1px solid rgba(234, 184, 63, 0.35);
    color: #EAB83F;
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.95rem;
    border-radius: var(--radius-pill);
}

.tienda-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: #F2EEE6;
    margin-bottom: 1.1rem;
}

.tienda-hero-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #AAA49A;
    max-width: 600px;
    margin-bottom: 1.85rem;
}

/* Botones de Acción del Hero */
.btn-hero-primary {
    background: #EAB83F;
    color: #191817;
    font-weight: 800;
    font-size: 1rem;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-pill);
    border: 1px solid #D6A432;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: var(--transition-base);
    text-decoration: none;
}
.btn-hero-primary:hover {
    background: #D6A432;
    color: #141312;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(234, 184, 63, 0.35);
}

.btn-hero-secondary {
    background: #242220;
    color: #F2EEE6;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    border: 1px solid #383430;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-base);
    text-decoration: none;
}
.btn-hero-secondary:hover {
    background: #2D2A27;
    color: #EAB83F;
    border-color: #4D4741;
    transform: translateY(-2px);
}

/* Buscador en Hero */
.tienda-search-box {
    display: flex;
    align-items: center;
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.5rem 0.35rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    max-width: 620px;
    transition: var(--transition-base);
}
.tienda-search-box:focus-within {
    border-color: #EAB83F;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45), 0 0 0 3px rgba(234, 184, 63, 0.22);
}

.tienda-search-box .search-icon {
    color: #AAA49A;
    font-size: 1.15rem;
    margin-right: 6px;
}

.tienda-search-box input {
    border: none;
    box-shadow: none !important;
    background: transparent;
    color: #F2EEE6;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0.4rem;
}
.tienda-search-box input::placeholder {
    color: #7E7972;
    font-size: 0.92rem;
}

.tienda-search-box .btn-search {
    background: #EAB83F;
    color: #191817;
    border: 1px solid #D6A432;
    font-weight: 700;
    padding: 0.6rem 1.45rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-fast);
}
.tienda-search-box .btn-search:hover {
    background: #D6A432;
    color: #141312;
    transform: translateY(-1px);
}

/* Distintivos de Confianza Rápida */
.tienda-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.tienda-hero-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #AAA49A;
}
.tienda-hero-features span i {
    color: #EAB83F;
}

/* Vitrina Comercial en el Hero */
.hero-showcase-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.showcase-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(234, 184, 63, 0.1);
    border: 1px solid rgba(234, 184, 63, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    color: #EAB83F;
}

.showcase-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #EAB83F;
    display: block;
    margin-bottom: 0.35rem;
}

.showcase-title {
    color: #F2EEE6;
    font-weight: 800;
    font-size: 1.3rem;
    margin-bottom: 0.65rem;
}

.showcase-desc {
    color: #AAA49A;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.btn-showcase {
    background: #191817;
    color: #F2EEE6;
    border: 1px solid #383430;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-pill);
    transition: var(--transition-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.btn-showcase:hover {
    background: #EAB83F;
    color: #191817;
    border-color: #EAB83F;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(234, 184, 63, 0.35);
}

/* -------------------------------------------------------------------------
   4. FRANJA DE BENEFICIOS COMERCIALES
   ------------------------------------------------------------------------- */
.tienda-beneficios-section {
    background: #161514;
    border-bottom: 1px solid #282624;
}

.beneficio-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.15rem;
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    height: 100%;
}
.beneficio-card:hover {
    transform: translateY(-3px);
    border-color: #EAB83F;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    background: #292725;
}

.beneficio-icon {
    font-size: 2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EAB83F;
}

.beneficio-body {
    min-width: 0;
}

.beneficio-titulo {
    font-size: 0.95rem;
    font-weight: 800;
    color: #F2EEE6;
    margin-bottom: 0.15rem;
    line-height: 1.2;
}

.beneficio-texto {
    font-size: 0.78rem;
    color: #AAA49A;
    margin-bottom: 0;
    line-height: 1.35;
}

/* -------------------------------------------------------------------------
   5. CATEGORÍAS VISUALES CON NAVEGACIÓN FUNCIONAL
   ------------------------------------------------------------------------- */
.tienda-categorias-section {
    background: #191817;
    border-bottom: 1px solid #282624;
}

.categoria-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-lg);
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.categoria-card:hover {
    transform: translateY(-4px);
    border-color: #EAB83F;
    background: #292725;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.categoria-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    margin-bottom: 0.85rem;
    background-color: #1E1D1B !important;
    color: #EAB83F !important;
    border: 1px solid #383430;
    transition: var(--transition-base);
}
.categoria-card:hover .categoria-icon-box {
    transform: scale(1.08);
    border-color: #EAB83F;
}

.categoria-nombre {
    font-size: 1.05rem;
    font-weight: 800;
    color: #F2EEE6;
    margin-bottom: 0.2rem;
}

.categoria-desc {
    font-size: 0.75rem;
    font-weight: 600;
    color: #AAA49A;
}

.bg-verde-subtle {
    background-color: #1E1D1B !important;
}
.bg-ambar-subtle {
    background-color: #242220 !important;
}
.text-verde-botella {
    color: #EAB83F !important;
}
.text-ambar {
    color: #EAB83F !important;
}

/* -------------------------------------------------------------------------
   6. SECCIÓN DE CATÁLOGO Y PRODUCTOS DESTACADOS
   ------------------------------------------------------------------------- */
.tienda-catalogo-section {
    padding: 3.5rem 0 4.5rem 0;
    flex: 1;
    background: #191817;
}

.seccion-header {
    margin-bottom: 1.75rem;
}

.seccion-titulo-tag {
    color: #EAB83F;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.25rem;
}

.seccion-titulo {
    font-size: 2.1rem;
    font-weight: 800;
    color: #F2EEE6;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.seccion-subtitulo {
    color: #AAA49A;
    font-size: 0.95rem;
    margin-top: 0.25rem;
    max-width: 600px;
}

.badge-contador-resultados {
    background: #242220;
    color: #AAA49A;
    border: 1px solid #383430;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
}

.tienda-controls-bar {
    background: #242220;
    border: 1px solid #383430;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    border-radius: var(--radius-md);
}

.filtro-pill-btn {
    background: #1E1D1B;
    color: #AAA49A;
    border: 1px solid #383430;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-base);
}
.filtro-pill-btn:hover {
    border-color: #4D4741;
    color: #F2EEE6;
    background: #292725;
}
.filtro-pill-btn.active {
    background: #EAB83F;
    border-color: #EAB83F;
    color: #191817;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(234, 184, 63, 0.3);
}

/* Filtros Laterales Discretos */
.filtros-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.filtros-card .card-header {
    background: #1E1D1B;
    border-bottom: 1px solid #383430;
    color: #F2EEE6;
    font-weight: 700;
}

.filtros-card .form-check-label {
    color: #AAA49A;
    font-size: 0.88rem;
    cursor: pointer;
}
.filtros-card .form-check-label:hover {
    color: #F2EEE6;
}

.filtros-card .form-check-input {
    background-color: #191817;
    border-color: #383430;
}
.filtros-card .form-check-input:checked {
    background-color: #EAB83F;
    border-color: #EAB83F;
}

/* -------------------------------------------------------------------------
   7. TARJETAS DE PRODUCTO (.producto-card)
   ------------------------------------------------------------------------- */
.producto-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    position: relative;
}
.producto-card:hover {
    transform: translateY(-4px);
    border-color: #EAB83F;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.producto-img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 12px;
}

.producto-placeholder-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #FAF7F2;
}

.producto-placeholder-icon {
    font-size: 3.5rem;
    color: #D99A35;
    opacity: 0.85;
    transition: var(--transition-base);
}

.producto-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: 4px;
    transition: var(--transition-base);
}
.producto-card:hover .producto-img {
    transform: scale(1.05);
}
.producto-card:hover .producto-placeholder-icon {
    transform: scale(1.08) rotate(3deg);
    color: #EAB83F;
}

.producto-img-agotado .producto-img {
    filter: grayscale(1) opacity(0.65);
}

.producto-card-agotado {
    border-color: #383430 !important;
}

.btn-avisar-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #25D366;
    color: #FFFFFF !important;
    border: none;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-pill);
    text-decoration: none !important;
    transition: var(--transition-fast);
    flex: 1;
}

.btn-avisar-whatsapp:hover {
    background: #20BA5A;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.badge-disponibilidad {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    z-index: 2;
    display: inline-flex;
    align-items: center;
}
.badge-disponible {
    background-color: rgba(27, 122, 75, 0.22);
    color: #5ED997;
    border: 1px solid rgba(27, 122, 75, 0.4);
}
.badge-agotado {
    background-color: rgba(192, 50, 40, 0.22);
    color: #F88A82;
    border: 1px solid rgba(192, 50, 40, 0.45);
}

.producto-card-body {
    padding: 1.15rem 1.15rem 0.65rem 1.15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.badge-categoria-card {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #EAB83F;
    background: #1E1D1B;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
    border: 1px solid #4D4327;
}

.producto-codigo {
    font-size: 0.72rem;
    font-weight: 600;
    color: #7E7972;
    letter-spacing: 0.02em;
}

.producto-nombre {
    font-size: 1.05rem;
    font-weight: 700;
    color: #F2EEE6;
    margin: 0.45rem 0 0.35rem 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7rem;
}

.producto-desc {
    font-size: 0.825rem;
    color: #AAA49A;
    line-height: 1.45;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.4rem;
}

.producto-footer-precio {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #2E2C29;
}

.producto-precio-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #7E7972;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.producto-precio-valor {
    font-size: 1.35rem;
    font-weight: 800;
    color: #EAB83F;
    letter-spacing: -0.02em;
}

.producto-unidad {
    font-size: 0.75rem;
    font-weight: 600;
    color: #AAA49A;
    background: #1E1D1B;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-xs);
    border: 1px solid #383430;
}

.producto-card-actions {
    padding: 0.75rem 1.15rem 1.15rem 1.15rem;
    display: flex;
    gap: 8px;
}

.btn-agregar-carrito {
    flex: 1;
    background: #EAB83F;
    color: #191817;
    border: 1px solid #D6A432;
    font-weight: 700;
    font-size: var(--font-sm);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.btn-agregar-carrito:hover:not(:disabled) {
    background: #D6A432;
    color: #141312;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 184, 63, 0.35);
}
.btn-agregar-carrito:disabled {
    background: #2E2C29;
    color: #666159;
    border-color: #383430;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-ver-detalle {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: #1E1D1B;
    border: 1px solid #383430;
    color: #AAA49A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}
.btn-ver-detalle:hover {
    background: #292725;
    border-color: #EAB83F;
    color: #EAB83F;
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------
   8. SECCIÓN DE SEGUIMIENTO DE PEDIDOS (INTEGRADA EN TIENDA.HTML)
   ------------------------------------------------------------------------- */
.tienda-seguimiento-section {
    background: #161514;
    border-top: 1px solid #282624;
    border-bottom: 1px solid #282624;
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.tracking-badge-header {
    display: inline-flex;
    align-items: center;
    background: rgba(234, 184, 63, 0.12);
    border: 1px solid rgba(234, 184, 63, 0.35);
    color: #EAB83F;
    font-size: var(--font-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
}

.tracking-section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #F2EEE6;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.tracking-section-desc {
    color: #AAA49A;
    font-size: 0.95rem;
    line-height: 1.6;
}

.tracking-form-box {
    border-radius: var(--radius-pill);
    overflow: hidden;
    background: #242220;
    border: 1px solid #383430;
    padding: 4px;
}

.tracking-input-group .form-control {
    font-size: 1rem;
    font-weight: 500;
    color: #F2EEE6;
    background: #191817;
    box-shadow: none !important;
    border: none;
}
.tracking-input-group .form-control::placeholder {
    color: #7E7972;
    font-size: 0.92rem;
}

.btn-consultar-seguimiento {
    background: #EAB83F;
    color: #191817;
    border: 1px solid #D6A432;
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-pill) !important;
    transition: var(--transition-base);
}
.btn-consultar-seguimiento:hover {
    background: #D6A432;
    color: #141312;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(234, 184, 63, 0.35);
}

.tracking-placeholder-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    color: #AAA49A;
}

/* Stepper y Visualización de Pedido */
.card-seguimiento-box {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.seguimiento-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2.5rem 0;
}
.seguimiento-stepper::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #383430;
    z-index: 1;
}

.step-item {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}
.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #191817;
    border: 2px solid #383430;
    color: #AAA49A;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    transition: var(--transition-base);
}
.step-item.completed .step-circle {
    background: #292725;
    border-color: #EAB83F;
    color: #EAB83F;
}
.step-item.active .step-circle {
    background: #EAB83F;
    border-color: #EAB83F;
    color: #191817;
    box-shadow: 0 0 0 4px rgba(234, 184, 63, 0.25);
    transform: scale(1.08);
}
.step-label {
    font-size: var(--font-xs);
    font-weight: 700;
    color: #AAA49A;
}
.step-item.active .step-label {
    color: #EAB83F;
}
.step-item.completed .step-label {
    color: #F2EEE6;
}

/* -------------------------------------------------------------------------
   9. SECCIÓN DE INFORMACIÓN ADICIONAL (PAGOS, RECOJO Y ATENCIÓN)
   ------------------------------------------------------------------------- */
.tienda-info-section {
    background: #191817;
    border-bottom: 1px solid #282624;
}

.info-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-xl);
    padding: 2rem 1.5rem;
    transition: var(--transition-base);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.info-card:hover {
    transform: translateY(-4px);
    border-color: #EAB83F;
    background: #292725;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.info-card-icon {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    display: inline-block;
    color: #EAB83F;
}

.info-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #F2EEE6;
    margin-bottom: 0.65rem;
}

.info-card-desc {
    font-size: 0.88rem;
    color: #AAA49A;
    line-height: 1.55;
    margin-bottom: 0;
}

/* -------------------------------------------------------------------------
   10. FOOTER OSCURO CON ALTO CONTRASTE (WCAG AA GARANTIZADO)
   ------------------------------------------------------------------------- */
.tienda-footer {
    background-color: #121110;
    color: #AAA49A;
    border-top: 1px solid #282624;
    padding: 4rem 0 2rem 0;
    margin-top: auto;
}

.footer-logo {
    height: 40px;
    max-height: 44px;
    width: auto;
    max-width: 175px;
    object-fit: contain;
    border: none;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.footer-brand-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #F2EEE6;
    display: block;
    line-height: 1.1;
}

.footer-brand-sub {
    font-size: 0.72rem;
    font-weight: 700;
    color: #EAB83F;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-desc {
    color: #AAA49A;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-warning-box {
    background: rgba(234, 184, 63, 0.08);
    border: 1px solid rgba(234, 184, 63, 0.25);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    color: #F2EEE6;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.footer-col-title {
    color: #EAB83F;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.4rem;
}
.footer-col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #EAB83F;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    color: #AAA49A;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover {
    color: #EAB83F;
    transform: translateX(3px);
}
.footer-links a i {
    font-size: 0.75rem;
    color: #EAB83F;
}

.footer-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.85rem;
    font-size: 0.88rem;
    color: #AAA49A;
}

.btn-whatsapp-footer {
    background: #1B7A4B;
    color: #FFFFFF !important;
    border: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    width: 100%;
    transition: var(--transition-base);
    box-shadow: 0 4px 12px rgba(27, 122, 75, 0.35);
}
.btn-whatsapp-footer:hover {
    background: #14633C;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(27, 122, 75, 0.45);
}

.footer-admin-link-box {
    border-top: 1px solid #282624;
}
.footer-admin-link {
    color: #7E7972;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-admin-link:hover {
    color: #EAB83F;
}

.footer-bottom-bar {
    border-top: 1px solid #282624;
    margin-top: 2rem;
    padding-top: 1.5rem;
}
.footer-bottom-text {
    font-size: 0.82rem;
    color: #7E7972;
}

/* -------------------------------------------------------------------------
   11. OFFCANVAS CARRITO, TOTALES Y CHECKOUT
   ------------------------------------------------------------------------- */
.offcanvas-carrito {
    width: 440px !important;
    max-width: 100vw !important;
    background-color: #191817 !important;
    border-left: 1px solid #282624 !important;
    color: #F2EEE6;
}

.offcanvas-carrito .offcanvas-header {
    background: #141312 !important;
    color: #F2EEE6 !important;
    border-bottom: 1px solid #282624 !important;
    padding: 1.25rem 1.5rem;
}
.offcanvas-carrito .offcanvas-header .btn-close {
    filter: invert(1);
    opacity: 0.85;
}

.carrito-item,
.carrito-item-card {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

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

.carrito-item-nombre,
.carrito-item-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #F2EEE6;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrito-item-precio,
.carrito-item-price {
    font-size: 0.82rem;
    font-weight: 600;
    color: #AAA49A;
}

.carrito-item-subtotal {
    font-size: 0.92rem;
    font-weight: 700;
    color: #EAB83F;
    white-space: nowrap;
}

.carrito-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #383430;
    border-radius: var(--radius-sm);
    background: #191817;
    overflow: hidden;
}

.carrito-qty-control button,
.carrito-qty-btn {
    border: none;
    background: transparent;
    width: 28px;
    height: 28px;
    font-weight: 700;
    color: #F2EEE6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.carrito-qty-control button:hover,
.carrito-qty-btn:hover {
    background: #2D2B28;
    color: #EAB83F;
}

.carrito-qty-control .qty-display,
.carrito-qty-num {
    padding: 0 8px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #F2EEE6;
    min-width: 24px;
    text-align: center;
}

.btn-quitar-item,
.btn-eliminar-item-carrito {
    color: #F88A82;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}
.btn-quitar-item:hover,
.btn-eliminar-item-carrito:hover {
    color: #FF5A50;
    transform: scale(1.15);
}

.carrito-totales-box,
#carritoFooterContainer {
    background: #242220;
    border: 1px solid #383430;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    color: #F2EEE6;
}

.carrito-total-destacado,
#carritoFooterContainer #carritoTxtTotal {
    font-size: 1.45rem;
    font-weight: 800;
    color: #EAB83F !important;
}

/* Modales en Tienda */
body.tienda-body .modal-content {
    background-color: #242220;
    border: 1px solid #383430;
    color: #F2EEE6;
}

body.tienda-body .modal-header {
    background: #141312 !important;
    border-bottom: 1px solid #282624 !important;
    color: #F2EEE6 !important;
}

body.tienda-body .modal-header .btn-close {
    filter: invert(1);
    opacity: 0.85;
}

body.tienda-body .modal-footer {
    background: #1E1D1B !important;
    border-top: 1px solid #282624 !important;
}

body.tienda-body .form-control,
body.tienda-body .form-select {
    background-color: #191817;
    border: 1px solid #383430;
    color: #F2EEE6;
}

body.tienda-body .form-control:focus,
body.tienda-body .form-select:focus {
    background-color: #1E1D1B;
    border-color: #EAB83F;
    box-shadow: 0 0 0 3px rgba(234, 184, 63, 0.22);
    color: #F2EEE6;
}

body.tienda-body .dropdown-menu {
    background-color: #242220;
    border: 1px solid #383430;
    color: #F2EEE6;
}

body.tienda-body .dropdown-item {
    color: #AAA49A;
}

body.tienda-body .dropdown-item:hover,
body.tienda-body .dropdown-item:focus {
    background-color: #2D2A27;
    color: #EAB83F;
}

.tienda-empty-state {
    background: #242220;
    border: 1px dashed #383430;
    border-radius: var(--radius-xl);
    padding: 3.5rem 2rem;
    text-align: center;
    max-width: 500px;
    margin: 2rem auto;
}
.tienda-empty-icon {
    font-size: 3.5rem;
    color: #EAB83F;
    margin-bottom: 1rem;
    display: block;
}

/* -------------------------------------------------------------------------
   12. ADAPTACIÓN RESPONSIVA (MÓVIL, TABLET Y ESCRITORIO)
   ------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .tienda-hero {
        padding: 3.5rem 0 3rem 0;
    }
    .tienda-hero-title {
        font-size: 2.2rem;
    }
    .offcanvas-carrito {
        width: 100% !important;
        max-width: 100vw !important;
    }
    .seccion-titulo {
        font-size: 1.8rem;
    }
    .tracking-section-title {
        font-size: 1.9rem;
    }
}

@media (max-width: 767.98px) {
    .tienda-brand-info {
        display: none !important;
    }
    .tienda-brand-logo {
        height: 32px !important;
        max-height: 36px !important;
        max-width: 130px !important;
    }
    .btn-carrito-header {
        padding: 0.38rem 0.65rem !important;
        gap: 4px !important;
        font-size: 0.85rem !important;
    }
    .btn-cuenta-header {
        padding: 0.38rem 0.65rem !important;
        gap: 4px !important;
        font-size: 0.85rem !important;
    }
    .tienda-navbar .container-xl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
}

@media (max-width: 575.98px) {
    .tienda-hero {
        padding: 2.75rem 0 2.5rem 0;
    }
    .tienda-hero-title {
        font-size: 1.75rem;
    }
    .tienda-hero-desc {
        font-size: 0.95rem;
    }
    .tienda-brand-title {
        font-size: 1.15rem;
    }
    .tienda-brand-subtitle {
        font-size: 0.65rem;
    }
    .seccion-titulo {
        font-size: 1.55rem;
    }
    .tracking-section-title {
        font-size: 1.6rem;
    }
    .tracking-form-box {
        border-radius: var(--radius-lg);
    }
    .tracking-input-group {
        flex-direction: column;
    }
    .btn-consultar-seguimiento {
        width: 100%;
        margin-top: 6px;
        padding: 0.65rem;
    }
    .tienda-search-box {
        border-radius: var(--radius-pill) !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 4px 6px 4px 14px !important;
    }
    .tienda-search-box .form-control {
        background: transparent !important;
        border: none !important;
        color: #F2EEE6 !important;
        padding: 0.45rem 0.5rem !important;
        font-size: 0.88rem !important;
        box-shadow: none !important;
    }
    .tienda-search-box .btn-search {
        margin-top: 0 !important;
        width: auto !important;
        padding: 0.45rem 1rem !important;
        font-size: 0.85rem !important;
        border-radius: var(--radius-pill) !important;
        flex-shrink: 0;
    }
    .tienda-beneficios-section {
        padding: 0.75rem 0 !important;
    }
    .tienda-beneficios-section .row {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
    }
    .tienda-beneficios-section .row > div {
        flex: 0 0 75% !important;
        max-width: 250px !important;
    }
    .beneficio-card {
        padding: 0.65rem 0.85rem !important;
        gap: 10px !important;
    }
    .beneficio-icon {
        font-size: 1.5rem !important;
    }
    .beneficio-titulo {
        font-size: 0.85rem !important;
        margin-bottom: 2px !important;
    }
    .beneficio-texto {
        font-size: 0.75rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .categoria-card {
        padding: 1.15rem 0.75rem;
    }
    .categoria-icon-box {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    #catalogoProductosGrid {
        --bs-gutter-x: 0.85rem !important;
        --bs-gutter-y: 0.85rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
    #catalogoProductosGrid > [class*="col-"] {
        padding-left: 0.4rem !important;
        padding-right: 0.4rem !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    .producto-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    .producto-img-container {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
    }
    .btn-cuenta-header,
    .btn-carrito-header {
        min-width: 44px !important;
        min-height: 44px !important;
    }
    .tienda-controls-bar {
        padding: 0.5rem !important;
    }
    .filtro-pills {
        gap: 6px !important;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .filtro-pill-btn {
        flex-shrink: 0;
        font-size: 0.78rem !important;
        padding: 0.35rem 0.75rem !important;
    }
    .container, .container-fluid, .container-xl {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
        max-width: 100vw !important;
    }
    body.tienda-body {
        overflow-x: hidden !important;
        width: 100% !important;
    }
}

/* -------------------------------------------------------------------------
   BOTÓN FLOTANTE OFICIAL DE WHATSAPP (Issue #27)
   ------------------------------------------------------------------------- */
.btn-whatsapp-flotante {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1035;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-whatsapp-flotante:hover {
    background-color: #20BA5A;
    color: #FFFFFF !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}
.btn-whatsapp-flotante i {
    font-size: 1.4rem;
    line-height: 1;
}

@media (max-width: 767.98px) {
    .btn-whatsapp-flotante {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
        right: 16px !important;
        padding: 10px !important;
        border-radius: 50% !important;
        width: 44px !important;
        height: 44px !important;
        justify-content: center !important;
    }
    .btn-whatsapp-flotante i {
        font-size: 1.35rem !important;
    }
}

/* Ocultar WhatsApp flotante cuando el carrito o modales están abiertos (Issue #78) */
body.modal-open .btn-whatsapp-flotante,
body:has(.offcanvas.show) .btn-whatsapp-flotante,
body:has(.modal.show) .btn-whatsapp-flotante,
.offcanvas.show ~ .btn-whatsapp-flotante,
.modal.show ~ .btn-whatsapp-flotante {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

/* Barra inferior fija de carrito en móviles (Issue #78) */
.tienda-mobile-cart-bar {
    position: fixed;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    z-index: 1030;
    background: linear-gradient(135deg, #163D32 0%, #0d2822 100%);
    border: 1.5px solid #D99A35;
    border-radius: 16px;
    padding: 10px 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(217, 154, 53, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: slideUpBar 0.3s ease-out;
}
@keyframes slideUpBar {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* ==========================================================================
   PUERTA DE MAYORÍA DE EDAD (ESTÉTICA OSCURA BOUTIQUE)
   ========================================================================== */
.puerta-edad-overlay,
#puertaMayoriaEdad {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 10000 !important;
    background: radial-gradient(circle at center, #242220 0%, #191817 75%, #100F0E 100%) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1.25rem !important;
    overflow-y: auto !important;
    transition: opacity 0.4s ease, visibility 0.4s ease !important;
}

.puerta-edad-overlay.oculta,
#puertaMayoriaEdad.oculta {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.puerta-edad-card,
#puertaMayoriaEdad .puerta-edad-card {
    background: rgba(36, 34, 32, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #383430 !important;
    border-radius: 20px !important;
    padding: 2.25rem 2rem !important;
    max-width: 500px !important;
    width: 100% !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(234, 184, 63, 0.12) !important;
    color: #F2EEE6 !important;
    text-align: center !important;
    margin: auto !important;
    animation: fadeInPuerta 0.35s ease-out;
}

@keyframes fadeInPuerta {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.puerta-edad-logo,
#puertaMayoriaEdad .puerta-edad-logo {
    width: 200px !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
    border-radius: 8px;
    display: inline-block !important;
    margin: 0 auto !important;
}

.puerta-edad-titulo,
#puertaMayoriaEdad .puerta-edad-titulo {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #F2EEE6 !important;
    margin: 1rem 0 0.4rem 0 !important;
    letter-spacing: -0.01em !important;
}

.puerta-edad-desc,
#puertaMayoriaEdad .puerta-edad-desc {
    font-size: 0.92rem !important;
    color: #AAA49A !important;
    line-height: 1.45 !important;
    margin-bottom: 1.5rem !important;
}

.puerta-edad-label,
#puertaMayoriaEdad .puerta-edad-label {
    display: block !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #EAB83F !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 0.35rem !important;
    text-align: center !important;
}

.puerta-edad-input,
#puertaMayoriaEdad .puerta-edad-input {
    background-color: #191817 !important;
    color: #F2EEE6 !important;
    border: 1px solid #383430 !important;
    border-radius: 12px !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    padding: 0.65rem 0.5rem !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.puerta-edad-input:focus,
#puertaMayoriaEdad .puerta-edad-input:focus {
    border-color: #EAB83F !important;
    box-shadow: 0 0 0 4px rgba(234, 184, 63, 0.22) !important;
    outline: none !important;
}

.puerta-edad-alert,
#puertaMayoriaEdad .puerta-edad-alert {
    background-color: rgba(192, 50, 40, 0.22) !important;
    border: 1px solid rgba(192, 50, 40, 0.45) !important;
    color: #F88A82 !important;
    border-radius: 10px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 0.75rem 1rem !important;
    text-align: left !important;
}

.btn-puerta-entrar,
#puertaMayoriaEdad .btn-puerta-entrar {
    background: #EAB83F !important;
    color: #191817 !important;
    border: 1px solid #D6A432 !important;
    border-radius: 12px !important;
    font-weight: 800 !important;
    font-size: 1.05rem !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
    padding: 0.85rem 1.5rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    transition: all 0.25s ease !important;
    cursor: pointer !important;
}

.btn-puerta-entrar:hover:not(:disabled),
#puertaMayoriaEdad .btn-puerta-entrar:hover:not(:disabled) {
    background: #D6A432 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(234, 184, 63, 0.35) !important;
    color: #141312 !important;
}

.btn-puerta-entrar:active:not(:disabled),
#puertaMayoriaEdad .btn-puerta-entrar:active:not(:disabled) {
    transform: translateY(0) !important;
}

.puerta-edad-legal,
#puertaMayoriaEdad .puerta-edad-legal {
    border-top: 1px solid #383430 !important;
    padding-top: 1rem !important;
    font-size: 0.82rem !important;
    color: #7E7972 !important;
    line-height: 1.4 !important;
}

@media (max-width: 575.98px) {
    .puerta-edad-card,
    #puertaMayoriaEdad .puerta-edad-card {
        padding: 1.75rem 1.25rem !important;
        max-width: 95% !important;
        border-radius: 16px !important;
    }
    .puerta-edad-logo,
    #puertaMayoriaEdad .puerta-edad-logo {
        width: 160px !important;
    }
    .puerta-edad-titulo,
    #puertaMayoriaEdad .puerta-edad-titulo {
        font-size: 1.45rem !important;
    }
    .puerta-edad-desc,
    #puertaMayoriaEdad .puerta-edad-desc {
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
    }
    .puerta-edad-input,
    #puertaMayoriaEdad .puerta-edad-input {
        font-size: 1.1rem !important;
        padding: 0.55rem 0.25rem !important;
    }
}
