html {
    position: relative;
    min-height: 100%;
}

/*Recreación logo CSS*/
body {
    background: #c3a0a6;
    position: relative;
    min-height: 100vh;
}

.btn-login {
    min-width: 220px;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    border: none;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background 0.18s;
    color: #fff;
    background: #212121; /* Negro */
}

.btn-login-guest {
    background: #41b883 !important; /* Verde "Vue" */
    color: #fff !important;
}

.btn-login:hover,
.btn-login:focus {
    opacity: 0.85;
}


.payment-option.selected {
    border: 2px solid #007bff;
    background-color: #e9f5ff;
}

.background-container {
    position: relative;
    width: 100%;
    height: 300px; /* Puedes ajustar el alto si necesitas más o menos espacio */
    background: linear-gradient(45deg, #c29fa5, #f1e9de);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px; /* Asegúrate de que el contenido principal tenga espacio debajo */
}

.circle {
    position: absolute;
    top: 50%; /* Centramos verticalmente */
    left: 50%; /* Centramos horizontalmente */
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    background-color: #c29fa5;
    border-radius: 50%;
    z-index: -1; /* Evita que el círculo se superponga con otros elementos */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.overlay-shape-1, .overlay-shape-2, .overlay-shape-3 {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1); /* Puedes ajustar colores o formas aquí */
    z-index: -2;
}

.overlay-shape-1 {
    top: 20px;
    left: 100px;
    width: 100px;
    height: 100px;
    background-color: #f1e9de;
    border-radius: 50%;
}

.overlay-shape-2 {
    top: 100px;
    right: 150px;
    width: 120px;
    height: 120px;
    background-color: #c29fa5;
    border-radius: 50%;
}

.overlay-shape-3 {
    bottom: 30px;
    left: 50px;
    width: 150px;
    height: 150px;
    background-color: #eae0d4;
    border-radius: 50%;
}

.text-logo {
    position: absolute;
    font-family: 'Arial', sans-serif;
    font-size: 3rem;
    color: white;
    text-align: center;
    z-index: 1; /* Esto se asegura de que el texto esté por delante del fondo */
}

.navbar {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    min-height: 36px; /*Puedes ajustar según necesidad */
    /*padding: 10px 0;*/
}

.skeleton {
    background: linear-gradient(90deg, #e9e9e9 25%, #f6f6f6 50%, #e9e9e9 75%);
    background-size: 200% 100%;
    animation: skeleton-anim 1.2s infinite linear;
    border-radius: 8px;
}

@keyframes skeleton-anim {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

.skeleton-img {
    width: 100%;
    height: 230px;
    margin-bottom: 1rem;
}

.skeleton-title {
    width: 80%;
    height: 20px;
    margin: 0 auto 8px auto;
}

.skeleton-price {
    width: 50%;
    height: 16px;
    margin: 0 auto 8px auto;
}

.skeleton-btn {
    width: 60%;
    height: 28px;
    margin: 0 auto;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
}

.custom-navbar {
    background-color: #9C8C91 !important;
}

.descuento {
    color: #dc3545 !important;
}

#card-element {
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 40px;
    margin-bottom: 10px;
}

.card {
    background-color: #B8C0C2;
}

.agregar-al-carrito {
    background-color: white;
}

.informacion {
    background-color: white;
}

.card-title {
    color: black !important;
}

.precio {
    color: black !important;
}

#card-errors {
    color: red;
    margin-top: 5px;
}

.receipt-card {
    max-width: 500px;
    margin: 40px auto;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease 1.5s;
}

.checkmark-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 5px solid #4BB543;
    position: relative;
    animation: scaleIn 0.6s ease-out forwards;
}

.checkmark {
    color: #4BB543;
    font-size: 48px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    animation: fadeCheck 0.4s ease 0.7s forwards;
}
/* Siempre visible y bien colocado el carrito en móvil */
@media (max-width: 991.98px) {
    #carrito-resumen-container {
        order: 3;
        margin-left: 0;
        margin-right: 0;
        margin-top: .5rem;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeCheck {
    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.company-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.receipt-info {
    font-size: 1rem;
    color: #555;
    text-align: left;
    margin-top: 20px;
}

    .receipt-info p {
        margin: 6px 0;
    }

.busqueda ::placeholder {
    color: #101010 !important
}

.banner-container {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: url('../img/foto5.jpeg') center no-repeat;
    background-size: cover;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    text-align: center;
    margin-bottom: 50px; /*ajustar segun necesario*/
}

.subscribe-btn {
    padding: 15px 30px;
    font-size: 32px;
    border-radius: 14px;
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dfd1d1; /* tu color rosa aquí */
}

.login-card-split {
    display: flex;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    max-width: 900px;
    width: 100%;
}

.login-form-section {
    flex: 1.1;
    min-width: 320px;
    padding: 3.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-brand {
    font-size: 2.1rem;
    font-weight: bold;
    color: #4D6FB6;
    margin-bottom: 0.7rem;
    text-align: left;
    letter-spacing: 1px;
}

.login-form-section h2 {
    color: #4D6FB6;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.btn-login, .btn-login-guest {
    min-width: 190px;
    padding: 0.8rem 0;
    font-size: 1.06rem;
    border: none;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
}

.btn-login {
    background: #212121;
    color: #fff;
}

.btn-login-guest {
    background: #41b883;
    color: #fff;
}

    .btn-login:hover, .btn-login-guest:hover {
        opacity: 0.9;
    }

.login-links a {
    color: #4D6FB6;
}

    .login-links a:hover {
        text-decoration: underline;
    }

.video-section {
    flex: 1;
    min-width: 370px;
    background: #f4f7fc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.login-video {
    width: 100%;
    max-width: 340px; /* Puedes ajustar esto según prefieras */
    height: 600px; /* Más alto: se ve más “Insta” */
    border-radius: 0 20px 20px 0;
    box-shadow: 0 2px 24px rgba(77,111,182,0.07);
    object-fit: contain; /* <-- Aquí el truco para no recortar */
    background: #eee; /* Bandas grises si el video no llena todo */
    display: block;
    margin: 0 auto;
}

@media (max-width: 950px) {
    .login-card-split {
        flex-direction: column;
        max-width: 500px;
    }

    .video-section {
        display: none;
    }

    .login-form-section {
        padding: 2rem 1.5rem;
    }
}

/* Rostro IA SVG dentro del bubble (opcional, mejora visual) */
/*#chatbot-bubble img {
    background: linear-gradient(145deg, #4D6FB6 70%, #79b1ff 100%);
    object-fit: cover;
    transition: box-shadow 0.2s;
}

    #chatbot-bubble img:hover {
        box-shadow: 0 0 24px #294E87;
    }

#chatbot-header img {
    background: #4D6FB6;
    object-fit: cover;
}*/
/* ---- CHATBOT STYLES ---- */
#chatbot-bubble {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    width: 70px; /* MÁS GRANDE */
    height: 70px; /* MÁS GRANDE */
    background: none; /* QUITA EL FONDO AZUL */
    border-radius: 50%;
    box-shadow: 0 6px 28px #4d6fb633, 0 0 0 transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none; /* SIN BORDE BLANCO NI AZUL */
    transition: box-shadow 0.2s;
    padding: 0;
}

    #chatbot-bubble:hover img {
        box-shadow: 0 8px 32px #294E87cc;
        filter: brightness(1.07);
    }

    #chatbot-bubble img {
        width: 70px; /* ROSTRO GRANDE Y CÉNTRICO */
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
        box-shadow: 0 2px 14px #4d6fb644;
        border: none;
        background: none;
        object-position: top center;
    }

@keyframes chatbot-bounce {
    0% {
        transform: scale(0.95);
    }

    45% {
        transform: scale(1.08);
    }

    60% {
        transform: scale(0.92);
    }

    100% {
        transform: scale(1);
    }
}

#chatbot-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 10000;
    width: 350px;
    max-width: 96vw;
    height: 500px;
    background: linear-gradient(115deg, #f1e9de 30%, #4D6FB6 130%);
    border-radius: 22px 22px 18px 18px;
    box-shadow: 0 8px 32px #294E87aa;
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 2.5px solid #4D6FB6;
    backdrop-filter: blur(1.5px);
}

#chatbot-header {
    background: #ac9fa3 !important; /* El color de tu cabecera */
    color: #fff;
    padding: 12px 16px;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    #chatbot-header img {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid #fff;
        margin-right: 8px;
        background: #294E87;
        box-shadow: 0 0 7px #294E8766;
    }

#chatbot-close {
    cursor: pointer;
    font-size: 1.6em;
}

#chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    background: #f7fafd;
    font-size: 1em;
}

#chatbot-input-container {
    display: flex;
    border-top: 1px solid #eee;
    padding: 10px;
    background: #f8f8f8;
}

#chatbot-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 1em;
}

#chatbot-send {
    margin-left: 8px;
    background: #4D6FB6;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-weight: bold;
    cursor: pointer;
}

    #chatbot-send:hover {
        background: #294E87;
    }

.msg-user {
    background: linear-gradient(125deg, #a6b6ff 60%, #4D6FB6 120%);
    color: #222;
    margin-bottom: 8px;
    padding: 8px 14px;
    border-radius: 16px 16px 5px 16px;
    max-width: 80%;
    float: right;
    clear: both;
    font-weight: 500;
    box-shadow: 0 2px 6px #294e8711;
}

.msg-bot {
    background: #fff;
    color: #294E87;
    margin-bottom: 8px;
    padding: 8px 14px;
    border-radius: 16px 16px 16px 5px;
    max-width: 80%;
    float: left;
    clear: both;
    font-weight: 500;
    border: 1.5px solid #4D6FB6;
    box-shadow: 0 2px 8px #294e8722;
}

@media (max-width: 600px) {
    #chatbot-window {
        right: 2vw;
        width: 95vw;
        height: 85vw;
        min-width: 230px;
    }
}
.footer-social-icons .social-icon {
    font-size: 2rem;
    color: #25D366; /* WhatsApp verde */
    transition: color 0.18s, transform 0.14s;
    text-decoration: none;
}

    .footer-social-icons .social-icon:last-child {
        color: #E1306C; /* Instagram fucsia */
    }

    .footer-social-icons .social-icon:hover {
        color: #fff;
        transform: scale(1.14);
    }
#chatbot-label {
    position: fixed;
    bottom: 124px;
    right: 18px;
    z-index: 9999;
}

@media (max-width: 600px) {
    #chatbot-label {
        bottom: 88px; /* o menos, según pruebes */
        right: 12px;
        font-size: 0.56rem;
        padding: 5px 10px;
    }

    #chatbot-bubble {
        width: 68px !important;
        height: 68px !important;
    }

        #chatbot-bubble img {
            width: 62px !important;
            height: 62px !important;
        }
}
