/* ============================================
   RESET Y VARIABLES
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --fucsia: #e60073;
    --fucsia-light: #ff2e9a;
    --negro: #0f0f0f;
    --gris-card: #1a1a1a;
    --gris-oscuro: #111;
    --gris-claro: #2a2a2a;
}


/* ============================================
   BASE Y UTILIDADES
============================================ */

body {
    font-family: Arial, sans-serif;
    background: var(--negro);
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    background: url('../img/fondo-cobrav.png');
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* background: url('../img/snake-dark.jpg') center/cover no-repeat; */
    opacity: 0.07;
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
}

.btn {
    background: var(--fucsia);
    color: #fff;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.3s;
}

.btn:hover {
    background: var(--fucsia-light);
}

.btn-primary {
    background: var(--fucsia);
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--fucsia-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 0, 115, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ccc;
    border: 1px solid rgba(230, 0, 115, 0.3);
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(230, 0, 115, 0.1);
    color: #fff;
    border-color: var(--fucsia);
}

.btn-block {
    width: 100%;
    padding: 15px !important;
    font-size: 16px !important;
}

.btn-volver {
    margin: 15px 0 25px 0;
    padding: 8px 14px;
    border: none;
    background: #75095e;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    color: white;
}

.btn-volver:hover {
    background: #79056f;
}

.btn-ver {
    display: inline-block;
    padding: 10px 18px;
    background: var(--fucsia);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.btnWhatsaApp {
    background: #00c853 !important;
    text-align: left;
}

.btnWhatsaApp:hover {
    background: #02f567;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(16, 240, 8, 0.4);
}

.btn-mp {
    background: linear-gradient(135deg, #00b1ea, #009ee3);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: left;
    cursor: pointer;
    margin-top: 2rem;
}

.btn-mp:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 158, 227, 0.4);
}


/* ============================================
   HEADER Y NAVEGACIÓN
============================================ */

.top-bar {
    background: var(--fucsia);
    text-align: center;
    padding: 8px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    z-index: 1001;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #040205;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--fucsia);
    transition: all 0.3s ease;
}

.sticky-header.scrolled {
    box-shadow: 0 4px 20px rgba(230, 0, 115, 0.3);
}

.header {
    /* background: #131313; */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--fucsia);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--fucsia);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icons .icon {
    font-size: 20px;
    color: white;
    text-decoration: none;
    position: relative;
}

.header-icons .icon:hover {
    color: #ff007f;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--fucsia);
}

.nav-item {
    position: relative;
}

.nav-parent {
    cursor: pointer;
    font-weight: bold;
}


/* Submenu Desktop */

@media (min-width: 769px) {
    .submenu {
        display: none;
        position: absolute;
        top: 30px;
        left: 0;
        background: #111;
        padding: 10px;
        border: 1px solid var(--fucsia);
        min-width: 180px;
        z-index: 100;
    }
    .nav-item.active .submenu {
        display: block;
    }
    .submenu a {
        display: block;
        padding: 6px 0;
        font-size: 14px;
    }
}


/* User Menu */

.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 14px;
}

.user-trigger i {
    font-size: 20px;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #111;
    border: 1px solid #333;
    min-width: 180px;
    display: none;
    flex-direction: column;
    z-index: 1000;
}

.user-dropdown a {
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #222;
}

.user-dropdown a:hover {
    background: #1a1a1a;
}

.user-menu:hover .user-dropdown {
    display: flex;
}


/* ============================================
   FOOTER
============================================ */

.footer {
    background: #000;
    padding: 25px;
    text-align: center;
    border-top: 2px solid var(--fucsia);
    margin-top: 40px;
    font-size: 14px;
}

.footer-links,
.footer-legal {
    margin-bottom: 15px;
}

.footer a {
    color: #ccc;
    margin: 0 10px;
    text-decoration: none;
    /* font-size: 14px; */
}

.footer a:hover {
    color: #ff2e88;
}

.footer-copy {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

.cart-footer-brand {
    background: linear-gradient(to top, #0a0a0a, #0f0f0f);
    border-top: 1px solid rgba(230, 0, 115, 0.2);
    padding: 20px;
    margin-top: 20px;
}

.brand-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.mini-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
}

.brand-tagline {
    color: #888;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.75rem;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-note i {
    color: var(--fucsia);
    font-size: 0.85rem;
}


/* ============================================
   PRODUCTOS Y GRIDS
============================================ */

.categoria-titulo {
    font-size: 24px;
    margin: 30px 20px 10px 20px;
    color: var(--fucsia);
    border-left: 4px solid var(--fucsia);
    padding-left: 10px;
}

.product-grid {
    display: grid;
    gap: 25px;
    padding: 40px 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
}

.product-card {
    /* background: var(--gris-card); */
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--fucsia);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.product-card h3 {
    margin-top: 12px;
    font-size: 18px;
}

.product-price {
    color: var(--fucsia);
    font-weight: bold;
    margin: 10px 0;
    font-size: 18px;
}

.product-card .btn {
    margin-top: 10px;
    align-self: center;
}


/* ============================================
   COMBOS
============================================ */

.combo-grid {
    display: grid;
    gap: 25px;
    padding: 40px 20px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    margin-bottom: 50px;
}

.combo-card {
    /* background: var(--gris-card); */
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.combo-card:hover {
    transform: translateY(-5px);
    border: 1px solid var(--fucsia);
}

.combo-card::before {
    content: "🔥 COMBO";
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--fucsia);
    color: white;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 5px;
}

.combo-descuento {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff004c;
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
}

.combo-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.combo-card h3 {
    margin-top: 12px;
    font-size: 18px;
}

.combo-precio {
    margin-top: 10px;
}

.precio-base {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.precio-final {
    font-size: 20px;
    font-weight: bold;
    color: var(--fucsia);
}

.combo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.combo-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.combo-item span {
    margin-left: auto;
    font-weight: bold;
    color: #ff2e93;
}

.combo-contenido {
    margin: 15px 0;
}

.combo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(230, 0, 115, 0.1);
}

.combo-price {
    text-align: right;
}

.price-label {
    font-size: 12px;
    color: #999;
    display: block;
    margin-bottom: 2px;
}

.price-value {
    font-size: 22px;
    font-weight: bold;
    color: var(--fucsia);
}

.combo-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(230, 0, 115, 0.2);
}

.btn-action:hover {
    background: var(--fucsia);
    transform: scale(1.1);
}

.btn-action.delete:hover {
    background: #ff4444;
    border-color: #ff4444;
}

.price-breakdown {
    background: rgba(230, 0, 115, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid rgba(230, 0, 115, 0.1);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.price-regular {
    color: #ccc;
    text-decoration: line-through;
    font-size: 14px;
}

.savings-badge {
    background: linear-gradient(135deg, #00a86b, #00875a);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-top: 8px;
}


/* ============================================
   CARRITO (SIDEBAR, OVERLAY, ITEMS)
============================================ */

.cart-count {
    background: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    right: -12px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulseCart 1.5s infinite;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

#cartSidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: linear-gradient(180deg, #0f0f0f, #ab3b3b);
    box-shadow: -5px 0 25px rgba(230, 0, 115, 0.25);
    z-index: 2000;
    transition: right 0.3s ease-in-out;
    padding: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

#cartSidebar.active {
    right: 0;
}

#cartSidebar .close-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2001;
}

#cartSidebar .close-cart:hover {
    background: var(--fucsia);
    transform: rotate(90deg);
}

.close-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(230, 0, 115, 0.2), rgba(230, 0, 115, 0.05));
    border: 1px solid rgba(230, 0, 115, 0.4);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.close-cart-btn:hover {
    background: var(--fucsia);
    border-color: var(--fucsia);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(230, 0, 115, 0.4);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(230, 0, 115, 0.3);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.cart-header h3 {
    color: var(--fucsia);
    font-size: 18px;
    letter-spacing: 1px;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.cart-img img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-img img:hover {
    transform: scale(1.05);
    border-color: var(--fucsia);
}

.cart-name {
    font-size: 14px;
    font-weight: bold;
}

.cart-price-unit {
    font-size: 12px;
    color: #bbb;
    margin-top: 3px;
}

.cart-subtotal {
    margin-top: 6px;
    font-weight: bold;
    color: var(--fucsia);
    font-size: 14px;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--fucsia);
    background: transparent;
    color: var(--fucsia);
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.qty-btn:hover {
    background: var(--fucsia);
    color: #fff;
}

.remove-item {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.remove-item:hover {
    color: var(--fucsia);
    transform: scale(1.2);
}

.cart-divider {
    border: none;
    border-top: 1px solid rgba(230, 0, 115, 0.3);
    margin: 15px 0;
}

.cart-total {
    font-size: 18px;
    font-weight: bold;
    color: var(--fucsia);
    text-align: right;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-actions .btn {
    width: 100%;
    font-size: 14px;
}

.continue-btn {
    background: #1f1f1f !important;
    border: 1px solid rgba(230, 0, 115, 0.3);
}

.continue-btn:hover {
    background: #2a2a2a !important;
    border-color: var(--fucsia);
}

.checkout-btn {
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 0 15px rgba(230, 0, 115, 0.4);
    text-align: center;
}

.checkout-btn:hover {
    box-shadow: 0 0 25px rgba(230, 0, 115, 0.7);
}

.whatsapp-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.icono-flecha {
    font-size: 2rem;
    color: #25D366;
    animation: bounce 1.2s infinite;
}


/* ============================================
   CHECKOUT
============================================ */

.checkout-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.checkout-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--fucsia);
    text-align: center;
    border-left: 4px solid var(--fucsia);
    padding-left: 10px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    margin-top: 30px;
}

.checkout-main-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-card {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.checkout-card h2 {
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--fucsia);
}

.checkout-card h2 i {
    color: var(--fucsia);
}

.checkout-card.payment {
    background: linear-gradient(135deg, #1a1a1a, #0f0f0f);
    border-color: var(--fucsia);
}

.checkout-summary {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(230, 0, 115, 0.2);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.checkout-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(230, 0, 115, 0.1);
    align-items: center;
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.checkout-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    border: 1px solid rgba(230, 0, 115, 0.3);
}

.checkout-item-info {
    flex: 1;
}

.checkout-item-info h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.checkout-item-price {
    font-size: 12px;
    color: #999;
}

.checkout-item-subtotal {
    font-weight: bold;
    color: var(--fucsia);
    white-space: nowrap;
}

.checkout-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(230, 0, 115, 0.3);
}

.checkout-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 16px;
    color: #999;
}

.checkout-row.total {
    font-size: 22px;
    font-weight: bold;
    color: var(--fucsia);
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(230, 0, 115, 0.3);
}

.shipping-free {
    color: #28a745;
}

.checkout-login-prompt,
.login-prompt {
    background: rgba(230, 0, 115, 0.1);
    border: 1px solid rgba(230, 0, 115, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-login-prompt a,
.login-prompt a {
    color: var(--fucsia);
    font-weight: bold;
    text-decoration: none;
}

.login-prompt i {
    color: var(--fucsia);
    font-size: 24px;
}

.login-prompt p {
    margin: 0;
    color: #ccc;
}

.btn-link {
    background: none;
    border: none;
    color: var(--fucsia);
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}


/* Métodos de pago */

.payment-methods {
    display: grid;
    gap: 10px;
    margin-bottom: 30px;
}

.payment-option {
    display: block;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    transition: 0.3s;
}

.payment-option input[type="radio"]:checked+.payment-option-content {
    border-color: var(--fucsia);
    background: rgba(230, 0, 115, 0.1);
}

.payment-option-content i {
    color: var(--fucsia);
    font-size: 20px;
}


/* Resumen de items en checkout */

.summary-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #2a2a2a;
}

.item-image {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-details h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: white;
}

.item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.item-qty {
    min-width: 30px;
    text-align: center;
    color: white;
}

.remove-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #dc3545;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #dc3545;
    color: white;
}

.item-subtotal {
    font-weight: bold;
    color: var(--fucsia);
    min-width: 100px;
    text-align: right;
}

.summary-totals {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #2a2a2a;
}

.total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    color: #999;
}

.total-row.final {
    font-size: 20px;
    font-weight: bold;
    color: white;
    border-top: 1px solid #2a2a2a;
    margin-top: 10px;
    padding-top: 15px;
}

.summary-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #2a2a2a;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 12px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    background: #111;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
}

.empty-cart i {
    font-size: 60px;
    color: var(--fucsia);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-cart p {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
}


/* ============================================
   MODALES
============================================ */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 350px;
    border: 1px solid var(--fucsia);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: 0.2s;
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--fucsia);
}

.modal-content h3 {
    color: var(--fucsia);
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #1a1a1a;
    border: 1px solid rgba(230, 0, 115, 0.3);
    border-radius: 6px;
    color: white;
}

.modal-content .btn {
    width: 100%;
    margin-top: 10px;
}

.register-link {
    margin-top: 20px;
    font-size: 14px;
    color: #999;
    text-align: center;
}

.register-link a {
    color: var(--fucsia);
    text-decoration: none;
}


/* Confirm Modal */

.confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.confirm-modal.show {
    display: flex;
}

.confirm-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 280px;
}

.confirm-box p {
    color: #000;
}

.confirm-actions {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.btn-cancel {
    background: #ccc;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 6px;
}

.btn-ok {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 6px;
}


/* Modal Imagen */

.modal-imagen {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-contenido {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

.modal-contenido.zoomed {
    transform: scale(1.8);
    cursor: zoom-out;
}

.zoom-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: zoom-in;
}

.cerrar {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}


/* ============================================
   FORMULARIOS
============================================ */

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--fucsia);
    margin-right: 5px;
}

.form-control {
    background: #1a1a1a;
    border: 1px solid rgba(230, 0, 115, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    color: #fff;
    font-size: 15px;
    transition: 0.3s;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--fucsia);
    box-shadow: 0 0 10px rgba(230, 0, 115, 0.3);
}

.form-control.error {
    border-color: #dc3545;
}

.form-control.valid {
    border-color: #28a745;
}

.form-control.optional {
    border-color: #333;
    background: #1a1a1a;
}

.form-control.optional:focus {
    border-color: var(--fucsia);
}

.form-control.optional::placeholder {
    color: #555;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.required {
    color: var(--fucsia);
    margin-left: 3px;
}

.optional-badge {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: normal;
    margin-left: 10px;
}

.info-message {
    background: rgba(0, 123, 255, 0.1);
    border-left: 4px solid #007bff;
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
}

.info-message i {
    color: #007bff;
    font-size: 18px;
}


/* Formulario de combos */

.combo-form {
    background: #111;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(230, 0, 115, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.form-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.imagen-actual {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    border: 1px solid rgba(230, 0, 115, 0.2);
}

.imagen-actual p {
    color: #ccc;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.imagen-actual img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    border: 2px solid rgba(230, 0, 115, 0.3);
    background: #fff;
    object-fit: contain;
}

.file-input-wrapper {
    position: relative;
    margin-top: 10px;
}

.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-input-label {
    display: block;
    background: #2a2a2a;
    border: 1px dashed var(--fucsia);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    color: #ccc;
    transition: 0.3s;
    cursor: pointer;
}

.file-input-label:hover {
    background: #333;
    border-color: var(--fucsia-light);
    color: #fff;
}

.file-input-label i {
    color: var(--fucsia);
    margin-right: 5px;
}


/* Sección productos en combo */

.productos-section {
    margin-top: 30px;
    border-top: 1px solid rgba(230, 0, 115, 0.2);
    padding-top: 25px;
}

.productos-section h3 {
    color: var(--fucsia);
    font-size: 22px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.productos-section h3 i {
    font-size: 24px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    background: #0a0a0a;
    border-radius: 12px;
    padding: 20px;
}

.productos-grid::-webkit-scrollbar {
    width: 8px;
}

.productos-grid::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 4px;
}

.productos-grid::-webkit-scrollbar-thumb {
    background: var(--fucsia);
    border-radius: 4px;
}

.productos-grid::-webkit-scrollbar-thumb:hover {
    background: var(--fucsia-light);
}

.producto-item {
    background: #1a1a1a;
    border: 1px solid rgba(230, 0, 115, 0.1);
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.3s;
    border-left: 3px solid transparent;
}

.producto-item:hover {
    border-color: rgba(230, 0, 115, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 115, 0.15);
}

.producto-item:has(.producto-cantidad[value="1"],
.producto-cantidad[value="2"],
.producto-cantidad[value="3"],
.producto-cantidad[value="4"],
.producto-cantidad[value="5"],
.producto-cantidad[value="6"],
.producto-cantidad[value="7"],
.producto-cantidad[value="8"],
.producto-cantidad[value="9"]) {
    border-left-color: var(--fucsia);
    background: rgba(230, 0, 115, 0.05);
}

.producto-info-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.producto-nombre {
    font-weight: bold;
    color: #fff;
    font-size: 15px;
}

.producto-precio {
    color: var(--fucsia);
    font-weight: bold;
    background: rgba(230, 0, 115, 0.1);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 13px;
}

.cantidad-input {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cantidad-input label {
    font-size: 13px;
    color: #999;
}

.cantidad-input input {
    width: 70px;
    background: #2a2a2a;
    border: 1px solid rgba(230, 0, 115, 0.3);
    border-radius: 6px;
    padding: 6px 10px;
    color: white;
    text-align: center;
}

.cantidad-input input:focus {
    outline: none;
    border-color: var(--fucsia);
}

.producto-subtotal {
    font-size: 12px;
    padding-top: 5px;
    border-top: 1px dashed rgba(230, 0, 115, 0.2);
}

.producto-subtotal .subtotal-valor {
    color: var(--fucsia);
    font-weight: bold;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(230, 0, 115, 0.2);
}


/* Login/Register forms */

.login-container,
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.login-box,
.auth-box {
    background: #111;
    padding: 40px;
    border-radius: 16px;
    max-width: 420px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.login-title,
.auth-title {
    margin-bottom: 25px;
    font-size: 28px;
    color: #fff;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #aaa;
    margin-bottom: 30px;
}

.login-error,
.auth-error {
    background: #ff4d4d20;
    border: 1px solid #ff4d4d;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: #ff4d4d;
    font-size: 14px;
}

.login-form,
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon i:first-child {
    position: absolute;
    left: 12px;
    color: #777;
    font-size: 14px;
}

.input-icon input {
    width: 100%;
    padding: 12px 12px 12px 38px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: white;
    font-size: 14px;
    transition: 0.2s;
}

.input-icon input:focus {
    outline: none;
    border-color: #ff007f;
    box-shadow: 0 0 6px rgba(255, 0, 127, 0.4);
}

.toggle-password {
    position: absolute;
    right: 12px;
    cursor: pointer;
    color: #777;
    font-size: 14px;
}

.toggle-password:hover {
    color: #ff007f;
}

.login-btn,
.btn-auth {
    width: 100%;
    padding: 12px;
    background: #ff007f;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover,
.btn-auth:hover {
    background: #e60073;
}

.login-extra,
.auth-footer {
    margin-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 14px;
}

.login-extra a,
.auth-footer a {
    color: #ff007f;
    text-decoration: none;
    font-weight: 600;
}

.login-extra a:hover,
.auth-footer a:hover {
    text-decoration: underline;
}

.checkbox {
    font-size: 14px;
}


/* ============================================
   PÁGINA DETALLE PRODUCTO
============================================ */

.producto-page {
    margin-top: 40px;
}

.producto-detalle {
    background-color: rgb(27, 8, 8, 10%);
    padding: 20px;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.breadcrumb {
    margin-bottom: 25px;
    font-size: 14px;
    color: #999;
}

.breadcrumb a {
    color: var(--fucsia);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.producto-imagen {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.producto-imagen img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.producto-imagen img:hover {
    transform: scale(1.05);
}

.producto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.producto-titulo,
.producto-info h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #fff;
}

.producto-precio {
    font-size: 28px;
    font-weight: bold;
    color: #ff0077;
    margin-bottom: 10px;
}

.producto-cuotas {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.producto-envio {
    font-size: 14px;
    margin-bottom: 20px;
}

.producto-descripcion {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #ddd;
}

.cantidad-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    width: 120px;
    margin-bottom: 15px;
}

.cantidad-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.cantidad-selector button {
    width: 40px;
    height: 40px;
    background: #2a2a2a;
    border: 1px solid var(--fucsia);
    color: white;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.cantidad-selector button:hover {
    background: var(--fucsia);
}

.cantidad-selector input {
    width: 70px;
    height: 40px;
    text-align: center;
    background: #1a1a1a;
    border: 1px solid rgba(230, 0, 115, 0.3);
    color: white;
    border-radius: 6px;
    font-size: 16px;
}

.btn-comprar {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn-comprar:hover {
    background: #ff0077;
}


/* ============================================
   ESTADÍSTICAS Y GRIDS ADICIONALES
============================================ */

.combos-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #111;
    border: 1px solid rgba(230, 0, 115, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--fucsia);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(230, 0, 115, 0.15);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(230, 0, 115, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--fucsia);
}

.stat-info h4 {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-info span {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
}

.product-list li:last-child {
    border-bottom: none;
}

.product-name {
    color: #ddd;
}

.product-qty {
    background: rgba(230, 0, 115, 0.15);
    color: var(--fucsia);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}


/* ============================================
   TOASTS Y MENSAJES
============================================ */

.toast,
.mensaje-carrito,
.checkout-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #28a745;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.toast.show,
.mensaje-carrito.mostrar,
.checkout-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.checkout-toast.success {
    background: #16a34a;
}

.checkout-toast.error {
    background: #dc2626;
}

.checkout-toast.info {
    background: #444;
}

.alert-error {
    background: rgba(230, 0, 115, 0.1);
    border: 1px solid rgba(230, 0, 115, 0.4);
    color: #ff4da6;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
}


/* ============================================
   ANIMACIONES
============================================ */

@keyframes pulseCart {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes pricePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
        color: #2ecc71;
    }
    100% {
        transform: scale(1);
    }
}

.price-update {
    animation: pricePulse .35s ease;
}

.fade-out {
    opacity: 0;
    transform: translateX(20px);
    transition: all .25s ease;
}


/* ============================================
   RESPONSIVE - TODAS LAS MEDIA QUERIES
============================================ */


/* Tablet */

@media (max-width: 1024px) {
    body {
        font-size: 15px;
    }
}

@media (max-width: 900px) {
    .producto-detalle {
        gap: 25px;
        padding: 20px;
    }
    .producto-info h1 {
        font-size: 26px;
    }
    .producto-precio {
        font-size: 30px;
    }
    .producto-imagen img {
        max-height: 400px;
    }
}


/* Mobile */

@media (max-width: 768px) {
    body {
        font-size: 15px;
        padding-top: 0;
    }
    html {
        scroll-padding-top: 110px;
        scroll-behavior: smooth;
    }
    /* Header Responsive */
    .header {
        flex-wrap: wrap;
        padding: 12px 15px;
        gap: 10px;
    }
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    .logo img {
        height: 45px;
    }
    .header-icons {
        order: 2;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-left: auto;
    }
    .menu-toggle {
        order: 3;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(230, 0, 115, 0.15);
        border-radius: 8px;
        padding: 6px 14px;
        font-size: 18px;
        transition: all 0.3s ease;
    }
    .menu-toggle::after {
        content: "Menú";
        font-size: 14px;
        font-weight: normal;
    }
    .menu-toggle:hover {
        background: rgba(230, 0, 115, 0.3);
    }
    /* Navegación mobile */
    .nav-links {
        position: fixed;
        top: 110px;
        left: -260px;
        height: calc(100% - 110px);
        width: 250px;
        background: #111;
        flex-direction: column;
        padding: 20px;
        transition: 0.3s;
        z-index: 999;
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
    }
    .nav-links.active {
        left: 0;
    }
    .nav-links a {
        padding: 8px 0;
        font-size: 15px;
    }
    /* Submenu mobile */
    .submenu {
        display: none;
        position: static;
        margin-top: 5px;
        padding-left: 10px;
        background: rgba(255, 255, 255, 0.03);
        border-left: 2px solid var(--fucsia);
    }
    .nav-item.active .submenu {
        display: block;
    }
    .nav-parent {
        display: block;
        font-size: 16px;
        font-weight: bold;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .submenu a {
        display: block;
        padding: 8px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        transition: 0.3s;
    }
    .submenu a:last-child {
        border-bottom: none;
    }
    .submenu a:hover {
        color: var(--fucsia);
        padding-left: 5px;
    }
    .nav-item.active .nav-parent {
        color: var(--fucsia);
    }
    .arrow {
        float: right;
        transition: 0.3s;
    }
    .nav-item.active .arrow {
        transform: rotate(180deg);
    }
    /* User info mobile */
    .user-trigger span {
        display: inline-block;
        font-size: 14px;
    }
    .user-trigger i {
        font-size: 20px;
    }
    .user-info,
    .saludo-usuario {
        display: none;
    }
    /* Productos grid mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 20px 10px;
    }
    .product-card {
        padding: 10px;
    }
    .product-card img {
        height: 160px;
        object-fit: cover;
    }
    .product-card .btn {
        width: 100%;
    }
    .product-card h3 {
        font-size: 14px;
    }
    .product-price {
        font-size: 14px;
    }
    .container {
        padding: 0;
    }
    /* Detalle producto mobile */
    .producto-detalle {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }
    .producto-imagen {
        max-height: 350px;
    }
    .producto-imagen img {
        max-height: 350px;
    }
    .producto-info h1 {
        font-size: 24px;
    }
    .producto-precio {
        font-size: 28px;
    }
    .cantidad-selector {
        justify-content: center;
    }
    .producto-info .btn {
        width: 100%;
    }
    /* Cart sidebar mobile */
    #cartSidebar {
        width: 100%;
        right: -100%;
    }
    #cartSidebar.active {
        right: 0;
    }
    /* Checkout mobile */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .checkout-main-column {
        order: 1;
    }
    .checkout-form-column {
        order: 2;
    }
    .checkout-summary {
        position: static;
    }
    .checkout-form {
        padding: 20px;
    }
    .checkout-card {
        padding: 20px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .summary-item {
        flex-wrap: wrap;
    }
    .item-subtotal {
        width: 100%;
        text-align: left;
        padding-left: 75px;
    }
    .checkout-item-detalle {
        flex-direction: column;
        text-align: center;
    }
    /* Footer mobile */
    .premium-content {
        flex-direction: column;
        text-align: center;
    }
    .brand-identity {
        justify-content: center;
    }
    .footer-note {
        justify-content: center;
        text-align: center;
    }
    /* Formularios mobile */
    .form-grid {
        grid-template-columns: 1fr;
    }
    .combo-form {
        padding: 20px;
    }
    .productos-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
}


/* Mobile pequeño */

@media (max-width: 480px) {
    .logo img {
        height: 38px;
    }
    .menu-toggle {
        padding: 5px 12px;
        font-size: 16px;
    }
    .menu-toggle::after {
        font-size: 12px;
    }
    .user-trigger span {
        font-size: 12px;
    }
    .user-trigger i {
        font-size: 18px;
    }
    .header-icons {
        gap: 12px;
    }
    .header-icons .icon {
        font-size: 20px;
    }
    .producto-detalle {
        padding: 10px;
    }
    .producto-wrapper {
        padding: 15px;
    }
    .producto-imagen {
        max-height: 280px;
    }
    .producto-imagen img {
        max-height: 280px;
    }
    .producto-info h1 {
        font-size: 20px;
    }
    .producto-precio {
        font-size: 24px;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-info span {
        font-size: 22px;
    }
    .combo-content {
        padding: 15px;
    }
    .combo-image {
        height: 150px;
    }
    .checkout-container {
        padding: 0 10px;
    }
    .checkout-title {
        font-size: 20px;
        margin: 15px 20px;
    }
    .checkout-form {
        padding: 15px;
    }
    .checkout-form h2 {
        font-size: 18px;
    }
    .payment-option {
        font-size: 13px;
    }
    .payment-option-content {
        padding: 8px 12px;
    }
    .btn-primary {
        padding: 12px;
        font-size: 14px;
    }
    .optional-badge {
        display: inline-block;
        margin-top: 5px;
    }
}

.cart-item,
.product-card,
.combo-card {
    background: rgba(47, 45, 45, 58%);
    border: 1px solid rgba(255, 0, 120, 0.2);
}


/* ========== SELECTOR DE CANTIDAD ========== */

.cantidad-box {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 15px;
    border: 1px solid rgba(230, 0, 115, 0.3);
    border-radius: 8px;
    background: #1a1a1a;
    width: fit-content;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 44px;
    background: transparent;
    border: none;
    color: var(--fucsia, #e60073);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.qty-btn:hover {
    background: rgba(230, 0, 115, 0.1);
    color: var(--fucsia, #e60073);
}

.qty-btn:active {
    transform: scale(0.95);
}

.qty-input {
    width: 50px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid rgba(230, 0, 115, 0.2);
    border-right: 1px solid rgba(230, 0, 115, 0.2);
    background: #1a1a1a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}


/* Ocultar flechas del input number */

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-input:focus {
    outline: none;
    background: #252525;
}


/* Botón de agregar al carrito */

.btn {
    background: var(--fucsia, #e60073);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    width: 100%;
}

.btn:hover {
    background: #ff0080;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 0, 115, 0.3);
}

.btn:active {
    transform: translateY(0);
}


/* ========== ESTILOS EXISTENTES QUE DEBES MANTENER ========== */


/* Elimina o comenta la segunda definición de .qty-btn que tenías */


/* La definición de arriba es la única que debe quedar */

.remove-item {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s;
}

.remove-item:hover {
    color: var(--fucsia);
    transform: scale(1.2);
}

.cart-divider {
    border: none;
    border-top: 1px solid rgba(230, 0, 115, 0.3);
    margin: 15px 0;
}

.cart-total {
    font-size: 18px;
    font-weight: bold;
    color: var(--fucsia);
    text-align: right;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-actions .btn {
    width: 100%;
    font-size: 14px;
}

.continue-btn {
    background: #1f1f1f !important;
    border: 1px solid rgba(230, 0, 115, 0.3);
}

.continue-btn:hover {
    background: #2a2a2a !important;
    border-color: var(--fucsia);
}

.checkout-btn {
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 0 15px rgba(230, 0, 115, 0.4);
    text-align: center;
}

.checkout-btn:hover {
    box-shadow: 0 0 25px rgba(230, 0, 115, 0.7);
}

.whatsapp-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.icono-flecha {
    font-size: 2rem;
    color: #25D366;
    animation: bounce 1.2s infinite;
}


/* ========== ESTILOS DEL PRODUCTO (si faltan) ========== */

.producto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: black;
}

.producto-precio {
    font-size: 24px;
    font-weight: bold;
    color: var(--fucsia);
}

.precio-total {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(230, 0, 115, 0.2);
}

.producto-cuotas {
    color: #888;
    font-size: 14px;
}

.form-carrito {
    margin-top: 10px;
}


/*  */


/* Estilos para los enlaces de productos en checkout */

.item-link {
    text-decoration: none;
    color: var(--fucsia, #e60073);
    transition: all 0.2s ease;
    cursor: pointer;
}


/* Estilo para la imagen clickeable */

.item-image a {
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
}

.item-image a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


/* Estilo para el título clickeable */

.item-details h4 {
    margin: 0 0 8px 0;
    font-size: 15px;
}

.item-details h4 a {
    font-weight: 600;
    /* color: #333; */
}

.item-details h4 a:hover {
    color: var(--fucsia, #e60073);
    text-decoration: underline;
}


/* Efecto hover en todo el item (opcional) */

.summary-item {
    transition: background 0.2s ease;
    padding: 12px;
    border-radius: 8px;
}

.summary-item:hover {
    background: rgba(230, 0, 115, 0.05);
}


/* Tooltip al pasar el mouse (opcional) */

.item-link[title] {
    position: relative;
}

.item-link[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 10;
    pointer-events: none;
    margin-bottom: 5px;
}


/* Ajuste para tooltip en la imagen */

.item-image .item-link[title]:hover::after {
    bottom: auto;
    top: 100%;
    margin-top: 5px;
}


/* Estilo para cuando el link está siendo clickeado */

.item-link:active {
    opacity: 0.7;
}


/* Para dispositivos móviles */

@media (max-width: 768px) {
    .item-details h4 a {
        font-size: 14px;
    }
    .item-image a:hover {
        transform: none;
        /* Desactivar hover en móvil */
    }
}

.adult-warning {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 9999;
    display: none;
}

.adult-warning-content {
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.adult-warning button {
    background: #ff007f;
    border: none;
    padding: 0.5rem 1rem;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.whatsapp-float {
    font-size: xx-large !important;
}

/* ===== CONTACTO ===== */

.contacto-container {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
    background-color: white;
}

.contacto-titulo {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: black;
}

.contacto-subtitulo {
    text-align: center;
    color: #777;
    margin-bottom: 30px;
}

/* FORMULARIO */
.contacto-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contacto-form input,
.contacto-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.contacto-form input:focus,
.contacto-form textarea:focus {
    border-color: var(--fucsia);
    box-shadow: 0 0 5px rgba(255, 0, 150, 0.2);
}

.contacto-form textarea {
    resize: none;
}

/* BOTÓN */
.contacto-form button {
    background: var(--fucsia);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.contacto-form button:hover {
    background: #e60073;
}

/* INFO EXTRA */
.contacto-info {
    margin-top: 30px;
    text-align: center;
    color: #555;
}

.contacto-info a {
    color: var(--fucsia);
    text-decoration: none;
}

.contacto-info a:hover {
    text-decoration: underline;
}

/* ============================================
   FOOTER SIEMPRE ABAJO - SOLO CSS
============================================ */

html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Esto evita que el container se estire y rompa la galería */
.container {
    flex: 0 0 auto;
    width: 100%;
}

/* Solo el contenido dinámico entre el header y el footer se estira */
body > .container:last-of-type {
    flex: 1;
}

/* Si tu contenido principal tiene un ID o clase específica */
#productContainer,
.product-grid {
    flex: none;
}

/* Tu footer queda exactamente igual */
.footer {
    background: #000;
    padding: 25px;
    text-align: center;
    border-top: 2px solid var(--fucsia);
    margin-top: auto; /* Cambia 40px por auto */
    font-size: 14px;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.toggle-password:hover {
    color: #ff2d75;
}

.form-group-usu input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: 0.2s;
}

.form-group-usu input:focus {
    border-color: #ff2d75;
    box-shadow: 0 0 0 2px rgba(255,45,117,0.2);
    outline: none;
}