/* =========================================
   ESTILOS LANDING PAGE (INDEX) - KOKORO
   ========================================= */

/* Hero Section */
.kk-hero {
    height: 80vh;
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1616683693504-3ea7e9ad6fec?q=80&w=2000');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: -1px; /* Para fusionar con el navbar si es necesario */
}

/* El cuadro semitransparente sobre la imagen para dar lectura al texto */
.kk-hero-box {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 3.5rem;
    border: 1px solid #eee;
}

.kk-overline {
    color: var(--soft-wine);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.kk-hero-title {
    color: var(--contrast);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.kk-hero-text {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Botón Principal (Versión enlace) */
.kk-btn {
    display: inline-block;
    padding: 16px 35px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.kk-btn-primary {
    background-color: var(--contrast);
    color: white;
}

.kk-btn-primary:hover {
    background-color: var(--soft-wine);
    color: white;
}

.kk-btn-secondary {
    background-color: var(--blush-pink);
    color: var(--contrast);
}

.kk-btn-secondary:hover {
    background-color: var(--contrast);
    color: var(--blush-pink);
}

/* Barra de Beneficios */
.kk-benefits-bar {
    background-color: var(--blush-pink);
    color: var(--contrast);
}

.kk-benefit-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Títulos de Sección */
.kk-section-title {
    color: var(--contrast);
    font-size: 2.2rem;
    font-weight: 600;
}

.kk-divider-sm {
    height: 3px;
    width: 60px;
    background-color: var(--soft-wine);
    margin-top: 15px;
}

/* Tarjetas de Categoría */
.kk-category-card {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* Mantiene las fotos cuadradas */
}

.kk-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.kk-category-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.kk-category-overlay h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    border: 2px solid white;
    padding: 15px 30px;
    transition: transform 0.3s ease;
}

.kk-category-card:hover img {
    transform: scale(1.05);
}

.kk-category-card:hover .kk-category-overlay {
    background: rgba(26, 26, 26, 0.5);
}

.kk-category-card:hover .kk-category-overlay h3 {
    background-color: white;
    color: var(--contrast);
}

/* Tarjetas de Producto */
.kk-bg-light {
    background-color: #fafafa;
}

.kk-product-card {
    background: white;
    position: relative;
    border: 1px solid #eee;
    transition: border-color 0.3s ease;
}

.kk-product-card:hover {
    border-color: var(--soft-wine);
}

.kk-product-img-wrapper {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

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

.kk-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--nude-rose);
    color: var(--contrast);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 10px;
    letter-spacing: 1px;
    z-index: 2;
}

.kk-quick-add {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: var(--contrast);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.kk-product-card:hover .kk-quick-add {
    transform: translateY(0);
    opacity: 1;
}

.kk-quick-add:hover {
    background-color: var(--soft-wine);
}

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

.kk-product-brand {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.kk-product-name {
    color: var(--contrast);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.kk-product-price {
    color: var(--soft-wine);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.kk-link-dark {
    color: var(--contrast);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kk-link-dark:hover {
    color: var(--soft-wine);
}

/* Responsive */
@media (max-width: 991px) {
    .kk-hero-title {
        font-size: 2.5rem;
    }
    .kk-hero-box {
        padding: 2rem;
        margin: 2rem 0;
    }
}
@media (max-width: 768px) {
    .kk-benefit-text {
        font-size: 0.8rem;
    }
    .kk-quick-add {
        opacity: 1; /* Siempre visible en móviles donde no hay hover */
        transform: translateY(0);
    }
}

/* =========================================
   SECCIÓN DE NOVEDADES (INSTAGRAM)
   ========================================= */

.kk-news-section {
    background-color: var(--bg-light); /* Un fondo sutil para que los marcos blancos resalten */
    padding-top: 5rem;
    padding-bottom: 5rem;
    border-top: 1px solid #eee;
}

.kk-section-subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Marco estilo "Editorial / Polaroid" para los iframes */
.kk-ig-wrapper {
    background: #ffffff;
    padding: 15px; /* Crea el marco blanco alrededor del post */
    border: 1px solid #e0e0e0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    justify-content: center;
}

.kk-ig-wrapper:hover {
    transform: translateY(-8px);
    border-color: var(--soft-wine);
    box-shadow: 0 20px 40px rgba(107, 46, 46, 0.08);
}

/* Ajustes responsivos para el iframe de Instagram */
.kk-ig-iframe {
    width: 100%;
    /* Instagram por defecto requiere un alto mínimo para mostrar la foto y el texto */
    min-height: 480px; 
    max-width: 400px; /* Evita que se estire demasiado en pantallas gigantes */
    border: none;
    background-color: white;
}

@media (max-width: 768px) {
    .kk-ig-iframe {
        min-height: 400px; /* Un poco más compacto en móviles */
    }
}