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

:root {
    --bg-color: #09090d;
    --panel-bg: #12121a;
    --card-bg: #181824;
    --card-hover: #202030;
    --accent: #f1c40f;       /* Amarillo Yuyo (Dorado) */
    --accent-rgb: 241, 196, 15;
    --accent-hover: #f39c12;
    --text: #f3f3f7;
    --text-muted: #a0a0b0;
    --border: #272736;
    --border-hover: #3a3a52;
    --danger: #e74c3c;
    --danger-hover: #ff6b5b;
    --success: #2ecc71;
    --success-hover: #27ae60;
    --warning: #e67e22;
    --font: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-inset: inset 0 2px 4px rgba(255, 255, 255, 0.05);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --header-bg-1: rgba(18, 18, 26, 0.95);
    --header-bg-2: rgba(18, 18, 26, 0.8);
}

:root.light-mode {
    --bg-color: #f8f9fa;
    --panel-bg: #ffffff;
    --card-bg: #ffffff;
    --card-hover: #f1f3f5;
    --accent: #d4ac0d;       /* Amarillo mÃ¡s oscuro para contraste */
    --accent-rgb: 212, 172, 13;
    --accent-hover: #b9970c;
    --text: #212529;
    --text-muted: #6c757d;
    --border: #dee2e6;
    --border-hover: #ced4da;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --header-bg-1: rgba(255, 255, 255, 0.95);
    --header-bg-2: rgba(255, 255, 255, 0.8);
}

/* Fix text gradients for light mode */
.light-mode .logo-text,
.light-mode .h2-style-10 {
    background: linear-gradient(135deg, #111 20%, var(--accent-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


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

body {
    background-color: var(--bg-color);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Contenedores y Estructura */
.contenedor {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

header {
    background: linear-gradient(180deg, var(--header-bg-1) 0%, var(--header-bg-2) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    background: linear-gradient(135deg, #fff 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.btn-header {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-header:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(var(--accent-rgb), 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #b8860b 100%);
    color: #000;
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--accent-rgb), 0.2);
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.35);
}

.btn-primary:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

/* HÃ©roe */
.hero-section {
    text-align: center;
    padding: 3rem 1.5rem 2rem 1.5rem;
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.06) 0%, rgba(9, 9, 13, 0) 70%);
}

.hero-section h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.hero-section p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Controles de BÃºsqueda y Filtros */
.controles-busqueda {
    background: var(--panel-bg);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.controles-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.buscador-input-container {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.buscador-input {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border-radius: 12px;
    color: var(--text);
    font-family: var(--font);
    transition: var(--transition);
}

.buscador-input:focus {
    outline: none;
    border-color: var(--accent);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Filtro Avanzado de Precios y Orden */
.filtros-avanzados {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    align-items: center;
}

.filtro-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.filtro-item label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.rango-precio-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rango-precio-container input[type="range"] {
    accent-color: var(--accent);
    width: 150px;
    cursor: pointer;
}

/* Selectores de TamaÃ±o de Cajas */
.vista-layout-selector {
    display: flex;
    gap: 0.3rem;
    background: var(--bg-color);
    padding: 0.3rem;
    border-radius: 10px;
    border: 1px solid var(--border);
}

.btn-vista {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: 0.4rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-vista:hover {
    color: var(--text);
}

.btn-vista.activa {
    background: var(--card-bg);
    color: var(--accent);
    box-shadow: var(--shadow-inset);
}

/* Categorias Pills */
.categorias-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-bottom: 0.3rem;
    width: 100%;
}

.pill-categoria {
    background: var(--card-bg);
    color: var(--text-muted);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.pill-categoria:hover, .pill-categoria.activa {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* Layout Principal: Productos + Carrito */
.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr 385px;
    }
}

/* Grid de Productos Adaptativo */
.productos-grid {
    display: grid;
    gap: 1.2rem;
}

/* 4 TamaÃ±os de Cajas */
.productos-grid.grid-large {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.productos-grid.grid-medium {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.productos-grid.grid-small {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.productos-grid.list-view {
    grid-template-columns: 1fr;
}

.producto-card {
    background: var(--card-bg);
    border-radius: 16px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
}

.grid-large .producto-card { min-height: 350px; }
.grid-medium .producto-card { min-height: 310px; }
.grid-small .producto-card { min-height: 270px; }

.producto-card:hover {
    border-color: rgba(var(--accent-rgb), 0.35);
    transform: translateY(-3px);
}

.producto-imagen-container {
    background: radial-gradient(circle, #101015 0%, #050508 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    margin: 3rem auto 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.producto-card:hover .producto-imagen-container {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
    transform: scale(1.02);
}

/* Ajustes segÃºn tamaÃ±o de grid */
.grid-large .producto-imagen-container { 
    height: 160px; 
    width: 160px; 
}
.grid-medium .producto-imagen-container { 
    height: 130px; 
    width: 130px; 
}
.grid-small .producto-imagen-container { 
    height: 100px; 
    width: 100px; 
}
.list-view .producto-imagen-container { 
    height: 90px; 
    width: 90px;
    margin: 0.8rem 0 0.8rem 0.8rem;
}

.producto-imagen {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
}

.badge-categoria {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    background: rgba(18, 18, 26, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    color: var(--accent);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

/* Ocultar categorÃ­a en pequeÃ±os */
.grid-small .badge-categoria {
    display: none;
}

.badge-stock {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 5;
}

.badge-stock.in {
    background: rgba(46, 204, 113, 0.15);
    color: var(--success);
    border: 1px solid var(--success);
}

.badge-stock.out {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.producto-info {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

.grid-small .producto-info {
    padding: 0.8rem;
}

.producto-ref {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 0.2rem;
}

.producto-nombre {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.grid-small .producto-nombre {
    font-size: 0.95rem;
}

.producto-descripcion {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.grid-small .producto-descripcion {
    display: none;
}

.producto-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.precio-valor {
    font-size: 1.3rem;
    font-weight: 700;
}

.grid-small .precio-valor {
    font-size: 1.1rem;
}

.btn-agregar {
    background: var(--accent);
    color: #000;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: var(--transition);
}

.btn-agregar:hover:not(:disabled) {
    background: var(--accent-hover);
}

.btn-agregar:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* Modificaciones List-View (Layout horizontal) */
.list-view .producto-card {
    flex-direction: row;
    align-items: center;
    height: auto;
}

.list-view .producto-info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.list-view .producto-texto-col {
    flex: 1;
}

.list-view .producto-descripcion {
    margin-bottom: 0;
    -webkit-line-clamp: 1;
}

.list-view .producto-footer {
    margin-top: 0;
    gap: 1.5rem;
}

/* Comportamiento del Carrito Responsivo (Fijo en PC / Modal en Movil) */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    height: 100dvh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    height: 100dvh;
    background: var(--panel-bg);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-overlay.open .drawer {
    right: 0;
}

/* CSS Adaptativo para PC (Carrito Fijo) */
@media (min-width: 1024px) {
    .drawer-overlay {
        position: sticky !important;
        top: 90px;
        width: 100% !important;
        height: calc(100vh - 120px) !important;
        background: transparent !important;
        backdrop-filter: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        z-index: 10 !important;
        display: block !important;
    }

    .drawer-overlay .drawer {
        position: relative !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        border: 1px solid var(--border) !important;
        border-radius: 20px !important;
        background: var(--panel-bg) !important;
        box-shadow: none !important;
    }

    /* Ocultar botones interactivos de cierre y carrito header */
    #btn-carrito,
    .drawer-header .btn-cerrar {
        display: none !important;
    }
}

.drawer-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
}

.btn-cerrar {
    background: transparent;
    color: var(--text-muted);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cerrar:hover {
    color: var(--danger);
}

.drawer-content {
    padding: 1.2rem 1.5rem;
    flex: 1;
    overflow-y: auto;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cart-item {
    display: flex;
    gap: 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.6rem;
    align-items: center;
}

.cart-item-imagen {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-imagen img {
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
}

.cart-item-detalles {
    flex: 1;
}

.cart-item-nombre {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
}

.cart-item-precios-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.2rem;
}

.cart-item-subtotal {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.cart-item-controles {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-cant {
    background: var(--border);
    color: var(--text);
    border: none;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-cant:hover {
    background: var(--accent);
    color: #000;
}

.item-cantidad {
    font-size: 0.85rem;
    font-weight: bold;
    min-width: 15px;
    text-align: center;
}

.btn-eliminar-item {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.btn-eliminar-item:hover {
    color: var(--danger);
}

.cart-empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 3rem 1rem;
}

.cart-empty-state div {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Footer de Checkout */
.drawer-footer {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--border);
    background: var(--bg-color);
}

.cart-totales {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.8rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
}

.total-row.final {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
    margin-top: 0.2rem;
    border-top: 1px dashed var(--border);
    padding-top: 0.4rem;
}

/* Formularios */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-control {
    width: 100%;
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

input[type="date"].form-control {
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    user-select: none;
}

.form-checkbox input {
    accent-color: var(--accent);
    width: 16px;
    height: 16px;
}

/* Selectores de Recogida vs EnvÃ­o */
.metodo-entrega-selectores {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.selector-metodo {
    border: 1px solid var(--border);
    background: var(--bg-color);
    padding: 0.6rem;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    color: var(--text-muted);
}

.selector-metodo.activo {
    border-color: var(--accent);
    background: rgba(var(--accent-rgb), 0.08);
    color: var(--accent);
}

/* SecciÃ³n Recogida y Comprobantes */
.pickup-details-box {
    background: rgba(var(--accent-rgb), 0.05);
    border: 1px dashed var(--accent);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.comprobante-qr-box {
    background: #fff;
    padding: 0.8rem;
    border-radius: 8px;
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto;
}

.comprobante-qr-box img {
    max-width: 100%;
    max-height: 100%;
}

/* Letrero Popup de Pedido Exitoso */
.modal-pedido-confirmado {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.2rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: var(--shadow);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.confirmado-details {
    background: var(--bg-color);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 12px;
    text-align: left;
    margin: 1.2rem 0;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.9rem;
}

.nota-advertencia-pedido {
    background: rgba(230, 126, 34, 0.1);
    border-left: 4px solid var(--warning);
    padding: 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #e67e22;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

/* Pie de PÃ¡gina (Footer) */
footer {
    background: var(--panel-bg);
    border-top: 1px solid var(--border);
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Estilos de Switch deslizante (Existencia Toggle) */
.switch-existence {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch-existence input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-existence {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--border);
    transition: .3s;
    border-radius: 34px;
}

.slider-existence:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .3s;
    border-radius: 50%;
}

input:checked + .slider-existence {
    background-color: var(--success);
}

input:checked + .slider-existence:before {
    transform: translateX(22px);
    background-color: #000;
}

/* Responsividad General */
@media (max-width: 768px) {
    .nav-bar {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
        justify-content: center;
    }
    .logo-container {
        justify-content: center;
    }
    .logo-text {
        font-size: 1.3rem !important;
    }
    .logo-img {
        height: 38px;
        width: 38px;
    }
    .nav-links {
        gap: 0.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: center;
        padding-bottom: 0.5rem;
    }
    .nav-links::-webkit-scrollbar {
        height: 4px;
    }
    .nav-links::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,0.2);
        border-radius: 4px;
    }
    #cliente-puntos-saludo {
        display: none;
    }
    .btn-header {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }
    .floating-gifts-btn {
        bottom: 1rem !important;
        left: 1rem !important;
        padding: 0.6rem 0.9rem !important;
        font-size: 0.85rem !important;
    }
    .hero-section {
        padding: 1.5rem 1rem;
    }
    .hero-section h2 {
        font-size: 1.8rem;
    }
    .hero-section p {
        font-size: 0.95rem;
    }
    .controles-busqueda {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    .controles-top-row {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.5rem;
    }
    .buscador-input-container {
        width: 100%;
        flex: 1 1 100%;
    }
    .filtros-avanzados {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    .contenedor {
        padding: 1rem 0.8rem;
    }
    /* Estilos responsivos del catÃ¡logo y carrito */
    .productos-grid:not(.list-view) {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
        gap: 0.6rem !important;
    }
    .productos-grid.list-view {
        grid-template-columns: 1fr !important;
    }
    .producto-card {
        border-radius: 12px;
    }
    .producto-imagen-container {
        height: 100px !important;
        width: 100px !important;
        margin: 2.5rem auto 0 auto !important;
    }
    .producto-info {
        padding: 0.6rem !important;
    }
    .producto-nombre {
        font-size: 0.9rem !important;
        height: auto;
        min-height: 2.2em;
    }
    .precio-valor {
        font-size: 0.95rem !important;
    }
    .btn-agregar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .drawer {
        max-width: 100% !important;
    }
    .drawer-content {
        padding: 1rem !important;
    }
    .drawer-footer {
        padding-bottom: 1rem !important;
    }
    #btn-finalizar-compra {
        margin-bottom: 1rem !important;
        width: 100%;
    }
}

/* Ocultar botÃ³n de canje si el carrito estÃ¡ abierto para evitar solapamiento */
body:has(.drawer-overlay.open) .floating-gifts-btn {
    opacity: 0;
    pointer-events: none;
}

/* Animaciones para Promociones */
@keyframes bounce-delivery {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Contenedor del nombre del premio */
.td-premio-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #f3f4f6; /* Un blanco/gris suave si usas modo oscuro, o #1f2937 si es modo claro */
    letter-spacing: -0.01em;
}

/* Base para los Tags Modernos */
.tag-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem; /* Espacio perfecto entre icono y texto */
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 6px; /* Un radio sutil y moderno, o 20px si prefieres estilo cÃ¡psula */
    white-space: nowrap;
    
    /* Por defecto usa las variables dinÃ¡micas del estado */
    background-color: var(--status-bg, rgba(255, 255, 255, 0.05));
    color: var(--status-color, #fff);
    border: 1px solid var(--status-bg, transparent);
}

/* Tag especÃ­fico para los puntos (Yuyos) */
.tag-modern.tag-points {
    background-color: rgba(241, 196, 15, 0.08); /* Fondo dorado sutil */
    color: var(--accent); /* Tu color de acento actual */
    border: 1px solid rgba(241, 196, 15, 0.18);
}

/* Ajuste sutil para el icono dentro del tag */
.tag-icon {
    font-size: 0.85rem;
    line-height: 1;
}@keyframes pulse-glow {
            0% {
                box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6);
            }
            70% {
                box-shadow: 0 0 0 12px rgba(241, 196, 15, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(241, 196, 15, 0);
            }
        }
        .floating-gifts-btn {
            animation: pulse-glow 2s infinite;
        }


/* --- Estilos extraÃ­dos de inline --- */
.logo-text-style-1 {
    background: linear-gradient(135deg, #fff 20%, #f1c40f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.instagram-header-btn-style-2 {
    display: inline-flex; align-items: center; justify-content: center; margin-left: 0.5rem; color: #fff; transition: var(--transition); opacity: 0.85;
}
.feather-style-3 {
    vertical-align: middle;
}
.whatsapp-header-btn-style-4 {
    display: inline-flex; align-items: center; justify-content: center; margin-left: 0.5rem; color: #fff; transition: var(--transition); opacity: 0.85;
}
.svg-style-5 {
    vertical-align: middle;
}
#usuario-puntos-header {
    display: none; align-items: center; gap: 0.8rem; background: rgba(24, 24, 36, 0.7); border: 1px solid rgba(241, 196, 15, 0.25); padding: 0.4rem 1rem; border-radius: 50px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.05); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
#cliente-puntos-saludo {
    font-weight: 500; font-size: 0.9rem; color: var(--text-muted);
}
#cliente-puntos-valor {
    background: linear-gradient(135deg, #fff 20%, var(--accent) 100%); color: #000; font-weight: 700; font-size: 0.85rem; padding: 0.2rem 0.8rem; border-radius: 50px; box-shadow: 0 2px 10px rgba(241, 196, 15, 0.3); display: inline-flex; align-items: center; gap: 0.3rem;
}
#btn-ver-historial-yuyos {
    background: transparent; border: 1px solid rgba(255,255,255,0.15); color: var(--text-muted); cursor: pointer; border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; transition: var(--transition);
}
#btn-carrito {
    position: relative;
}
#carrito-contador {
    background: var(--accent); color: #000; border-radius: 50%; padding: 0.1rem 0.5rem; font-size: 0.8rem; font-weight: 700; margin-left: 0.3rem; display: none;
}
#btn-logout-cliente {
    display: none;
    transition: all 0.3s ease;
}

#btn-logout-cliente:hover {
    border-color: #ff4757;
    color: #ff4757;
    box-shadow: 0 0 15px rgba(255, 71, 87, 0.3);
    transform: scale(1.05);
    background: rgba(255, 71, 87, 0.1);
}
.hero-section-style-6 {
    position: relative; overflow: hidden; padding: 1.2rem 1rem; background: radial-gradient(circle at center, rgba(241, 196, 15, 0.08) 0%, rgba(9, 9, 13, 0) 70%); border-bottom: 1px solid rgba(241, 196, 15, 0.15);
}
.div-style-7 {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem; 
}
.div-style-8 {
    font-size: 2rem; animation: bounce-delivery 2s ease-in-out infinite;
}
.div-style-9 {
    text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
}
.h2-style-10 {
    margin: 0; font-size: 1.5rem; font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.5px; background: linear-gradient(135deg, #fff 20%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1;
}
.p-style-11 {
    margin: 0; font-size: 0.95rem; color: var(--text); line-height: 1.1;
}
.strong-style-12 {
    color: var(--accent); font-size: 1.05rem; text-shadow: 0 0 10px rgba(241, 196, 15, 0.3);
}
.div-style-13 {
    font-size: 2rem; animation: bounce-delivery 2s ease-in-out infinite 0.3s;
}
.div-style-14 {
    margin-top: 0.5rem; font-size: 0.8rem; color: var(--text-muted); text-align: center; opacity: 0.85;
}
.scroll-explore-container {
    display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 1.5rem; cursor: pointer; opacity: 0.8; transition: opacity 0.3s;
}
.scroll-explore-container:hover {
    opacity: 1;
}
.scroll-explore-text {
    font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.3rem; letter-spacing: 0.5px;
}
.scroll-explore-icon {
    color: var(--text-muted); animation: bounce-down 2s infinite; display: flex; align-items: center; justify-content: center;
}
@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(6px); }
    60% { transform: translateY(3px); }
}

#badge-puntos-flotante {
    background: #000; color: #fff; border-radius: 50px; padding: 0.15rem 0.5rem; font-size: 0.8rem; font-weight: 700; margin-left: 0.2rem;
}
.modal-content-style-15 {
    max-width: 850px; width: 90%; background: var(--bg-card); border: 1px solid rgba(241, 196, 15, 0.25); box-shadow: 0 10px 40px rgba(0,0,0,0.5); padding: 2.2rem; border-radius: 16px; position: relative;
}
#close-premios-yuyos, #close-detalle-pedido, #close-comanda-resumen {
    position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: var(--text-muted); font-size: 1.8rem; cursor: pointer; transition: all 0.3s ease;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
#close-premios-yuyos:hover, #close-detalle-pedido:hover, #close-comanda-resumen:hover {
    color: #000; background: var(--accent); transform: rotate(90deg);
}
.div-style-16 {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 1rem;
}
.h3-style-17 {
    font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent); margin: 0; display: flex; align-items: center; gap: 0.5rem;
}
.p-style-18 {
    color: var(--text-muted); font-size: 0.9rem; margin: 0.2rem 0 0 0;
}
.tuz-saldo-yuyos-style-19 {
    background: rgba(241, 196, 15, 0.1); color: var(--accent); padding: 0.5rem 1.2rem; border-radius: 50px; font-weight: 600; font-size: 0.9rem; border: 1px solid rgba(241, 196, 15, 0.2);
}
#saldo-yuyos-premios {
    font-weight: 700; color: #fff;
}
#grid-premios-yuyos {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; max-height: 60vh; overflow-y: auto; padding-right: 0.5rem;
}
#filtro-orden {
    width: auto; padding: 0.4rem 0.8rem;
}
#filtro-rango-valor {
    font-weight: 600; color: var(--accent); min-width: 80px;
}
#categorias-pills {
    margin-bottom: 1.5rem;
}
.div-style-20 {
    text-align: center; grid-column: 1/-1; color: var(--text-muted); padding: 3rem;
}
.div-style-21 {
    font-size: 2.5rem; margin-bottom: 1rem; animation: pulse 1.5s infinite;
}
#cart-items {
    margin-bottom: 1.5rem;
}
.checkout-fields-container-style-22 {
    border-top: 1px dashed var(--border); padding-top: 1.5rem; margin-top: 1rem;
}
.h4-style-23 {
    margin-bottom: 1rem; font-family: var(--font-serif); font-size: 1.15rem; color: var(--accent);
}
#cliente-barrio {
    background: var(--bg-color); color: var(--text);
}
#seccion-recogida-info {
    display: none;
}
.a-style-24 {
    color: var(--accent); text-decoration: underline; font-weight: 600; display: inline-block; margin-top: 0.3rem;
}
.form-group-style-25 {
    margin-top: 1.2rem;
}
#metodo-pago {
    background: var(--bg-color); color: var(--text);
}
#seccion-transferencia-detalles {
    display: none;
}
#plataforma-pago {
    background: var(--bg-color); color: var(--text);
}
#panel-pago-llave {
    border-color: var(--accent); background: rgba(0,0,0,0.2);
}
.div-style-26 {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 0.2rem; margin-bottom: 0.5rem;
}
.strong-style-27 {
    font-size: 1.1rem; color: var(--accent);
}
.button-style-28 {
    background: rgba(241,196,15,0.1); border: 1px solid rgba(241,196,15,0.4); color: var(--accent); border-radius: 4px; cursor: pointer; padding: 0.2rem 0.5rem; font-size: 0.75rem; font-weight: bold; transition: background 0.2s;
}
.div-style-29 {
    text-align: center; margin: 0.5rem 0;
}
.span-style-30 {
    font-size: 0.75rem; color: var(--text-muted);
}
.form-group-style-31 {
    margin-top: 0.8rem;
}
.label-style-32 {
    font-size: 0.75rem;
}
.div-style-33 {
    font-size: 0.8rem; color: var(--warning); line-height: 1.3; margin-top: 0.5rem; font-weight: 500;
}
#panel-pago-mercadopago {
    display: none; border-color: #3498db; background: rgba(52, 152, 219, 0.05);
}
.p-style-34 {
    font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.8rem;
}
.btn-header-style-35 {
    width: 100%; justify-content: center; border-radius: 8px; font-size: 0.85rem; padding: 0.5rem; background: #3498db; color: #fff; box-shadow: none;
}
#btn-finalizar-compra {
    width: 100%; justify-content: center; padding: 0.9rem; border-radius: 12px;
}

#btn-finalizar-compra:disabled {
    background: var(--border) !important;
    color: var(--text-muted) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.7;
}
.span-style-36 {
    font-size: 4rem; display: block; margin-bottom: 0.5rem;
}
.h3-style-37 {
    font-family: var(--font-serif); font-size: 1.8rem; color: var(--accent); margin-bottom: 0.5rem;
}
.p-style-38 {
    color: var(--text-muted); font-size: 0.95rem;
}
#puntos-ganados-box {
    display: none; background: rgba(241, 196, 15, 0.1); padding: 0.8rem; border-radius: 8px; border: 1px dashed var(--accent); margin-bottom: 1rem; font-weight: 600;
}
#cant-puntos-ganados {
    color: var(--accent);
}
.strong-style-39 {
    display: block; margin-bottom: 0.4rem;
}
.ul-style-40 {
    margin: 0; padding-left: 1.2rem; list-style-type: disc;
}
.li-style-41 {
    margin-bottom: 0.3rem;
}
.li-style-42 {
    margin-bottom: 0.3rem;
}
#btn-confirmacion-aceptar {
    width: 100%; justify-content: center; padding: 0.8rem; border-radius: 10px;
}
.modal-pedido-confirmado-style-43 {
    max-width: 400px; text-align: center;
}
.span-style-44 {
    font-size: 3.5rem; display: block; margin-bottom: 0.5rem;
}
.h3-style-45 {
    font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent); margin-bottom: 0.5rem;
}
#confirmar-canje-texto {
    color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem;
}
.div-style-46 {
    display: flex; flex-direction: column; gap: 1rem; width: 100%;
}
#btn-canje-cancelar {
    flex: 1; justify-content: center; padding: 0.8rem; border-radius: 10px;
}
#btn-canje-confirmar {
    flex: 1; justify-content: center; padding: 0.8rem; border-radius: 10px;
}
.modal-pedido-confirmado-style-47 {
    max-width: 550px; text-align: left; padding: 2rem;
}
.div-style-48 {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem;
}
.h3-style-49 {
    font-family: var(--font-serif); font-size: 1.5rem; color: var(--accent); margin: 0; display: flex; align-items: center; gap: 0.5rem;
}
#btn-cerrar-historial {
    background: transparent; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer;
}
.div-style-50 {
    display: flex; gap: 0.5rem; background: var(--bg-color); padding: 0.3rem; border-radius: 8px; border: 1px solid var(--border); margin-bottom: 1rem;
}
#tab-historial-puntos {
    flex: 1; background: var(--card-bg); border: none; color: var(--accent); font-weight: 600; font-size: 0.85rem; padding: 0.5rem; border-radius: 6px; cursor: pointer;
}
#tab-historial-canjes {
    flex: 1; background: transparent; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; padding: 0.5rem; border-radius: 6px; cursor: pointer;
}
#tab-historial-pedidos {
    flex: 1; background: transparent; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; padding: 0.5rem; border-radius: 6px; cursor: pointer;
}
#contenido-historial-movimientos {
    max-height: 250px; overflow-y: auto;
}
.table-style-51 {
    width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.tr-style-52 {
    border-bottom: 1px solid var(--border); text-align: left; color: var(--text-muted);
}
.th-style-53 {
    padding: 0.5rem 0;
}
.th-style-54 {
    padding: 0.5rem 0;
}
.th-style-55 {
    padding: 0.5rem 0; text-align: right; padding-right: 0.5rem;
}
#contenido-historial-canjes {
    max-height: 250px; overflow-y: auto; display: none;
}
.table-style-56 {
    width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.tr-style-57 {
    border-bottom: 1px solid var(--border); text-align: left; color: var(--text-muted);
}
.th-style-58 {
    padding: 0.5rem 0;
}
.th-style-59 {
    padding: 0.5rem 0;
}
.th-style-60 {
    padding: 0.5rem 0;
}
.th-style-61 {
    padding: 0.5rem 0; text-align: right; padding-right: 0.5rem;
}
.modal-content-style-62 {
    max-width: 480px; text-align: center; padding: 2rem; border-color: var(--accent);
}
.div-style-63 {
    font-size: 3.5rem; margin-bottom: 1rem;
}
.h3-style-64 {
    font-family: var(--font-serif); font-size: 1.6rem; color: var(--accent); margin-bottom: 1rem;
}
.p-style-65 {
    font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; color: var(--text);
}
.div-style-66 {
    background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border); padding: 0.8rem; border-radius: 8px; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; text-align: left;
}
#btn-aceptar-legal {
    width: 100%; justify-content: center; padding: 0.8rem; border-radius: 8px; font-weight: bold;
}



/* Modales */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.activo {
    display: flex;
    opacity: 1;
}

/* Modal Legal: siempre visible hasta que JS lo oculte explÃ­citamente */
#modal-advertencia-legal {
    display: flex !important;
    opacity: 1 !important;
    z-index: 9999;
    transition: none;
}

#modal-advertencia-legal.oculto {
    display: none !important;
    opacity: 0 !important;
}

.modal-content {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    width: 90%;
    max-width: 650px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid var(--border);
    background: rgba(18, 18, 26, 0.5);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* AnimaciÃ³n sutil para precios VIP */
@keyframes vipPulse {
    0% { transform: scale(1); text-shadow: 0 0 0 rgba(37, 211, 102, 0); }
    50% { transform: scale(1.05); text-shadow: 0 0 8px rgba(37, 211, 102, 0.4); }
    100% { transform: scale(1); text-shadow: 0 0 0 rgba(37, 211, 102, 0); }
}

.precio-vip-animado {
    animation: vipPulse 2s infinite ease-in-out;
}


/* =========================================
   Estilo Premium Animado (Pornhub Style)
   ========================================= */
.user-badge {
    position: relative !important;
    color: #ffa31a !important;
    background: transparent !important;
    overflow: hidden !important;
    z-index: 1 !important;
    isolation: isolate !important;
    border: none !important;
}

.user-badge::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        transparent 70%,
        #ffa31a 85%,
        #ff5e00 100%
    );
    z-index: -2;
    animation: rotate-border-global 2.5s linear infinite;
}

.user-badge::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: #111 !important;
    z-index: -1;
    transition: background 0.3s ease;
}

.user-badge {
    border-radius: 50px !important;
}
.user-badge::after {
    border-radius: 48px !important;
}




.user-badge:hover::after {
    background: #1a1a1a !important;
}

.user-badge * {
    color: #ffa31a !important;
}

.user-badge button {
    background: transparent !important;
    border: none !important;
}

@keyframes rotate-border-global {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Corrección para que el botón de canjes siga flotando */



@media (max-width: 480px) {
    .logo-text, .logo-text-style-1 {
        font-size: 1.1rem !important;
    }
    .logo-container { gap: 0.3rem; }
}

@media (max-width: 480px) {
    .logo-text, .logo-text-style-1 {
        font-size: 1.0rem !important;
        white-space: nowrap;
    }
}








#btn-flotante-canjes {
    display: none; position: fixed !important; bottom: 2rem !important; left: 2rem !important; z-index: 1500 !important;
    color: #f1c40f !important; background: transparent !important; border: none !important;
    padding: 0.8rem 1.3rem !important; border-radius: 50px !important; font-weight: 700 !important;
    font-size: 0.95rem !important; cursor: pointer !important; align-items: center !important; gap: 0.5rem !important;
    overflow: hidden !important; isolation: isolate !important;
    box-shadow: 0 4px 20px rgba(241,196,15,0.25) !important;
}
#btn-flotante-canjes::before {
    content: ''; position: absolute; top: -100%; left: -100%; width: 300%; height: 300%;
    background: conic-gradient(from 0deg, transparent 70%, #f1c40f 85%, #fff 100%);
    z-index: -2; animation: rotate-border-global 2.5s linear infinite;
}
#btn-flotante-canjes::after {
    content: ''; position: absolute; inset: 2px; background: #111 !important; z-index: -1;
    border-radius: 48px !important; transition: background 0.3s ease;
}
#btn-flotante-canjes:hover::after {
    background: #1a1a1a !important;
}
#btn-flotante-canjes * {
    color: #f1c40f !important; position: relative; z-index: 2;
}
#btn-flotante-canjes #badge-puntos-flotante {
    background: #f1c40f !important; color: #000 !important; padding: 0.15rem 0.5rem !important; border-radius: 50px !important;
}


#btn-comanda-confirmar {
    position: relative !important;
    color: #f1c40f !important; background: transparent !important; border: none !important;
    font-weight: bold !important;
    overflow: hidden !important; isolation: isolate !important;
    box-shadow: 0 4px 20px rgba(241,196,15,0.25) !important;
    border-radius: 12px !important;
}
#btn-comanda-confirmar::before {
    content: ''; position: absolute; top: -100%; left: -100%; width: 300%; height: 300%;
    background: conic-gradient(from 0deg, transparent 70%, #f1c40f 85%, #fff 100%);
    z-index: -2; animation: rotate-border-global 2.5s linear infinite;
}
#btn-comanda-confirmar::after {
    content: ''; position: absolute; inset: 2px; background: #111 !important; z-index: -1;
    border-radius: 10px !important; transition: background 0.3s ease;
}
#btn-comanda-confirmar:hover::after {
    background: #1a1a1a !important;
}

/* ==========================================
   SHOWCASE YUYOS 3D (ZONA VIP)
   ========================================== */
.showcase-yuyos-container {
    padding: 2.5rem 1rem 3rem 1rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(241, 196, 15, 0.2);
    border-bottom: 1px solid rgba(241, 196, 15, 0.2);
    box-shadow: 0 0 50px rgba(241, 196, 15, 0.05) inset;
}

.showcase-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.showcase-title {
    background: linear-gradient(135deg, #fff 20%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.4));
    margin-bottom: 0.5rem;
}

.showcase-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

/* 3D Carousel Setup */
.showcase-stage {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.carousel-pivot {
    width: 260px;
    height: 380px;
    transform-style: preserve-3d;
}

@media (max-width: 768px) {
    .showcase-yuyos-container {
        padding: 2rem 0.5rem 3rem 0.5rem;
    }
}
@media (max-width: 480px) {
    .showcase-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    .showcase-subtitle {
        font-size: 0.85rem;
    }
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 260px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: opacity 0.3s ease;
}

.carousel-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #080808;
    border: 1px solid rgba(241, 196, 15, 0.4);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.8), inset 0 0 15px rgba(241, 196, 15, 0.1), 0 20px 30px -10px rgba(241, 196, 15, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.carousel-item:hover .carousel-content {
    border-color: rgba(241, 196, 15, 1);
    animation: card-pulse-glow 2s infinite alternate;
    transform: scale(1.10) translateY(-10px);
}

.carousel-img-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(25px);
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 0 15px rgba(0,0,0,0.2);
    border: 3px solid #f1c40f;
    transform-style: preserve-3d;
}

.glowing-platform {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%) rotateX(70deg);
    width: 180px;
    height: 60px;
    background: radial-gradient(ellipse at center, rgba(241, 196, 15, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: -1;
    animation: item-pulse-glow 3s infinite alternate;
}

.carousel-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0px 10px 10px rgba(0, 0, 0, 0.4));
    transform: translateZ(15px);
}

.carousel-info {
    text-align: center;
    margin-top: 15px;
    z-index: 3;
    padding: 8px 15px;
    transform: translateZ(30px);
}

/* Spotlight Effect on Hover */
.carousel-item::before {
    content: '';
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 20px #f1c40f, 0 0 40px #f1c40f, 0 0 60px #f1c40f;
    opacity: 0;
    pointer-events: none;
    z-index: 6;
    transition: opacity 0.5s ease;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: -55px;
    left: -100px;
    right: -100px;
    height: 450px;
    background: conic-gradient(from 150deg at 50% 0%, 
        transparent 0deg, 
        rgba(241, 196, 15, 0.15) 12deg, 
        transparent 20deg, 
        rgba(241, 196, 15, 0.5) 30deg, 
        transparent 40deg, 
        rgba(241, 196, 15, 0.15) 48deg, 
        transparent 60deg);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    opacity: 0;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.5s ease;
}

.carousel-item:hover::before,
.carousel-item:hover::after {
    opacity: 1;
}

.carousel-name {
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.carousel-price {
    color: #f1c40f;
    font-size: 1.1rem;
    font-weight: 800;
}

@keyframes item-pulse-glow {
    0% { opacity: 0.6; filter: blur(5px); }
    100% { opacity: 1; filter: blur(12px); }
}

@keyframes card-pulse-glow {
    0% {
        box-shadow: 0 10px 20px rgba(0,0,0,0.9), inset 0 0 20px rgba(241, 196, 15, 0.2), 0 0 20px rgba(241, 196, 15, 0.4);
    }
    100% {
        box-shadow: 0 15px 30px rgba(0,0,0,0.9), inset 0 0 40px rgba(241, 196, 15, 0.5), 0 0 60px rgba(241, 196, 15, 0.8);
    }
}
