body {
    margin: 0;
    padding: 0;
    /* Fondo claro como se solicitó (gris muy tenue para resaltar la hoja blanca) */
    background: #f0f0f0;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.empty-state {
    text-align: center; background: #fff; padding: 50px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: #333; z-index: 10;
}
.admin-btn {
    display: inline-block; margin-top: 20px; padding: 10px 20px; background: #c5a880; color: #fff; text-decoration: none; border-radius: 4px; font-weight: 600;
}

.flipbook-wrapper {
    position: relative; display: flex; justify-content: center; align-items: center; width: 90vw; height: 80vh; max-width: 1200px;
}

#flipbook {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15); /* Sombra más sutil para fondo blanco */
}

.page {
    background-color: #fff;
    overflow: hidden;
}

/* Sombreado central fuerte para simular el lomo del libro (Spine Shadow) como en img2 */
.page.--left { box-shadow: inset -50px 0 50px -20px rgba(0, 0, 0, 0.3) !important; }
.page.--right { box-shadow: inset 50px 0 50px -20px rgba(0, 0, 0, 0.3) !important; }

/* ==== DISEÑO INTERNO DEL CATÁLOGO ==== */
.catalog-layout {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 8% 5%;
    box-sizing: border-box;
    background: #fff;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1; /* Toma una tercera parte exacta de la página */
    margin-bottom: 2%;
    overflow: hidden; /* Evita que el contenido desborde hacia el siguiente producto */
}

.product-row.reverse {
    flex-direction: row-reverse;
}

.product-image {
    width: 48%;
    height: 90%; /* Deja un pequeño respiro arriba y abajo */
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que la imagen entera se vea sin recortarse ni tapar el texto */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.product-details {
    width: 48%;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Previene que el texto se salga de su caja */
}

.product-title {
    font-family: 'Cinzel', serif;
    color: #bda077;
    font-size: 1.4rem; /* Un poco más grande para mejor lectura */
    letter-spacing: 1px;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.cursive-label {
    font-family: 'Great Vibes', cursive;
    color: #8c7355;
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
}

.product-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #666;
    margin: 2px 0 5px 0;
    line-height: 1.3;
}

.dotted-divider {
    width: 60%;
    border-bottom: 1px dotted #ccc;
    margin: 5px 0;
}

.color-dot {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    margin: 2px 0 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.price-btn {
    background-color: #eee190;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 30px;
    border-radius: 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
}


/* Flechas de Navegación */
.nav-arrow {
    position: absolute; bottom: 15px; width: 50px; height: 50px; border-radius: 50%; background-color: transparent; border: none; color: #333; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 100; transition: transform 0.2s ease, opacity 0.2s ease; opacity: 0.7;
}
.nav-arrow:hover { transform: scale(1.15); opacity: 1; color: #000; }
.nav-left { left: 10px; }
.nav-right { right: 10px; }

/* Barra Inferior */
.bottom-bar {
    position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.4); padding: 8px 16px; border-radius: 20px; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: 1px; z-index: 100;
}

/* ==== PORTADA ==== */
.page-cover {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    position: relative;
}

.cover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.2);
}

.cover-title {
    position: absolute;
    top: 8%;
    width: 100%;
    z-index: 2;
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    color: #eed16e; /* Amarillo dorado */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    margin: 0;
}

/* ==== PÁGINA BENEFICIOS ==== */
.page-benefits {
    background-color: #fff;
    padding: 8% 10%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.benefits-title {
    font-family: 'Cinzel', serif;
    color: #bda077;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1;
}

.benefits-cursive {
    font-family: 'Great Vibes', cursive;
    text-transform: lowercase;
    font-size: 3rem;
    color: #8c7355;
    display: block;
    margin-top: -10px;
}

.benefit-item {
    margin-bottom: 20px;
}

.benefit-icon {
    font-size: 2rem;
    color: #bda077;
    margin-bottom: 5px;
}

.benefit-text h4 {
    font-family: 'Cinzel', serif;
    color: #bda077;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.benefit-text p {
    font-family: 'Inter', sans-serif;
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* ==== CONTRAPORTADA ÚNICA (FUSIONADA) ==== */
.page-contact {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    padding: 10%;
    box-sizing: border-box;
    /* La sombra interior viene de .page:nth-child */
}

.contact-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.75); /* Más opaco para leer bien ambos bloques */
    z-index: 1;
}

.merged-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.merged-benefits {
    border-bottom: 1px dotted #ccc;
    padding-bottom: 20px;
}

.merged-benefits .benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-title {
    font-family: 'Great Vibes', cursive;
    color: #5c4731;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
    color: #333;
    font-weight: 600;
}

.contact-icon {
    margin-right: 10px;
}
