body {
    font-family: 'Montserrat', sans-serif;
        background-color: #0C0C0C;
    color: #E5E3E1;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #1A1A1A;
    border-bottom: 1px solid #27272a;
}

.header-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo-container {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 3.5rem;
    width: auto;
    object-fit: contain;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.header-nav {
    display: none;
}

.header-nav.abierto {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #1A1A1A;
    border-bottom: 1px solid #27272a;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.header-nav.abierto a {
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
}

.header-nav.abierto a:hover,
.header-nav.abierto a.active {
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #E5E3E1;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
}

@media (min-width: 768px) {
    .header-nav {
        display: flex;
        gap: 1.5rem;
        position: static;
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }

    .menu-toggle {
        display: none;
    }
}

.header-nav a {
    font-size: 0.875rem;
    font-weight: 700;
    color: #d4d4d8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-nav a.active,
.header-nav a:hover {
    color: #FF0000;
}

@media (min-width: 768px) and (max-width: 1180px) {
    .header-nav {
        gap: 1rem;
        margin-left: 1rem;
    }

    .header-nav a {
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

.cart-button-wrapper {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.2s ease;
}

.cart-button-wrapper:hover {
    color: #FF0000;
}

.cart-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.5rem;
    background-color: #FF0000;
    color: #ffffff;
    font-size: 10px;
    border-radius: 9999px;
    padding: 0 0.375rem;
    font-weight: 700;
}

.cart-icon {
    font-size: 1.25rem;
}

.main-wrapper {
    width: 100%;
}

.section-wrapper {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-carrousel-container {
    position: relative;
    width: 100%;
    background-color: #121214;
    border: 1px solid #27272a;
    border-radius: 1.5rem;
    padding: 3.5rem 3rem 4.5rem 3rem; 
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-slide {
    display: none; 
    width: 100%;
    animation: fadeEffect 0.5s ease-in-out;
}

.hero-slide.active {
    display: block; 
}

@keyframes fadeEffect {
    from { opacity: 0.2; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-carrousel-container .hero-glow-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    background: radial-gradient(circle at right, rgba(239, 68, 68, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-btn-primary {
    background-color: #FF0000;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-btn-primary:hover {
    background-color: #FF0000;
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    border-color: #FF0000;
    background-color: rgba(239, 68, 68, 0.05);
    transform: translateY(-2px);
}

.hero-features-bar {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #e4e4e7;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.65rem 1rem;
    border-radius: 0.75rem;
    flex: 1;
}

.feature-icon {
    color: #FF0000;
}

.carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: rgba(24, 24, 27, 0.8);
    color: #a1a1aa;
    border: 1px solid #27272a;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: #FF0000;
    color: #ffffff;
    border-color: #FF0000;
}

.carousel-btn.prev { left: 1.25rem; }
.carousel-btn.next { right: 1.25rem; }

.carousel-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #FF0000;
    width: 22px;
    border-radius: 4px;
}

.hero-section {
    margin-top: 3.0rem; 
}

@media (max-width: 768px) {
    .hero-features-bar {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.discount-section {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}

.banner-oferta {
    background-color: #121212;
    border: 2px dashed #3f3f46;
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    transition: border-color 0.2s ease;
}

@media (min-width: 768px) {
    .banner-oferta {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 2rem;
    }
}

.banner-oferta:hover {
    border-color: rgba(255, 0, 0, 0.5);
}

.banner-title {
    font-size: 1.875rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.05em;
    margin: 0;
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 3rem;
    }
}

.banner-title span {
    color: #FF0000;
}

.banner-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .banner-info {
        align-items: flex-start;
    }
}

.banner-subtitle {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .banner-subtitle {
        font-size: 1.25rem;
    }
}

.banner-desc {
    font-size: 0.75rem;
    color: rgba(229, 227, 225, 0.7);
    margin-top: 0.25rem;
}

@media (min-width: 768px) {
    .banner-desc {
        font-size: 0.875rem;
    }
}

.productos-section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.productos-title-area h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin: 0;
}

.productos-title-area p {
    color: rgba(229, 227, 225, 0.6);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.productos-link-todo {
    color: #FF0000;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 700;
    transition: color 0.2s ease;
}

.productos-link-todo:hover {
    color: #f87171;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .productos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .productos-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.card-producto {
    background-color: #1A1A1A;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.2s ease;
}

.card-producto:hover {
    border-color: rgba(255, 0, 0, 0.5);
}

.productos-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-producto-lista {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: #1A1A1A;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    padding: 1.25rem;
    transition: border-color 0.2s ease;
}

.card-producto-lista:hover {
    border-color: rgba(255, 0, 0, 0.5);
}

.lista-img-box {
    background-color: #ffffff;
    border-radius: 0.5rem;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lista-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

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

.lista-nombre {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: #ffffff;
}

.lista-descripcion {
    color: rgba(229, 227, 225, 0.6);
    font-size: 0.8rem;
    margin-top: 0.35rem;
    margin-bottom: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.lista-precio-accion {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 180px;
}

.lista-precio-accion .precio-container {
    align-items: flex-end;
    margin-bottom: 0;
    width: 100%;
}

.lista-precio-accion .precio-efectivo-wrapper {
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .card-producto-lista {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 1rem;
    }
    .lista-img-box {
        width: 100%;
        height: 180px;
    }
    .lista-precio-accion {
        width: 100%;
        align-items: center;
    }
    .lista-precio-accion .precio-container {
        align-items: center;
    }
    .lista-precio-accion .precio-efectivo-wrapper {
        justify-content: center;
    }
}

.card-img-box {
    background-color: #ffffff;
    border-radius: 0.5rem;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-img-text {
    color: #a1a1aa;
    font-size: 0.75rem;
    font-weight: 700;
}

.card-categoria {
    font-size: 10px;
    color: #FF0000;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-nombre {
    font-weight: 700;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
    color: #ffffff;
}

.card-descripcion {
    color: rgba(229, 227, 225, 0.6);
    font-size: 11px;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.card-bottom {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.card-precio {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.btn-rojo {
    width: 100%;
    background-color: #FF0000;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-rojo:hover {
    background-color: #b91c1c;
}

.no-productos {
    grid-column: span 5 / span 5;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #71717a;
    font-size: 0.875rem;
}

.contact-section {
    padding: 5rem 2rem;
    background-color: #0a0a0a;
    color: #fff;
    border-top: 1px solid #1a1a1a;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.contact-header p {
    color: #888;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-card {
    background: #141414;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #222;
}

.contact-info-card h3 {
    margin-bottom: 1.5rem;
    color: #ff0000;
}

.contact-info-card p {
    margin-bottom: 1rem;
    color: #bbb;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    color: #ccc;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem 1rem;
    background: #141414;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
}

.btn-submit {
    padding: 0.9rem;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #cc0000;
}

.site-footer {
    background-color: #050505;
    color: #aaa;
    padding: 3rem 2rem 1.5rem;
    border-top: 1px solid #1a1a1a;
}

.footer-container {
    max-width: 900px; 
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 4rem; 
    margin-bottom: 2rem;
    justify-content: center;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    display: inline-block; 
    text-align: left; 
}

.footer-col p,
.footer-col ul li a {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-col ul li a:hover {
    color: #ff0000;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #111;
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: #666;
}

.carrito-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1900;
}

.carrito-overlay.abierto {
    opacity: 1;
    pointer-events: auto;
}

.carrito-panel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 400px;
    background-color: #141414;
    border-left: 1px solid #27272a;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
    overflow-y: auto;
}

.carrito-panel.abierto {
    transform: translateX(0);
}

.carrito-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #27272a;
}

.carrito-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.25rem;
}

.carrito-cerrar {
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.carrito-cerrar:hover {
    color: #ef4444;
}

.carrito-items {
    flex: 1 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carrito-vacio {
    color: #71717a;
    text-align: center;
    margin-top: 2rem;
}

.carrito-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #27272a;
}

.carrito-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 0.35rem;
    flex-shrink: 0;
}

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

.carrito-item-nombre {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
}

.carrito-item-precio {
    color: #ef4444;
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.carrito-item-cantidad {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.carrito-item-cantidad span {
    color: #fff;
    font-weight: 700;
    min-width: 1rem;
    text-align: center;
}

.carrito-btn-cantidad {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #3f3f46;
    background-color: transparent;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.carrito-btn-cantidad:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.carrito-item-quitar {
    background: transparent;
    border: none;
    color: #71717a;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    align-self: flex-start;
}

.carrito-item-quitar:hover {
    color: #ef4444;
}

.carrito-footer {
    padding: 1.5rem;
    border-top: 1px solid #27272a;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.carrito-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.carrito-btn-vaciar {
    background: transparent;
    border: 1px solid #3f3f46;
    color: #a1a1aa;
    padding: 0.7rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.carrito-btn-vaciar:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.carrito-btn-checkout:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.carrito-datos-cliente {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.carrito-datos-cliente input:not([type="radio"]),
.carrito-datos-cliente select {
    padding: 0.7rem 0.9rem;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.carrito-datos-cliente input:not([type="radio"]):focus,
.carrito-datos-cliente select:focus {
    outline: none;
    border-color: #ff0000;
}

.carrito-seccion-titulo {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a1a1aa;
    margin: 0.5rem 0 0 0;
}

.carrito-entrega-opciones {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.entrega-opcion {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border: 1px solid #333;
    border-radius: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #d4d4d8;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.entrega-opcion input {
    accent-color: #ff0000;
    margin: 0;
}

.entrega-opcion:has(input:checked) {
    border-color: #ff0000;
    background-color: rgba(255, 0, 0, 0.08);
    color: #fff;
}

.entrega-campos {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.oculto {
    display: none !important;
}

body.light-mode .carrito-panel {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
}

body.light-mode .carrito-header,
body.light-mode .carrito-footer {
    border-color: #e4e4e7;
}

body.light-mode .carrito-item {
    border-color: #e4e4e7;
}

body.light-mode .carrito-btn-cantidad {
    border-color: #d4d4d8;
    color: #18181b;
}

body.light-mode .carrito-btn-cantidad:hover {
    border-color: #ef4444;
    color: #ef4444;
}

body.light-mode .carrito-item-cantidad span {
    color: #18181b;
}

body.light-mode .carrito-datos-cliente select {
    background-color: #f4f4f5;
    color: #18181b;
    border-color: #d4d4d8;
}

body.light-mode .entrega-opcion {
    border-color: #d4d4d8;
}

body.light-mode .entrega-opcion:has(input:checked) {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.06);
}

.map-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.map-link:hover {
    color: #FF0000;
}

.card-bottom {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
}

.precio-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.75rem;
}

.precio-original {
    font-size: 0.75rem;
    color: #71717a;
    text-decoration: line-through;
}

.precio-efectivo-wrapper {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.card-precio {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
}

.badge-ahorro {
    font-size: 8px; 
    line-height: 1.2; 
    text-align: center;
    display: inline-block;
    background-color: rgba(255, 0, 0, 0.15);
    color: #FF0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-img-box {
    background-color: #ffffff;
    border-radius: 0.5rem;
    height: 11rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.card-product-img {
    background-color: #ffffff;
    width: auto;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
}

.social-links {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.social-logo-img {
    height: 35px; 
    width: auto;
    object-fit: contain;
}

.theme-btn {
    background: transparent;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    transform: scale(1.15);
}

body.light-mode { background-color: #f4f4f5 !important; color: #18181b !important; }
    
    .light-mode .site-header, 
    .light-mode .site-footer, 
    .light-mode .hero-carrousel-container, 
    .light-mode .card-producto,
    .light-mode .card-producto-lista,
    .light-mode .banner-oferta,  
    .light-mode .contact-section,
    .light-mode .contact-container,
    .light-mode .contact-info-card {              
        background-color: #ffffff !important; 
        border-color: #e4e4e7 !important; 
    }

    .light-mode input, 
    .light-mode textarea {
        background-color: #f4f4f5 !important;
        color: #18181b !important;
        border: 1px solid #d4d4d8 !important;
    }

    .light-mode h1, .light-mode h2, .light-mode h3, 
    .light-mode p, .light-mode a, .light-mode span, .light-mode label { 
        color: #18181b !important; 
    }
    
    .light-mode .hero-tag, 
    .light-mode .badge-ahorro, 
    .light-mode .banner-title span,  
    .light-mode .social-icon:hover { 
        color: #ef4444 !important; 
    }

    .light-mode .btn-rojo, 
    .light-mode .hero-btn-primary,
    .light-mode button[type="submit"] { 
        color: #ffffff !important; 
    }

.catalogo-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.catalogo-titulo-seccion {
    font-size: 1.8rem;
    color: #fff;
    margin: 0;
}

.select-ordenar {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    margin-left: 0.5rem;
}

.form-filtros-catalogo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.input-buscador {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.input-buscador::placeholder {
    color: #777;
}

.input-precio {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 0.4rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    width: 110px;
}

.input-precio::placeholder {
    color: #777;
}

.input-precio::-webkit-outer-spin-button,
.input-precio::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.input-precio {
    -moz-appearance: textfield;
}

.btn-buscar {
    background: #ef4444;
    color: #fff;
    border: none;
    padding: 0.45rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-buscar:hover {
    background: #dc2626;
}

.catalogo-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.sidebar-categorias {
    width: 260px;
    flex-shrink: 0;
    background-color: #1a1a1a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #222;
}

.sidebar-categorias h3 {
    color: #fff;
    font-size: 1.1rem;
    margin: 0;
}

.categorias-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #333;
}

.btn-toggle-categorias {
    font-size: 0.9rem;
}

.categorias-lista-principal {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.categorias-lista-principal.abierta {
    max-height: 2000px;
}

.sidebar-categorias ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-categorias li {
    margin-bottom: 0.5rem;
}

.sidebar-categorias a {
    display: flex;
    align-items: center;
    color: #aaa;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.sidebar-categorias a::before {
    content: "›"; 
    margin-right: 10px;
    color: #ef4444;
    font-size: 1.2rem;
}

.sidebar-categorias a:hover,
.sidebar-categorias a.activo {
    color: #fff;
    font-weight: bold;
}

.categoria-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.categoria-item-wrapper a {
    flex: 1;
}

.btn-toggle-sub {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: #71717a;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    line-height: 1;
    transition: transform 0.25s ease, color 0.2s ease, background-color 0.2s ease;
}

.btn-toggle-sub svg {
    width: 16px;
    height: 16px;
}

.btn-toggle-sub:hover {
    color: #ef4444;
    background-color: rgba(255, 255, 255, 0.06);
}

.btn-toggle-sub[aria-expanded="true"] {
    transform: rotate(180deg);
    color: #ef4444;
}

.subcategorias-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.subcategorias-panel.abierta {
    grid-template-rows: 1fr;
}

.subcategorias-lista {
    min-height: 0;
    overflow: hidden;
    list-style: none;
    margin: 0 0 0 0.45rem;
    padding: 0 0 0 0.75rem;
    border-left: 1px solid #333;
    transition: margin 0.25s ease;
}

.subcategorias-panel.abierta .subcategorias-lista {
    margin-top: 0.15rem;
    margin-bottom: 0.6rem;
}

.sidebar-categorias .subcategorias-lista li {
    margin-bottom: 0.1rem;
}

.sidebar-categorias .subcategorias-lista a {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
}

.sidebar-categorias .subcategorias-lista a::before {
    content: none;
}

@media (hover: hover) {
    .sidebar-categorias .subcategorias-lista a:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
}

.sidebar-categorias .subcategorias-lista a.activo {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

.productos-area {
    transition: opacity 0.15s ease;
}

body.cargando-resultados .productos-area {
    opacity: 0.45;
    pointer-events: none;
}

.productos-area {
    flex: 1; 
}

@media (max-width: 768px) {
    .catalogo-layout {
        flex-direction: column;
    }
    .sidebar-categorias {
        width: 100%;
    }
    .catalogo-top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .form-filtros-catalogo {
        width: 100%;
    }
    .input-buscador {
        flex: 1;
        min-width: 0;
    }
    .input-precio {
        width: calc(50% - 0.25rem);
    }
}

body.light-mode .catalogo-top-bar { border-bottom-color: #e4e4e7; }

body.light-mode .header-nav.abierto {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

body.light-mode .header-nav.abierto a:hover,
body.light-mode .header-nav.abierto a.active {
    background-color: rgba(0, 0, 0, 0.04);
}
body.light-mode .catalogo-titulo-seccion { color: #18181b !important; }
body.light-mode .select-ordenar { background: #fff; color: #18181b; border-color: #d4d4d8; }
body.light-mode .input-buscador { background: #fff; color: #18181b; border-color: #d4d4d8; }
body.light-mode .input-buscador::placeholder { color: #999; }
body.light-mode .input-precio { background: #fff; color: #18181b; border-color: #d4d4d8; }
body.light-mode .input-precio::placeholder { color: #999; }

body.light-mode .sidebar-categorias {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
}

body.light-mode .sidebar-categorias h3 { color: #18181b !important; }
body.light-mode .categorias-header-wrapper { border-bottom-color: #e4e4e7; }
body.light-mode .sidebar-categorias a { color: #52525b; }
body.light-mode .sidebar-categorias a:hover,
body.light-mode .sidebar-categorias a.activo { color: #ef4444 !important; }

.header-cuenta-link,
.header-cuenta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.5rem;
    color: #d4d4d8;
}

.header-cuenta-link {
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-cuenta-link:hover {
    color: #FF0000;
}



.header-cuenta-salir:hover {
    color: #FF0000;
}

@media (max-width: 480px) {
    .header-cuenta-texto {
        display: none;
    }
}

.auth-section {
    max-width: 440px;
    margin: 3rem auto 4rem;
    padding: 0 1rem;
}

.auth-card {
    background-color: #141414;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 2rem;
}

.auth-card h1 {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 0.5rem 0;
}

.auth-subtitulo {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 1.5rem 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-errores {
    list-style: none;
    margin: 0 0 1.25rem 0;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 0.5rem;
    color: #f87171;
    font-size: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.auth-alternativa {
    text-align: center;
    color: #888;
    font-size: 0.85rem;
    margin: 1.5rem 0 0 0;
}

.auth-alternativa a {
    color: #FF0000;
    font-weight: 700;
    text-decoration: none;
}

body.light-mode .auth-card {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
}

body.light-mode .auth-errores li {
    color: #b91c1c !important;
}

.auth-exito {
    margin: 0 0 1.25rem 0;
    padding: 0.75rem 1rem;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.35);
    border-radius: 0.5rem;
    color: #4ade80;
    font-size: 0.85rem;
    line-height: 1.5;
}

body.light-mode .auth-exito {
    color: #15803d !important;
}

.auth-boton-link {
    display: block;
    text-align: center;
    text-decoration: none;
}

.auth-olvide {
    margin: -0.5rem 0 0 0;
    text-align: right;
    font-size: 0.8rem;
}

.auth-olvide a {
    color: #a1a1aa;
    text-decoration: none;
}

.auth-olvide a:hover {
    color: #FF0000;
}

body.light-mode .auth-alternativa a {
    color: #ef4444 !important;
}

.password-requisitos {
    list-style: none;
    margin: 0.5rem 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    font-size: 0.8rem;
    color: #888;
}

.password-requisitos li::before {
    content: "○ ";
}

.password-requisitos li.cumplido {
    color: #22c55e;
}

.password-requisitos li.cumplido::before {
    content: "✓ ";
}

.password-coinciden {
    margin: 0.4rem 0 0 0;
    font-size: 0.8rem;
    min-height: 1em;
}

.password-coinciden.si {
    color: #22c55e;
}

.password-coinciden.no {
    color: #f87171;
}

body.light-mode .password-requisitos li.cumplido,
body.light-mode .password-coinciden.si {
    color: #15803d;
}

body.light-mode .password-coinciden.no {
    color: #b91c1c;
}


.carrito-sugerencia {
    font-size: 0.8rem;
    color: #a1a1aa;
    margin: 0;
    line-height: 1.4;
}

.carrito-sugerencia a {
    color: #FF0000;
    font-weight: 700;
    text-decoration: none;
}

.mis-pedidos-section {
    padding-top: 2.5rem;
    padding-bottom: 4rem;
    min-height: 60vh;
    max-width: 52rem;
}

.mis-pedidos-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.mis-pedidos-header h1 {
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0 0.35rem 0;
}

.mis-pedidos-header p {
    color: #888;
    margin: 0;
    font-size: 0.9rem;
}

.mis-pedidos-vacio {
    text-align: center;
    padding: 3rem 1rem;
    background-color: #141414;
    border: 1px dashed #3f3f46;
    border-radius: 0.75rem;
    color: #a1a1aa;
}

.mis-pedidos-cta {
    display: inline-block;
    width: auto;
    padding: 0.7rem 1.5rem;
    margin-top: 0.5rem;
    text-decoration: none;
}

.mis-pedidos-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pedido-card {
    background-color: #141414;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
}

.pedido-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #27272a;
}

.pedido-card-header h2 {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
}

.pedido-card-fecha {
    font-size: 0.8rem;
    color: #71717a;
}

.pedido-card-items {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #d4d4d8;
}

.pedido-card-items li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.pedido-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #27272a;
}

.pedido-card-entrega {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.pedido-card-total {
    font-weight: 900;
    color: #fff;
}

.estado-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 9999px;
    border: 1px solid;
    white-space: nowrap;
}

.estado-pendiente  { color: #facc15 !important; border-color: rgba(250, 204, 21, 0.4); background: rgba(250, 204, 21, 0.1); }
.estado-confirmado { color: #60a5fa !important; border-color: rgba(96, 165, 250, 0.4); background: rgba(96, 165, 250, 0.1); }
.estado-entregado  { color: #22c55e !important; border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.1); }
.estado-cancelado  { color: #a1a1aa !important; border-color: rgba(161, 161, 170, 0.4); background: rgba(161, 161, 170, 0.1); }

body.light-mode .pedido-card,
body.light-mode .mis-pedidos-vacio {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
}

body.light-mode .pedido-card-header,
body.light-mode .pedido-card-footer {
    border-color: #e4e4e7;
}

body.light-mode .carrito-sugerencia a {
    color: #ef4444 !important;
}

@media (max-width: 640px) {
    .mis-pedidos-header {
        flex-direction: column;
    }
}


.campo-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contacto-estado {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.contacto-estado:empty {
    display: none;
}

.contacto-estado-exito {
    color: #22c55e;
}

.contacto-estado-error {
    color: #f87171;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.light-mode .contacto-estado-exito {
    color: #16a34a !important;
}

body.light-mode .contacto-estado-error {
    color: #dc2626 !important;
}


.menu-cuenta {
    position: relative;
}

.menu-cuenta-boton {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.menu-cuenta-flecha {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.menu-cuenta-boton[aria-expanded="true"] .menu-cuenta-flecha {
    transform: rotate(180deg);
}

.menu-cuenta-lista {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 210px;
    background-color: #1A1A1A;
    border: 1px solid #27272a;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    z-index: 60;
}

.menu-cuenta-lista[hidden] {
    display: none;
}

.menu-cuenta-saludo {
    margin: 0 0 0.35rem 0;
    padding: 0.5rem 0.75rem 0.65rem;
    font-size: 0.8rem;
    color: #a1a1aa;
    border-bottom: 1px solid #27272a;
}

.menu-cuenta-lista a {
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    color: #d4d4d8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.menu-cuenta-lista a:hover {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.menu-cuenta-lista .menu-cuenta-salir {
    margin-top: 0.35rem;
    border-top: 1px solid #27272a;
    border-radius: 0 0 0.5rem 0.5rem;
    color: #f87171;
}

body.light-mode .menu-cuenta-lista {
    background-color: #ffffff !important;
    border-color: #e4e4e7 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .menu-cuenta-saludo,
body.light-mode .menu-cuenta-lista .menu-cuenta-salir {
    border-color: #e4e4e7;
}

body.light-mode .menu-cuenta-lista a:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

body.light-mode .menu-cuenta-lista .menu-cuenta-salir {
    color: #dc2626 !important;
}

:root {
    --ev-negro: #0C0C0C;
    --ev-rojo: #FF0000;
    --ev-blanco: #E5E3E1;
    --ev-superficie: #141414;
    --ev-borde: #27272a;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.inicio-hero-wrapper {
    margin-top: 2rem;
}

.inicio-hero {
    position: relative;
    background-color: var(--ev-negro);
    background-image: radial-gradient(circle at 78% 50%, rgba(255, 0, 0, 0.12), transparent 55%);
    border: 1px solid var(--ev-borde);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 3rem 3rem 5.5rem;
    color: var(--ev-blanco);
}

.hero-diapos {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.hero-diapo {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    min-width: 0;
    gap: 2rem;
    align-items: center;
    min-height: 400px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.hero-diapo.active {
    visibility: visible;
    opacity: 1;
}

.hero-contenido {
    position: relative;
    z-index: 2;
    transform: translateY(12px);
    transition: transform 0.6s ease;
}

.hero-diapo.active .hero-contenido {
    transform: none;
}

.hero-etiqueta,
.seccion-etiqueta {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-rojo);
}

.hero-etiqueta {
    margin-bottom: 1.25rem;
}

.hero-titulo {
    margin: 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-titulo-fino {
    display: block;
    font-weight: 300;
    color: var(--ev-blanco);
}

.hero-titulo-fuerte {
    display: block;
    font-weight: 900;
    color: #ffffff;
}

.hero-titulo-punto {
    font-style: normal;
    color: var(--ev-rojo);
}

.hero-texto {
    max-width: 34rem;
    margin: 1.5rem 0 0;
    font-size: 1rem;
    line-height: 1.65;
    color: rgba(229, 227, 225, 0.7);
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-boton {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.6rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.hero-boton-primario {
    background-color: var(--ev-rojo);
    color: #ffffff;
}

.hero-boton-primario:hover {
    background-color: #d60000;
    transform: translateY(-2px);
}

.hero-boton-secundario {
    border: 1px solid rgba(229, 227, 225, 0.25);
    color: var(--ev-blanco);
}

.hero-boton-secundario:hover {
    border-color: var(--ev-rojo);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-franjas {
    position: absolute;
    top: 50%;
    right: -3rem;
    width: 115%;
    height: 78%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-franjas span {
    display: block;
    height: 26%;
    background-color: var(--ev-rojo);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
    margin-left: auto;
}

.hero-franjas span:nth-child(1) { width: 100%; }
.hero-franjas span:nth-child(2) { width: 84%; }
.hero-franjas span:nth-child(3) { width: 68%; }

.hero-visual--cifra .hero-franjas span,
.hero-visual--marca .hero-franjas span {
    background-color: #1c1c1c;
}

.hero-visual--marca .hero-franjas span {
    background-color: var(--ev-rojo);
}

.hero-producto-card {
    position: relative;
    z-index: 1;
    width: min(290px, 80%);
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.25rem 1.1rem;
    text-decoration: none;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
    transform: rotate(-4deg);
    transition: transform 0.35s ease;
}

.hero-producto-card:hover {
    transform: rotate(0deg) scale(1.03);
}

.hero-producto-img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

.hero-producto-nombre {
    margin-top: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ev-negro);
}

.hero-producto-precio {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--ev-rojo);
    letter-spacing: -0.02em;
}

.hero-producto-precio small {
    font-size: 0.7rem;
    font-weight: 700;
    color: #71717a;
    letter-spacing: 0;
}

.hero-cifra {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-cifra-numero {
    font-size: clamp(6rem, 13vw, 10.5rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: var(--ev-rojo);
}

.hero-cifra-leyenda {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-blanco);
}

.hero-controles {
    position: absolute;
    left: 3rem;
    right: 3rem;
    bottom: 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
}

.hero-puntos {
    display: flex;
    gap: 0.5rem;
}

.hero-punto {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background-color: rgba(229, 227, 225, 0.25);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.hero-punto.active {
    width: 32px;
    background-color: var(--ev-rojo);
}

.hero-flechas {
    display: flex;
    gap: 0.5rem;
}

.hero-flecha {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(229, 227, 225, 0.2);
    background-color: rgba(12, 12, 12, 0.6);
    color: var(--ev-blanco);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-flecha:hover {
    background-color: var(--ev-rojo);
    border-color: var(--ev-rojo);
    color: #ffffff;
}

.beneficios {
    margin-top: 1.25rem;
}

.beneficios-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.beneficio {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.1rem 1.25rem;
    background-color: var(--ev-superficie);
    border: 1px solid var(--ev-borde);
    border-radius: 1rem;
}

.beneficio-icono {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 0.75rem;
    background-color: rgba(255, 0, 0, 0.12);
    color: var(--ev-rojo);
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-icono svg {
    width: 22px;
    height: 22px;
}

.beneficio-titulo {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.beneficio-texto {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: rgba(229, 227, 225, 0.6);
}

.seccion-inicio {
    padding-top: 4.5rem;
}

.seccion-encabezado {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.seccion-etiqueta {
    margin-bottom: 0.5rem;
}

.seccion-titulo {
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.seccion-titulo strong {
    font-weight: 900;
}

.seccion-link {
    color: var(--ev-rojo);
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.seccion-link:hover {
    text-decoration: underline;
}

.categorias-carrusel {
    --cat-visibles: 4;
    --cat-espacio: 1rem;
    overflow: hidden;
    margin: -8px -4px;
    padding: 8px 4px;
    touch-action: pan-y;
}

.categorias-pista {
    display: flex;
    gap: var(--cat-espacio);
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.categorias-item {
    flex: 0 0 calc((100% - (var(--cat-visibles) - 1) * var(--cat-espacio)) / var(--cat-visibles));
    min-width: 0;
}

.categorias-carrusel.arrastrando .categorias-pista {
    transition: none;
}

.categorias-carrusel .categoria-card {
    user-select: none;
    -webkit-user-drag: none;
}

.categorias-flechas {
    display: flex;
    gap: 0.5rem;
}

.categorias-flecha {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid var(--ev-borde);
    background: transparent;
    color: var(--ev-blanco);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.categorias-flecha svg {
    width: 18px;
    height: 18px;
}

.categorias-flecha:hover {
    border-color: var(--ev-rojo);
    color: var(--ev-rojo);
}

.categorias-flecha:active {
    background-color: rgba(255, 0, 0, 0.1);
}

.categorias-flecha:focus-visible {
    outline: 2px solid var(--ev-rojo);
    outline-offset: 2px;
}

body.light-mode .categorias-flecha {
    border-color: #e4e4e7;
    color: #18181b;
}

body.light-mode .categorias-flecha:hover {
    border-color: var(--ev-rojo);
    color: var(--ev-rojo);
}

@media (max-width: 1024px) {
    .categorias-carrusel {
        --cat-visibles: 3;
    }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
    .categorias-flechas {
        display: none;
    }
}

@media (max-width: 640px) {
    .categorias-carrusel {
        --cat-visibles: 2.2;
        --cat-espacio: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .categorias-pista {
        transition: none;
    }
}

.categoria-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 210px;
    box-sizing: border-box;
    padding: 1.5rem;
    background-color: var(--ev-superficie);
    border: 1px solid var(--ev-borde);
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.categoria-card:hover {
    transform: translateY(-4px);
    border-color: var(--ev-rojo);
}

.categoria-icono {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    background-color: var(--ev-rojo);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria-icono svg {
    width: 26px;
    height: 26px;
}

.categoria-nombre {
    position: relative;
    z-index: 1;
    margin-top: auto;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.categoria-cantidad {
    position: relative;
    z-index: 1;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: rgba(229, 227, 225, 0.55);
}

.categoria-flecha {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    font-size: 1.3rem;
    color: var(--ev-rojo);
    transition: transform 0.25s ease;
}

.categoria-card:hover .categoria-flecha {
    transform: translateX(5px);
}

.categoria-franjas {
    position: absolute;
    top: 1.6rem;
    right: -0.5rem;
    width: 48%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    opacity: 0.15;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.categoria-franjas i {
    display: block;
    height: 11px;
    background-color: var(--ev-rojo);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12% 100%);
}

.categoria-franjas i:nth-child(1) { width: 100%; }
.categoria-franjas i:nth-child(2) { width: 82%; }
.categoria-franjas i:nth-child(3) { width: 64%; }

.categoria-card:hover .categoria-franjas {
    opacity: 1;
    transform: translateX(-6px);
}

.animaciones-activas [data-animar] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--retraso, 0ms);
}

.animaciones-activas [data-animar].visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .beneficios-lista {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 860px) {
    .inicio-hero {
        padding: 2.25rem 1.5rem 5rem;
    }

    .hero-diapo {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hero-visual {
        min-height: 280px;
    }

    .hero-franjas {
        right: -1.5rem;
        width: 105%;
    }

    .hero-controles {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

@media (max-width: 520px) {
    .beneficio {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 1rem;
    }

    .beneficio-icono {
        width: 38px;
        height: 38px;
    }

    .categoria-card {
        min-height: 150px;
        padding: 1.1rem;
    }

    .categoria-icono {
        width: 42px;
        height: 42px;
        border-radius: 0.8rem;
    }

    .categoria-icono svg {
        width: 22px;
        height: 22px;
    }

    .categoria-nombre {
        font-size: 1.1rem;
    }

    .categoria-flecha {
        right: 1.1rem;
        bottom: 1.1rem;
    }

    .hero-producto-card {
        width: min(230px, 72%);
    }

    .hero-producto-img {
        height: 170px;
    }

    .seccion-encabezado {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header-logo {
        height: 2.25rem;
    }

    .header-actions {
        gap: 0;
    }

    #theme-toggle {
        font-size: 1.2rem !important;
        padding: 0.35rem !important;
    }

    .header-cuenta-link,
    .menu-toggle {
        padding: 0.35rem;
    }
}

body.light-mode .inicio-hero .hero-titulo-fino,
body.light-mode .inicio-hero .hero-texto,
body.light-mode .inicio-hero .hero-cifra-leyenda,
body.light-mode .inicio-hero .hero-boton-secundario {
    color: var(--ev-blanco) !important;
}

body.light-mode .inicio-hero .hero-etiqueta,
body.light-mode .inicio-hero .hero-cifra-numero,
body.light-mode .inicio-hero .hero-producto-precio,
body.light-mode .seccion-etiqueta,
body.light-mode .seccion-link,
body.light-mode .categoria-flecha {
    color: var(--ev-rojo) !important;
}

body.light-mode .inicio-hero .hero-boton-primario {
    color: #ffffff !important;
}

body.light-mode .inicio-hero .hero-producto-nombre {
    color: var(--ev-negro) !important;
}

body.light-mode .inicio-hero .hero-producto-precio small {
    color: #71717a !important;
}

body.light-mode .beneficio,
body.light-mode .categoria-card {
    background-color: #ffffff;
    border-color: #e4e4e7;
}

body.light-mode .beneficio-titulo,
body.light-mode .categoria-nombre,
body.light-mode .seccion-titulo {
    color: #18181b !important;
}

body.light-mode .beneficio-icono {
    color: var(--ev-rojo) !important;
}

body.light-mode .categoria-icono {
    color: #ffffff !important;
}

body.light-mode .beneficio-texto,
body.light-mode .categoria-cantidad {
    color: #71717a !important;
}

body.light-mode .categoria-card:hover {
    border-color: var(--ev-rojo);
}

.pedido-seguimiento {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 0.75rem;
    background-color: rgba(192, 132, 252, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.35);
}

.pedido-seguimiento-titulo {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.pedido-seguimiento-dato {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #a1a1aa;
}

.pedido-seguimiento-link {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background-color: var(--ev-rojo, #FF0000);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.estado-enviado { color: #c084fc !important; border-color: rgba(192, 132, 252, 0.4); background: rgba(192, 132, 252, 0.1); }

body.light-mode .pedido-seguimiento-titulo {
    color: #18181b !important;
}

body.light-mode .pedido-seguimiento-link {
    color: #ffffff !important;
}

.btn-sin-stock,
.btn-sin-stock:hover {
    background-color: #3f3f46;
    color: #a1a1aa;
    cursor: not-allowed;
}

body.light-mode .btn-sin-stock {
    background-color: #e4e4e7;
    color: #71717a !important;
}

.pedido-card-ayuda {
    margin-top: 0.85rem;
    text-align: right;
}

.pedido-card-ayuda a {
    font-size: 0.8rem;
    font-weight: 700;
    color: #a1a1aa;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pedido-card-ayuda a:hover {
    color: #FF0000;
}

.contacto-pedido {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background-color: rgba(255, 0, 0, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.35);
    font-size: 0.9rem;
    color: #fff;
}

.contacto-pedido a {
    font-size: 0.8rem;
    color: #a1a1aa;
    white-space: nowrap;
}

body.light-mode .contacto-pedido span,
body.light-mode .contacto-pedido strong {
    color: #18181b !important;
}

body.light-mode .pedido-card-ayuda a,
body.light-mode .contacto-pedido a {
    color: #71717a !important;
}

.card-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: var(--ev-rojo, #FF0000);
}

.card-img-box img,
.lista-img-box img {
    transition: transform 0.3s ease;
}

.card-img-box:hover img,
.lista-img-box:hover img {
    transform: scale(1.05);
}

body.light-mode .card-link:hover {
    color: #ef4444 !important;
}

.detalle-producto {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
    min-height: 60vh;
}

.migas {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: #71717a;
}

.migas a {
    color: #a1a1aa;
    text-decoration: none;
}

.migas a:hover {
    color: var(--ev-rojo, #FF0000);
}

.detalle-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.detalle-foto-columna {
    position: sticky;
    top: 6.5rem;
}

.detalle-foto-nota {
    margin: 0.6rem 0 0;
    text-align: center;
    font-size: 0.75rem;
    color: #71717a;
}

.detalle-foto {
    background-color: #ffffff;
    border-radius: 1.25rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.detalle-foto img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    box-sizing: border-box;
}

.detalle-nombre {
    margin: 0.5rem 0 0;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.detalle-descripcion-corta {
    margin: 0.5rem 0 0;
    font-size: 1rem;
    color: rgba(229, 227, 225, 0.6);
}

.detalle-precios {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 1.75rem;
    padding: 1.25rem 1.5rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
    border-radius: 1rem;
}

.detalle-precio-lista {
    font-size: 0.85rem;
    color: #a1a1aa;
}

.detalle-precio-efectivo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detalle-precio-efectivo strong {
    font-size: clamp(2rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.detalle-precio-efectivo .badge-ahorro {
    font-size: 0.65rem;
}

.detalle-precio-aclaracion {
    font-size: 0.8rem;
    color: #71717a;
}

.detalle-stock {
    margin: 1.25rem 0 0;
    font-size: 0.9rem;
    font-weight: 700;
}

.detalle-stock-si {
    color: #22c55e;
}

.detalle-stock-no {
    color: #a1a1aa;
}

.detalle-acciones {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.detalle-boton {
    font-size: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.75rem;
}

.aviso-stock {
    margin-top: 1rem;
    padding: 1.1rem 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--ev-borde, #27272a);
    background-color: rgba(255, 255, 255, 0.03);
}

.aviso-stock-titulo {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #fff;
}

.aviso-stock-texto {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #a1a1aa;
}

.aviso-stock-form {
    display: flex;
    gap: 0.5rem;
}

.aviso-stock-form input {
    flex: 1;
    min-width: 0;
    padding: 0.8rem 0.9rem;
    border-radius: 0.6rem;
    border: 1px solid #3f3f46;
    background-color: #0c0c0c;
    color: #fff;
    font: inherit;
    font-size: 0.95rem;
}

.aviso-stock-form button {
    flex: 0 0 auto;
    width: auto;
    font-size: 0.9rem;
    padding: 0.8rem 1.25rem;
    border-radius: 0.6rem;
    white-space: nowrap;
}

.aviso-stock-listo {
    margin: 0;
    color: #4ade80;
    line-height: 1.5;
}

.aviso-stock-error {
    margin: 0 0 0.6rem;
    font-size: 0.85rem;
    color: #f87171;
}

body.light-mode .aviso-stock {
    background-color: #fafafa;
    border-color: #e4e4e7;
}

body.light-mode .aviso-stock-titulo {
    color: #18181b;
}

body.light-mode .aviso-stock-texto {
    color: #52525b;
}

body.light-mode .aviso-stock-form input {
    background-color: #fff;
    border-color: #d4d4d8;
    color: #18181b;
}

body.light-mode .aviso-stock-listo {
    color: #15803d;
}

body.light-mode .aviso-stock-error {
    color: #b91c1c;
}

.detalle-beneficios {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--ev-borde, #27272a);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(229, 227, 225, 0.75);
}

.detalle-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ev-borde, #27272a);
}

.detalle-bloque:only-child {
    grid-column: 1 / -1;
    max-width: 50rem;
}

.detalle-bloque .seccion-titulo {
    margin-bottom: 1.25rem;
    font-weight: 900;
}

.detalle-descripcion {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(229, 227, 225, 0.8);
}

.detalle-especificaciones {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.detalle-especificaciones th,
.detalle-especificaciones td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--ev-borde, #27272a);
    vertical-align: top;
}

.detalle-especificaciones th {
    width: 40%;
    font-weight: 700;
    color: #a1a1aa;
}

.detalle-especificaciones td {
    color: #ffffff;
}

.detalle-especificaciones tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.025);
}

.detalle-relacionados {
    margin-top: 4.5rem;
}

@media (min-width: 1024px) {
    .productos-grid--4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.detalle-no-encontrado {
    max-width: 36rem;
    margin: 4rem auto;
    text-align: center;
}

.detalle-no-encontrado h1 {
    font-size: 1.8rem;
    color: #ffffff;
}

.detalle-no-encontrado p {
    color: #a1a1aa;
    margin-bottom: 2rem;
}

@media (max-width: 860px) {
    .detalle-grid,
    .detalle-contenido {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detalle-foto-columna {
        position: static;
    }

    .detalle-contenido {
        margin-top: 2.5rem;
        padding-top: 2rem;
    }
}

body.light-mode .detalle-nombre,
body.light-mode .detalle-precio-efectivo strong,
body.light-mode .detalle-especificaciones td,
body.light-mode .detalle-no-encontrado h1 {
    color: #18181b !important;
}

body.light-mode .detalle-precios {
    background-color: #ffffff;
    border-color: #e4e4e7;
}

body.light-mode .detalle-foto {
    border: 1px solid #e4e4e7;
}

body.light-mode .detalle-stock-si {
    color: #16a34a !important;
}

body.light-mode .detalle-especificaciones th,
body.light-mode .detalle-especificaciones td,
body.light-mode .detalle-beneficios,
body.light-mode .detalle-contenido {
    border-color: #e4e4e7;
}

body.light-mode .detalle-especificaciones tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.025);
}

.carrito-total-detalle {
    margin: -0.25rem 0 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: #22c55e;
    text-align: right;
}

.carrito-total-detalle:empty {
    display: none;
}

.carrito-nota {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #a1a1aa;
}

.carrito-pago-opciones {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pago-opcion {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #333;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.pago-opcion input {
    accent-color: #ff0000;
    margin: 0;
    flex-shrink: 0;
}

.pago-opcion-texto {
    display: flex;
    flex-direction: column;
}

.pago-opcion-texto strong {
    font-size: 0.85rem;
    color: #fff;
}

.pago-opcion-texto small {
    font-size: 0.72rem;
    color: #a1a1aa;
}

.pago-opcion:has(input:checked) {
    border-color: #ff0000;
    background-color: rgba(255, 0, 0, 0.08);
}

.carrito-pago-aviso {
    margin: 0;
    padding: 0.55rem 0.75rem;
    border-radius: 0.5rem;
    background-color: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    font-size: 0.75rem;
    line-height: 1.4;
}

.carrito-pago-aviso:empty {
    display: none;
}

.pago-badge {
    display: inline-block;
    margin-left: 0.3rem;
    padding: 0.1rem 0.55rem;
    border-radius: 9999px;
    border: 1px solid;
    font-size: 0.7rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.pago-pagado {
    color: #22c55e !important;
    border-color: rgba(34, 197, 94, 0.4);
    background-color: rgba(34, 197, 94, 0.1);
}

.pago-pendiente {
    color: #facc15 !important;
    border-color: rgba(250, 204, 21, 0.4);
    background-color: rgba(250, 204, 21, 0.1);
}

.confirmacion {
    padding-top: 3rem;
    padding-bottom: 4rem;
    max-width: 60rem;
}

.confirmacion-encabezado {
    text-align: center;
    margin-bottom: 2.5rem;
}

.confirmacion-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.confirmacion-encabezado h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 900;
    color: #fff;
}

.confirmacion-encabezado p {
    margin: 0;
    color: #a1a1aa;
}

.confirmacion-codigo {
    display: inline-flex;
    flex-direction: column;
    margin-top: 1.25rem;
    padding: 0.8rem 1.75rem;
    border-radius: 0.75rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.confirmacion-codigo span {
    font-size: 0.75rem;
    color: #a1a1aa;
}

.confirmacion-codigo strong {
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #fff;
}

.confirmacion-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.confirmacion-pasos,
.confirmacion-resumen {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.confirmacion-pasos {
    border-color: rgba(255, 0, 0, 0.45);
}

.confirmacion-pasos h2,
.confirmacion-resumen h2 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: #fff;
}

.confirmacion-pasos p {
    color: #d4d4d8;
    line-height: 1.6;
}

.confirmacion-monto {
    color: var(--ev-rojo, #FF0000);
    font-size: 1.15rem;
}

.datos-bancarios {
    margin: 1rem 0 1.25rem;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--ev-borde, #27272a);
}

.dato-bancario {
    display: grid;
    grid-template-columns: 5.5rem 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ev-borde, #27272a);
}

.dato-bancario:last-child {
    border-bottom: none;
}

.dato-bancario dt {
    font-size: 0.8rem;
    color: #a1a1aa;
}

.dato-bancario dd {
    margin: 0;
    font-weight: 700;
    color: #fff;
    overflow-wrap: anywhere;
}

.boton-copiar {
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #3f3f46;
    background: transparent;
    color: #d4d4d8;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.boton-copiar:hover {
    border-color: var(--ev-rojo, #FF0000);
    color: #fff;
}

.confirmacion-nota {
    margin: 1.25rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--ev-borde, #27272a);
    font-size: 0.85rem;
}

.confirmacion-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ev-borde, #27272a);
    color: #fff;
}

.confirmacion-total strong {
    font-size: 1.4rem;
    font-weight: 900;
}

.confirmacion-dato {
    margin: 0.6rem 0 0;
    font-size: 0.85rem;
    color: #d4d4d8;
}

.confirmacion-dato span {
    color: #71717a;
}

.confirmacion-acciones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

@media (max-width: 760px) {
    .confirmacion-grid {
        grid-template-columns: 1fr;
    }
}

body.light-mode .pago-opcion-texto strong,
body.light-mode .confirmacion-encabezado h1,
body.light-mode .confirmacion-codigo strong,
body.light-mode .confirmacion-pasos h2,
body.light-mode .confirmacion-resumen h2,
body.light-mode .dato-bancario dd,
body.light-mode .confirmacion-total span,
body.light-mode .confirmacion-total strong {
    color: #18181b !important;
}

body.light-mode .pago-opcion {
    border-color: #d4d4d8;
}

body.light-mode .confirmacion-pasos,
body.light-mode .confirmacion-resumen,
body.light-mode .confirmacion-codigo {
    background-color: #ffffff;
}

body.light-mode .confirmacion-monto {
    color: #ef4444 !important;
}

body.light-mode .carrito-total-detalle {
    color: #16a34a !important;
}

body.light-mode .carrito-pago-aviso {
    color: #1d4ed8 !important;
}

.footer-legales {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    margin-bottom: 0.9rem;
}

.footer-legales a,
.footer-reclamos a {
    color: #a1a1aa;
    font-size: 0.8rem;
    text-decoration: none;
}

.footer-legales a:hover,
.footer-reclamos a:hover {
    color: var(--ev-rojo, #FF0000);
}

.footer-reclamos {
    margin: 0 0 0.9rem;
}

.footer-legales .footer-arrepentimiento {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.light-mode .footer-legales .footer-arrepentimiento {
    color: #18181b !important;
}

.footer-reclamos a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.legales-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.legales-nav a {
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    border: 1px solid var(--ev-borde, #27272a);
    color: #a1a1aa;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.legales-nav a:hover {
    border-color: var(--ev-rojo, #FF0000);
    color: #fff;
}

.legales-nav a.activo {
    background-color: var(--ev-rojo, #FF0000);
    border-color: var(--ev-rojo, #FF0000);
    color: #fff;
}

.legal-contenido {
    max-width: 46rem;
    color: rgba(229, 227, 225, 0.85);
    line-height: 1.75;
}

.legal-contenido h1 {
    margin: 0 0 0.25rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
}

.legal-contenido h2 {
    margin: 2.25rem 0 0.5rem;
    font-size: 1.15rem;
    color: #fff;
}

.legal-contenido a {
    color: var(--ev-rojo, #FF0000);
}

.legal-contenido li {
    margin-bottom: 0.4rem;
}

.legal-actualizado {
    margin: 0 0 1.5rem;
    font-size: 0.8rem;
    color: #71717a;
}

.legal-resumen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 1rem;
}

.legal-resumen-item {
    padding: 1rem 1.1rem;
    border-radius: 0.75rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.legal-resumen-item strong {
    color: #fff;
}

.legal-resumen-item p {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.legal-leyenda {
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--ev-borde, #27272a);
    font-size: 0.8rem;
    line-height: 1.6;
    color: #a1a1aa;
}

.arrepentimiento-form {
    margin-top: 1.75rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.arrepentimiento-form textarea {
    padding: 0.8rem 1rem;
    background: #141414;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
}

.arrepentimiento-ok {
    margin-top: 1.5rem;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.arrepentimiento-ok h2 {
    margin-top: 0.5rem;
}

.arrepentimiento-codigo {
    display: inline-block;
    margin: 0.25rem 0 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    background-color: #0a0a0a;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: #fff;
}

@media (max-width: 640px) {
    .legal-resumen {
        grid-template-columns: 1fr;
    }
}

body.light-mode .legal-contenido h1,
body.light-mode .legal-contenido h2,
body.light-mode .legal-resumen-item strong,
body.light-mode .arrepentimiento-codigo {
    color: #18181b !important;
}

body.light-mode .legal-contenido a,
body.light-mode .legales-nav a.activo {
    color: #ef4444 !important;
}

body.light-mode .legales-nav a.activo {
    background-color: transparent;
}

body.light-mode .legal-resumen-item,
body.light-mode .arrepentimiento-form,
body.light-mode .arrepentimiento-ok {
    background-color: #ffffff;
    border-color: #e4e4e7;
}

body.light-mode .arrepentimiento-codigo {
    background-color: #f4f4f5;
}

.campos-fila {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 0.5rem;
}

.campos-fila-2 {
    grid-template-columns: 1fr 1.4fr;
}

.carrito-nota-precio {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #a1a1aa;
}

a.carrito-btn-checkout {
    display: block;
    text-align: center;
    text-decoration: none;
}

.carrito-btn-checkout.deshabilitado {
    opacity: 0.4;
    pointer-events: none;
}

.carrito-link-vaciar {
    background: none;
    border: none;
    padding: 0.25rem;
    color: #71717a;
    font-family: inherit;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.carrito-link-vaciar:hover {
    color: #f87171;
}

.checkout {
    padding-top: 2rem;
    padding-bottom: 4rem;
}

.checkout-volver {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #a1a1aa;
    text-decoration: none;
}

.checkout-volver:hover {
    color: var(--ev-rojo, #FF0000);
}

.checkout-titulo {
    margin: 0 0 2rem;
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

.checkout-grid[hidden] {
    display: none;
}

.checkout-pasos {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-paso {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.checkout-paso h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    color: #fff;
}

.checkout-numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--ev-rojo, #FF0000);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}

.checkout-resumen {
    position: sticky;
    top: 6.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: var(--ev-superficie, #141414);
    border: 1px solid var(--ev-borde, #27272a);
}

.checkout-resumen h2 {
    margin: 0 0 1rem;
    font-size: 1.1rem;
    color: #fff;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 18rem;
    overflow-y: auto;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ev-borde, #27272a);
}

.checkout-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: start;
    gap: 0.85rem;
}

.checkout-item-img {
    position: relative;
    width: 56px;
    height: 56px;
    border-radius: 0.6rem;
    background-color: #fff;
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.3rem;
    box-sizing: border-box;
}

.checkout-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.checkout-item-controles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-item-cantidad {
    min-width: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
}

.checkout-item-controles .carrito-btn-cantidad:disabled {
    opacity: 0.35;
    cursor: default;
    border-color: #3f3f46;
    color: inherit;
}

.checkout-item-quitar {
    margin-left: 0.35rem;
    padding: 0;
    border: none;
    background: none;
    color: #a1a1aa;
    font-family: inherit;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-item-quitar:hover {
    color: #ef4444;
}

body.light-mode .checkout-item-cantidad {
    color: #18181b;
}

body.light-mode .checkout-item-quitar {
    color: #71717a;
}

body.light-mode .checkout-item-quitar:hover {
    color: #dc2626;
}

.checkout-item-nombre {
    font-size: 0.85rem;
    color: #e4e4e7;
}

.checkout-item-precio {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.checkout-linea {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    font-size: 0.85rem;
    color: #a1a1aa;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.75rem;
    color: #fff;
}

.checkout-total strong {
    font-size: 1.6rem;
    font-weight: 900;
}

.checkout-confirmar {
    width: 100%;
    margin-top: 1.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-radius: 0.75rem;
    font-size: 1rem;
}

.checkout-legal {
    margin: 0.85rem 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
    text-align: center;
    color: #71717a;
}

.checkout-legal a {
    color: #a1a1aa;
}

.checkout-vacio {
    padding: 3rem 1rem;
    text-align: center;
    color: #a1a1aa;
}

@media (max-width: 860px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-resumen {
        position: static;
    }
}

body.light-mode .checkout-titulo,
body.light-mode .checkout-paso h2,
body.light-mode .checkout-resumen h2,
body.light-mode .checkout-item-precio,
body.light-mode .checkout-total span,
body.light-mode .checkout-total strong {
    color: #18181b !important;
}

body.light-mode .checkout-numero {
    color: #fff !important;
}

body.light-mode .checkout-item-nombre {
    color: #3f3f46 !important;
}

body.light-mode .checkout-paso,
body.light-mode .checkout-resumen {
    background-color: #ffffff;
    border-color: #e4e4e7;
}

body.light-mode .checkout-item-img {
    border: 1px solid #e4e4e7;
}

body.light-mode .detalle-beneficios li,
body.light-mode .legal-contenido li {
    color: #3f3f46 !important;
}

body.light-mode .detalle-especificaciones th {
    color: #52525b !important;
}

.confirmacion-encabezado .confirmacion-spam {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    color: #71717a;
}

html {
    overflow-x: hidden;
}

.carrito-panel {
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
}

.carrito-panel.abierto {
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s linear 0s;
}

@media (max-width: 640px) {
    .productos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .card-producto {
        padding: 0.6rem;
        border-radius: 0.6rem;
    }

    .card-img-box {
        height: 8.5rem;
        margin-bottom: 0.6rem;
    }

    .card-product-img {
        max-width: 100%;
        padding: 0.4rem;
    }

    .card-nombre {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .card-descripcion {
        font-size: 0.7rem;
    }

    .card-bottom {
        margin-top: 0.6rem;
    }

    .precio-efectivo-wrapper {
        flex-wrap: wrap;
        gap: 0.25rem 0.4rem;
    }

    .card-precio {
        font-size: 0.95rem;
    }

    .badge-ahorro {
        font-size: 7px;
        padding: 2px 4px;
    }

    .card-producto .btn-rojo {
        font-size: 0.7rem;
        padding: 0.55rem 0.3rem;
    }

    .card-producto-lista {
        display: grid;
        grid-template-columns: 84px minmax(0, 1fr);
        align-items: start;
        gap: 0.5rem 0.85rem;
        padding: 0.75rem;
        text-align: left;
    }

    .lista-img-box {
        grid-row: 1 / 3;
        width: 84px;
        height: 84px;
    }

    .lista-info,
    .lista-precio-accion {
        grid-column: 2;
    }

    .lista-precio-accion {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .lista-precio-accion .precio-container {
        width: auto;
        align-items: flex-start;
    }

    .lista-precio-accion .precio-efectivo-wrapper {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .lista-precio-accion .btn-rojo {
        width: auto;
        flex-shrink: 0;
        padding: 0.55rem 0.8rem;
        font-size: 0.72rem;
    }
}

.confirmacion-boton-pago {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 640px) {
    .site-footer {
        padding: 2.5rem 1.25rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col ul {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

.pedido-card-factura {
    margin-top: 0.85rem;
}

.pedido-card-factura a {
    font-size: 0.85rem;
    font-weight: 700;
    color: #22c55e;
    text-decoration: none;
}

.pedido-card-factura a:hover {
    text-decoration: underline;
}

body.light-mode .pedido-card-factura a {
    color: #15803d !important;
}

.seguimiento-buscar {
    max-width: 30rem;
    margin: 0 auto;
}

.seguimiento-buscar h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    font-weight: 900;
    color: #fff;
}

.seguimiento-buscar > p {
    color: #a1a1aa;
    line-height: 1.6;
}

.seguimiento-cuenta {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    text-align: center;
}

.seguimiento-pasos {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 40rem;
}

.seguimiento-pasos li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #71717a;
    text-align: center;
}

.seguimiento-pasos li:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 15px;
    right: 50%;
    width: 100%;
    height: 2px;
    background-color: #3f3f46;
    z-index: 0;
}

.seguimiento-pasos li.completo::before,
.seguimiento-pasos li.actual::before {
    background-color: #22c55e;
}

.seguimiento-punto {
    position: relative;
    z-index: 1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #27272a;
    color: #a1a1aa;
    font-weight: 700;
}

.seguimiento-pasos li.completo .seguimiento-punto,
.seguimiento-pasos li.actual .seguimiento-punto {
    background-color: #22c55e;
    color: #fff;
}

.seguimiento-pasos li.actual {
    color: #fff;
    font-weight: 700;
}

.seguimiento-subtitulo {
    margin-top: 1.5rem !important;
}

.seguimiento-link {
    font-weight: 700;
    color: var(--ev-rojo, #FF0000);
    text-decoration: none;
}

.seguimiento-link:hover {
    text-decoration: underline;
}

.seguimiento-cancelado {
    max-width: 40rem;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background-color: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fca5a5;
    text-align: center;
}

body.light-mode .seguimiento-buscar h1 {
    color: #18181b !important;
}

body.light-mode .seguimiento-pasos li.actual span {
    color: #18181b !important;
}

body.light-mode .seguimiento-punto {
    background-color: #e4e4e7;
}

.header-busqueda {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 22rem;
    margin: 0 1rem;
    border: 1px solid #3f3f46;
    border-radius: 9999px;
    background-color: #0f0f10;
    overflow: hidden;
}

.header-busqueda:focus-within {
    border-color: #FF0000;
}

.header-busqueda input {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0 0.55rem 1rem;
    border: none;
    background: transparent;
    color: #E5E3E1;
    font-family: inherit;
    font-size: 0.85rem;
    outline: none;
}

.header-busqueda input::placeholder {
    color: #71717a;
}

.header-busqueda button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.9rem;
    border: none;
    background: transparent;
    color: #a1a1aa;
    cursor: pointer;
}

.header-busqueda button:hover {
    color: #FF0000;
}

@media (max-width: 900px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        min-height: 5rem;
    }

    .header-busqueda {
        order: 3;
        flex-basis: 100%;
        max-width: none;
        margin: 0 0 0.75rem;
    }
}

body.light-mode .header-busqueda {
    background-color: #f4f4f5;
    border-color: #d4d4d8;
}

body.light-mode .header-busqueda input {
    color: #18181b !important;
}

body.light-mode .header-busqueda button {
    color: #52525b !important;
    background: transparent !important;
}

body.light-mode .header-busqueda button:hover {
    color: #dc2626 !important;
}

.stock-pocas {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f59e0b;
    text-align: center;
}

.carrito-aviso {
    margin: 0 1rem;
    padding: 0.6rem 0.85rem;
    border-radius: 0.5rem;
    background-color: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 0.8rem;
}

.catalogo-cantidad {
    margin-left: 0.6rem;
    font-size: 0.85rem;
    font-weight: 400;
    color: #71717a;
}

.paginador {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.paginador-info {
    margin: 0;
    font-size: 0.8rem;
    color: #71717a;
}

.paginador-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
}

.paginador-botones a,
.paginador-actual,
.paginador-puntos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    height: 2.4rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    box-sizing: border-box;
}

.paginador-botones a {
    border: 1px solid #3f3f46;
    color: #E5E3E1;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.paginador-botones a:hover {
    border-color: #FF0000;
    color: #FF0000;
}

.paginador-actual {
    background-color: #FF0000;
    color: #fff;
}

.paginador-puntos {
    color: #71717a;
}

body.light-mode .paginador-botones a {
    border-color: #d4d4d8;
    color: #18181b !important;
}

body.light-mode .paginador-actual {
    color: #fff !important;
}

@media (max-width: 480px) {
    .paginador-botones {
        gap: 0.25rem;
    }

    .paginador-botones a,
    .paginador-actual,
    .paginador-puntos {
        min-width: 2rem;
        height: 2rem;
        font-size: 0.82rem;
    }
}

.card-colores {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.6rem;
}

.card-color {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--muestra);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

.card-color-agotado {
    opacity: 0.3;
}

a.btn-elegir-color {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

.detalle-colores {
    margin-bottom: 1.25rem;
}

.detalle-colores-titulo {
    margin: 0 0 0.6rem;
    font-size: 0.9rem;
    color: #a1a1aa;
}

.detalle-colores-titulo strong {
    color: #fff;
}

.detalle-colores-opciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.color-opcion {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem 0.45rem 0.5rem;
    border: 1px solid #3f3f46;
    border-radius: 9999px;
    background: transparent;
    color: #E5E3E1;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.color-opcion:hover,
.color-opcion.activo {
    border-color: #FF0000;
}

.color-opcion.activo {
    font-weight: 700;
}

.color-opcion:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}

.color-muestra {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--muestra);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

body.light-mode .color-opcion {
    border-color: #d4d4d8;
    color: #18181b !important;
}

body.light-mode .color-opcion.activo,
body.light-mode .color-opcion:hover {
    border-color: #FF0000;
}

body.light-mode .detalle-colores-titulo strong {
    color: #18181b !important;
}

.precios {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.precios-lista {
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.precios-cuotas {
    font-size: 0.72rem;
    color: #a1a1aa;
}

.precios-efectivo {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ev-rojo);
}

.precios-efectivo strong {
    font-size: 0.95rem;
    font-weight: 900;
}

.precios-ahorro {
    display: inline-block;
    margin-left: 0.2rem;
    padding: 1px 5px;
    border-radius: 4px;
    border: 1px solid rgba(255, 0, 0, 0.35);
    background-color: rgba(255, 0, 0, 0.12);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    vertical-align: 1px;
    white-space: nowrap;
}

.lista-precio-accion .precios {
    align-items: flex-end;
    text-align: right;
    margin-bottom: 0;
}

.precios--detalle {
    gap: 0.35rem;
    margin-bottom: 0;
}

.precios--detalle .precios-lista {
    font-size: clamp(2rem, 4vw, 2.6rem);
    letter-spacing: -0.03em;
}

.precios--detalle .precios-cuotas {
    font-size: 0.95rem;
}

.precios--detalle .precios-efectivo {
    font-size: 0.95rem;
}

.precios--detalle .precios-efectivo strong {
    font-size: 1.45rem;
}

.precios--detalle .precios-ahorro {
    font-size: 0.7rem;
    vertical-align: 3px;
}

@media (max-width: 640px) {
    .lista-precio-accion .precios {
        align-items: flex-start;
        text-align: left;
    }

    .precios-lista {
        font-size: 1.05rem;
    }

    .precios-efectivo strong {
        font-size: 0.9rem;
    }
}

body.light-mode .precios-lista {
    color: #18181b !important;
}

body.light-mode .precios-cuotas {
    color: #52525b !important;
}

body.light-mode .precios-efectivo,
body.light-mode .precios-efectivo strong,
body.light-mode .precios-ahorro {
    color: #dc2626 !important;
}

@media (min-width: 641px) {
    .lista-precio-accion {
        width: 270px;
    }
}

.proximamente-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ev-negro, #0c0c0c);
    background-image: radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.14), transparent 45%);
}

.proximamente {
    box-sizing: border-box;
    width: 100%;
    max-width: 44rem;
    padding: 3rem 1.5rem;
    text-align: center;
}

.proximamente-logo {
    display: block;
    height: 3.5rem;
    margin: 0 auto 2.5rem;
}

.proximamente-titulo {
    margin: 0.75rem 0 1.25rem;
    font-size: clamp(2.2rem, 6vw, 3.6rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.proximamente-titulo strong {
    display: block;
    font-weight: 900;
}

.proximamente-texto {
    margin: 0 auto 2rem;
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(229, 227, 225, 0.75);
}

.proximamente-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.proximamente-sucursales {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.5rem;
    margin: 0;
    padding: 1.5rem 0 0;
    border-top: 1px solid var(--ev-borde, #27272a);
    list-style: none;
    font-size: 0.85rem;
    color: rgba(229, 227, 225, 0.6);
}

.aviso-modo-privado {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 1rem;
    background-color: #facc15;
    color: #18181b;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.aviso-modo-privado a {
    color: #18181b !important;
    text-decoration: underline;
}

.checkout-envio-detalle {
    margin: 0.15rem 0 0.6rem;
    font-size: 0.78rem;
    color: var(--ev-rojo);
    text-align: right;
}

body.light-mode .checkout-envio-detalle {
    color: #dc2626 !important;
}

.color-opcion.color-referencia {
    cursor: default;
}

.color-opcion.color-referencia:hover {
    border-color: #3f3f46;
}

.detalle-colores-nota {
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #a1a1aa;
}

body.light-mode .color-opcion.color-referencia:hover {
    border-color: #d4d4d8;
}

body.light-mode .detalle-colores-nota {
    color: #52525b !important;
}

.sidebar-categorias {
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 600px) {
    .campos-fila-2 {
        grid-template-columns: 1fr;
    }

    .campos-fila:not(.campos-fila-2) {
        grid-template-columns: 1fr 1fr;
    }

    .campos-fila:not(.campos-fila-2) > :first-child {
        grid-column: 1 / -1;
    }
}

.campos-localidad {
    grid-template-columns: 1.6fr 1fr;
}

@media (max-width: 600px) {
    .campos-localidad {
        grid-template-columns: 1fr;
    }
}

.localidad-campo {
    position: relative;
    min-width: 0;
}

.localidades-lista {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 30;
    max-height: 18rem;
    margin: 0;
    padding: 0.3rem;
    overflow-y: auto;
    list-style: none;
    background-color: #141414;
    border: 1px solid #3f3f46;
    border-radius: 0.5rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.localidades-opcion,
.localidades-mensaje {
    padding: 0.6rem 0.75rem;
    border-radius: 0.35rem;
    font-size: 0.9rem;
}

.localidades-opcion {
    color: #fff;
    cursor: pointer;
}

.localidades-opcion.activa,
.localidades-opcion:hover {
    background-color: rgba(255, 0, 0, 0.15);
    color: #fff;
}

.localidades-mensaje {
    color: #a1a1aa;
    cursor: default;
}

body.light-mode .localidades-lista {
    background-color: #ffffff;
    border-color: #d4d4d8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

body.light-mode .localidades-opcion {
    color: #18181b !important;
}

body.light-mode .localidades-opcion.activa,
body.light-mode .localidades-opcion:hover {
    background-color: rgba(255, 0, 0, 0.08);
}

body.light-mode .localidades-mensaje {
    color: #71717a !important;
}

.nosotros {
    max-width: 46rem;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.nosotros-encabezado {
    margin-bottom: 2.5rem;
}

.nosotros-titulo {
    margin: 0.5rem 0 0;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.nosotros-bloque {
    margin-bottom: 2.75rem;
}

.nosotros-bloque h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
}

.nosotros-bloque h2::after {
    content: "";
    display: block;
    width: 3rem;
    height: 4px;
    margin-top: 0.6rem;
    border-radius: 2px;
    background-color: var(--ev-rojo);
}

.nosotros-bloque p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(229, 227, 225, 0.82);
}

.nosotros-bloque .nosotros-destacado {
    padding-left: 1rem;
    border-left: 3px solid var(--ev-rojo);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
}

.nosotros-cierre {
    position: relative;
    overflow: hidden;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    border: 1px solid var(--ev-borde, #27272a);
    background-color: #141414;
    text-align: center;
}

.nosotros-cierre .categoria-franjas {
    width: 40%;
    opacity: 0.25;
}

.nosotros-cierre h2 {
    position: relative;
    margin: 0 0 0.75rem;
    font-size: clamp(1.3rem, 3.5vw, 1.9rem);
    font-weight: 900;
    letter-spacing: 0.04em;
}

.nosotros-lema {
    position: relative;
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--ev-rojo);
}

.nosotros-gracias {
    position: relative;
    margin: 0;
    color: rgba(229, 227, 225, 0.75);
}

body.light-mode .nosotros-bloque p {
    color: #3f3f46;
}

body.light-mode .nosotros-bloque .nosotros-destacado,
body.light-mode .nosotros-titulo,
body.light-mode .nosotros-bloque h2,
body.light-mode .nosotros-cierre h2 {
    color: #18181b;
}

body.light-mode .nosotros-cierre {
    background-color: #ffffff;
    border-color: #e4e4e7;
}

body.light-mode .nosotros-gracias {
    color: #52525b;
}

body.light-mode .nosotros-lema {
    color: #dc2626 !important;
}

body.light-mode .subcategorias-lista {
    border-left-color: #e4e4e7;
}

@media (hover: hover) {
    body.light-mode .sidebar-categorias .subcategorias-lista a:hover {
        background-color: #f4f4f5;
    }
}

body.light-mode .sidebar-categorias .subcategorias-lista a.activo {
    background-color: rgba(239, 68, 68, 0.08);
}

body.light-mode .btn-toggle-sub:hover {
    background-color: #f4f4f5;
}

.catalogo-aviso-busqueda {
    margin: 0 0 1rem;
    padding: 0.85rem 1.1rem;
    border-radius: 0.6rem;
    border: 1px solid rgba(239, 68, 68, 0.35);
    background-color: rgba(239, 68, 68, 0.08);
    color: #e4e4e7;
    font-size: 0.9rem;
    line-height: 1.5;
}

.catalogo-aviso-busqueda a {
    display: inline-block;
    margin-left: 0.25rem;
    color: #ef4444;
    font-weight: 700;
}

body.light-mode .catalogo-aviso-busqueda {
    color: #3f3f46;
    background-color: rgba(239, 68, 68, 0.06);
}

body.light-mode .catalogo-aviso-busqueda a {
    color: #dc2626;
}

.catalogo-atajos {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: thin;
}

.catalogo-atajos a {
    flex: 0 0 auto;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-size: 0.85rem;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

@media (hover: hover) {
    .catalogo-atajos a:hover {
        border-color: #ef4444;
    }
}

.catalogo-atajos a.activo {
    border-color: #ef4444;
    background-color: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    font-weight: 700;
}

body.light-mode .catalogo-atajos a {
    border-color: #d4d4d8;
}

body.light-mode .catalogo-atajos a.activo {
    border-color: #dc2626;
    background-color: #fef2f2;
    color: #dc2626;
}

.hero-regalo-icono {
    width: clamp(8rem, 14vw, 11rem);
    height: auto;
    padding: clamp(1.6rem, 3vw, 2.3rem);
    box-sizing: border-box;
    border-radius: 50%;
    border: 4px solid var(--ev-rojo);
    background-color: #0c0c0c;
    color: var(--ev-rojo);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

body.light-mode .hero-regalo-icono {
    background-color: #ffffff;
}

.detalle-regalo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background-color: rgba(239, 68, 68, 0.1);
}

.detalle-regalo svg {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    color: #ef4444;
}

.detalle-regalo div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.detalle-regalo strong {
    font-size: 1rem;
    color: #fff;
}

.detalle-regalo span {
    font-size: 0.82rem;
    color: #a1a1aa;
}

body.light-mode .detalle-regalo {
    background-color: rgba(239, 68, 68, 0.06);
}

body.light-mode .detalle-regalo strong {
    color: #18181b !important;
}

body.light-mode .detalle-regalo span {
    color: #52525b !important;
}

.item-regalo {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #ef4444;
}

body.light-mode .item-regalo {
    color: #dc2626 !important;
}

.icono {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    vertical-align: -0.14em;
}

#theme-toggle {
    color: #d4d4d8;
    transition: color 0.2s ease;
}

#theme-toggle:hover {
    color: #FF0000;
}

#theme-icon,
#menu-toggle-icon {
    display: flex;
    align-items: center;
}

.tema-icono-luna,
.menu-icono-cerrar {
    display: none;
}

body.light-mode .tema-icono-sol {
    display: none;
}

body.light-mode .tema-icono-luna {
    display: inline-block;
}

.menu-toggle[aria-expanded="true"] .menu-icono-abrir {
    display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icono-cerrar {
    display: inline-block;
}

.header-cuenta-link .icono {
    font-size: 1.15rem;
}

.menu-cuenta-lista a .icono {
    margin-right: 0.15rem;
    opacity: 0.75;
}

.detalle-beneficios li .icono,
.carrito-nota .icono,
.confirmacion-nota .icono,
.checkout-legal .icono,
.legal-resumen-item strong .icono {
    margin-right: 0.2rem;
    opacity: 0.8;
}

.confirmacion-pasos h2 .icono {
    color: #22c55e;
}

body.light-mode #theme-toggle {
    color: #3f3f46;
}

body.light-mode #theme-toggle:hover {
    color: #dc2626;
}

.hero-flecha {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-flecha .icono {
    font-size: 1.15rem;
    stroke-width: 2;
}


/* Tarjetas de oferta del carrusel (promos del panel) */
.hero-visual--tarjetas .hero-franjas span {
    background-color: #1c1c1c;
}

.hero-oferta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    width: min(100%, 22rem);
}

.hero-oferta-sello {
    align-self: flex-start;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background-color: var(--ev-rojo);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-oferta-promo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    border: 2px solid var(--ev-rojo);
    background-color: #0c0c0c;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.hero-oferta-producto {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cfcfcf;
}

.hero-oferta-regalo {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: #ffffff;
}

body.light-mode .hero-oferta-promo {
    background-color: #ffffff;
}

body.light-mode .hero-oferta-producto {
    color: #555555;
}

body.light-mode .hero-oferta-regalo {
    color: #111111;
}

/* Promo con la primera línea del título en grueso y la segunda en fino (se elige desde el panel) */
.hero-diapo--invertido .hero-titulo-fino {
    font-weight: 900;
}

.hero-diapo--invertido .hero-titulo-fuerte {
    font-weight: 300;
}

/* Categorías con subcategorías: el nombre despliega la lista y solo queda la flechita roja */
.categoria-toggle {
    flex: 1;
    display: flex;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    color: #aaa;
    font: inherit;
    font-size: 0.95rem;
    text-align: left;
    padding: 0.5rem 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.categoria-toggle:hover,
.categoria-toggle.activo,
.categoria-toggle[aria-expanded="true"] {
    color: #fff;
    font-weight: bold;
}

.categoria-toggle-flecha {
    display: inline-block;
    margin-right: 10px;
    color: #ef4444;
    font-size: 1.2rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.categoria-toggle[aria-expanded="true"] .categoria-toggle-flecha {
    transform: rotate(90deg);
}

/* En modo claro, una regla general pinta de gris oscuro todos los span */
body.light-mode .categoria-toggle .categoria-toggle-flecha {
    color: #ef4444 !important;
}

body.light-mode .categoria-toggle {
    color: #52525b;
}

body.light-mode .categoria-toggle:hover,
body.light-mode .categoria-toggle.activo,
body.light-mode .categoria-toggle[aria-expanded="true"] {
    color: #ef4444;
}

/* Contador de tiempo de las promos */
.hero-contador {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin: 0 0 1.5rem;
}

.hero-contador[hidden] {
    display: none;
}

.hero-contador-titulo {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ev-rojo);
}

.hero-contador-cajas {
    display: flex;
    gap: 0.5rem;
}

.hero-contador-caja {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 3.4rem;
    padding: 0.5rem 0.6rem;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background-color: #0c0c0c;
}

.hero-contador-caja b {
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.hero-contador-caja small {
    margin-top: 0.25rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a1a1aa;
}

@media (max-width: 640px) {
    .hero-contador-caja {
        min-width: 2.9rem;
        padding: 0.4rem 0.45rem;
    }

    .hero-contador-caja b {
        font-size: 1.15rem;
    }
}

/* La palabra o número grande se ajusta al ancho disponible (GRATIS es más ancha que 30%) */
.hero-visual {
    container-type: inline-size;
}

.hero-cifra-numero {
    font-size: min(clamp(6rem, 13vw, 10.5rem), calc(100cqw / (var(--cifra-letras, 3) * 0.68)));
    white-space: nowrap;
}

/* Modo claro: el carrusel sigue oscuro, y una regla general pinta de gris oscuro todos los span */
body.light-mode .inicio-hero .hero-contador-titulo {
    color: var(--ev-rojo) !important;
}

body.light-mode .inicio-hero .hero-oferta-sello {
    color: #ffffff !important;
}

body.light-mode .inicio-hero .hero-contador-caja b {
    color: #ffffff !important;
}

body.light-mode .inicio-hero .hero-contador-caja small {
    color: #a1a1aa !important;
}

.campo-form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}

.campo-form input {
    width: 100%;
    box-sizing: border-box;
}

.campo-form-error {
    color: #f87171;
    font-size: 0.8rem;
    line-height: 1.3;
}

.campo-form input.campo-invalido {
    border-color: #f87171 !important;
}

.checkout-error {
    margin: 0 0 0.75rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(248, 113, 113, 0.5);
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    border-radius: 0.6rem;
    font-size: 0.9rem;
}

body.light-mode .campo-form-error,
body.light-mode .checkout-error {
    color: #dc2626;
}

body.light-mode .campo-form input.campo-invalido {
    border-color: #dc2626 !important;
}

.detalle-boton-whatsapp,
.detalle-boton-whatsapp:link,
.detalle-boton-whatsapp:visited,
.detalle-boton-whatsapp:active {
    color: #FF0000;
    text-decoration: underline;
    font-weight: inherit;
}

.detalle-boton-whatsapp:hover,
.detalle-boton-whatsapp:focus-visible {
    color: #b91c1c;
}

/* Asistente de ayuda */
.asistente-abrir {
    position: fixed;
    bottom: 25px;
    right: 20px;
    z-index: 1000;
    height: 55px;
    padding: 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    border-radius: 999px;
    background-color: #FF0000;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease;
}

.asistente-abrir:hover { transform: scale(1.05); }

.asistente-panel {
    position: fixed;
    right: 25px;
    bottom: 95px;
    z-index: 1001;
    width: min(380px, calc(100vw - 32px));
    max-height: min(600px, calc(100vh - 130px));
    display: flex;
    flex-direction: column;
    background: #141414;
    color: #f4f4f5;
    border: 1px solid #27272a;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.asistente-panel[hidden] { display: none; }

.asistente-cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    background: #0c0c0c;
    border-bottom: 1px solid #27272a;
}

.asistente-titulo { display: block; font-size: 0.95rem; color: #ffffff; }
.asistente-sub { font-size: 0.72rem; color: #a1a1aa; }

.asistente-cerrar {
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: #1f1f22;
    color: #f4f4f5;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
}

.asistente-mensajes {
    flex: 1;
    min-height: 120px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.asistente-burbuja {
    max-width: 90%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.asistente-burbuja--bot { align-self: flex-start; background: #1f1f22; color: #f4f4f5; }
.asistente-burbuja--usuario { align-self: flex-end; background: #FF0000; color: #ffffff; }
.asistente-texto { white-space: pre-line; }

.asistente-acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    max-height: 45%;
    overflow-y: auto;
    padding: 0.75rem;
    border-top: 1px solid #27272a;
}

.asistente-opcion {
    display: inline-block;
    padding: 0.5rem 0.85rem;
    border: 1px solid #3f3f46;
    border-radius: 999px;
    background: transparent;
    color: #f4f4f5;
    font-family: inherit;
    font-size: 0.8rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.asistente-opcion:hover { border-color: #FF0000; }
.asistente-opcion--wsp { border-color: #25d366; }
.asistente-opcion--wsp:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.12); }
.asistente-opcion--principal { background: #FF0000; border-color: #FF0000; color: #ffffff; }

.asistente-enlace {
    display: inline-block;
    margin: 0.5rem 0.4rem 0 0;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #FF0000;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
}

.asistente-form { width: 100%; display: flex; flex-direction: column; gap: 0.5rem; }
.asistente-form input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #3f3f46;
    border-radius: 10px;
    background: #0a0a0a;
    color: #f4f4f5;
    font-family: inherit;
    font-size: 0.88rem;
}
.asistente-form-fila { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.asistente-producto {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.6rem;
    padding: 0.6rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
}
.asistente-producto-imagen { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #ffffff; flex-shrink: 0; }
.asistente-producto-info { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.asistente-producto-nombre { color: inherit; font-weight: 700; text-decoration: none; }
.asistente-producto-precio { font-size: 0.75rem; opacity: 0.85; }
.asistente-estado { font-size: 0.72rem; }
.asistente-estado--si { color: #4ade80; }
.asistente-estado--no { color: #fbbf24; }

@media (max-width: 480px) {
    .asistente-abrir-texto { display: none; }
    .asistente-abrir { width: 55px; padding: 0; justify-content: center; right: 92px; }
    .asistente-panel { right: 12px; bottom: 90px; width: calc(100vw - 24px); }
}

/* Asistente en el celular: botón redondo en la esquina inferior derecha */
@media (max-width: 768px) {
    .asistente-abrir {
        right: 16px;
        bottom: calc(16px + env(safe-area-inset-bottom));
        width: 54px;
        height: 54px;
        padding: 0;
        justify-content: center;
    }
    .asistente-abrir-texto { display: none; }
}

/* Modo claro: una regla general pinta de gris oscuro todos los p, a, span y label */
body.light-mode .asistente-panel { background: #ffffff; color: #18181b; border-color: #e4e4e7; }
body.light-mode .asistente-cabecera { background: #f4f4f5; border-color: #e4e4e7; }
body.light-mode .asistente-titulo { color: #18181b; }
body.light-mode .asistente-sub { color: #52525b; }
body.light-mode .asistente-cerrar { background: #e4e4e7; color: #18181b; }
body.light-mode .asistente-burbuja--bot { background: #f4f4f5; color: #18181b; }
body.light-mode .asistente-acciones { border-color: #e4e4e7; }
body.light-mode .asistente-opcion { border-color: #d4d4d8; color: #18181b !important; }
body.light-mode .asistente-opcion--principal { background: #FF0000; border-color: #FF0000; color: #ffffff !important; }
body.light-mode .asistente .asistente-enlace { color: #ffffff !important; }
body.light-mode .asistente-form input { background: #ffffff; border-color: #d4d4d8; color: #18181b; }
body.light-mode .asistente-producto { background: #f4f4f5; }
body.light-mode .asistente-producto-nombre { color: #18181b !important; }
body.light-mode .asistente-estado--si { color: #15803d; }
body.light-mode .asistente-estado--no { color: #b45309; }

