/*
   VARIABLES Y ESTILOS GENERALES
 */
:root {
    --primary: #2a7f8c;
    --primary-dark: #1d5d67;
    --secondary: #5cb3b3;
    --dark: #1a3a3a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background-color: #edf3f3;
    min-height: 100vh;
}

.inder-regular {
  font-family: "Inder", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-regular {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-semibold {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/*
    HEADER Y NAVEGACIÓN - CORRECCIÓN DE ALINEACIÓN HORIZONTAL (PC)
*/
.header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
    transition: all 0.3s ease;
    height: auto;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 60px;
}

.logo {
    position: relative;
    height: 50px;
    display: flex;
    align-items: center;
}

.logo-img {
    transition: all 0.3s ease;
}

.logo-full {
    height: 50px;
    width: auto;
    opacity: 1;
    visibility: visible;
}

.logo-isotipo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 35px;
    width: auto;
    opacity: 0;
    visibility: hidden;
}

.header.shrink .logo-full {
    opacity: 0;
    visibility: hidden;
    height: 0;
}

.header.shrink .logo-isotipo {
    opacity: 1;
    visibility: visible;
}

/* PC: ACCIONES EN HORIZONTAL (UNO AL LADO DEL OTRO) */
.header-actions {
    display: flex; /* Asegura que en PC estén en línea */
    align-items: center;
    gap: 15px; /* Separación horizontal entre usuario y carrito */
}

.cart-icon, .user-icon {
    position: relative;
    cursor: pointer;
    font-size: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--danger);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* RESPONSIVE MÓVIL: Única sección donde se permite posicionamiento absoluto */
@media (max-width: 768px) {
    .header .container {
        display: block;
        padding: 10px 10px 8px !important;
        min-height: auto !important;
        position: relative;
    }

    .logo {
        height: 35px;
        justify-content: center;
        margin: 0 auto 5px auto;
    }

    /* En móvil, los iconos se separan a las esquinas */
    .header-actions {
        display: block; 
    }

    .user-icon {
        position: absolute;
        top: 10px;
        left: 10px;
    }

    .cart-icon {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .search-container {
        width: 100%;
        margin: 0;
    }
}
/* Estilos para el modal de login (Intactos) */
.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.login-content {
    background-color: var(--white);
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h2 {
    color: var(--primary);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--gray);
}

.google-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.google-login-btn:hover {
    background-color: #357ae8;
}

.google-login-btn i {
    margin-right: 10px;
    font-size: 18px;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--light-gray);
}

.login-divider span {
    padding: 0 15px;
    color: var(--gray);
    font-size: 14px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.login-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-size: 16px;
    transition: var(--transition);
}

.login-form input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 127, 140, 0.1);
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--primary);
    text-decoration: none;
}

.login-form .btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--gray);
}

.login-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.login-switcher {
    display: none;
}

/* HERO SECTION - CARRUSEL */
.hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 0;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* CAMBIO: Se añade visibility para que el JS pueda alternar el flujo */
    visibility: hidden; 
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.carousel-slide.active {
    opacity: 1;
    /* CAMBIO: Se activa la visibilidad y se asegura el orden de capa */
    visibility: visible;
    z-index: 5; 
}

.carousel-slide.imagen {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-slide.imagen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.carousel-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* CONTENIDO Y TEXTO */
.carousel-text {
    flex: 1;
    padding: 20px;
    z-index: 3;
}

/* Alineación del texto */
.carousel-text.alineacion-izquierda { text-align: left; }
.carousel-text.alineacion-derecha { text-align: right; }
.carousel-text.alineacion-centro { text-align: center; width: 100%; }

/* Posición del texto */
.carousel-text.posicion-izquierda { order: 1; }
.carousel-text.posicion-derecha { order: 2; }

.carousel-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.carousel-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* IMÁGENES Y EFECTOS */
.carousel-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    max-width: 100%; 
}

/* Posición de la imagen  */
.carousel-image.posicion-izquierda { order: 1; justify-content: flex-start; }
.carousel-image.posicion-derecha { order: 2; justify-content: flex-end; }
.carousel-image.posicion-centro { order: 2; justify-content: center; }

/* IMÁGENES */
.carousel-image img {
    max-height: 350px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.carousel-image img:hover {
    transform: translateY(-10px) scale(1.03);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* CONTROLES Y BOTONES */
.carousel-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(43, 127, 140, 0.3);
}

.carousel-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(43, 127, 140, 0.4);
}

.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: white;
    transform: scale(1.3);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.carousel-prev, .carousel-next {
    background-color: rgba(255, 255, 255, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* RESPONSIVE MÓVIL */
@media (max-width: 968px) {
    .main-content {
        margin-top: 0px !important; 
    }

    .hero {
        height: 380px;
        margin-top: 0 !important;
        background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    }

    .carousel-slide {
        padding: 0;
    }

    .carousel-slide::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(26, 58, 58, 0.65);
        z-index: 1;
    }

    .carousel-content {
        flex-direction: column;
        justify-content: center; 
        align-items: center;
        height: 100%;
        width: 100%;
        padding: 0 20px;
        z-index: 2;
    }
    
    .carousel-image {
        display: none !important;
    }

    .carousel-text {
        width: 100% !important;
        max-width: 100%;
        color: var(--white) !important;
        text-align: center !important;
    }

    .carousel-text h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
        text-align: center !important;
    }

    .carousel-text p {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center !important;
    }

    .carousel-btn {
        margin: 0 auto;
    }

    .carousel-nav {
        display: none !important;
    }
}

/* PRODUCTOS DESTACADOS */
.featured-products {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(155, 196, 49, 0.05) 0%, rgba(46, 177, 152, 0.05) 100%);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #1a5276;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #9bc431, #2eb198);
    border-radius: 2px;
}

.subtitle {
    font-size: 1.3rem;
    color: #616160;
    margin-top: 20px;
    font-weight: 500;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.featured-product {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.featured-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Badges/Etiquetas */
.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
    color: white;
}

.product-badge.discount {
    background: #1a5276;
    left: auto;
    right: 15px;
}

.product-badge.bestseller {
    background: #9bc431;
}

.product-badge.new {
    background: #2eb198;
}

.product-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    padding: 20px;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.featured-product:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.3rem;
    color: #1a5276;
    margin-bottom: 15px;
    font-weight: 600;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-container {
    margin-bottom: 10px;
}

.original-price {
    font-size: 1rem;
    color: #616160;
    text-decoration: line-through;
    margin-right: 8px;
}

.discounted-price, .current-price {
    font-size: 1.5rem;
    color: #2eb198;
    font-weight: 700;
}

.product-code {
    font-size: 0.85rem;
    color: #616160;
    margin: 0;
    background: #f5f7fa;
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

/* Responsive */
/* RESPONSIVE MÓVIL OPTIMIZADO */
@media (max-width: 768px) {
    .featured-products {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    .featured-product:last-child:nth-child(odd) {
        grid-column: span 2;
        width: calc(50% - 7.5px);
        margin: 0 auto;
    }

    .product-image {
        height: 200px;
        padding: 10px;
    }

    .product-image img {
        max-width: 95%;
        max-height: 95%;
    }

    .product-info {
        padding: 12px 8px;
    }

    .product-info h3 {
        font-size: 0.95rem;
        min-height: 2.5rem;
        margin-bottom: 8px;
        line-height: 1.2;
    }

    .price-container {
        margin-bottom: 5px;
    }

    .original-price {
        font-size: 0.8rem;
    }

    .discounted-price, .current-price {
        font-size: 1.15rem;
    }

    .product-code {
        font-size: 0.7rem;
        padding: 3px 8px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .product-badge.discount {
        right: 8px;
    }
}

@media (max-width: 400px) {
    .product-image {
        height: 150px;
    }
    
    .discounted-price, .current-price {
        font-size: 1rem;
    }
}

/* CATEGORÍAS */
.categories {
    margin: 40px 0;
}

.categories h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: var(--dark);
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--light-gray);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--primary);
    color: var(--white);
}

.category-btn .category-icon {
    font-size: 18px;
    margin-right: 8px;
}

.category-btn span {
    font-size: 0.9rem;
}

/* PRODUCTOS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    perspective: 1000px;
}

.product-card {
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card.flipped {
    transform: rotateY(180deg);
}

.product-card-front, .product-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: white;
    display: flex;
    flex-direction: column;
}

.product-card-back {
    transform: rotateY(180deg);
    padding: 15px;
}

.product-image {
    width: 100%;
    height: 310px;
    object-fit: cover;
    flex-shrink: 0;
}

.product-name {
    padding: 8px 15px;
    text-align: center;
    font-weight: 600;
    color: var(--dark);
    background: white;
    margin-top: auto;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
    text-align: center;
}

/* RESPONSIVE MÓVIL - ELIMINACIÓN DE ESPACIO BLANCO */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 0 10px;
        align-items: stretch; /* Estira las tarjetas de la misma fila para que midan lo mismo */
    }

    .product-card {
        /* CAMBIO CLAVE: Quitamos la altura fija de 220px/180px */
        height: auto !important; 
        min-height: auto !important;
        transform: none !important;
        transition: none !important;
        display: flex !important;
        flex-direction: column;
        background: white;
        border-radius: 8px;
        border: 1px solid #eee;
    }

    .product-card-back { 
        display: none !important; 
    }
    
    .product-card-front { 
        position: relative !important; 
        height: auto !important; 
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .product-image {
        height: 130px !important; 
        object-fit: contain !important;
        padding: 8px;
        background: #fdfdfd;
        width: 100%;
    }

    .product-name {
        font-size: 0.8rem !important;
        padding: 5px !important; 
        min-height: auto !important; 
        margin: 0 !important;
        line-height: 1.1;
        text-align: center;
    }

    .product-price {
        font-size: 1rem !important;
        font-weight: 700;
        margin: 0 !important;
        padding: 5px 0 10px 0 !important;
        text-align: center;
        color: var(--primary);
    }
}

/* MODAL - VISTA DE PRODUCTO */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: 10px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark);
}

.modal-product {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-image {
    width: 100%;
    max-height: 330px;
    object-fit: contain;
    border-radius: 8px;
}

.modal-title-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-title {
    font-size: 24px;
    color: var(--dark);
    margin: 0;
}

.product-code {
    background: var(--light-gray);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--gray);
}

.modal-price-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.modal-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.modal-logo {
    width: 140px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: var(--shadow);
    border: 2px solid var(--light-gray);
    background-color: var(--white);
    padding: 5px;
}

/* Disclaimer - POSICIÓN MODIFICADA */
.product-disclaimer {
    background-color: #fff3cd00;
    border: 0px solid #ffeaa700;
    color: #85650400;
    padding: 0px;
    border-radius: 5px;
    margin: 0px 0;
    font-size: 14px;
}

/* Pestañas de descripción */
.description-tabs {
    display: flex;
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.description-tab {
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.description-tab.active {
    border-bottom: 3px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.description-content {
    display: none;
    padding: 15px 0;
}

.description-content.active {
    display: block;
}

/* Acciones del producto */
.product-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
    align-items: center;
}

.quantity-control {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: var(--light-gray);
    border: none;
    color: var(--dark);
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: var(--primary);
    color: var(--white);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: none;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    padding: 0 5px;
}

/* Productos relacionados */
.related-products {
    margin-top: 30px;
}

.related-products h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
}

.related-product {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    aspect-ratio: 1;
}

.related-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.related-product:hover .related-product-overlay {
    opacity: 1;
}

.related-product-overlay span {
    color: white;
    font-weight: 600;
}

/*
   RESPONSIVE
 */

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .product-card {
        height: 300px;
    }

    .product-image {
        height: 260px;
    }

    .modal-content {
        padding: 20px;
        width: 95%;
    }

    .modal-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modal-price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modal-price {
        font-size: 28px;
    }

    .description-tabs {
        flex-direction: column;
        border-bottom: none;
    }

    .description-tab {
        border-bottom: 1px solid var(--light-gray);
        padding: 12px 0;
    }

    .description-tab.active {
        border-bottom: 3px solid var(--primary);
    }

    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .quantity-control {
        align-self: center;
    }

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

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-card {
        height: 250px;
    }

    .product-image {
        height: 210px;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-price {
        font-size: 24px;
    }

    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
/* Eliminar flechas en navegadores WebKit */
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.btn-add-to-cart {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 16px;
}

/* Mejoras para los productos recomendados */
.related-products {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid var(--light-gray);
}

.related-products h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-product {
    cursor: pointer;
    transition: var(--transition);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--light-gray);
    position: relative;
}

.related-product:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

/* Mantener tamaño de imágenes en productos recomendados */
.related-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.related-product:hover img {
    transform: scale(1.05);
}

.related-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 127, 140, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    font-weight: 600;
}

.related-product:hover .related-product-overlay {
    opacity: 1;
}
/*
            AVISO STOCK BAJO
 */

/* Estilo Base del Aviso */
.stock-advertiser {
    color: #e67e22;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    pointer-events: none;
    z-index: 10;
}

.stock-advertiser i {
    color: #d35400;
    animation: firePulse 1.5s infinite alternate;
}

/* VISTA EN TARJETA */
.stock-advertiser.card-view {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    font-size: 0.7rem;
    padding: 5px 12px;
    border-radius: 20px;
    width: auto;
    max-width: 90%;
    white-space: nowrap;
    
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid rgba(230, 126, 34, 0.2);
    
    opacity: 0;
    animation: fadeInSlideUp 0.5s ease-out forwards 0.2s;
}

/*ISTA EN MODAL */
.stock-advertiser.modal-view {
    position: relative;
    width: 100%;
    
    /* ESPACIADO REDUCIDO */
    margin-top: 4px;
    margin-bottom: 8px;
    padding: 8px;
    
    background-color: #fff8e1;
    border-radius: 6px;
    font-size: 0.85rem; 
    
    /* Borde animado */
    border: 1px solid rgba(230, 126, 34, 0.5);
    animation: borderPulse 2s infinite ease-in-out;
}

/* Animaciones */
@keyframes firePulse {
    from { transform: scale(1); opacity: 0.8; }
    to { transform: scale(1.2); opacity: 1; }
}

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes borderPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
        border-color: rgba(230, 126, 34, 0.5);
    }
    70% {
        box-shadow: 0 0 0 4px rgba(230, 126, 34, 0);
        border-color: rgba(230, 126, 34, 1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 126, 34, 0);
        border-color: rgba(230, 126, 34, 0.5);
    }
}

/* Ajustes Responsive */
@media (max-width: 480px) {
    .stock-advertiser.card-view {
        font-size: 0.65rem;
        bottom: 50px;
        padding: 4px 8px;
    }
    
    .stock-advertiser.modal-view {
        font-size: 0.8rem;
        padding: 6px;
    }
}
/*
   CARRITO
 */
.cart-modal .modal-content {
    max-width: 600px;
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin: 20px 0;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

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

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.cart-item-delete {
    background-color: var(--light-gray);
    color: var(--danger);
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-delete:hover {
    background-color: var(--danger);
    color: var(--white);
}

.cart-summary {
    padding: 20px 0;
}

.cart-total {
    font-size: 24px;
    font-weight: 700;
    text-align: right;
    margin: 20px 0;
    color: var(--dark);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.empty-cart {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
}

/* FOOTER ACTUALIZADO */

/* Estilos para enlaces de texto */
.text-link {
    color: #ccc;
    cursor: default;
    font-size: 14px;
}

/* Estilos para el footer */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
}

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

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
    cursor: pointer;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

.footer-column p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.footer-column i {
    margin-right: 10px;
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary);
}
.payment-methods {
    margin-top: 20px;
}

.payment-methods h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--white);
}

.placetopay-logo {
    max-width: 150px;
    height: auto;
}

.payment-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.payment-icons i {
    font-size: 32px;
    color: #fff;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: default;
}

.payment-icons i:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-media {
    margin-top: 25px;
}

.social-media h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

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

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: transparent;
}

.social-icon i {
    font-size: 18px;
    margin-right: 0;
    color: white;
    transition: color 0.3s;
}

/* Estilos específicos para cada red social */
.social-icon.facebook:hover {
    background-color: #3b5998;
}

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

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

.social-icon:hover i {
    color: white;
}

.hidden {
    display: none;
}

.login-error{
  margin: 0 0 12px 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #b02a37;
  font-size: 14px;
}

/* Login - acciones de verificación */
.login-verify-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* Texto secundario (ej: expiración del enlace) */
.muted {
  color: var(--gray);
  font-size: 13px;
}



.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #999;
}

/*
   LOGO DEL FOOTER
 */
.footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    height: 35px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.footer-logo .logo-link {
    display: inline-block;
}

.footer-logo .logo-link:hover .logo-img {
    opacity: 0.8;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-logo .logo-img {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .payment-icons {
        justify-content: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .footer-logo .logo-img {
        height: 28px;
    }
}
/*
   ESTILOS PARA PLACETOPAY EN EL FOOTER
 */
.payment-logo {
    text-align: center;
    margin: 15px 0;
}

.placetopay-logo {
    max-width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.placetopay-logo:hover {
    filter: brightness(0) invert(0.8);
}

.payment-terms {
    text-align: center;
    margin-top: 10px;
}

.payment-terms small {
    font-size: 0.7rem;
    color: #aaa;
    line-height: 1.3;
}

.payment-terms a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.payment-terms a:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Responsive para el logo de PlaceToPay */
@media (max-width: 768px) {
    .placetopay-logo {
        max-width: 150px;
    }
    
    .payment-terms small {
        font-size: 0.65rem;
    }
}

@media (max-width: 576px) {
    .placetopay-logo {
        max-width: 130px;
    }
    
    .payment-terms small {
        font-size: 0.6rem;
    }
}

/*
   NOTIFICACIONES
 */
.notificacion {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--success);
    color: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: var(--shadow);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

/*
   RESPONSIVE
 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .main-nav ul {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .modal-price-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .modal-logo {
        width: 120px;
        height: 60px;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .description-tabs {
        flex-wrap: wrap;
    }
    
    .description-tab {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cart-item-image {
        margin-bottom: 10px;
    }
    
    .cart-actions {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .modal-image {
        max-height: 280px;
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-price {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .quantity-control {
        width: 100%;
    }
    
    .btn-add-to-cart {
        width: 100%;
    }
    
    .product-image {
        height: 160px;
    }
    
    .modal-image {
        max-height: 250px;
    }
    
    .modal-logo {
        width: 100px;
        height: 50px;
    }
}

/*
   ESTILOS ADICIONALES PARA ERRORES Y ESTADOS
 */
.error {
    text-align: center;
    padding: 40px 0;
    color: var(--danger);
}

.empty {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
}

.loading {
    text-align: center;
    padding: 40px 0;
    color: var(--gray);
    font-style: italic;
}
/*
   VARIABLES ACTUALIZADAS CON NUEVOS COLORES
 */
:root {
    --primary: #2a7f8c;
    --primary-dark: #1d5d67;
    --secondary: #9bc431;
    --secondary-dark: #85a82a;
    --accent: #2eb198;
    --accent-dark: #269882;
    --dark: #1a3a3a;
    --light: #f8f9fa;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/*
   SECCIÓN ¿POR QUÉ ELEGIRNOS? - CON IMAGEN VERTICAL
 */
.why-choose-us {
    padding: 70px 0;
    background: linear-gradient(135deg, rgba(155, 196, 49, 0.05) 0%, rgba(46, 177, 152, 0.05) 100%);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.why-choose-us h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 50px;
    color: var(--dark);
    position: relative;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 2px;
}

.why-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.text-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.text-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
    position: relative;
}

.text-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--gray);
    text-align: center;
    padding: 0 20px;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-row {
    display: flex;
    gap: 15px;
}

.benefit-item {
    flex: 1;
    display: flex;
    align-items: flex-start;
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.benefit-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--accent);
}

.benefit-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--accent);
    background: rgba(155, 196, 49, 0.1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.benefit-text h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.benefit-text p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.5;
    margin: 0;
}

.image-content {
    flex: 0.8;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.vertical-image {
    width: 100%;
    max-width: 380px;
    height: 560px;
    border-radius: 10px;
    overflow: visible;
    position: relative;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    transition: all 0.3s ease;
    animation: float 4s ease-in-out infinite;
}

.vertical-image:hover .main-image {
    transform: scale(1.03);
}

/* IMAGEN SUPERPUESTA - Posicionada en esquina inferior derecha */
.overlay-image {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: -200px;
    right: -200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid white;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.overlay-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animación de flotación para ambas imágenes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Efecto al pasar el mouse sobre la imagen superpuesta */
.overlay-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .why-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .image-content {
        order: -1;
    }
    
    .vertical-image {
        max-width: 400px;
        height: 500px;
    }
    
    .overlay-image {
        width: 140px;
        height: 175px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 50px 0;
    }
    
    .why-choose-us h2 {
        font-size: 2.2rem;
    }
    
    .benefit-row {
        flex-direction: column;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .benefit-icon i {
        width: 60px;
        height: 60px;
    }
    
    .vertical-image {
        height: 400px;
    }
    
    .overlay-image {
        width: 120px;
        height: 150px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .why-choose-us h2 {
        font-size: 1.8rem;
    }
    
    .text-content h3 {
        font-size: 1.5rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .benefit-text h4 {
        font-size: 1rem;
    }
    
    .benefit-text p {
        font-size: 0.9rem;
    }
    
    .vertical-image {
        height: 350px;
    }
    
    .overlay-image {
        width: 100px;
        height: 125px;
        bottom: 8px;
        right: 8px;
    }
}


/*
   FILTROS DE CATEGORÍA MEJORADOS
 */
.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
}

.category-btn:hover,
.category-btn.active {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    transition: var(--transition);
}

.category-btn.active .category-icon,
.category-btn:hover .category-icon {
    transform: scale(1.1);
}

/*
   RESPONSIVE
 */
@media (max-width: 992px) {
    .why-content {
        flex-direction: column-reverse;
        gap: 40px;
    }
    
    .why-text, .why-image {
        flex: none;
        width: 100%;
    }
    
    .benefits {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 40px 0;
    }
    
    .why-choose-us h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .why-text h3 {
        font-size: 1.5rem;
    }
    
    .benefit {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit i {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .why-choose-us {
        padding: 50px 0;
    }
    
    .why-choose-us h2 {
        font-size: 2.2rem;
    }
    
    .benefit-row {
        flex-direction: column;
    }
    
    .benefit-item {
        flex-direction: column;
        text-align: center;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .benefit-icon i {
        width: 60px;
        height: 60px;
    }
    
    .vertical-image {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .why-choose-us h2 {
        font-size: 1.8rem;
    }
    
    .text-content h3 {
        font-size: 1.5rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .benefit-text h4 {
        font-size: 1rem;
    }
    
    .benefit-text p {
        font-size: 0.9rem;
    }
    
    .vertical-image {
        height: 350px;
    }
}
/* Animaciones para la sección Por qué elegirnos */
.why-content,
.benefit {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.why-choose-us.animated .why-content {
    opacity: 1;
    transform: translateY(0);
}

.why-choose-us.animated .benefit {
    opacity: 1;
    transform: translateY(0);
}
/*
   SECCIÓN DE TESTIMONIOS CREATIVA
 */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(155, 196, 49, 0.05) 0%, rgba(46, 177, 152, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: var(--secondary);
    opacity: 0.08;
    border-radius: 50%;
    z-index: 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.testimonials-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 2px;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Contenedor creativo de testimonios */
.testimonials-creative {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Tarjeta de testimonio */
.testimonial-creative-card {
    width: 180px;
    height: 180px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
}

.testimonial-creative-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 40px rgba(155, 196, 49, 0.25);
}

.testimonial-creative-card.active {
    width: 700px;
    height: auto;
    min-height: 300px;
    cursor: default;
    z-index: 10;
    transform: translateY(0) rotate(0deg);
}

.testimonial-image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.testimonial-creative-card .testimonial-image-wrapper {
    height: 180px;
}

.testimonial-creative-card.active .testimonial-image-wrapper {
    height: 250px;
    border-bottom: 3px solid var(--secondary);
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.testimonial-creative-card.active .testimonial-image {
    filter: brightness(0.8);
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-creative-card.active .testimonial-overlay {
    opacity: 0;
}

.testimonial-name-preview {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Contenido expandido */
.testimonial-expanded-content {
    padding: 30px;
    background: white;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.testimonial-creative-card.active .testimonial-expanded-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-customer-info h3 {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 1.2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text::before {
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 4rem;
    color: var(--secondary);
    font-family: "Inder", sans-serif;
    opacity: 0.3;
}

.testimonial-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 11;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    border: none;
}

.testimonial-creative-card.active .testimonial-close {
    opacity: 1;
    transform: scale(1);
}

.testimonial-close:hover {
    background: var(--accent-dark);
    transform: scale(1.1);
}

/* Efecto de difuminado para tarjetas no activas */
.testimonials-creative.blur-active .testimonial-creative-card:not(.active) {
    filter: blur(3px);
    opacity: 0.7;
    transform: scale(0.95);
}

/* Responsive */
@media (max-width: 1200px) {
    .testimonial-creative-card.active {
        width: 600px;
    }
}

@media (max-width: 768px) {
    .testimonials-creative {
        gap: 15px;
    }
    
    .testimonial-creative-card {
        width: 150px;
        height: 150px;
    }
    
    .testimonial-creative-card.active {
        width: 90%;
        min-height: 400px;
    }
    
    .testimonial-creative-card.active .testimonial-image-wrapper {
        height: 200px;
    }
    
    .testimonials-section h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-creative-card {
        width: 130px;
        height: 130px;
    }
    
    .testimonial-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .testimonial-text {
        padding-left: 20px;
        font-size: 1rem;
    }
    
    .testimonial-text::before {
        font-size: 3rem;
        top: -10px;
    }
}

/* Animaciones */
@keyframes cardExpand {
    0% {
        width: 180px;
        height: 180px;
        border-radius: 20px;
    }
    50% {
        border-radius: 10px;
    }
    100% {
        width: 700px;
        height: auto;
        min-height: 300px;
        border-radius: 15px;
    }
}

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

.testimonial-creative-card.active {
    animation: cardExpand 0.5s ease forwards;
}

.testimonial-expanded-content {
    animation: contentFadeIn 0.5s ease 0.3s forwards;
}
.notificacion.success {
    background-color: var(--success);
}

.notificacion.error {
    background-color: var(--danger);
}

.notificacion.show {
    opacity: 1;
    transform: translateY(0);
}

/* Mejoras para el formulario de checkout */
.empty {
    text-align: center;
    padding: 20px;
    color: var(--gray);
    font-style: italic;
}

/* Estilos para el spinner de carga */
.fa-spinner {
    animation: fa-spin 1s infinite linear;
}

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

/* BANNER PROMOCIONES - CENTRADO Y SIEMPRE HORIZONTAL */
.promo-banner {
    background: linear-gradient(90deg, #1a5276, #2e86c1);
    color: white;
    padding: 10px 0;
    overflow: hidden; /* CRÍTICO: Oculta lo que no cabe sin apilar */
    position: fixed;
    top: 55px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    transition: top 0.3s ease;
    height: 40px;
    display: flex;
    align-items: center;
}

.promo-track {
    display: flex;
    width: 100%;
    justify-content: center; 
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap; /* CORRECCIÓN: Evita que las frases se pongan una debajo de otra */
}

.promo-text {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin: 0 25px; 
    flex-shrink: 0; /* CORRECCIÓN: Evita que el texto se encoja o deforme */
}

/* Animación desactivada */
@keyframes moveText {
    0% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.main-content {
    margin-top: 40px !important;
}

.header.shrink ~ .promo-banner {
    top: 50px;
}

.header.shrink ~ .main-content {
    margin-top: 50px !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .promo-text {
        font-size: 13px;
        margin: 0; 
    }

    /* Oculta las frases extras en móvil para que quede una sola limpia */
    .promo-text:not(:first-child) {
        display: none;
    }

    .promo-banner {
        top: 105px;
    }

    .main-content {
        margin-top: 40px !important;
    }

    .header.shrink ~ .promo-banner {
        top: 50px;
    }

    .header.shrink ~ .main-content {
        margin-top: 50px !important;
    }
}

/*
   ESTADÍSTICAS
 */

/* Sección de estadísticas */
.stats-section {
    background: linear-gradient(135deg, #9ac43186 0%, #2eb1998c 100%);
    padding: 80px 0;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(46, 134, 193, 0.1);
    z-index: 0;
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(26, 82, 118, 0.1);
    z-index: 0;
}

.stats-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.stats-title h2 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.stats-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #2e86c1;
    border-radius: 2px;
}

.stats-title p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid 5 elementos */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2e86c1, #1a5276);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46, 134, 193, 0.1);
    border-radius: 50%;
    color: #2e86c1;
    font-size: 24px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a5276;
    margin-bottom: 10px;
    font-variant-numeric: tabular-nums;
}

.stat-desc {
    font-size: 0.95rem;
    color: #566573;
    line-height: 1.4;
    font-weight: 500;
}

/* Efectos de aparición para las tarjetas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-title h2 {
        font-size: 2.2rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-icon {
        font-size: 2rem !important;
    }
    
    .stats-title p {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .stat-card {
        min-height: 250px;
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px !important;
    }
}

/* Estilos para descuentos */
.product-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--success);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    z-index: 2;
}

.original-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9em;
    margin-right: 8px;
}

.discounted-price {
    color: var(--success);
    font-weight: bold;
}

/* Estilos para el disclaimer legal */
.product-disclaimer {
    font-size: 10px;
    color: var(--gray);
    margin-top: 10px;
    line-height: 1.2;
}
/* Estilos para la barra de búsqueda */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 20px;
}

#searchInput {
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px 0 0 20px;
    outline: none;
    width: 400px;
    font-size: 14px;
}

#searchButton {
    padding: 10px 15px;
    border: none;
    background-color: #1d5d67;
    color: white;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

#searchButton:hover {
    background-color: #144a52;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

/* Estilos para los resultados de búsqueda */
.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 12px;
}

.search-result-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}


.search-result-price {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.price-normal {
    color: #333;
    font-size: 14px;
}

.price-original {
    text-decoration: line-through;
    color: #666;
    font-size: 12px;
    display: block;
}

.price-discount {
    color: #28a745;
    font-size: 14px;
    display: block;
}

.search-result-item:hover {
    background-color: #f5f5f5;
}

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

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Mantenemos este valor */
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}

/* INICIO BLOQUE POPUP */
.promo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    display: none;
}

.promo-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 3001;
    padding: 10px;
    transition: all 0.4s ease-in-out;
    display: none;
}

.promo-popup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.close-popup {
    position: absolute;
    top: -12px;
    right: -12px;
    background-color: var(--danger, #dc3545);
    color: rgb(255, 255, 255);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.close-popup:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
    .promo-popup {
        width: 90%;
        height: auto;
        max-height: 80%;
    }
    
    .promo-popup.minimized {
        bottom: 90px;
        right: 20px;
        width: 120px;
        height: 120px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}

/* Responsive para barra de búsqueda */
@media (max-width: 768px) {
    .search-container {
        margin: 15px 0;
        width: 100%;
        justify-content: center;
    }
    
    #searchInput {
        width: 70%;
    }
}
.secret-lab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.95);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.secret-lab-content {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

#secretLabCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: transparent;
}

#intro-logo {
  width: 300px;
  height: auto;
  margin-top: 100px;
  transition: opacity 1s ease;
  z-index: 2;
}

.secret-text {
  position: absolute;
  bottom: 80px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.secret-text h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #9bc431, #2eb198);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.secret-text p {
  font-size: 1rem;
  color: #bbb;
}

.close-secret-lab {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #2eb198, #9bc431);
  color: white;
  font-size: 1rem;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.close-secret-lab:hover {
  background: linear-gradient(135deg, #9bc431, #2eb198);
  transform: translateX(-50%) scale(1.05);
}

/* Clase específica para logo en texto */
.logo-inline {
    height: 40px !important;
    width: auto !important;
    vertical-align: middle !important;
    display: inline-block !important;
    margin: 0 5px !important;
    transform: translateY(-2px) !important;
}

/* ===== Snackbar ===== */
#snackbar-host {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 12000;
}

.snackbar {
  min-width: 260px;
  max-width: 90vw;
  padding: 12px 16px;
  border-radius: 6px;
  box-shadow: var(--shadow);
  color: #fff;
  background: var(--success);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  font-weight: 600;
}
.snackbar.show {
  opacity: 1;
  transform: translateY(0);
}
.snackbar.success { background: var(--success); }
.snackbar.error   { background: var(--danger); }

/* ESTILOS PARA ALERTA DE PAGO PENDIENTE EN CARRITO */
.cart-pending-alert {
    background-color: #fff3cd; /* (PENDING) */
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 20px 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    animation: fadeIn 0.3s ease-in-out;
}

/* VARIANTE: VALIDACIÓN */
.cart-pending-alert.validation-mode {
    background-color: rgba(23, 162, 184, 0.15);
    border-color: rgba(23, 162, 184, 0.3);
    color: #0f6674;
}

.cart-pending-alert i {
    font-size: 1.2rem;
    margin-top: 2px;
}

.cart-pending-alert.validation-mode i {
    color: #17a2b8;
}

.cart-pending-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.95rem;
    font-weight: 700;
}

.cart-pending-content p {
    margin: 0;
    line-height: 1.4;
}

.cart-pending-content a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    margin-top: 5px;
    display: inline-block;
}

.cart-pending-content a:hover {
    opacity: 0.8;
}

/* Estado deshabilitado para el botón de checkout */
.btn-disabled {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.7;
}

/* Estado para botón de continuar pago*/
.btn-continue-payment {
    background-color: var(--secondary) !important;
}

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