/* Variables CSS adaptadas a la línea capilar */
:root {
    --cardinal-pink: #7a1d80;
    --corn-harvest: #c76d2d;
    --vista-white: #fdf7f1;
    --indian-khaki: #c0be85;
    --hopbush: #9d3fa5;
    --chantilly: #f2d8b3;
    --citrine-white: #f6b358;
    --jazzberry-jam: #9d3fa5;
    --pale-sky: rgba(0, 0, 0, 0.55);
    --white: #ffffff;
    --black: #000000;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    padding-top: 75px;
}

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

/* Hero Section */
.cuidado-hero {
    background: #fdfafb;
    padding: 40px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cuidado-hero::before { display: none; }

.cuidado-hero .container {
    position: relative;
    z-index: 2;
}

.cuidado-hero__title {
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--jazzberry-jam);
    margin-bottom: 8px;
}

.cuidado-hero__subtitle {
    font-size: 1rem;
    color: rgba(0,0,0,0.6);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Contenido principal */
.cuidado-content {
    padding: 60px 0;
    background-color: var(--white);
}

.cuidado-content .container {
    text-align: center;
}

.cuidado-content p {
    font-size: 1.1rem;
    color: var(--pale-sky);
    max-width: 800px;
    margin: 0 auto;
}

/* Secciones de categorías */
.categoria-section {
    margin-bottom: 80px;
}

.categoria-titulo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 40px;
    margin-left: -20px;
    margin-right: -20px;
    padding: 20px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--hopbush) 0%, var(--cardinal-pink) 100%);
    box-shadow: 0 4px 12px rgba(122, 29, 128, 0.3);
}

/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.productos-grid--single {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 1024px) {
    .productos-grid--single {
        grid-template-columns: minmax(0, 360px);
        justify-content: center;
    }

    .productos-grid--single .producto-card {
        max-width: 360px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Tarjeta de producto */
.producto-card {
    background: var(--vista-white);
    box-shadow: 0 8px 25px rgba(122, 29, 128, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--chantilly);
    cursor: pointer;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(122, 29, 128, 0.2);
}

.producto-imagen {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.productos-grid--single .producto-imagen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.productos-grid--single .producto-imagen img {
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
}

.producto-card:hover .producto-imagen img {
    transform: scale(1.05);
}

.producto-info {
    padding: 25px;
}

.producto-nombre {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Precio en verde olivo - tamaño equilibrado */
.producto-precio {
    font-size: 2.4rem !important;
    font-weight: 700;
    color: #6b8e3a !important;
    margin-bottom: 5px;
    line-height: 1.2;
}

/* Texto de IVA incluido */
.producto-precio-iva {
    font-size: 0.75rem;
    color: #6b8e3a !important;
    font-weight: 400;
    margin-bottom: 15px;
    opacity: 0.8;
}

/* Asegurar que el precio tenga el color correcto */
.producto-card .producto-precio,
.producto-info .producto-precio {
    color: #6b8e3a !important;
}

.producto-card .producto-precio-iva,
.producto-info .producto-precio-iva {
    color: #6b8e3a !important;
}

.producto-descripcion {
    font-size: 0.95rem;
    color: var(--cardinal-pink);
    line-height: 1.5;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contenedor de botones */
.producto-botones {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Botón Ver */
.btn-ver {
    background: transparent;
    color: var(--jazzberry-jam);
    border: 1px solid var(--jazzberry-jam);
    padding: 8px 16px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.btn-ver:hover {
    background: var(--jazzberry-jam);
    color: var(--white);
}

/* Botón Añadir al carrito */
.btn-comprar {
    display: inline-block;
    background: var(--jazzberry-jam);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.btn-comprar:hover {
    background: #6d2875;
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(122, 29, 128, 0.3);
}

.producto-botones .btn-ver {
    background: transparent;
    color: var(--cardinal-pink);
    border: 1px solid var(--cardinal-pink);
}

.btn-ver:hover {
    background: var(--cardinal-pink);
    color: var(--white);
}

.producto-botones .btn-comprar {
    background: var(--cardinal-pink);
    color: var(--white);
}

.btn-comprar:hover {
    background: #6d2875;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .cuidado-hero { padding: 28px 0; }
    
    .cuidado-hero__title { font-size: 2.1rem; }
    
    .cuidado-hero__subtitle { font-size: 0.95rem; }
    
    .cuidado-content {
        padding: 40px 0;
    }
    
    .categoria-titulo {
        font-size: 2rem;
        margin-left: -20px;
        margin-right: -20px;
        padding: 15px 20px;
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .producto-card {
        margin: 0;
    }
    
    .producto-imagen {
        height: 120px;
    }
    
    .producto-imagen img {
        object-fit: contain;
    }
    
    .producto-info {
        padding: 10px;
    }
    
    .producto-nombre {
        font-size: 0.9rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .producto-precio {
        font-size: 1.3rem !important;
        margin-bottom: 2px;
    }
    
    .producto-precio-iva {
        font-size: 0.6rem !important;
        margin-bottom: 6px;
    }
    
    .producto-botones {
        margin-top: 8px;
        gap: 5px;
    }
    
    .btn-ver,
    .btn-comprar {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .cuidado-hero__title { font-size: 1.8rem; }
    
    .cuidado-hero__subtitle { font-size: 0.9rem; }
    
    .categoria-titulo {
        font-size: 1.8rem;
        margin-left: -20px;
        margin-right: -20px;
        padding: 12px 20px;
    }
    
    .productos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .producto-card {
        margin: 0;
    }
    
    .producto-imagen {
        height: 110px;
    }
    
    .producto-imagen img {
        object-fit: contain;
    }
    
    .producto-info {
        padding: 8px;
    }
    
    .producto-nombre {
        font-size: 0.85rem;
        margin-bottom: 5px;
        line-height: 1.2;
    }
    
    .producto-precio {
        font-size: 1.2rem !important;
        margin-bottom: 2px;
    }
    
    .producto-precio-iva {
        font-size: 0.55rem !important;
        margin-bottom: 6px;
    }
    
    .producto-botones {
        flex-direction: column;
        gap: 5px;
        margin-top: 8px;
    }
    
    .btn-ver,
    .btn-comprar {
        padding: 4px 8px;
        font-size: 0.65rem;
    }
}

/* Mantener los colores originales del nav */
.nav,
.nav *,
.search-bar,
.search-bar *,
.mobile-menu,
.mobile-menu * {
    --cardinal-pink: #98074f;
    --jazzberry-jam: #ba0b5f;
    --chantilly: #f8c5e4;
    --vista-white: #fdfafb;
}

.cart-sidebar,
.cart-sidebar *,
.cart-checkout,
.cart-checkout *,
.cart-shipping-info,
.cart-shipping-info * {
    --jazzberry-jam: #ba0b5f;
    --cardinal-pink: #98074f;
    --vista-white: #fdfafb;
}

.search-bar__input {
    border-color: var(--olive-green) !important;
}

.search-bar__input:focus,
.search-bar__input:focus-visible {
    border-color: var(--olive-green) !important;
    outline: 2px solid var(--olive-green) !important;
    outline-offset: 2px;
}

.footer,
.footer * {
    --cardinal-pink: #98074f;
    --jazzberry-jam: #ba0b5f;
    --chantilly: #f8c5e4;
    --vista-white: #fdfafb;
}


