/* ====== VARIABLES GLOBALES ====== */
:root {
    --primary-color: #81AEB0;
    /* Verde agua pastel elegante */
    --primary-hover: #6c9a9d;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #FFFFFF;
    --bg-light: #F8F9FA;
    --placeholder-bg: #EAEAEA;
    --font-main: 'Inter', sans-serif;
    --header-height: 100px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    padding-top: var(--header-height);
    /* Compensa el header fijo */
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ====== HEADER ====== */
/* Header base (Celulares) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Más angosta en móviles */
    background-color: var(--primary-color) !important;
    /* Celeste sólido */
    box-shadow: none;
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Ondas profundas dibujadas por código (Celulares) */
.header::after {
    content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 15px; /* Altura ajustada para el semicírculo */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='15' viewBox='0 0 30 15'%3E%3Cpath d='M0,0 A15,15 0 0,0 30,0 Z' fill='%2381AEB0'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: left top;
    pointer-events: none;
}

/* Adaptación para Pantallas Grandes (PCs) */
@media (min-width: 768px) {
    .header {
        height: 100px;
    }

    /* Ondas profundas dibujadas por código (Pantallas Grandes) */
    .header::after {
        height: 30px; /* Altura ajustada para el semicírculo en PC */
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='30' viewBox='0 0 60 30'%3E%3Cpath d='M0,0 A30,30 0 0,0 60,0 Z' fill='%2381AEB0'/%3E%3C/svg%3E");
    }
}

.nav-links a,
.cart-icon,
.mobile-menu-btn {
    color: #ffffff !important;
}

.nav-links a:hover,
.cart-icon:hover {
    color: #e2f0f1 !important;
    /* Un celeste muy clarito al pasar el mouse */
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Tamaño del logo para Celulares (Barra de 80px) */
.logo img {
    height: 60px; /* Aumentamos de 40px a 60px */
    width: auto;
    display: block;
    object-fit: contain;
    transition: var(--transition);
}

.logo img:hover {
    opacity: 0.8;
}

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

/* CARRITO */
.cart-icon {
    position: relative;
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    height: 20px;
    min-width: 20px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 5px;
    transition: transform 0.2s ease;
}

/* NAVEGACIÓN MOBILE (POR DEFECTO) */
.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
    display: block;
}

.nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-links {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
}

.nav-links a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: var(--bg-light);
}

/* Corrección: Texto oscuro para el menú móvil */
.nav .nav-links a {
    color: var(--text-color) !important;
}

/* NAVEGACIÓN DESKTOP */
/* Tamaño del logo para PCs (Barra de 100px) */
@media (min-width: 768px) {
    .logo img {
        height: 80px; /* Aumentamos de 50px a 80px para que destaque */
    }

    .mobile-menu-btn {
        display: none;
    }

    .nav {
        display: block;
        position: static;
        box-shadow: none;
        width: auto;
        border: none;
        background: transparent;
    }

    .nav-links {
        flex-direction: row;
        gap: 3.5rem;
        padding: 0;
    }

    .nav-links a {
        padding: 0;
        text-align: left;
    }

    .nav-links a:hover {
        background-color: transparent;
    }

    .nav .nav-links a {
        color: #ffffff !important;
    }
    .nav .nav-links a:hover {
        background-color: transparent;
        color: #e2f0f1 !important;
    }
}

/* ====== HERO SECTION ====== */
.hero {
    display: flex;
    flex-direction: column;
    /* Degradado más marcado: de blanco a un tono celeste grisáceo visible */
    background: linear-gradient(135deg, #ffffff 0%, #c8dadb 100%); 
    padding: 0;
    min-height: auto;
}

.hero-logo {
    width: 100%;
    max-width: 160px; /* Tamaño móvil */
    height: auto;
    margin: 0 auto 20px auto;
    /* Sombra más oscura, compacta y definida para simular borde */
    filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.45));
}
@media (min-width: 768px) {
    .hero-logo {
        max-width: 220px; /* Tamaño PC */
    }
}

.hero-text {
    padding: 50px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-color);
}

.hero-text p {
    font-family: 'Montserrat', sans-serif; /* Nueva fuente */
    font-weight: 600; /* Peso grueso (SemiBold) para destaque */
    font-size: 1.3rem; /* Aumentamos el tamaño (de 1.1rem) */
    color: var(--text-color); /* Color oscuro original */
    max-width: 600px;
    margin: 0 auto 30px auto; /* Margen centrado horizontalmente */
    line-height: 1.5; /* Mejora la legibilidad */
    font-style: italic; /* Nuevo estilo para el lema */
}

.hero-btn {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--primary-color);
    color: #ffffff !important;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
    /* Borde real celeste oscuro para definición */
    border: 1px solid #6b9597; 
    /* Sombra base más oscura */
    box-shadow: 0 4px 6px rgba(100, 140, 141, 0.6);
}
.hero-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    /* Borde se mantiene, sombra crece pero definida */
    border: 1px solid #6b9597;
    box-shadow: 0 10px 20px rgba(100, 140, 141, 0.8);
    color: #ffffff !important;
}

.hero-image {
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 65vh;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* Adaptación para Pantallas Grandes (PCs) */
@media (min-width: 768px) {
    .hero {
        flex-direction: row;
        height: calc(100vh - 150px); /* Ocupa el alto de la pantalla menos el menú */
        min-height: 500px;
    }
    .hero-text {
        width: 50%;
        padding: 0 8%;
        display: flex; /* Aseguramos que sea flex */
        flex-direction: column; /* Columna */
        justify-content: center; /* Centrado vertical */
        align-items: center; /* Centrado horizontal del logo, texto y botón */
        text-align: center; /* Centrado del texto interno */
    }
    .hero-text h2 {
        font-size: 3.5rem;
    }
    .hero-image {
        width: 50%;
        height: 100%;
    }
    .hero-image img {
        height: 100%;
    }
}

/* ====== PRODUCTOS ====== */
.products-section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-color);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TARJETA DE PRODUCTO */
.product-card {
    background-color: #ffffff;
    border-radius: 16px; /* Bordes bien redondeados y modernos */
    border: none; /* Quitamos bordes duros */
    /* Sombra base súper suave y elegante */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    overflow: hidden; /* Fundamental para que la foto no se salga de las curvas */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Animación fluida */
}

.product-card:hover {
    transform: translateY(-8px); /* La tarjeta sube un poquito */
    /* La sombra se hace más grande y difusa al elevarse */
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1); 
}

.product-image-placeholder {
    width: 100%;
    padding-top: 100%;
    /* Relación de aspecto 1:1 */
    background-color: var(--placeholder-bg);
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: #cecece;
}

.product-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    line-height: 1.4;
    /* Altura definida para cada renglón */
    height: 2.8em;
    /* Obliga a la caja a medir EXACTAMENTE 2 renglones (1.4 * 2) siempre */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.add-to-cart-btn {
    margin-top: auto;
    width: 100%;
    padding: 14px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 176, 178, 0.4);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

/* ====== CARRITO OFFCANVAS ====== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    /* Fallback */
    height: 100dvh;
    /* Altura dinámica real de la pantalla */
    background: var(--bg-color);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.cart-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    font-weight: 700;
}

.close-cart-btn {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.close-cart-btn:hover {
    color: #e24a4a;
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-light);
    margin-top: 40px;
    font-size: 1.05rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-item-info h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.cart-item-info p {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 700;
}

.remove-item-btn {
    background: none;
    border: none;
    color: #d1d1d1;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    padding: 5px;
}

.remove-item-btn:hover {
    color: #e24a4a;
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--bg-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* BOTÓN WHATSAPP */
.whatsapp-checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-main);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.whatsapp-checkout-btn:hover {
    background-color: #1FAF53;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

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

/* ====== MODAL GALERÍA ====== */
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.gallery-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    background: var(--bg-color);
    width: 90%;
    max-width: 500px;
    /* Mantenemos el ancho compacto */
    border-radius: 25px;
    /* ¡4 Puntas redondeadas garantizadas! */
    padding: 20px;
    /* Reducimos el padding para ahorrar espacio */
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Reducimos el espacio entre elementos */
    max-height: 95vh;
    /* Le damos más aire vertical */
    overflow: hidden;
    /* Quitamos el scroll lateral */
    margin: auto;
    /* Centrado vertical y horizontal */
    transform: translateY(30px);
    transition: var(--transition);
}

.gallery-modal-overlay.active .gallery-modal-content {
    transform: translateY(0);
}

.close-gallery-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 10;
}

.close-gallery-btn:hover {
    background: #ffeded;
    color: #e24a4a;
    transform: rotate(90deg);
}

.main-image-wrapper {
    width: 100%;
    height: 55vh;
    /* ¡Más espacio para la foto! */
    min-height: 300px;
    max-height: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: transparent;
    cursor: zoom-in;
    touch-action: pan-y pinch-zoom;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Garantiza que la foto se vea 100% COMPLETA sin cortarse */
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

/* Thumbnails */
.gallery-thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.gallery-thumbnail {
    width: 55px;
    height: 55px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
    flex-shrink: 0;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: translateY(-2px);
    border-color: rgba(132, 176, 178, 0.5);
    /* Color primario pero translúcido */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.gallery-header {
    margin-bottom: 8px;
}

.gallery-product-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-top: 5px;
    padding-right: 40px;
    /* Evita chocar con la X */
}

.gallery-meta {
    font-size: 0.85rem;
}

/* ====== CONTROLES DE NAVEGACIÓN GALERÍA ====== */
.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    z-index: 100 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-nav-btn.prev {
    left: 15px;
}

.gallery-nav-btn.next {
    right: 15px;
}

.gallery-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* ====== INDICADORES DOTS GALERÍA ====== */
.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d1d1d1;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-dot:hover {
    background-color: var(--primary-hover);
}

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

/* ====== EFECTOS 3D TALLES ====== */
.size-pill {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    /* Sombra sutil que le da relieve */
    transition: all 0.2s ease !important;
}

.size-pill:hover {
    transform: translateY(-2px);
    /* Se levanta un poquito */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    /* La sombra crece */
    border-color: var(--primary-color) !important;
    /* Borde verde agua al pasar el mouse */
}

/* ====== ESTILOS PARA SUBMENÚS (DROPDOWN) ====== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-color);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1001;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.dropdown-content a {
    padding: 12px 20px !important;
    text-align: left !important;
    color: #ffffff !important;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown-content a:hover {
    background-color: var(--primary-hover) !important;
}

/* Mostrar en PC al pasar el mouse */
@media (min-width: 768px) {
    .nav-dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Adaptación para Celulares (Menú Hamburguesa) */
@media (max-width: 767px) {
    .nav-dropdown {
        display: block;
    }
    .dropdown-content {
        position: static;
        display: none; /* Empezar oculto en móvil */
        box-shadow: none;
        background-color: transparent;
        padding-left: 20px;
    }
    /* Esta clase la usará JS para mostrarlo */
    .dropdown-content.show {
        display: block;
    }
    .dropdown-content a {
        color: var(--text-color) !important;
        padding: 8px 20px !important;
        border-bottom: none;
    }
}

/* ====== MEJORAS VISUALES: IMÁGENES DE PRODUCTOS ====== */

/* Forzar altura vertical estilo Instagram y preparar la transición */
.product-card-img, 
.product-image-placeholder {
    height: 350px !important; 
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important; /* Zoom muy suave y elegante */
}

/* Efecto Focus: La imagen hace un leve zoom cuando el mouse entra en la tarjeta */
.product-card:hover .product-card-img {
    transform: scale(1.06) !important;
}

/* ====== MEJORAS VISUALES: TEXTOS DE TARJETAS ====== */

/* Título: Fuente Montserrat, elegante y en mayúsculas */
.product-title {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1.05rem !important;
    color: #222222 !important;
    text-transform: uppercase !important; 
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
}

/* Precio: Más grande y protagonista */
.product-price {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important; 
    margin-bottom: 8px !important;
}

/* Detalles (Color / Detalle): Más delicados para no competir */
.product-meta {
    font-size: 0.8rem !important;
    color: #999999 !important;
    font-weight: 400 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px !important;
}

/* ====== MEJORAS VISUALES: TALLES ====== */

/* Un poco más de separación entre las opciones */
.product-sizes {
    gap: 10px !important; 
    margin-top: 6px !important;
}

/* Diseño base de la pastilla: más grande, limpia y táctil */
.size-pill {
    min-width: 32px !important; /* Más fáciles de tocar en el celu */
    height: 32px !important;
    font-size: 0.85rem !important;
    font-family: 'Montserrat', sans-serif !important;
    background-color: #f8f9fa !important; 
    border: 1px solid #e0e0e0 !important;
    transition: all 0.2s ease !important; /* Transición suave */
}

/* Efecto Hover: Al pasar el mouse invita a hacer clic */
.size-pill:hover:not(.selected) {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    background-color: #ffffff !important;
}

/* Efecto Seleccionado: Le sumamos relieve al color que ya pone el JS */
.size-pill.selected {
    box-shadow: 0 4px 8px rgba(0, 168, 150, 0.3) !important;
    transform: scale(1.05) !important; /* Crece un poquitito */
    border: none !important;
}

/* ====== MEJORAS VISUALES: BOTÓN AGREGAR AL CARRITO ====== */

.add-to-cart-btn {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: 30px !important; /* Forma de píldora redondeada */
    padding: 14px 0 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    margin-top: 15px !important;
}

/* Efecto Hover: Se eleva un poco, brilla y proyecta sombra */
.add-to-cart-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 15px rgba(0, 168, 150, 0.4) !important;
    filter: brightness(1.1) !important;
    cursor: pointer !important;
}