/* BLAX LLANTAS - Global Stylesheet
Consolidación de estilos para Index, TPMS, Servicios y Paquetes
*/

:root {
    --blax-red: #c41e24;
    --blax-black: #0a0a0a;
    --blax-dark-gray: #1a1a1a;
    --blax-accent: #ff2d35;
    --techtpms-red: #c41e24;
    --techtpms-light-red: #f53d43;
    --techtpms-cyan: #00f2ff;
    --techtpms-energy: #39FF14;
    --techtpms-gold: #FF5F1F;
    --techtpms-yellow: #fcf403;
    --techtpms-green: #10b981;
    --techtpms-bg: #07090c;
    --techtpms-card-gradient: linear-gradient(145deg, rgba(30, 35, 45, 0.4) 0%, rgba(10, 12, 14, 0.8) 100%);
    --techtpms-border: rgba(255, 255, 255, 0.08);
    --tpms-electric: #FFFF33;
    --tpms-cybergold: #FFD700;
    --tpms-vibecyan: #00FFFF;
    --tpms-harmonycyan: #33FFFF;
    --tpms-cobalt: #0047AB;
    --tpms-violet: #BF00FF;
    --tpms-fucsia: #FF00FF;
    --tpms-mint: #B2F2BB;
    --tpms-copper: #B87333;
}


/* Base & Typography */

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--blax-black);
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}


/* Custom Utilities for Tailwind */

.bg-blax-red {
    background-color: var(--blax-red);
}

.text-blax-red {
    color: var(--blax-red);
}

.border-blax-red {
    border-color: var(--blax-red) !important;
}


/* Layout Components */

.skew-box {
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
}

.skew-box-sm {
    clip-path: polygon(2% 0%, 100% 0%, 98% 100%, 0% 100%);
}

.diagonal-bg {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}


/* UI Effects */

.glass-effect {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-gradient {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 1) 100%);
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-hover:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--blax-red);
    box-shadow: 0 20px 25px -5px rgba(196, 30, 36, 0.2);
}


/* Animations */

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes scanline {
    0% {
        bottom: 100%;
    }
    100% {
        bottom: 0%;
    }
}

.scanline::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--blax-red);
    opacity: 0.3;
    animation: scanline 4s linear infinite;
}


/* Specific Section Styles */

.step-number {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
    font-size: 5rem;
    line-height: 1;
}


/* Swiper Customization (if used) */

.swiper-pagination-bullet {
    background: #555 !important;
}

.swiper-pagination-bullet-active {
    background: var(--blax-red) !important;
}


/* Mobile Adjustments */

@media (max-width: 768px) {
    .skew-box,
    .skew-box-sm {
        clip-path: none;
        /* Mejor legibilidad en móviles si es necesario */
    }
}

.tech-pattern {
    background-image: radial-gradient(circle at 2px 2px, #222 1px, transparent 0);
    background-size: 32px 32px;
}

.glass-card {
    /*background: rgba(255, 255, 255, 0.05);*/
    backdrop-filter: blur(10px);
    /*border: 1px solid rgba(255, 255, 255, 0.05);*/
    /* Tu nueva forma irregular */
    clip-path: polygon(0% 0%, 85% 0%, 100% 15%, 100% 100%, 15% 100%, 0% 85%);
    transition: background-color 0.4s ease, filter 0.4s ease;
}


/*.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 40%, transparent 60%, rgba(196, 30, 36, 0.2) 100%);
    z-index: 1;
    pointer-events: none;
}*/

.glass-card:hover {
    background: rgba(190, 12, 12, 0.295);
}

.package-glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    clip-path: polygon(0% 0%, 85% 0%, 100% 15%, 100% 100%, 15% 100%, 0% 85%);
    transition: background-color 0.4s ease, filter 0.4s ease;
}

.package-glass-card:hover {
    background: rgba(255, 255, 255, 0.10);
}

.skew-box {
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}


/* Swiper Custom Styles */

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--blax-red);
    opacity: 1;
}

.btn-racing {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: inline-block;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--blax-red);
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    font-family: sans-serif;
}

.glow-png {
    /* Sintaxis: eje-x eje-y difuminado color */
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.95));
}


/* Estilo para asegurar que el video cubra todo el fondo */

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.top-menu-link {
    font-size: 18px !important;
}


/* --- CONTENEDOR TIPO MÓDULO --- */

.package-view {
    border-left: 2px solid var(--blax-red);
    background: linear-gradient(90deg, rgba(196, 30, 36, 0.03) 0%, transparent 100%);
}


/* --- PRECIOS DINÁMICOS --- */

.tier-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--blax-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.tier-card:hover,
.tier-card.active {
    border-color: var(--blax-red);
    background: rgba(196, 30, 36, 0.05);
}


/* --- SERVICIOS ENLAZADOS --- */

.linked-service {
    position: relative;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    border: 1px solid var(--blax-border);
    transition: transform 0.4s ease;
}

.linked-service img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.linked-service:hover img {
    opacity: 0.6;
    filter: grayscale(0);
    transform: scale(1.1);
}

.linked-service h4 {
    position: relative;
    z-index: 10;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
}


/* --- FORMULARIO DE AGENDADO (REF: IMAGEN) --- */

.form-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
    font-style: italic;
}

.input-blax {
    background: #080808;
    border: 1px solid #1a1a1a;
    color: white;
    padding: 1rem;
    width: 100%;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: border-color 0.3s;
}

.input-blax:focus {
    outline: none;
    border-color: var(--blax-red);
}

.btn-submit-blax {
    background: var(--blax-red);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 1.25rem;
    width: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-submit-blax:hover {
    background: #a3191e;
    letter-spacing: 5px;
}

.grid-dots {
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 15px 15px;
}


/**Detalle servicios*/

.hero-service {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-image: linear-gradient(to right, rgba(10, 10, 10, 1) 20%, rgba(10, 10, 10, 0.4) 100%), url('https://images.unsplash.com/photo-1486006396113-c7b349741f15?q=80&w=2000');
}


/* Formulario Horizontal Multilínea/Fila */

.booking-bar {
    background: #0f0f0f;
    border-top: 1px solid var(--blax-border);
    border-bottom: 1px solid var(--blax-border);
    position: relative;
    z-index: 50;
}

.input-detail-group-blax {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.input-detail-field-wrapper {
    flex: 1;
    min-width: 150px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-detail-label-min {
    font-family: 'Orbitron', sans-serif;
    font-size: 8px;
    color: var(--blax-red);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px 0 12px;
}

.input-detail-horizontal {
    background: transparent;
    border: none;
    color: white;
    padding: 10px 12px 14px 12px;
    width: 100%;
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-detail-horizontal:focus {
    outline: none;
    background: rgba(196, 30, 36, 0.05);
}


/* Corregir alto del botón para que coincida con el contenedor del input */

.btn-blax-horizontal {
    background: var(--blax-red);
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    padding: 0 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    /* Alto igual a la suma de label + input */
}

.btn-blax-horizontal:hover {
    background: #ff1e26;
    letter-spacing: 4px;
}


/* Estilo para los inputs de fecha y hora */

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}


/* Cards de Paquetes */

.package-card {
    background: #0f0f0f;
    border: 1px solid var(--blax-border);
    clip-path: polygon(0% 0%, 85% 0%, 100% 15%, 100% 100%, 15% 100%, 0% 85%);
    transition: all 0.4s ease;
}

.package-card:hover {
    border-color: var(--blax-red);
    transform: translateY(-10px);
}

.inclusion-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #888;
    padding: 6px 0;
    text-transform: uppercase;
}


/* Navegación Circular */

.service-detail-link {
    transition: all 0.5s;
    filter: grayscale(1);
    opacity: 0.6;
}

.service-detail-link:hover {
    filter: grayscale(0);
    opacity: 1;
}


/**Procesamiento de pagos*/


/* --- ESTILOS PARA EL MODAL DE PAGOS BLAX --- */


/* Fondo oscurecido con desenfoque de cristal */

.modal-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* Compatibilidad Safari */
}


/* Contenedor con corte poligonal asimétrico (Tech Style) */

.skew-box {
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0% 100%);
}


/* Estilización de inputs dentro del modal */

#payment-modal input {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    transition: all 0.3s ease;
}

#payment-modal input:focus {
    border-color: var(--blax-red) !important;
    outline: none;
    background: rgba(255, 255, 255, 0.1) !important;
}


/* Estado deshabilitado para botones durante el procesamiento */

.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/**Sección de llantas*/


/* Estilos específicos para la sección de Llantas de Alto Desempeño */


/* 1. Máscara de corte angular para el contenedor de la imagen */

.tire-mask {
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    border-left: 4px solid var(--blax-red);
    background-color: #1a1a1a;
    /* Correspondiente a zinc-800 */
    padding: 0.5rem;
    /* 2 unidades de Tailwind */
    overflow: hidden;
}


/* 2. Efecto de resplandor rojo detrás de la imagen */

.red-glow {
    filter: drop-shadow(0 0 15px rgba(196, 30, 36, 0.4));
}


/* 3. Estilos para la imagen interna (Transiciones y Grayscale) */

.tire-mask img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 1000ms cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}


/* 4. Efecto Hover para la imagen */

.tire-mask:hover img {
    filter: grayscale(0%);
    transform: scale(1.1);
}


/* 5. Caja inclinada (Skew) usada en botones y etiquetas decorativas */

.skew-box {
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}


/**Listas por default*/


/* --- BLAX CUSTOM LISTS --- */


/* Clase base para la lista (UL) */

.blax-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}


/* Estilo para cada elemento (LI) */

.blax-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    transition: transform 0.2s ease;
}


/* El "bullet" personalizado (Cuadrado inclinado estilo Racing) */

.blax-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    background-color: var(--blax-red);
    transform: skewX(-20deg);
    /* Mantiene la estética skew de tu sitio */
    box-shadow: 0 0 8px var(--blax-red);
}


/* Efecto hover sutil */

.blax-list li:hover {
    transform: translateX(5px);
    color: #fff;
}


/* --- VARIANTE: TECH / PROTOCOL --- 
   Ideal para fichas técnicas o detalles de paquetes
*/

.blax-list-tech li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.blax-list-tech li::before {
    content: "\f054";
    /* Icono de flecha de FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    background: none;
    box-shadow: none;
    color: var(--blax-red);
    font-size: 0.8rem;
    top: 0.6rem;
}


/* Estilo para resaltar etiquetas dentro de la lista */

.blax-list b,
.blax-list strong {
    color: var(--blax-red);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}


/**modal de agenda*/

.modal-agenda-overlay {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}


/* Estilización de scrollbar para el cuerpo del modal */

.modal-agenda-body-scroll::-webkit-scrollbar {
    width: 4px;
}

.modal-agenda-body-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal-agenda-body-scroll::-webkit-scrollbar-thumb {
    background: var(--blax-red);
}


/* Personalización de Flatpickr */

.flatpickr-calendar {
    background: #111 !important;
    border: 1px solid var(--blax-red) !important;
    box-shadow: 0 0 20px rgba(196, 30, 36, 0.3) !important;
}

.flatpickr-day.selected {
    background: var(--blax-red) !important;
    border-color: var(--blax-red) !important;
}

input:focus {
    border-color: var(--blax-red) !important;
    background: rgba(196, 30, 36, 0.05) !important;
}

.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

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

.input-error {
    border-color: var(--blax-red) !important;
    animation: shake 0.5s;
}

.glass-card-agenda {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* Para Chrome, Safari, Edge y Opera */

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


/* Para Firefox */

input[type=number] {
    -moz-appearance: textfield;
}


/* Toggle Switch Estilizado */

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--blax-red);
}

input:checked+.slider:before {
    transform: translateX(20px);
}


/* Clases específicas para el sistema de agendado */

.modal-paqueteagenda-overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

.input-paqueteagenda-field {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem;
    width: 100%;
    outline: none;
    transition: all 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.input-paqueteagenda-field:focus {
    border-color: var(--blax-red);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(196, 30, 36, 0.2);
}

.input-paqueteagenda-field option {
    background: #0a0a0a;
    color: white;
}

.btn-paqueteagenda-submit {
    background-color: var(--blax-red);
    color: white;
    transition: all 0.3s ease;
}

.btn-paqueteagenda-submit:hover:not(:disabled) {
    background-color: white;
    color: black;
    transform: scale(1.02);
}

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


/* Personalización de Flatpickr para Blax */

.flatpickr-calendar {
    background: #111 !important;
    border: 1px solid #333 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
}

.flatpickr-day.selected {
    background: var(--blax-red) !important;
    border-color: var(--blax-red) !important;
}

.flatpickr-time input:hover,
.flatpickr-time .flatpickr-am-pm:hover {
    background: #222 !important;
}


/* Estilos para el carrusel lateral en el Hero */

.hero-carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.hero-carousel-item {
    min-width: 100%;
    height: 100%;
}

.hero-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.2) contrast(1.1);
}

.hero-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.h-dot {
    width: 25px;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.h-dot.active {
    background: #c41e24;
    /* blax-red */
    width: 40px;
}

#confirmation-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#confirmation-modal.active {
    display: flex;
    opacity: 1;
}

.ticket-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid var(--blax-red);
}


/* Estilos específicos para el buzón de quejas */

.queja_input_container {
    margin-bottom: 1.5rem;
}

.queja_input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    transition: all 0.3s ease;
}

.queja_input:focus {
    outline: none;
    border-color: var(--blax-red);
    background: rgba(196, 30, 36, 0.05);
}

.queja_label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    color: #888;
}

.queja_submit_btn {
    background: var(--blax-red);
    color: white;
    width: 100%;
    padding: 1rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.queja_submit_btn:hover {
    background: white;
    color: black;
}

.queja_submit_btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.tpms_body_context {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--tpms-blax-black);
    color: #ffffff;
    background-image: radial-gradient(circle at 2px 2px, #222 1px, transparent 0);
    background-size: 32px 32px;
}

.tpms_font_tech {
    font-family: 'Orbitron', sans-serif;
}

.tpms_glass_card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tpms_glass_card:hover {
    border-color: var(--tpms-blax-red);
    background: rgba(196, 30, 36, 0.05);
    transform: translateY(-5px);
}

.tpms_skew_box {
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

.tpms_modal_overlay {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
}

.tpms_input_tech {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem;
    width: 100%;
}

.tpms_input_tech:focus {
    border-color: var(--tpms-blax-red);
    outline: none;
}

.tpms_btn_red {
    background: var(--tpms-blax-red);
    transition: all 0.3s ease;
}

.tpms_btn_red:hover {
    background: white;
    color: black;
}


/* --- Estilos del Carrito Dinámico --- */

#tpms_cart_trigger {
    display: none;
    position: fixed;
    z-index: 90;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


/* Desktop: Flotante lateral centrado */

@media (min-width: 768px) {
    #tpms_cart_trigger {
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    .tpms_cart_btn {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        flex-direction: column;
    }
}


/* Mobile: Bottom Navigation */

@media (max-width: 767px) {
    #tpms_cart_trigger {
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        transform: none;
        padding: 15px;
        background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 10, 0.9) 100%);
        border-top: 2px solid var(--tpms-blax-red);
    }
    .tpms_cart_btn {
        width: 100%;
        height: 60px;
        border-radius: 8px;
        flex-direction: row;
        gap: 15px;
    }
}

.tpms_badge_pulse {
    animation: tpms_pulse_red 2s infinite;
}

@keyframes tpms_pulse_red {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 30, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(196, 30, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(196, 30, 36, 0);
    }
}

.tpms_disabled_qty {
    opacity: 0.15;
    pointer-events: none;
    filter: grayscale(1);
}

.tpmscart_body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--tpmscart-black);
    color: #ffffff;
    background-image: linear-gradient(rgba(10, 10, 10, 0.9), rgba(10, 10, 10, 0.9)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

.tpmscart_font_tech {
    font-family: 'Orbitron', sans-serif;
}

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

.tpmscart_card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--tpmscart-border);
}

.tpmscart_item_row {
    border-bottom: 1px solid var(--tpmscart-border);
    transition: background 0.3s ease;
}

.tpmscart_item_row:last-child {
    border-bottom: none;
}

.tpmscart_btn_primary {
    background: var(--tpmscart-red);
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}

.tpmscart_btn_primary:hover:not(:disabled) {
    background: #ffffff;
    color: #000000;
    transform: scale(1.02);
}

.tpmscart_btn_primary:disabled {
    background: #333;
    cursor: not-allowed;
    opacity: 0.5;
}

.tpmscart_status_bar {
    height: 4px;
    background: #222;
    position: relative;
    overflow: hidden;
}

.tpmscart_status_progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--tpmscart-red);
    width: 33%;
    /* Paso 1 de 3 */
}

.tpmscart_qty_input {
    background: #000;
    border: 1px solid #333;
    color: white;
    text-align: center;
    width: 45px;
    font-family: 'Orbitron', sans-serif;
}

.tpmscart_program_tag {
    background: rgba(196, 30, 36, 0.1);
    border-left: 2px solid var(--tpmscart-red);
}


/* Estilo para los inputs de cantidad */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.techtpms_font_tech {
    font-family: 'Orbitron', sans-serif;
}


/* Tarjeta de producto con prefijo techtpms_ */

.techtpms_product_card {
    background: var(--techtpms-card-gradient);
    backdrop-filter: blur(12px);
    border: 2px solid var(--techtpms-border);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.techtpms_product_card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.03) 50%, transparent 55%);
    background-size: 200% 200%;
    transition: 0.6s;
    pointer-events: none;
}

.techtpms_product_card:hover {
    border-color: var(--techtpms-cyan);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.techtpms_product_card:hover::after {
    background-position: 100% 100%;
}


/* Marco de imagen con efecto wireframe */

.techtpms_img_frame {
    position: relative;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.03) 0%, transparent 80%);
    border: 1px solid rgba(255, 255, 255, 0.03);
    aspect-ratio: 1/1;
    overflow: hidden;
}


/* Efecto de Circuito Impreso (PCB Tech) */

.techtpms_img_frame::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 85%;
    height: 85%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background-image: /* Puntos de soldadura */
    radial-gradient(circle at 10% 10%, var(--techtpms-cyan) 1px, transparent 1px), radial-gradient(circle at 90% 10%, var(--techtpms-cyan) 1px, transparent 1px), radial-gradient(circle at 10% 90%, var(--techtpms-cyan) 1px, transparent 1px), radial-gradient(circle at 90% 90%, var(--techtpms-cyan) 1px, transparent 1px), /* Líneas de circuito ortogonales */
    linear-gradient(90deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px), linear-gradient(0deg, rgba(0, 242, 255, 0.05) 1px, transparent 1px), /* Patrón circular tech */
    url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='100' cy='100' r='85' stroke='%2300f2ff' stroke-width='0.5' fill='none' stroke-dasharray='10 5' opacity='0.2'/%3E%3Ccircle cx='100' cy='100' r='60' stroke='%23ffffff' stroke-width='0.2' fill='none' opacity='0.1'/%3E%3Cpath d='M100 0 L100 200 M0 100 L200 100' stroke='%2300f2ff' stroke-width='0.2' opacity='0.1'/%3E%3Crect x='80' y='80' width='40' height='40' stroke='%2300f2ff' stroke-width='0.5' fill='none' opacity='0.2'/%3E%3C/svg%3E");
    background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 40px 40px, 40px 40px, 100% 100%;
    background-position: center;
    background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, no-repeat;
    opacity: 0.6;
    mask-image: radial-gradient(circle, black 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 60%, transparent 100%);
}


/* Botón de Detalles con transición cromática */

.techtpms_btn_detail {
    background: var(--techtpms-red);
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: all 0.5s ease;
    color: white;
    font-weight: 800;
    position: relative;
    overflow: hidden;
    border: none;
}

.techtpms_btn_detail:hover {
    background: var(--techtpms-cyan);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
    transform: scale(1.03);
}


/* Filtros */

.techtpms_filter_btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--techtpms-border);
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.techtpms_filter_btn.active {
    background: var(--techtpms-red);
    border-color: var(--techtpms-red);
    color: white;
    box-shadow: 0 0 15px rgba(196, 30, 36, 0.3);
}


/* Partículas de aire ambientales */

.techtpms_air_particle {
    position: fixed;
    background: white;
    border-radius: 50%;
    opacity: 0.1;
    pointer-events: none;
    filter: blur(1px);
    z-index: 1;
    animation: techtpms_flow 20s linear infinite;
}

@keyframes techtpms_flow {
    from {
        transform: translateY(100vh) translateX(0);
    }
    to {
        transform: translateY(-10vh) translateX(50px);
    }
}

.techtpms_header_line {
    border-left: 4px solid var(--techtpms-red);
    padding-left: 1.5rem;
}

.techtpms_background {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--techtpms-bg);
    background-image: radial-gradient(circle at 20% 30%, rgba(196, 30, 36, 0.15) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.20) 0%, transparent 40%), radial-gradient(circle at 50% 50%, #161b22 0%, #07090c 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.text-blax-cyan {
    color: var(--techtpms-cyan);
}

.tpmsdetail_body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--techtpms-bg);
    background-image: radial-gradient(circle at 20% 30%, rgba(196, 30, 36, 0.05) 0%, transparent 40%), radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.03) 0%, transparent 40%), radial-gradient(circle at 50% 50%, #161b22 0%, #07090c 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    margin: 0;
    padding: 2rem 1.5rem;
}

.tpmsdetail_font_tech {
    font-family: 'Orbitron', sans-serif;
}

.tpmsdetail_main_wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.tpmsdetail_image_container {
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    aspect-ratio: 16/10;
}

.tpmsdetail_price_value {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    color: #ffffff;
    letter-spacing: -2px;
    line-height: 1;
}

.tpmsdetail_cart_button {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: var(--techtpms-green-glow);
    transition: all 0.3s ease;
    clip-path: polygon(0 0, 96% 0, 100% 30%, 100% 100%, 4% 100%, 0 70%);
    border: none;
    cursor: pointer;
}

.tpmsdetail_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
    filter: brightness(1.1);
}

.tpmsdetail_field_input {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 12px;
    font-size: 14px;
    text-transform: uppercase;
    width: 100%;
    border-radius: 4px;
}

.tpmsdetail_field_input::placeholder {
    color: rgba(255, 255, 255, 0.8) !important;
    /* Cambia este color al que prefieras */
    opacity: 1;
    /* Necesario en Firefox para que el color se vea sólido */
}

.tpmsdetail_qty_control {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 4px;
}

.tpmsdetail_qty_btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: transparent;
    border: none;
    cursor: pointer;
}

.tpmsdetail_qty_display {
    width: 45px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    background: transparent;
    color: #fff;
    border: none;
}

.tpmsdetail_swiper_card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}


/* Indicador de carrito flotante */

#tpms_cart_indicator {
    display: none;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--techtpms-red);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(196, 30, 36, 0.4);
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}


/* Modal Lightbox Estilo Tech */

.tpms_lightbox_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 2000;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tpms_lightbox_overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.tpms_lightbox_img {
    max-width: 90%;
    max-height: 85%;
    object-contain: contain;
    box-shadow: 0 0 50px rgba(196, 30, 36, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tpms_lightbox_overlay.active .tpms_lightbox_img {
    transform: scale(1);
}


/**Carrito*/

.animate-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

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

.tpmscart_qty_input {
    background: transparent;
    border: none;
    width: 40px;
    text-align: center;
    color: white;
    font-family: monospace;
    outline: none;
}


/* Estilo para los botones de cantidad */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


/*Balones*/


/* Estilos críticos para los balones */

.soccer-ball-container {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100000;
    /* Prioridad máxima */
    pointer-events: none;
    will-change: transform;
}

.soccer-ball-container svg {
    display: block;
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.8));
}


/* Colores oficiales de marca */

.brand-visa {
    color: #1a1f71;
    /* Azul Visa */
}

.brand-mastercard {
    color: #eb001b;
    /* Rojo Mastercard (el naranja se genera por superposición, pero el rojo es el base) */
}


/* Opcional: Si quieres que resalten más sobre fondos oscuros */

.brand-visa,
.brand-mastercard {
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
}


/* Efecto de resplandor personalizado */

.glow-white {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-red {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
    border: 2px solid #dc2626;
}

.text-glow-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
}

.glow-glass {
    /* From https://css.glass */
    background: rgba(0, 0, 0, 0.33);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 1);
}

.suaje_button {
    clip-path: polygon(0 0, 96% 0, 100% 30%, 100% 100%, 4% 100%, 0 70%);
}


/**opciones de compra*/

.tpms_delivery_skew_box {
    transform: skew(-15deg);
}

.tpms_delivery_skew_box>* {
    transform: skew(15deg);
}

.tpms_delivery_btn_red {
    background: linear-gradient(90deg, #8b0000 0%, #ff0000 100%);
    transition: all 0.3s ease;
}

.tpms_delivery_btn_red:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}


/* Estilos del Modal */

#delivery-modal {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#delivery-modal.flex {
    display: flex;
    opacity: 1;
}

.delivery-option {
    border: 2px solid #333;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    transition: all 0.2s ease;
}

.delivery-option.active {
    border-color: var(--blax-red);
    background: rgba(255, 0, 0, 0.1);
}

.delivery-option.active .radio-circle {
    background: var(--blax-red);
    box-shadow: 0 0 10px var(--blax-red);
}

.blax_cta_btn {
    background: linear-gradient(90deg, #ffffff 0%, #afafaf 100%);
    transition: all 0.3s ease;
    color: #000;
    clip-path: polygon(0 0, 96% 0, 100% 30%, 100% 100%, 4% 100%, 0 70%);
    border: none;
    cursor: pointer;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.blax_cta_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(185, 16, 16, 0.6);
    filter: brightness(1.1);
}

.unskew {
    transform: skewX(15deg);
    display: inline-block;
}

.text-blax-red {
    color: #e11d48;
}

.bg-blax-red {
    background-color: #e11d48;
}

.hover\:bg-blax-red:hover {
    background-color: #e11d48;
}

.hover\:text-blax-red:hover {
    color: #e11d48;
}


/* Scrollbar personalizada */

 ::-webkit-scrollbar {
    width: 8px;
}

 ::-webkit-scrollbar-track {
    background: #09090b;
}

 ::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #e11d48;
}