/* Clase para el fondo beige */
body {
    overflow-x: hidden;
}

.kt-bg-beige {
    background-color: #f5f5dc;
}

.kt-text-color-grey {
    color: #5a5a5a;
}

/* Contenedor del carrusel/sección con onda inferior */
.wave-container {
    position: relative;
    /* ESTO ES CRÍTICO */
    padding-bottom: 40px;
    /* Espacio para la onda */
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    /* Asegura que esté encima */
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 40px;
    vertical-align: bottom;
    /* Elimina espacios extra */
}

/* Variaciones de color para las ondas */
.wave-to-beige .shape-fill {
    fill: #f6f2e9;
}

.wave-to-white .shape-fill {
    fill: #ffffff;
}

.wave-to-red .shape-fill {
    fill: #e60017;
}

.wave-to-gray .shape-fill {
    fill: #f8f9fa;
}

.wave-to-back .shape-fill {
    fill: #212529;
}

.wave-to-amarillo .shape-fill {
    fill: #fab900;
}

.sombra_logo {
    box-shadow: 2px 2px 2px #0005;
}

.kt-bg-rojo {
    background-color: #e60017;
}

.kt-bg-amarillo {
    background-color: #fab900;
}

.text-amarillo {
    color: #fab900;
}

.text-vos-tambien {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.2;
    text-align: center;
}

.btn-registro {
    display: inline-block;
    padding: 10px 30px;
    background-color: #ffffff;
    color: #b91c1c;
    font-size: 3rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 3px solid #f3f4f6;
}

.btn-registro:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: #f9fafb;
}

.btn-registro:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.te_regalamos {
    max-width: 550px;
}

.mis-puntos-riccollini {
    max-width: 700px;
}

.text-yellow {
    color: #FFD200;
    /* Amarillo usado en el título */
}

.badge-points {
    background-color: white;
    color: #E30613;
    font-weight: 700;
    border-radius: 50px;
    /* padding: 0.8rem 1.2rem; */
    font-size: 1.1rem;
}

.card-dish {
    background-color: white;
    color: #E30613;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
}

.bubble {
    background-color: #E8F5E8;
    color: #333;
    border-radius: 20px;
    padding: 1rem;
    position: relative;
    max-width: 80%;
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px;
    border-style: solid;
    border-color: #E8F5E8 transparent transparent transparent;
}

.bubble-secondary {
    background-color: white;
    margin-left: auto;
    margin-right: 0;
}

.bubble-secondary::after {
    left: auto;
    right: 30px;
    border-color: white transparent transparent transparent;
}

.wavy-line {
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23FFFFFF' fill-opacity='1' d='M0,64L48,80C96,96,192,128,288,128C384,128,480,96,576,80C672,64,768,64,864,74.7C960,85,1056,107,1152,106.7C1248,107,1344,85,1392,74.7L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.color-white {
    color: white;
}

.font-points {
    font-size: 1.5rem;
}

.chat-container {
    position: relative;
    height: 250px;
    /* Ajustá este valor hasta que el encime quede perfecto */
    display: block;
    /* ← Cambiá flex por block */
}

.chat-bubble {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Burbuja verde: alineada a la izquierda */
.bubble-left {
    margin-left: 0px;
    margin-right: auto;
    transition-delay: 0.3s;
}

/* Burbuja blanca: alineada a la derecha y encimada arriba */
.bubble-right {
    margin-left: auto;
    margin-right: 0px;
    margin-top: -70px;
    /* ← Ajustá este valor negativo: -100px a -140px hasta que se superponga justo como en la imagen */
    transition-delay: 1.0s;
    /* Aparece 0.7s después de la primera */
    overflow: hidden;
    text-align: right;
}

/* Cuando se agrega la clase .visible → animación */
#chat-bubbles.visible .chat-bubble {
    opacity: 1;
    transform: translateY(0);
}

.max_bubbles_width {
    max-width: 330px;
}

.terminos-condiciones {
    max-width: 700px;
    margin: 0 auto;
    height: 500px;
    overflow-y: scroll;
}

.logo-sombra {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 1px 2px rgba(255, 255, 255, 0.15));
}

.svg-crop {
    height: 120px;
    /* altura final deseada */
    overflow: hidden;
    display: flex;
    align-items: center;
    /* centra verticalmente */
    justify-content: center;
}

.svg-crop img {
    height: auto;
    width: 100%;
    max-height: none;
}

.social-icon {
    color: #fff;
    transition: color .2s ease;
}

.social-icon:hover {
    color: #ff0050;
}

.d-wave-l {
    display: block;
}

.d-wave-s {
    display: none;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    .carousel-wave-container {
        padding-bottom: 30px;
    }

    .wave-divider svg {
        height: 30px;
    }

    .btn-registro {
        font-size: 1.5rem;
    }

    .d-wave-l {
        display: none;
    }

    .d-wave-s {
        display: block;
    }
}