/* =========================================
   PÁGINA: PRODUCTOS 
   ========================================= */

.hero-products {
    height: 85vh !important; /* Más alto para impactar en Home */
    min-height: 550px;
    background-size: cover !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;}

/* Estilos para el video de fondo */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(43, 43, 43, 0.3), rgba(75, 64, 54, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}


.hero-title1 {
    font-family: 'Quickpen', cursive;
    font-size: clamp(4rem, 8vw, 6rem);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    margin: 1rem 0 0.5rem 0;
    line-height: 1;
}

.hero-sublead {
    font-family: 'Marcellus', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Animación de flecha */
.animate-bounce {
    animation: bounce 2s infinite;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- MARQUEE (Cinta en movimiento) --- */
.marquee-wrapper {
    background: var(--color-secundario);
    color: var(--acento-principal);
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 4px solid var(--acento-principal);
}

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.marquee-content i {
    margin: 0 15px;
    font-size: 0.7rem;
    vertical-align: middle;
    color: #fff;
    opacity: 0.7;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- LISTA DE PRODUCTOS --- */
/* Texto gigante de fondo decorativo */
.bg-deco-text {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Marcellus', sans-serif;
    font-size: 15rem;
    font-weight: bold;
    color: rgba(0,0,0,0.03); /* Casi invisible */
    z-index: -1;
    pointer-events: none;
    white-space: nowrap;
}

/* Tarjeta de Producto Mejorada */
.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* Sombra suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(196, 138, 58, 0.15); /* Sombra dorada */
}

/* Contenedor de Imagen */
.product-image-container {
    position: relative;
    height: 400px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

.product-image-container img {
    max-height: 90%;
    width: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.08); /* Zoom sutil a la botella */
}

/* Badges (Etiquetas) */
.badge-best-seller, .badge-new {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--acento-principal);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Marcellus', serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.badge-new {
    background: var(--color-secundario); /* Negro para el añejo */
}

/* Overlay al Hover */
.product-overlay-expanded {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.product-card:hover .product-overlay-expanded {
    opacity: 1;
}

.overlay-content h3 {
    font-family: 'Quickpen', cursive;
    color: var(--acento-principal);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    color: #ddd;
    font-family: 'Cambay', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.overlay-price {
    display: block;
    color: #fff;
    font-family: 'Marcellus';
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Info Inferior */
.product-info-bottom {
    padding: 1.5rem;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.product-name {
    font-family: 'Marcellus', serif;
    font-size: 1.4rem;
    color: var(--color-secundario);
    margin-bottom: 0.5rem;
}

.product-price-label {
    font-family: 'Marcellus', serif;
    font-weight: bold;
    color: var(--acento-principal);
    font-size: 1.2rem;
}

/* Botón Solicitar */
.btn-solicitar {
    width: 100%;
    background: var(--color-secundario);
    color: #fff;
    border: none;
    padding: 12px;
    text-transform: uppercase;
    font-family: 'Marcellus', serif;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-solicitar:hover {
    background: var(--acento-principal);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 138, 58, 0.3);
}

/* Utils */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- ESTILO DE LISTADO ALTERNADO (PREMIUM) --- */

.product-section-row {
    padding: 6rem 0; /* Mucho aire arriba y abajo */
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.product-section-row.bg-white {
    background-color: #fff; /* Fondo blanco para la sección de en medio */
}

/* Imagen Principal Grande */
.product-showcase-img {
    position: relative;
    height: 550px; /* Imagen grande */
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-bottle {
    height: 100%;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.2));
}

.product-showcase-img:hover .main-bottle {
    transform: scale(1.05) translateY(-10px);
}

/* Círculo decorativo detrás de la botella */
.circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, #e6b768 0%, transparent 70%); /* Reposado (Dorado suave) */
    opacity: 0.2;
    z-index: 1;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.circle-bg.silver {
    background: radial-gradient(circle, #a0a0a0 0%, transparent 70%);
}

.circle-bg.gold {
    background: radial-gradient(circle, #c48a3a 0%, transparent 70%);
    opacity: 0.3;
}

/* Badge flotante */
.floating-badge {
    position: absolute;
    top: 10%;
    right: 10%;
    background: var(--acento-principal);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    font-family: 'Marcellus';
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.floating-badge.black {
    background: var(--color-secundario);
}

/* Panel de Detalles */
.product-details-panel {
    padding: 2rem;
}

.product-category {
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.product-title-lg {
    font-family: 'Quickpen', cursive;
    font-size: 4.5rem;
    color: var(--color-secundario);
    line-height: 1;
    margin-bottom: 1.5rem;
}

/* Iconos de especificaciones */
.product-specs {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    font-family: 'Marcellus', serif;
    font-size: 0.9rem;
    color: #555;
    flex-wrap: wrap;
}

.product-specs span i {
    color: var(--acento-principal);
    margin-right: 5px;
}

.product-description-lg {
    font-family: 'Cambay', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--acento-principal);
    padding-left: 20px;
}

/* Tabla de notas de cata */
.tasting-notes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 2.5rem;
    background: rgba(255,255,255,0.5);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.05);
}

.note-item {
    display: flex;
    flex-direction: column;
}

.note-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 3px;
    font-weight: bold;
}

.note-val {
    font-family: 'Marcellus', serif;
    font-size: 0.95rem;
    color: var(--color-secundario);
}

/* Precios y Botones */
.price-action-row {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-box {
    font-family: 'Marcellus', serif;
    font-size: 3rem;
    color: var(--color-secundario);
    line-height: 1;
}

.price-box .currency {
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 2px;
}

.price-box .cents {
    font-size: 1rem;
    vertical-align: top;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

.btn-gold-solid {
    background: var(--acento-principal); /* Dorado */
    background: linear-gradient(135deg, #c48a3a, #e6b768);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Marcellus', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(196, 138, 58, 0.3);
    transition: all 0.3s ease;
}

.btn-gold-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(196, 138, 58, 0.5);
    color: #fff;
}

.btn-outline-dark-custom {
    border: 1px solid var(--color-secundario);
    color: var(--color-secundario);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: 'Marcellus', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-dark-custom:hover {
    background: var(--color-secundario);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .product-showcase-img { height: 400px; margin-bottom: 2rem; }
    .product-title-lg { font-size: 3.5rem; }
    .price-action-row { flex-direction: column; align-items: flex-start; }
    .circle-bg { width: 300px; height: 300px; }
}