@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   VARIABLES CSS
   ============================================ */
:root {
    --vino: #fb0100;
    --vino-dark: #d00100;
    --vino-light: #ff3333;
    --negro: #000;
    --gris-claro: #f8f9fa;
}

/* ============================================
   RESET Y CONFIGURACIÓN BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    padding-top: 170px; /* Espacio para header + búsqueda fijos */
}

/* ============================================
   HEADER ROJO (FIXED - ESTÁTICO)
   ============================================ */
.main-header {
    background: linear-gradient(135deg, #fb0100 0%, #d00100 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.header-overlay {
    padding: 15px 0;
}

.main-logo {
    max-height: 80px;
    width: auto;
}

.logo-text {
    line-height: 1.1;
}

/* FUENTE PERSONALIZADA TIPO ATOM */
.logo-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: white;
    margin: 0;
    text-transform: uppercase;
}

.logo-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.95);
    letter-spacing: 3px;
    margin: 0;
    text-transform: lowercase;
}

/* REDES SOCIALES EN HEADER */
.header-social {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #333;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-decoration: none;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.social-icon.whatsapp {
    background: #25D366;
    color: white;
}

.social-icon.whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

.social-icon.facebook {
    background: #1877F2;
    color: white;
}

.social-icon.facebook:hover {
    background: #0c5dbf;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.6);
}

.social-icon.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    box-shadow: 0 10px 30px rgba(220, 39, 67, 0.6);
}

.social-icon.tiktok {
    background: #000;
    color: white;
}

.social-icon.tiktok:hover {
    background: #ff0050;
    box-shadow: 0 10px 30px rgba(255, 0, 80, 0.6);
}

.btn-login {
    background: white;
    color: var(--vino);
    border: none;
    border-radius: 25px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-login:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* ============================================
   BARRA DE BÚSQUEDA NEGRA (FIXED - ESTÁTICA)
   ============================================ */
.search-section {
    background: #2a2a2a;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: fixed;
    top: 110px; /* Se posiciona debajo del header */
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-bar {
    flex: 1;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    background: transparent;
    outline: none;
}

.search-bar::placeholder {
    color: #999;
}

.btn-search {
    background: var(--vino);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: var(--vino-dark);
    transform: scale(1.05);
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item.active {
    color: var(--vino);
    font-weight: 600;
}

.breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--vino);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6c757d;
    font-size: 18px;
}

/* ============================================
   CARDS DE PRODUCTOS
   ============================================ */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(251, 1, 0, 0.15);
    border-color: var(--vino);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 240px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 2px solid #ffe5e5;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-img.out-of-stock {
    filter: grayscale(100%) opacity(0.5);
}

/* ============================================
   BADGE DE DESCUENTO LLAMATIVO (Izquierda)
   ============================================ */
.discount-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8c00 100%);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.5);
    z-index: 15;
    text-align: center;
    animation: pulseDiscount 2s infinite;
    font-weight: 900;
}

.discount-percent {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.discount-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

@keyframes pulseDiscount {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 0, 0.7);
    }
}

/* BADGES DE STOCK */
.stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.badge-disponible {
    background: #28a745;
    color: white;
}

.badge-low {
    background: #ffc107;
    color: #1a1a1a;
    animation: pulseWarning 2s infinite;
}

.badge-agotado {
    background: #dc3545;
    color: white;
}

@keyframes pulseWarning {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 3px 10px rgba(255, 193, 7, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 5px 15px rgba(255, 193, 7, 0.5);
    }
}

/* CONTENIDO DE LA CARD */
.product-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: linear-gradient(to bottom, white 0%, #fff5f5 100%);
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 60px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ============================================
   SISTEMA DE ESTRELLAS (RATING)
   ============================================ */
.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    justify-content: flex-start;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #cfb000;
    font-size: 14px;
    text-shadow: 0 0 3px rgb(253, 227, 0), 0 1px 2px rgba(0,0,0,0.2);
    filter: brightness(1.2);
}

.stars i.bi-star {
    color: #ddd;
    text-shadow: none;
    filter: none;
}

.rating-number {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.badge-outline-primary {
    border: 2px solid #0d6efd;
    color: #0d6efd;
    background: white;
    font-size: 11px;
    padding: 4px 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    display: inline-block;
    max-width: 100%;
}

/* CHIPS DE PRESENTACIÓN */
.presentation-container {
    margin-top: auto;
    padding-top: 8px;
    display: flex;
    justify-content: center;
}

.presentation-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.pres-chip {
    background: #f0f0f0;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
}

.pres-chip:hover {
    background: #fff5f5;
    border-color: var(--vino);
}

.pres-chip.active {
    background: var(--vino);
    color: white;
    border-color: var(--vino);
    box-shadow: 0 3px 8px rgba(251, 1, 0, 0.3);
}

/* FOOTER DE LA CARD */
.product-footer {
    padding: 0 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.precio-tag {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--vino);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.precio-tag .currency {
    font-size: 18px;
}

.precio-tag .decimal {
    font-size: 16px;
    color: #999;
}

/* BOTÓN COMPRAR (OBLIGATORIO) */
.btn-vino {
    background: var(--vino);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(251, 1, 0, 0.3);
}

.btn-vino:hover {
    background: var(--vino-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(251, 1, 0, 0.5);
}

.btn-vino:active {
    transform: translateY(0);
}

.btn-vino.btn-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-vino.btn-disabled:hover {
    transform: none;
}

/* ============================================
   ESTILOS DE MODALES
   ============================================ */
.modal-header {
    background: linear-gradient(135deg, #fb0100 0%, #d00100 100%);
    color: white;
    border: none;
}

.modal-title {
    font-weight: 700;
}

.disclaimer-text {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    font-size: 13px;
    color: #856404;
    line-height: 1.6;
}

.disclaimer-text i {
    color: #ffc107;
    margin-right: 8px;
    font-size: 18px;
}

/* DISCLAIMER MÁS LLAMATIVO Y VISIBLE */
/* ===================================================
   DISCLAIMER - VERSIÓN MEJORADA
   ===================================================== */

.disclaimer-text-important {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border-left: 4px solid #ffc107;
    padding: 12px 15px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    animation: pulse-disclaimer 3s ease-in-out infinite;
}

@keyframes pulse-disclaimer {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    }
    50% {
        transform: scale(1.01);
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    }
}

.disclaimer-icon {
    font-size: 28px;
    color: #ff9800;
    animation: pulse-icon 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.85;
    }
}

.disclaimer-content {
    flex: 1;
    color: #856404;
    font-size: 13px;
    line-height: 1.5;
}

.disclaimer-content strong {
    color: #dc3545;
    font-size: 20px;
    display: inline-block;
    margin-bottom: 3px;
    animation: pulse-text 2.5s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .disclaimer-text-important {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .disclaimer-icon {
        font-size: 24px;
    }
    
    .disclaimer-content {
        font-size: 12px;
    }
    
    .disclaimer-content strong {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .disclaimer-text-important {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .disclaimer-icon {
        font-size: 20px;
    }
    
    .disclaimer-content {
        font-size: 11px;
    }
    
    .disclaimer-content strong {
        font-size: 12px;
    }
}
/* ITEMS DEL CARRITO */
.cart-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.cart-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* RESUMEN DE COSTOS */
.cart-summary {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid var(--vino);
}

/* FORMULARIO DE REGISTRO */
.registro-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

/* OPCIONES DE ENTREGA */
.delivery-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.delivery-option {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.delivery-option:hover {
    border-color: var(--vino);
    box-shadow: 0 4px 12px rgba(251, 1, 0, 0.15);
}

.delivery-option.selected {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-color: var(--vino);
    border-width: 3px;
}

.delivery-option input[type="radio"] {
    display: none;
}

.delivery-option label {
    cursor: pointer;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.delivery-option i {
    font-size: 32px;
    color: var(--vino);
}

.delivery-price {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--vino);
}

/* ============================================
   BOTONES FLOTANTES
   ============================================ */
.cart-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 998;
}

.cart-btn,
.whatsapp-support-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    position: relative;
}

.cart-btn {
    background: linear-gradient(135deg, #fb0100 0%, #d00100 100%);
    color: white;
}

.cart-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(251, 1, 0, 0.5);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffc107;
    color: #1a1a1a;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.whatsapp-support-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    text-decoration: none;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    animation: whatsappGlow 2s ease-in-out infinite;
}

.whatsapp-support-btn i {
    font-size: 28px;
    z-index: 2;
}

/* Tooltip que aparece al hover */
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #128C7E;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* Mostrar tooltip al hover o touch */
.whatsapp-support-btn:hover .whatsapp-tooltip,
.whatsapp-support-btn:active .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@keyframes whatsappGlow {
    0%, 100% {
        box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7), 0 0 20px rgba(37, 211, 102, 0.5);
    }
}

.whatsapp-support-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #0d6b54 100%);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

/* ============================================
   FOOTER NEGRO (FIJO)
   ============================================ */
.footer-redes {
    background: linear-gradient(135deg, #1a1d23 0%, #0d0f13 100%);
    color: #9aa3b2;
    margin-top: 80px;
}

.footer-logo {
    max-width: 120px;
}

.footer-brand-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
}

.footer-brand-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 2px;
}

.footer-text {
    color: #9aa3b2;
    font-size: 14px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.footer-social a.whatsapp {
    background: #25D366;
    color: white;
}

.footer-social a.whatsapp:hover {
    background: #128C7E;
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.7);
}

.footer-social a.facebook {
    background: #1877F2;
    color: white;
}

.footer-social a.facebook:hover {
    background: #0c5dbf;
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 15px 35px rgba(24, 119, 242, 0.7);
}

.footer-social a.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.footer-social a.instagram:hover {
    background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 15px 35px rgba(220, 39, 67, 0.7);
}

.footer-social a.tiktok {
    background: #000;
    color: white;
}

.footer-social a.tiktok:hover {
    background: linear-gradient(135deg, #ff0050 0%, #00f2ea 100%);
    transform: translateY(-10px) scale(1.2);
    box-shadow: 0 15px 35px rgba(255, 0, 80, 0.7);
}

.footer-title {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--vino);
    position: absolute;
    bottom: 0;
    left: 0;
}

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

.footer-list li {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #9aa3b2;
}

.footer-list i {
    color: var(--vino);
    font-size: 16px;
    margin-top: 2px;
}

.footer-list a {
    color: var(--vino);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: var(--vino-light);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.payment-icon {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.payment-icon:hover {
    background: rgba(251, 1, 0, 0.1);
    border-color: var(--vino);
}

.payment-icon i {
    font-size: 24px;
    color: var(--vino);
}

.payment-icon span {
    font-size: 11px;
    color: #9aa3b2;
}

.footer-badge {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-badge i {
    font-size: 32px;
    color: var(--vino);
}

.footer-bottom {
    background: #030406;
    padding: 15px;
    font-size: 13px;
    color: #777;
    text-align: center;
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.pagination {
    gap: 8px;
}

.pagination .page-link {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    color: var(--vino);
    font-weight: 600;
    padding: 10px 16px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--vino);
    color: white;
    border-color: var(--vino);
}

.pagination .page-item.active .page-link {
    background: var(--vino);
    border-color: var(--vino);
    color: white;
}

/* ============================================
   RESPONSIVE - TABLET (768px - 991px)
   ============================================ */
@media (max-width: 991px) {
    body {
        padding-top: 150px; /* Ajuste para tablet */
    }

    .main-logo {
        max-height: 60px;
    }
    
    .logo-title {
        font-size: 22px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .product-image-container {
        height: 200px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .search-section {
        top: 90px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL (hasta 767px)
   ============================================ */
@media (max-width: 767px) {
    body {
        padding-top: 130px; /* Ajuste para móvil */
    }

    .header-overlay {
        padding: 10px 0;
    }
    
    .main-logo {
        max-height: 50px;
    }
    
    .logo-title {
        font-size: 18px;
        letter-spacing: 1px;
    }
    
    .logo-subtitle {
        font-size: 9px;
    }
    
    .header-social {
        gap: 6px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .search-section {
        padding: 10px 0;
        top: 70px;
    }
    
    .search-bar {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .btn-search {
        padding: 8px 20px;
        font-size: 13px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row.g-4 {
        --bs-gutter-x: 10px;
        --bs-gutter-y: 10px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .product-image-container {
        height: 160px;
    }
    
    .discount-badge {
        padding: 8px 10px;
        top: 8px;
        left: 8px;
    }

    .discount-percent {
        font-size: 14px;
    }

    .discount-label {
        font-size: 8px;
    }

    .stock-badge {
        top: 8px;
        right: 8px;
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .product-body {
        padding: 12px;
    }
    
    .product-title {
        font-size: 13px;
        min-height: 55px;
        margin-bottom: 6px;
        line-height: 1.25;
        -webkit-line-clamp: 3;
    }
    
    .product-rating {
        gap: 6px;
        margin-bottom: 6px;
    }

    .stars i {
        font-size: 12px;
    }

    .rating-number {
        font-size: 11px;
    }
    
    .pres-chip {
        font-size: 10px;
        padding: 8px 10px;
        min-width: 45px;
        border-radius: 6px;
    }
    
    .presentation-chips {
        gap: 4px;
    }
    
    .product-footer {
        padding: 0 12px 12px 12px;
    }
    
    .precio-tag {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .btn-vino {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .cart-float {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .cart-btn, .whatsapp-support-btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
    }
    
    .whatsapp-tooltip {
        right: auto;
        left: 50%;
        bottom: 70px;
        top: auto;
        transform: translateX(-50%) translateY(10px);
    }

    .whatsapp-tooltip::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(-50%) rotate(90deg);
    }

    .whatsapp-support-btn:hover .whatsapp-tooltip,
    .whatsapp-support-btn:active .whatsapp-tooltip {
        transform: translateX(-50%) translateY(0);
    }
    
    .cart-btn i {
        font-size: 26px;
    }
    
    .whatsapp-support-btn i {
        font-size: 24px;
    }
    
    .cart-count {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .footer-logo {
        max-width: 110px;
    }
    
    .footer-brand-title {
        font-size: 18px;
    }
    
    .footer-brand-subtitle {
        font-size: 9px;
    }

    .delivery-option {
        padding: 12px;
    }

    .delivery-option i {
        font-size: 24px;
    }

    .delivery-price {
        font-size: 16px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL PEQUEÑO (hasta 576px)
   ============================================ */
@media (max-width: 576px) {
    .header-overlay {
        padding: 8px 0;
    }
    
    .main-logo {
        max-height: 40px;
    }
    
    .logo-title {
        font-size: 14px;
    }
    
    .logo-subtitle {
        font-size: 8px;
    }
    
    .social-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .product-image-container {
        height: 140px;
    }

    .discount-badge {
        padding: 6px 8px;
        top: 6px;
        left: 6px;
    }

    .discount-percent {
        font-size: 13px;
    }

    .discount-label {
        font-size: 7px;
    }
    
    .product-title {
        font-size: 12px;
        min-height: 52px;
        line-height: 1.2;
        -webkit-line-clamp: 3;
    }
    
    .pres-chip {
        font-size: 9px;
        padding: 6px 8px;
        min-width: 40px;
        border-radius: 6px;
    }
    
    .presentation-chips {
        gap: 3px;
    }
    
    .precio-tag {
        font-size: 16px;
    }
    
    .btn-vino {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .cart-btn, .whatsapp-support-btn {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        padding: 0;
    }

    .search-section {
        top: 56px;
    }

    body {
        padding-top: 110px; /* Ajuste para móvil pequeño */
    }

    .disclaimer-text-important {
        padding: 15px;
        gap: 12px;
    }

    .disclaimer-icon {
        width: 40px;
        height: 40px;
    }

    .disclaimer-icon i {
        font-size: 22px;
    }

    .disclaimer-content {
        font-size: 13px;
    }

    .disclaimer-content strong {
        font-size: 14px;
    }
}

/* ============================================
   FIX PARA SAFARI iOS
   ============================================ */
@supports (-webkit-touch-callout: none) {
    input, select, textarea {
        font-size: 16px !important;
    }
    
    .cart-btn:hover, .whatsapp-support-btn:hover {
        transform: scale(1.05);
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.text-vino {
    color: var(--vino) !important;
}

.bg-vino {
    background-color: var(--vino) !important;
}

.text-danger {
    color: var(--vino) !important;
}

.btn-danger {
    background-color: var(--vino) !important;
    border-color: var(--vino) !important;
}

.btn-danger:hover {
    background-color: var(--vino-dark) !important;
    border-color: var(--vino-dark) !important;
}
/* ===================================================
   ESTILOS PARA DESCUENTOS - AGREGADOS
   ===================================================== */

/* Badge de descuento en la esquina superior izquierda */
.descuento-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 65, 108, 0.5);
    z-index: 15;
    animation: pulse-descuento 2s infinite;
}

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

/* Contenedor de precios con descuento */
.precio-container-descuento {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 10px;
}

/* Precio original tachado */
.precio-original-tachado {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

/* Precio con descuento en rojo */
.precio-tag.precio-descuento .amount {
    color: #ff4b2b !important;
}

.precio-tag.precio-descuento .currency {
    color: #ff4b2b !important;
}

.precio-tag.precio-descuento .decimal {
    color: #ff4b2b !important;
}

/* Responsive para móviles - Descuentos */
@media (max-width: 768px) {
    .descuento-badge {
        font-size: 13px;
        padding: 6px 10px;
        top: 8px;
        left: 8px;
    }
    
    .precio-original-tachado {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .descuento-badge {
        font-size: 11px;
        padding: 5px 8px;
        top: 5px;
        left: 5px;
    }
    
    .precio-original-tachado {
        font-size: 11px;
    }
    
.seo-content {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}
}