/* ============================================
   COMPONENTS CSS - Componentes reutilizables
   ============================================ */

/* ============================================
   BOTONES
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Botón primario */
.btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn--primary:hover:not(:disabled) {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--primary:active:not(:disabled) {
    background-color: var(--color-primary-hover);
    color: var(--color-white);
    transform: translateY(0);
}

/* Botón secundario */
.btn--secondary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn--secondary:hover:not(:disabled) {
    background-color: var(--color-secondary-light);
    color: var(--color-white);
}

/* Botón acento */
.btn--accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.btn--accent:hover:not(:disabled) {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
}

/* Botón outline */
.btn--outline {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover:not(:disabled) {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Botón texto */
.btn--text {
    background-color: transparent;
    color: var(--color-primary);
    padding: var(--spacing-xs) var(--spacing-sm);
}

.btn--text:hover:not(:disabled) {
    background-color: var(--color-primary-light);
}

/* Tamaños de botones */
.btn--sm {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--font-size-sm);
}

.btn--lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

/* Asegurar que los botones grandes mantengan el color del texto en hover */
.btn--primary.btn--lg:hover:not(:disabled) {
    color: var(--color-white) !important;
}

.btn--full {
    width: 100%;
}

/* ============================================
   BADGES Y ETIQUETAS
   ============================================ */

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-sm);
    line-height: 1;
}

.badge--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.badge--accent {
    background-color: var(--color-accent);
    color: var(--color-white);
}

.badge--success {
    background-color: var(--color-success);
    color: var(--color-white);
}

.badge--warning {
    background-color: var(--color-warning);
    color: var(--color-secondary);
}

.badge--error {
    background-color: var(--color-error);
    color: var(--color-white);
}

.badge--outline {
    background-color: transparent;
    border: 1px solid var(--color-gray-medium);
    color: var(--color-secondary);
}

/* ============================================
   CARD DE PRODUCTO
   ============================================ */

.product-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-medium);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
    transform: translateY(-6px);
    border-color: var(--color-primary);
}

.product-card__image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Aspect ratio 4:3 */
    overflow: hidden;
    background-color: var(--color-gray-light);
}

.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
    transition: transform var(--transition-base);
}

.product-card:hover .product-card__image {
    transform: scale(1.05);
}

.product-card__badges {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    z-index: 1;
}

.product-card__content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__category {
    font-size: var(--font-size-xs);
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-xs);
}

.product-card__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__title-link {
    color: inherit;
    transition: color var(--transition-fast);
}

.product-card__title-link:hover {
    color: var(--color-primary);
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
}

.product-card__stars {
    color: var(--color-warning);
}

.product-card__price-wrapper {
    margin-bottom: var(--spacing-md);
    margin-top: auto;
}

.product-card__price {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.product-card__price--old {
    font-size: var(--font-size-base);
    color: var(--color-gray-dark);
    text-decoration: line-through;
    margin-right: var(--spacing-xs);
    font-weight: 400;
}

.product-card__price-label {
    font-size: var(--font-size-xs);
    color: var(--color-gray-dark);
    display: block;
}

.product-card__actions {
    display: flex;
    gap: var(--spacing-sm);
}

.product-card__btn {
    flex: 1;
    width: 100%;
}

/* Estilo mejorado para botón de carrito en cards */
.product-card__actions .btn {
    font-weight: 600;
}

/* Card destacado */
.product-card--featured {
    border-width: 2px;
    border-color: var(--color-accent);
}

/* ============================================
   HERO BANNER
   ============================================ */

.hero {
    position: relative;
    color: var(--color-white);
    overflow: hidden;
    margin-bottom: var(--spacing-3xl);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

.hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.hero__text {
    max-width: 600px;
}

.hero__badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.hero__title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.hero__subtitle {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xl);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
}

.hero__actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* Botones específicos para hero */
.hero .btn {
    transition: all 0.3s ease;
}

.hero .btn--primary {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.hero .btn--primary:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero .btn--primary:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero .btn--outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--color-white);
    font-weight: 600;
}

.hero .btn--outline:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero .btn--outline:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero__image {
    position: relative;
    text-align: center;
}

.hero__image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Hero BLACK DAYS - Rediseño promocional */
.hero--black-days {
    margin-bottom: var(--spacing-3xl);
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.hero__black-days-bg {
    background: linear-gradient(180deg, #1a2d4d 0%, #0a1625 50%, #050a14 100%);
    min-height: 600px;
    position: relative;
    padding: 0 0 var(--spacing-3xl) 0;
    overflow: hidden;
}

/* Efecto de patrón tecnológico de fondo */
.hero__black-days-bg {
    background-image: 
        linear-gradient(180deg, #1a2d4d 0%, #0f1e35 30%, #0a1625 60%, #050a14 100%),
        radial-gradient(circle at 20% 50%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(74, 158, 255, 0.1) 0%, transparent 50%);
    background-size: 100% 100%, 100% 100%, 100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

/* Líneas tecnológicas de fondo */
.hero__black-days-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, transparent 0%, rgba(0, 102, 204, 0.03) 1px, transparent 1px, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(74, 158, 255, 0.03) 1px, transparent 1px, transparent 100%);
    background-size: 50px 50px, 50px 50px;
    background-position: 0 0, 0 0;
    pointer-events: none;
    z-index: 0;
}

/* Paneles diagonales decorativos en el fondo - Todos inclinados hacia la derecha */
.hero__black-days-bg::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 220px;
    pointer-events: none;
    transform: rotate(12deg);
    top: -60px;
    left: -25%;
    background: rgba(0, 102, 204, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 0;
}

/* Paneles diagonales adicionales dentro del contenedor */
.hero__black-days-bg .container {
    position: relative;
    overflow: hidden;
}

.hero__black-days-bg .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(74, 158, 255, 0.05) 30%, 
        rgba(0, 102, 204, 0.08) 50%, 
        rgba(74, 158, 255, 0.05) 70%, 
        transparent 100%);
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
    animation: shimmer 8s infinite;
}

.hero__black-days-bg .container::after {
    content: '';
    position: absolute;
    top: 320px;
    right: -15%;
    width: 130%;
    height: 180px;
    background: rgba(0, 102, 204, 0.06);
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.3;
        transform: rotate(12deg) translateX(-100%);
    }
    50% {
        opacity: 0.6;
        transform: rotate(12deg) translateX(100%);
    }
}

/* Panel diagonal adicional en el medio */
.hero__black-days::before {
    content: '';
    position: absolute;
    top: 220px;
    left: 10%;
    width: 80%;
    height: 150px;
    background: rgba(74, 158, 255, 0.05);
    transform: rotate(12deg);
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 40px rgba(0, 102, 204, 0.1);
}

.hero__black-days {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 500px;
    z-index: 1;
    margin-top: 50px;
}

.hero__black-days-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    z-index: 2;
    line-height: 0.9;
    position: relative;
}

.hero__black-days-title-line {
    display: block;
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 900;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 6px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin: 0;
}

/* Plataforma blanca para productos con degradado y efecto de fusión */
.hero__products-platform {
    border-radius: 32px;
    padding: var(--spacing-2xl) var(--spacing-xl);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25), 0 5px 20px rgba(0, 102, 204, 0.15);
    position: relative;
    z-index: 3;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.hero__products-platform--gradient {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.92) 50%, 
        rgba(248, 249, 250, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero__products-platform--gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 25%, 
        rgba(255, 255, 255, 0.3) 50%, 
        rgba(255, 255, 255, 0.2) 75%, 
        transparent 100%);
    z-index: 1;
}

.hero__products-platform--gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(74, 158, 255, 0.05) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(0, 102, 204, 0.08) 100%);
    pointer-events: none;
    z-index: 0;
    border-radius: 32px;
}

.hero__products-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.hero__product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.hero__product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary);
}

.hero__product-card--featured {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.2);
}

.hero__product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.hero__product-badge--hot {
    background: linear-gradient(135deg, #FF6600, #FF8533);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.4);
}

.hero__product-badge--new {
    background: linear-gradient(135deg, #28a745, #48c774);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.4);
}

.hero__product-badge--sale {
    background: linear-gradient(135deg, #0066CC, #3385FF);
    color: var(--color-white);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.4);
}

.hero__product-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0;
    margin-bottom: var(--spacing-md);
    min-height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: var(--border-radius-md);
}

.hero__product-img {
    max-width: 100%;
    max-height: 180px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hero__product-card:hover .hero__product-img {
    transform: scale(1.05);
}

.hero__product-info {
    text-align: center;
}

.hero__product-name {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-secondary);
    margin: 0 0 var(--spacing-sm) 0;
    line-height: 1.3;
}

.hero__product-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
}

.hero__product-price-old {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    text-decoration: line-through;
    opacity: 0.7;
}

.hero__product-price-new {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--color-accent);
}

.hero__product-discount {
    display: inline-block;
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.hero__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    padding-top: var(--spacing-md);
}

.hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.hero__dot:hover {
    background-color: rgba(0, 102, 204, 0.6);
    transform: scale(1.2);
}

.hero__dot--active {
    background-color: #0066CC;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

/* Responsive: Tablet */
@media (max-width: 991px) {
    .hero__black-days-bg {
        min-height: 500px;
        padding: var(--spacing-2xl) 0;
    }
    
    .hero__black-days-title {
        margin-bottom: var(--spacing-lg);
    }
    
    .hero__black-days-title-line {
        font-size: clamp(3rem, 10vw, 5rem);
        letter-spacing: 4px;
    }
    
    .hero__products-platform {
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: 24px;
    }
    
    .hero__products-platform--gradient::after {
        border-radius: 24px;
    }
    
    .hero__products-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .hero__product-card--featured {
        grid-column: 1 / -1;
    }
    
    .hero__products-platform {
        padding: var(--spacing-xl) var(--spacing-lg);
    }
}

/* Responsive: Móvil */
@media (max-width: 767px) {
    .hero__black-days-bg {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero__black-days {
        min-height: auto;
    }
    
    .hero__black-days-title {
        margin-bottom: var(--spacing-md);
    }
    
    .hero__black-days-title-line {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: 3px;
    }
    
    .hero__products-platform {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 20px;
    }
    
    .hero__products-platform--gradient::after {
        border-radius: 20px;
    }
    
    .hero__products-platform {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: var(--border-radius-lg);
    }
    
    .hero__products-showcase {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .hero__product-card--featured {
        grid-column: 1;
    }
    
    .hero__product-image-wrapper {
        min-height: 150px;
    }
    
    .hero__product-img {
        max-height: 140px;
    }
    
    .hero__product-name {
        font-size: var(--font-size-base);
    }
    
    .hero__product-price-new {
        font-size: var(--font-size-lg);
    }
}

/* ============================================
   SECCIONES
   ============================================ */

.section {
    padding: var(--spacing-3xl) 0;
}

.section--gray {
    background-color: var(--color-gray-light);
}

.section__header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section__subtitle {
    color: var(--color-primary);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: var(--spacing-md);
}

.section__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-gray-dark);
}

/* ============================================
   FORMULARIOS
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-secondary);
    font-size: var(--font-size-sm);
}

.form-label--required::after {
    content: ' *';
    color: var(--color-error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--font-size-base);
    line-height: 1.5;
    color: var(--color-secondary);
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-medium);
    border-radius: var(--border-radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-light);
}

.form-input:disabled,
.form-select:disabled,
.form-textarea:disabled {
    background-color: var(--color-gray-light);
    cursor: not-allowed;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-error {
    color: var(--color-error);
    font-size: var(--font-size-sm);
    margin-top: var(--spacing-xs);
    display: block;
}

.form-input--error,
.form-select--error,
.form-textarea--error {
    border-color: var(--color-error);
}

.form-input--error:focus,
.form-select--error:focus,
.form-textarea--error:focus {
    box-shadow: 0 0 0 3px var(--color-error-light);
}

.form-help {
    font-size: var(--font-size-sm);
    color: var(--color-gray-dark);
    margin-top: var(--spacing-xs);
}

/* Checkbox y Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.form-check-label {
    font-weight: 400;
    cursor: pointer;
}

/* ============================================
   TABLA
   ============================================ */

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--color-gray-medium);
}

.table th {
    background-color: var(--color-gray-light);
    font-weight: 600;
    color: var(--color-secondary);
}

.table tbody tr:hover {
    background-color: var(--color-gray-light);
}

/* ============================================
   LOGOS DE SEGURIDAD Y PAGOS
   ============================================ */

.security-payments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    max-width: 1400px;
    margin: 0 auto;
}

.security-payments__section {
    width: 100%;
}

.security-payments__image-container {
    width: 100%;
    border: 1px solid var(--color-gray-medium);
    background-color: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.security-payments__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

/* Mantener compatibilidad con estructura anterior (si se usa en otros lugares) */
.security-logos,
.payment-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    border: 1px solid var(--color-gray-medium);
}

.security-logo,
.payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-medium);
    min-height: 100px;
    transition: background-color var(--transition-fast);
}

.security-logo:hover,
.payment-logo:hover {
    background-color: var(--color-gray-light);
}

.logo-img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: var(--z-modal);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    overflow: visible;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.whatsapp-float__content {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0066CC 0%, #004d99 100%);
    border-radius: 30px;
    padding: 0;
    gap: 0;
    min-height: 60px;
}

.whatsapp-float__status-dot {
    width: 10px;
    height: 10px;
    background-color: #25D366;
    border-radius: 50%;
    margin-left: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.whatsapp-float__text-wrapper {
    padding: 14px 0;
    display: flex;
    align-items: center;
    flex: 1;
}

.whatsapp-float__text {
    color: white;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

.whatsapp-float__icon-wrapper {
    background-color: #25D366;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin: 6px 6px 6px 12px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-float__icon-wrapper {
    transform: scale(1.05);
}

.whatsapp-float__icon {
    width: 24px;
    height: 24px;
    display: block;
}

/* Responsive WhatsApp */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        border-radius: 25px;
    }

    .whatsapp-float__content {
        min-height: 54px;
        border-radius: 25px;
    }

    .whatsapp-float__status-dot {
        width: 8px;
        height: 8px;
        margin-left: 12px;
        margin-right: 10px;
    }

    .whatsapp-float__text-wrapper {
        padding: 12px 0;
    }

    .whatsapp-float__text {
        font-size: 14px;
    }

    .whatsapp-float__icon-wrapper {
        width: 42px;
        height: 42px;
        margin: 6px 5px 6px 10px;
    }

    .whatsapp-float__icon {
        width: 20px;
        height: 20px;
    }

    .security-logos,
    .payment-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-logo,
    .payment-logo {
        min-height: 80px;
        padding: var(--spacing-md);
    }

    .logo-img {
        max-height: 50px;
    }
}

/* ============================================
   BOTÓN FLOTANTE: PAGA TU FACTURA
   ============================================ */
.pay-pill {
    position: fixed;
    right: 20px;
    bottom: 100px;
    height: 60px;
    padding: 0 20px 0 24px;
    background: linear-gradient(135deg, #0066CC 0%, #004499 100%);
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
    z-index: 10000;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: payButtonBounce 2s infinite ease-in-out;
}

.pay-text {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.pay-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pay-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Aura animada más sutil */
.pay-pill::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        rgba(0, 102, 204, 0.3),
        rgba(0, 68, 153, 0.3),
        rgba(0, 102, 204, 0.3)
    );
    filter: blur(10px);
    z-index: -1;
    animation: auraPulse 2.5s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes auraPulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

/* Animación llamativa para el botón de pago */
@keyframes payButtonBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
    }
    25% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 32px rgba(0, 102, 204, 0.5);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
        box-shadow: 0 10px 28px rgba(0, 102, 204, 0.4);
    }
    75% {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 12px 32px rgba(0, 102, 204, 0.5);
    }
}

/* Pausar animación en hover para mejor UX */
.pay-pill:hover {
    animation: none;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0052a3 0%, #003366 100%);
}

/* Responsive para botón Paga tu factura */
@media (max-width: 767px) {
    .pay-pill {
        bottom: 90px;
        height: 54px;
        padding: 0 16px 0 20px;
        right: 16px;
    }

    .pay-text {
        font-size: 14px;
    }

    .pay-icon {
        width: 36px;
        height: 36px;
    }

    .pay-icon img {
        width: 20px;
        height: 20px;
    }
}

/* ============================================
   RESPONSIVE - COMPONENTS
   ============================================ */

@media (max-width: 767px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero__image {
        order: -1;
    }
    
    .product-card__actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .table {
        font-size: var(--font-size-sm);
    }
    
    .table th,
    .table td {
        padding: var(--spacing-sm);
    }

    .security-payments-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }

    .security-logos,
    .payment-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .security-logo,
    .payment-logo {
        min-height: 80px;
        padding: var(--spacing-md);
    }

    .logo-img {
        max-height: 50px;
    }
}
