/* ===== COCKTAIL DETAILS CSS ===== */

/* CSS Variables */
:root {
    --brand-red: #D42E12;
    --brand-dark-red: #6E1E11;
    --brand-cream: #E9E2D0;
    --brand-gold: #BB9C4B;
    --brand-yellow: #FFFF00;
    --havana-white: #FFFFFF;
    --havana-black: #000000;
}

/* ===== BASE STYLES ===== */
/* Nota: Los estilos de body, header y footer están en common.css */

/* ===== HERO SECTION - COCKTAIL DETAIL ===== */
/* Ajustes específicos para el título del cóctel */
.cocktail-detail .product-title-container {
    position: relative;
    z-index: 10;
    width: 80%;
    padding: 0;
    margin: 0 auto;
    margin-top: 20px; /* Reducido para que quede más cerca del botón */
    margin-bottom: 40px; /* Reducido para hacer más compacto */
    text-align: center; /* Centrado */
}

.cocktail-detail .product-title {
    font-size: 48px; /* Reducido para hacer más compacto */
    font-weight: 900;
    color: white;
    margin-bottom: 10px; /* Reducido */
    line-height: 1; /* Más compacto */
    text-align: center; /* Centrado */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar los elementos */
}

.cocktail-detail .product-title-havana-club {
    font-family: 'Druk Wide', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 64px !important; /* Reducido de 85px */
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    display: block;
    line-height: 1; /* Más compacto */
    max-width: 100%; /* Permitir que ocupe todo el ancho si es necesario */
    text-align: center; /* Centrado */
}

.cocktail-detail .product-title-7-anos {
    font-family: 'Druk Text', Arial, sans-serif !important;
    font-weight: 900 !important;
    font-size: 85px !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
    display: block;
    line-height: 1; /* Más compacto */
    text-align: center; /* Centrado */
    margin-top: 5px; /* Espacio mínimo entre líneas */
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    margin-top: 0;
    min-height: 100vh;
    background-image: url('../assets/cocktail_details_hero_bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.back-button {
    position: absolute;
    top: 200px;
    left: 160px;
    z-index: 1001;
}

.back-button .btn {
    background-color: var(--havana-black);
    color: var(--havana-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: italic;
    font-size: 24px;
    padding: 0;
    text-transform: uppercase;
    border-radius: 0;
}

.main-title {
    position: absolute;
    top: 224px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1001;
}

.cocktail-title {
    font-family: 'Druk Wide', sans-serif;
    font-weight: 900;
    font-size: 85px;
    line-height: 1;
    margin-bottom: 16px;
}

.cocktail-subtitle {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 64px;
    line-height: 1;
}

/* ===== RED DESCRIPTION BOX ===== */
.red-description-box {
    position: absolute;
    bottom: 80px;
    left: 162px;
    width: 1517px;
    height: 353px;
    background-color: var(--brand-red);
    display: flex;
    align-items: center;
    z-index: 1001;
}

.description-text {
    width: 50%;
    padding: 0 32px;
}

.description-text p {
    font-family: 'Rotis Sans Serif W02', serif;
    font-size: 32px;
    line-height: 1;
    text-align: right;
}

.video-section {
    width: 50%;
    display: flex;
    justify-content: center;
}

.video-container {
    position: relative;
}

.video-placeholder {
    width: 491px;
    height: 274px;
}

.play-button {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: var(--havana-white);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.play-button:hover {
    background-color: #f3f4f6;
}

.play-button svg {
    width: 100%;
    height: 100%;
    color: var(--brand-red);
}

/* ===== COCKTAIL IMAGES ===== */
.cocktail-glass {
    position: absolute;
    top: 316px;
    left: 730px;
    width: 426px;
    height: 612px;
    z-index: 1001;
}

.cocktail-bottle {
    position: absolute;
    top: 350px;
    right: 150px;
    width: 161px;
    height: 515px;
    z-index: 1001;
}

/* ===== INGREDIENTS SECTION ===== */
.ingredients-section {
    padding: 80px 122px 80px 122px;
    background-color: white;
}

.ingredients-title {
    font-size: 85px;
    color: var(--brand-red);
    margin-bottom: 127px;
}

.ingredients-title .title-part-1 {
    font-family: 'Druk Text', sans-serif;
    font-weight: 900;
}

.ingredients-title .title-part-2 {
    font-family: 'Druk Wide', sans-serif;
    font-weight: 900;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-right: -122px;
}

/* ===== INGREDIENTS LEFT SIDE ===== */
.ingredients-left {
    position: relative;
}

/* Estilos específicos para ingredientes en cocktail-details */
.ingredients-section .ingredients-left .ingredient-item {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Eliminar cualquier stroke dorado de toda la sección de ingredientes */
.ingredients-section * {
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    text-shadow: none !important;
    outline: none !important;
    -webkit-text-emphasis: none !important;
    text-emphasis: none !important;
    filter: none !important;
}

.ingredients-section .ingredients-left .ingredient-amount {
    font-family: 'Druk Text', sans-serif !important;
    font-weight: 900 !important;
    font-style: italic !important;
    font-size: 64px !important;
    color: var(--havana-black) !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--havana-black) !important;
    outline: none !important;
    -webkit-text-emphasis: none !important;
    text-emphasis: none !important;
}

.ingredients-section .ingredients-left .ingredient-name {
    font-family: 'Rotis Sans Serif W02', serif !important;
    font-size: 32px !important;
    color: var(--havana-black) !important;
    font-weight: normal !important;
    font-style: normal !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: var(--havana-black) !important;
    outline: none !important;
    -webkit-text-emphasis: none !important;
    text-emphasis: none !important;
}

.measurements-header {
    background-color: var(--havana-black);
    padding: 0 0 5px 0;
    margin-bottom: 32px;
    margin-right: 80px;
}

.measurements-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-style: italic;
    font-size: 64px;
    color: var(--havana-white);
    text-align: center;
    margin-bottom: 0;
}

.glass-icons {
    display: flex;
    justify-content: center;
}

.glass-icons-container {
    display: flex;
    gap: 0;
    width: 100%;
}

.glass-icon {
    flex: 1;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: 2px solid var(--havana-black);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2px;
    padding: 8px;
}

.glass-icon {
    background-color: var(--havana-white);
    color: var(--havana-black);
}

.glass-icon.active {
    background-color: var(--brand-red) !important;
    color: var(--havana-black) !important;
}

.glass-silhouette {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.glass-image {
    width: 20px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    margin-right: 2px;
}

/* Tamaños específicos para cada cuadro */
.glass-icon:first-child .glass-image {
    width: 45px;
}

.glass-icon:nth-child(2) .glass-image {
    width: 35px;
}

.glass-icon:nth-child(3) .glass-image {
    width: 22px;
}

.glass-icon:last-child .glass-image {
    width: 15px;
}

/* Estados seleccionables */
.glass-icon {
    cursor: pointer;
    transition: all 0.3s ease;
}

.glass-icon:hover {
    transform: scale(1.05);
}

.glass-icon.active {
    background-color: var(--brand-red) !important;
    color: var(--havana-black) !important;
}

.glass-icon.active .glass-image {
    filter: brightness(0) saturate(100%);
}

.ingredient-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 40px;
}

.ingredient-item {
    display: flex !important;
    align-items: center !important;
    gap: 32px !important;
    border-radius: 0 !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    position: static !important;
    transform: none !important;
}

.ingredient-amount {
    font-family: 'Druk Text', sans-serif !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-size: 64px !important;
    color: var(--havana-black) !important;
    border-radius: 0;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.ingredient-name {
    font-family: 'Rotis Sans Serif W02', serif !important;
    font-size: 32px !important;
    color: var(--havana-black) !important;
    font-weight: normal !important;
    font-style: normal !important;
}

.ingredients-footer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    padding: 0 122px;
    box-sizing: border-box;
}

.share-button {
    margin-top: 0;
    width: fit-content;
    margin-left: auto;
    min-height: 140px;
}

.share-button .btn {
    background-color: var(--brand-red);
    color: var(--havana-white);
    font-weight: 900;
    font-size: 48px;
    padding: 20px 32px;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
    border-radius: 0;
    line-height: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.share-button .btn .share-text-1 {
    font-family: 'Druk Text', sans-serif !important;
    font-style: italic !important;
    font-size: 48px !important;
    line-height: 1;
    color: var(--havana-white) !important;
    font-weight: 900 !important;
    display: block;
    margin: 0;
    padding: 0;
}

.share-button .btn .share-text-2 {
    font-family: 'Druk Wide', sans-serif !important;
    font-style: normal !important;
    font-size: 48px !important;
    line-height: 1;
    color: var(--havana-white) !important;
    font-weight: 900 !important;
    display: block;
    margin: 0;
    padding: 0;
}

.social-icons {
    display: flex;
    gap: 30px;
    margin-top: 0;
    align-items: center;
    min-height: 140px;
    padding: 0 64px;
    background-color: white;
}

.social-icon {
    width: 40px;
    height: 40px;
    color: var(--havana-red);
    fill: currentColor;
}

/* ===== INSTRUCTIONS RIGHT SIDE ===== */
.instructions-right {
    background-color: #f5f5dc;
    padding: 64px 0 64px 0; /* Mismo padding arriba y abajo */
    height: 100%;
    margin-right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.instructions-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 64px;
    padding-right: 64px;
}

/* Estilos para bullets y numeración dentro de instructions-list */
.instructions-list ul,
.instructions-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
    counter-reset: instruction-counter;
}

.instructions-list li {
    display: flex;
    align-items: center;
    gap: 50px;
    counter-increment: instruction-counter;
    position: relative;
    font-family: 'Rotis Sans Serif W02', serif;
    font-size: 32px;
    line-height: 1;
    color: var(--havana-black);
}

.instructions-list li::before {
    content: counter(instruction-counter);
    width: 68px;
    height: 68px;
    background-color: var(--havana-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: 'Druk Text', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 64px;
    color: var(--havana-white); /* Números en blanco */
}

.instructions-list p {
    font-family: 'Rotis Sans Serif W02', serif;
    font-size: 32px;
    line-height: 1;
    color: var(--havana-black);
    margin: 0;
}

.instruction-item {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.instruction-number {
    width: 68px;
    height: 68px;
    background-color: var(--havana-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.instruction-number span {
    font-family: 'Druk Text', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 64px;
    color: var(--havana-white);
}

.instruction-text {
    font-family: 'Rotis Sans Serif W02', serif;
    font-size: 32px;
    line-height: 1;
    color: var(--havana-black);
}

/* ===== DRINKS SECTION ===== */
.drinks-section {
    position: relative;
    padding: 0;
    background-image: url('https://cdn.builder.io/api/v1/image/assets/TEMP/adc1f12396e2b00676214475ecb5e26027b085d3?width=3840');
    background-size: cover;
    background-position: center;
    z-index: 60;
}

.drinks-container {
    width: 90%;
    margin: 0 auto;
    padding: 64px 40px;
}

.drinks-title {
    color: #FFFFFF;
    font-size: 85px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 64px;
}

/* === CAROUSEL LINEAL INFINITO === */
.css-carousel-demo-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 64px;
    z-index: 100;
    overflow: hidden;
}

.css-carousel-demo-container input[type=radio] {
    display: none;
}

.css-cards-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    display: flex;
    justify-content: center;
    z-index: 2;
}

.css-cards {
    position: relative;
    width: max-content;
    height: auto;
    margin-bottom: 20px;
    padding-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 6rem;
    transition: transform 0.5s ease;
    transform: translateX(0);
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.css-card {
    position: relative;
    width: 300px;
    height: 100%;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 18px;
    overflow: visible;
    background: transparent;
    opacity: 0.8;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.css-card:hover {
    opacity: 1;
    transform: scale(1.05);
}

.css-card img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: transparent;
    border-radius: 18px;
    filter: drop-shadow(10px 0 0 var(--havana-red)) 
            drop-shadow(-10px 0 0 var(--havana-red)) 
            drop-shadow(0 10px 0 var(--havana-red)) 
            drop-shadow(0 -10px 0 var(--havana-red));
    flex-shrink: 0;
}

.cocktail-name {
    color: var(--havana-red);
    font-size: 64px;
    line-height: 1.2;
    font-weight: 900;
    font-style: italic;
    font-family: 'Druk Text', sans-serif;
    margin-top: 16px;
    text-align: center;
}

/* ===== RUMS CAROUSEL SECTION ===== */
.rums-carousel-section {
    padding: 20px 0;
    position: relative;
    background-color: var(--havana-red);
    z-index: 60;
}

.rums-carousel-container {
    width: 90%;
    margin: 0 auto;
    padding: 20px 40px;
}

.rums-title {
    color: #FFFFFF;
    font-size: 85px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 64px;
}

.rums-carousel-wrapper {
    position: relative;
}

.carousel-container {
    overflow: visible;
    padding: 0 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 64px;
    justify-content: flex-start;
    align-items: center;
    width: max-content;
}

.rum-item {
    text-align: center;
    flex-shrink: 0;
}

.rum-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    position: relative;
    margin-bottom: 60px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--havana-red-dark);
    z-index: 1;
}

.rum-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: auto;
    max-height: 160%;
    object-fit: contain;
    z-index: 2;
}

.rum-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rum-brand {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
    color: var(--havana-gold);
    text-transform: uppercase;
    margin-bottom: 2px;
    font-family: var(--font-heading);
}

.rum-name {
    font-size: 43px;
    line-height: 1.1;
    font-weight: 900;
    font-style: italic;
    color: #FFFFFF;
    text-transform: uppercase;
    margin: 0;
    font-family: var(--font-heading);
}

.carousel-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.carousel-nav-button.prev {
    left: -30px;
}

.carousel-nav-button.next {
    right: -30px;
}

.carousel-nav-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ===== FOOTER ESTILOS ===== */
/* Nota: Los estilos de footer están en common.css */

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 768px) {
    .ingredients-section .ingredients-left .ingredient-amount,
    .cocktail-detail .ingredients-section .ingredients-left .ingredient-amount,
    .ingredient-amount {
        font-size: 32px !important;
    }

    .cocktail-detail .product-title-havana-club {
        hyphens: auto !important;
        font-size: 55px !important;
    }

    .ingredients-section .ingredients-left .ingredient-name {
        font-size: 24px !important;
    }
}

