/*CSS: KAPELU NL                    */
/*VER: sorteocarshow-app-v1.4.28    */
:root {
    --primary: #FFD700;
    --primary-dark: #FFC400;
    --secondary: #ffffff;
    --accent-red: #f60000;
    --accent-green: #a8e60f;
    --accent-green-btn: #39d801;
    --accent-purple: #A78BFA;
    --success-500: #2ecc4a;
    --success-700: #25a23c;
    --danger-500: #ea4c62;
    --danger-700: #cd1830;
    --dark-bg: #0f0f23;
    --dark-card: #1a1a2e;
    --dark-border: #2d2d4d;
    --dark-text: #e2e8f0;
    --dark-gray: #94a3b8;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --light-gray: #e2e8f0;
    --gray: #6c757d;
    --light: #f8f9fa;
}
/*retina*/
/* 1.25 dpr */
@media
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 120dpi){
    /* Retina-specific stuff here */
}

/* 1.3 dpr */
@media
(-webkit-min-device-pixel-ratio: 1.3),
(min-resolution: 124.8dpi){
    /* Retina-specific stuff here */
}

/* 1.5 dpr */
@media
(-webkit-min-device-pixel-ratio: 1.5),
(min-resolution: 144dpi){
    /* Retina-specific stuff here */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* iOS Safari optimizations */
@supports (-webkit-touch-callout: none) {
    .c-header {
        padding-top: env(safe-area-inset-top);
    }
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(360deg, var(--dark-bg) 0%, #1a1a2e 30%, #e1e1e1 100%);
    color: var(--dark-text);
    padding-bottom: 140px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
/*buscar*/
.search-container {
    position: relative;
    display: inline-block;
}

.badge-notification {
    position: absolute;
    top: 8px;
    right: 50px;
    background: var(--accent-red);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Header compacto para móviles */
.c-header {
    background: var(--dark-card);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1024;
    border-bottom: 1px solid var(--dark-border);
    height: 60px;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0;
}

.logo {
    height: 52px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}


.header-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(10px);
    text-decoration: none !important;
}

.header-btn:active {
    background: var(--primary);
    color: var(--dark-bg);
    transform: scale(0.95);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
    margin-top: 50px;
}

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

/* Cards optimizadas */
.card-checkout {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 0;
}

.card-header-custom {
    background: #EEEEEE;
    padding: 20px 24px;
    border-bottom: none;
}

.card-title-custom {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-body-custom {
    padding: 24px;
    background-color: #F5F5F5;        }

/* Form optimizado para móviles */
.form-group-custom {
    margin-bottom: 20px;
}

.form-label-custom {
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
}

.form-input-custom {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: #fff;
    -webkit-appearance: none;
}

.form-input-custom:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.form-input-custom.error {
    border-color: #dc3545;
    background: #fff5f5;
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.phone-prefix {
    display: flex;
    align-items: center;
}

.prefix {
    background: var(--cui-border-color);
    padding: 14px 16px;
    border: 2px solid var(--light-gray);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-weight: 600;
    color: var(--gray);
}

.phone-input {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Checkboxes optimizados */
.checkbox-group-custom {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: var(--light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.checkbox-group-custom:has(input:checked) {
    background: rgba(227, 6, 19, 0.05);
    border: 1px solid var(--primary);
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary);
}

.checkbox-label-custom {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.4;
    flex: 1;
}

.checkbox-label-custom a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label-custom a:hover {
    text-decoration: underline;
}

/* Botones optimizados para touch */
.btn-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Estados de carga */
.loading_checkout {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
}

.spinner-custom {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensajes de estado */
.alert-custom {
    border-radius: var(--border-radius);
    padding: 16px;
    margin-top: 16px;
    display: none;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.alert-success {
    background: #4CAF50;
    color: #ffffff;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* Order summary optimizado */
.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    border-bottom: 1px solid var(--light-gray);
    background: #EEEEEE;
    border-radius: 10px;
}

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

.order-item-info {
    flex: 1;
}

.order-item-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.order-item-details {
    font-size: 0.8rem;
    color: var(--gray);
}

.order-item-price {
    font-weight: 700;
    color: var(--cui-black);
    font-size: 1.1rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 2px solid var(--light-gray);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cui-black);
}

.order-total-amount {
    color: var(--cui-danger);
    font-size: 1.5rem;
}
/* Responsive optimizations */
@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .card-body-custom {
        padding: 20px;
    }

    .card-title-custom {
        font-size: 1.1rem;
    }

    .checkout-grid {
        gap: 16px;
    }

    .modal-buttons-custom {
        flex-direction: column;
    }

    .form-input-custom {
        padding: 16px;
    }

    .btn-submit {
        padding: 18px 24px;
    }
}

@media (max-width: 360px) {
    .card-body-custom {
        padding: 16px;
    }

    .card-title-custom {
        font-size: 1.2rem;
    }

    .form-input-custom {
        padding: 14px;
    }
}
/* Mejoras específicas para iOS */
@supports (-webkit-touch-callout: none) {
    .form-input-custom, .btn-submit, .modal-btn {
        -webkit-appearance: none;
    }
}

/* Mejoras específicas para Android */
@supports not (-webkit-touch-callout: none) {
    .btn-submit, .modal-btn {
        min-height: 50px;
    }
}

/* Efectos visuales */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.shake {
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.header-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    backdrop-filter: blur(10px);
}

.header-btn:active {
    background: var(--primary);
    color: var(--dark-bg);
    transform: scale(0.95);
}

/* Carousel Hero optimizado para móviles */
/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero-carousel {
    width: 100%;
    height: 100vh;
    max-height: 800px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.carousel-content {
    position: absolute;
    bottom: 20%;
    left: 10%;
    right: 10%;
    color: white;
    text-align: center;
    z-index: 2;
    padding: 2rem;
    /*background: rgba(0, 0, 0, 0.6);*/
    border-radius: 15px;
    /*backdrop-filter: blur(10px);*/
    max-width: 600px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b00, #ff8c00);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.carousel-subtitle {
    font-size: 1rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    opacity: 0.9;
}

.carousel-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Ganadores */
.winner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.winner-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.winner-card:hover {
    transform: translateY(-5px);
}
.winner-video {
    width: 100%;
    height: 440px; /* Altura específica para shorts */
    border: none;
}
.winner-info {
    padding: 1rem;
}
.winner-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.winner-date {
    color: #6c757d;
    font-size: 0.9rem;
}
/* Controles del carousel */
.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 3;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.carousel-arrow {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-tap-highlight-color: transparent;
}

.carousel-arrow:active {
    background: var(--primary);
    color: var(--dark-bg);
    transform: scale(0.95);
}

/* Auto-play indicator */
.carousel-autoplay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
}

.autoplay-btn {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.autoplay-btn:active {
    background: var(--primary);
    color: var(--dark-bg);
}

/* Menú off-canvas */
.policy-section {
    margin-bottom: 2rem;
}
.policy-section h4 {
    color: #2575fc;
    margin-bottom: 1rem;
}

.offcanvas-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--dark-card);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1030;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--dark-border);
    background-color: var(--dark-bg);
}

.offcanvas-menu.active {
    right: 0;
}

.offcanvas-header {
    padding: 20px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--dark-bg);
}

.offcanvas-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: var(--transition);
}

.close-menu:active {
    background: var(--primary);
    color: var(--dark-bg);
}

.offcanvas-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin-bottom: 8px;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--dark-text);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
}

.menu-link:active {
    background: var(--primary);
    color: var(--dark-bg);
}

.menu-link i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.menu-divider {
    height: 1px;
    background: var(--dark-border);
    margin: 16px 0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1029;
    backdrop-filter: blur(5px);
}

.overlay.active {
    display: block;
}
/* Hero section optimizada */
.hero-section {
    background: linear-gradient(135deg, var(--dark-card) 0%, #1e1b4b 100%);
    color: var(--secondary);
    padding: 80px 0 40px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--dark-border);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

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


/* Main content optimizado para touch */
.main-content {
    padding: 20px 0;
}

.card-product {
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-border);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    overflow: hidden;
    background: var(--dark-card);
    backdrop-filter: blur(10px);
}

.product-image {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray);
}

.spec-item i {
    color: var(--primary);
    width: 16px;
}

/* Selection section optimizada */
.selection-section {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.combo-card {
    border: 1px solid var(--dark-gray);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.combo-card-featured {
    border: 1px solid var(--dark-gray);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}



.combo-card:hover {
    border-color: var(--danger-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}


.combo-card.selected {
    border-color: var(--accent-red);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 107, 107, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.combo-quantity {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0px;
}

.combo-price {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 4px;
}

.combo-discount {
    font-size: 0.75rem;
    color: var(--accent-green);
    font-weight: 500;
}

/* Manual selection optimizada para touch */
.manual-selection {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
    border: 1px solid var(--dark-border);
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}


.quantity-btn:active {
    transform: scale(0.95);
    background: var(--primary-dark);
}

.quantity-input {
    width: 80px;
    height: 44px;
    border: 2px solid var(--dark-border);
    border-radius: var(--border-radius);
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    background: var(--dark-card);
    color: var(--secondary);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.manual-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 8px;
}

.discount-info {
    font-size: 0.875rem;
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Cart fijo optimizado para móviles */
.cart-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--transition);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1024;
    padding: 16px;
    border-top: 1px solid var(--dark-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.cart-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-info {
    flex: 1;
}

.cart-items {
    font-size: 0.875rem;
    color: var(--dark-gray);
    margin-bottom: 4px;
    /*max-height: 40px;*/
    max-height: 70px;
    overflow: hidden;
}

.cart-total {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.cart-actions {
    display: flex;
    gap: 8px;
}

.btn-checkout, .btn-reset {
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

.btn-checkout {
    background: #a8e60f;
    color: var(--dark-bg);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-checkout:active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #ff5252 100%);
    transform: scale(0.98);
}

.btn-checkout:disabled {
    background: var(--dark-gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-reset {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

.btn-reset:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.98);
}

/* Modal optimizado para móviles */
.fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    z-index: 1040;
    flex-direction: column;
}

.fullscreen-modal.active {
    display: flex;
}
.modal-content-mobile {
    background: #fff;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px 24px 0;
    border-bottom: none;
}

.modal-body {
    padding: 20px 24px;
}

.modal-body-full {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--dark-bg);
}
.modal-footer {
    padding: 0 24px 24px;
    border-top: none;
}

/* Botones optimizados para touch */
.btn {
    padding: 14px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--accent-green-btn);
    border: none;
    color: var(--dark-bg);
    color: white;
}

.btn-primary:active {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #ff5252 100%);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline-primary:active {
    background: var(--primary);
    color: var(--dark-bg);
}

.badge {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: var(--dark-bg);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Mejoras específicas para iOS */
@supports (-webkit-touch-callout: none) {
    .quantity-btn, .btn-checkout, .btn-reset, .btn {
        -webkit-appearance: none;
    }

    input, select, textarea {
        border-radius: 10px;
    }
}

/* Mejoras específicas para Android */
@supports not (-webkit-touch-callout: none) {
    .quantity-btn, .btn-checkout, .btn-reset, .btn {
        min-height: 44px;
    }
}

/* Responsive optimizations */
@media (max-width: 576px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .carousel-container {
        height: 55vh;
        min-height: 350px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-subtitle {
        font-size: 0.9rem;
    }

    .carousel-content {
        padding: 20px 15px;
    }

    .product-image {
        height: 180px;
    }

    .combos-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cart-content {
        flex-direction: column;
        gap: 12px;
    }

    .cart-info {
        text-align: center;
    }

    .cart-actions {
        width: 100%;
    }

    .btn-checkout, .btn-reset {
        flex: 1;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
    }

    .search-input-group {
        flex-direction: column;
    }
}

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

    .quantity-controls {
        flex-wrap: wrap;
    }

    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    }

    .carousel-container {
        height: 50vh;
        min-height: 300px;
    }
}
/* Estados de carga y feedback táctil */
.loading-tg {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
/* Efectos de brillo y neón */
.glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5),
    0 0 20px rgba(255, 255, 255, 0.3),
    0 0 30px rgba(255, 107, 0, 0.4);
}
.quantity-btn-decrease {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #e553537a;
    color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.quantity-btn-increase {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #39600cbf;
    color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

/* Badges */
.notify-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f60001;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btnBuscar {
    width: 100%;
    background: linear-gradient(135deg, #F44336 0%, #F44336 100%);
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btnBuscardenuevo{
    background: #EEEEEE;
    color: #616161;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}

.numeros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
}

.numero-box {
    background: linear-gradient(135deg, #870121 0%, rgba(246, 53, 53, 0.89) 100%);
    color: white;
    padding: 8px 5px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
}

.pedido-completado {
    background: var(--success-700);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.success-message {
    display: none;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}
.phone-input {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* FOOTER */
.footer {
    background-color: #18182c;
    color: #fff;
    padding: 30px 20px;
    border-top: 3px solid #ffcc00;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.regulatory-info {
    flex: 1;
    min-width: 300px;
}

.regulatory-info h3 {
    color: #ffcc00;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.regulatory-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.regulatory-logo {
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 150px;
}

.regulatory-logo img {
    max-width: 120px;
    height: auto;
}

.logo-label {
    font-size: 0.5rem;
    color: #afafafbd;
    margin-top: 5px;
    text-align: center;
}

.age-restriction {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #cf1d1f;
    padding: 5px;
    border-radius: 40px;
    min-width: 40px;
}

.age-icon {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0px;
}

.age-text {
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;
}

.footer-links {
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #444;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffcc00;
}

.copyright {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    font-size: 0.8rem;
    color: #999;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .regulatory-logos {
        justify-content: center;
    }
}

/*custom kpnl* ver 3.027 */
.display-msg {
    text-align: center;
}
.quantity-display {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0px;
    min-width: 60px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hidden-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    border: none;
    background: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Prevenir zoom en iOS */
input, select, textarea {
    font-size: 16px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.text-extra {
    color: var(--dark-gray);
}

/* Media Queries para Responsividad */
@media (max-width: 1200px) {
    .carousel-title {
        font-size: 2.5rem;
    }

    .carousel-content {
        bottom: 15%;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
        max-height: 600px;
    }

    .carousel-title {
        font-size: 2rem;
    }

    .carousel-content {
        bottom: 10%;
        left: 5%;
        right: 5%;
        padding: 1rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .feature-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-carousel {
        height: 60vh;
        max-height: 500px;
    }

    .carousel-title {
        font-size: 1.5rem;
    }

    .carousel-content {
        bottom: 5%;
        padding: 0.8rem;
    }

    .carousel-features {
        gap: 0.5rem;
    }

    .feature-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .carousel-title {
        font-size: 1.3rem;
    }

    .carousel-content {
        padding: 0.6rem;
    }
}

/* Efecto de overlay para mejor legibilidad */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 10%) 50%, rgb(0 0 0 / 0%) 100%);
    z-index: 1;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-content {
    animation: fadeIn 1s ease-out 0.5s both;
}