/* =============================================
   DESIGN SYSTEM — Vivir con Salud
   Fuente: Figma "Vivir con Salud"
   ============================================= */

/* --- Variables --- */
:root {
    --vcs-red: #A4343A;
    --vcs-navy: #0D1E3D;
    --vcs-blue: #3966A9;
    --vcs-gold: #D49251;
    --vcs-gray: #646464;
    --vcs-dark: #1C1F24;
    --vcs-bg-light: #EDEEF0;
    --vcs-bg-form: #F4F6FB;
    --vcs-white: #FFFFFF;
    --vcs-font: 'Poppins', sans-serif;
    --vcs-font-alt: 'Montserrat', sans-serif;
}

/* --- Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--vcs-font);
    font-size: 14px;
    color: var(--vcs-dark);
    background-color: #F4F6FB;
}

/* --- Tipografía --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--vcs-font);
    font-weight: 700;
    color: var(--vcs-dark);
}

.text-red {
    color: var(--vcs-red) !important;
}

.text-navy {
    color: var(--vcs-navy) !important;
}

.text-gray {
    color: var(--vcs-gray) !important;
}

.text-gold {
    color: var(--vcs-gold) !important;
}

.fw-light {
    font-weight: 300 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}


a {
    color: var(--vcs-red);
    text-decoration: underline;
}

/* --- Navbar --- */
.navbar-vcs {
    background-color: var(--vcs-white);
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

    .navbar-vcs .nav-link {
        font-family: var(--vcs-font);
        font-size: 14px;
        font-weight: 400;
        color: var(--vcs-dark);
        padding: 0.5rem 0.85rem;
        transition: color 0.2s;
    }

        .navbar-vcs .nav-link:hover,
        .navbar-vcs .nav-link.active {
            color: var(--vcs-red);
        }

    .navbar-vcs .dropdown-menu {
        border: none;
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        border-radius: 8px;
        padding: 0.5rem;
    }

    .navbar-vcs .dropdown-item {
        font-size: 14px;
        border-radius: 6px;
        padding: 0.5rem 1rem;
        color: var(--vcs-dark);
        transition: background 0.15s;
    }

        .navbar-vcs .dropdown-item:hover {
            background-color: var(--vcs-bg-light);
            color: var(--vcs-red);
        }


.navbar {
    --bs-navbar-nav-link-padding-x: 10px !important;
}

.btn-cuenta-farmacia,
.btn-cuenta-paciente {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--vcs-font);
    font-size: 12px;
    font-weight: 600;
    width: 150px;
    height: 59px;
    padding: 12px;
    border-radius: 14.771px;
    border: none;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.2;
}

.btn-cuenta-farmacia {
    background-color: var(--vcs-navy);
    color: var(--vcs-white) !important;
}

    .btn-cuenta-farmacia svg path {
        transition: fill .3s ease;
    }

    .btn-cuenta-farmacia:hover svg path {
        fill: var(--vcs-navy);
    }

    .btn-cuenta-farmacia:hover {
        border-radius: 14.771px;
        border: 2px solid #0D1E3D;
        background: rgba(229, 229, 229, 0.79);
        box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
        color: #0D1E3D !important;
        text-align: center;
        font-family: Poppins;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: 14.18px; /* 141.798% */
    }

.btn-cuenta-paciente {
    display: flex;
    height: 46px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #A4343A;
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 128% */
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 29px;
}


.btn-cuenta-paciente:hover {
    display: inline-flex;
    height: 46px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    border: 0.5px solid #A4343A;
    background: #FFF;
    color: #A4343A;
    text-align: center;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 128% */
}

.navbar-accent-line {
    height: 4px;
    border-bottom: 8px solid transparent;
    border-image: linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%);
    border-image-slice: 1;
    background: #FFF;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
}

/* --- Botones --- */

a {
    text-decoration: none;
}

.btn-primary-vcs {
    background-color: var(--vcs-red);
    color: var(--vcs-white);
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 128% */

    padding: 0.65rem 2rem;
    border: none;
    border-radius: 6px;
    transition: background 0.2s, transform 0.1s;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary-vcs:hover {
        background-color: #8c2a2f;
        color: var(--vcs-white);
        transform: translateY(-1px);
    }

.btn-outline-vcs {
    background-color: transparent;
    color: var(--vcs-red);
    border: 2px solid var(--vcs-red);
    font-family: var(--vcs-font);
    font-weight: 600;
    font-size: 15px;
    padding: 0.6rem 2rem;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline-vcs:hover {
        background-color: var(--vcs-red);
        color: var(--vcs-white);
    }

.nav-botones-cuenta {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}


/* Solo en escritorio */
@media (min-width: 992px) {

    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all .25s ease;
        margin-top: 0;
        border: none;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0,0,0,.12);
    }

    /* Mantiene el estado activo mientras está en hover */
    .navbar .dropdown:hover > .nav-link {
        color: var(--vcs-red); /* Cambia por tu color */
    }
}


/* --- Carrusel Hero --- */
.hero-carousel-vcs {
    width: 100%;
    overflow: hidden;
    position: relative;
}

    .hero-carousel-vcs .carousel,
    .hero-carousel-vcs .carousel-inner,
    .hero-carousel-vcs .carousel-item {
        height: clamp(260px, 25.77vw, 520px);
    }


.btn-banner {
    display: flex;
    height: 46px;
    padding: 30px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #FFF;
    text-decoration: none;
    color: #A4343A;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 128% */
}
/* Slide base: para slides con imagen PNG de fondo */




.hero-slide {
    height: clamp(260px, 25.77vw, 520px);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Slide 1: Familia (HTML/CSS layout) */
.hero-slide-familia {
    background-color: var(--vcs-red);
    display: flex;
    flex-direction: row;
    height: clamp(260px, 25.77vw, 520px);
}

.hero-slide-text {
    background-color: var(--vcs-red);
    flex: 0 0 53%;
    max-width: 53%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem 2rem max(2.5rem, calc((100vw - 1320px) / 2 + 12px));
    z-index: 2;
}

#beneficiosCarousel .carousel-item {
    transition: transform 1.4s cubic-bezier(.25,.46,.45,.94);
    will-change: transform;
}

    #beneficiosCarousel .carousel-item.carousel-item-next,
    #beneficiosCarousel .carousel-item.active.carousel-item-end {
        animation: iosSlideIn 1.6s forwards;
    }

@keyframes iosSlideIn {

    0% {
        transform: translate3d(100%,0,0);
    }

    82% {
        transform: translate3d(-1.5%,0,0);
    }

    100% {
        transform: translate3d(0,0,0);
    }
}



/* Rellena el fondo vacío mientras ocurre la animación */
#beneficiosCarousel,
#beneficiosCarousel .carousel-inner,
#beneficiosCarousel .carousel-item {
    background-color: #F4F6FB; /* Puedes cambiarlo a #FFF si prefieres fondo blanco */
}





.hero-slide-img {
    flex: 0 0 47%;
    max-width: 47%;
    position: relative;
    overflow: hidden;
}

    .hero-slide-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
    }

.hero-img-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, var(--vcs-red) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--vcs-white);
    line-height: 1.2;
    margin: 0;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255,255,255,0.9);
    line-height: 1.5;
    margin: 0;
}

.hero-subtitle-2 {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.btn-hero-white {
    background: var(--vcs-white);
    color: var(--vcs-red);
    font-family: var(--vcs-font);
    font-weight: 600;
    font-size: 14px;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    border: 2px solid var(--vcs-white);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

    .btn-hero-white:hover {
        background: transparent;
        color: var(--vcs-white);
    }

/* CTA overlay en slides de imagen (enlace invisible sobre el botón del PNG) */
.slide-cta {
    position: absolute;
    bottom: 29px;
    left: 28px;
    opacity: 0;
    width: 200px;
    height: 46px;
    display: block;
    z-index: 10;
    cursor: pointer;
}

/* Indicadores del carrusel (dots) */
.vcs-indicators {
    bottom: 10px;
    gap: 6px;
    margin: 0;
}

    .vcs-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.45);
        border-top: none;
        border-bottom: none;
        opacity: 1;
        transition: background 0.2s;
        flex: none;
        margin: 0 3px;
    }

        .vcs-indicators [data-bs-target].active {
            background-color: var(--vcs-white);
        }

.btn-hero-outline {
    background: transparent;
    color: var(--vcs-white);
    font-family: var(--vcs-font);
    font-weight: 600;
    font-size: 14px;
    padding: 0.55rem 1.4rem;
    border-radius: 6px;
    border: 2px solid var(--vcs-white);
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

    .btn-hero-outline:hover {
        background: var(--vcs-white);
        color: var(--vcs-red);
    }

.banner-flegon {
    background: #efefef;
    border-top: 8px solid #d4944a;
    border-bottom: 8px solid #2f5ea8;
    overflow: hidden;
    height: 371px;
}

.banner-logo {
    max-width: 643px;
    width: 100%;
}

.banner-products {
    width: 100%;
    max-width: 550px;
}

.banner-tree {
    max-width: 400px;
}

.btn-banner1 {
    background: #b2383c;
    color: #fff;
    border-radius: 12px;
    padding: 14px 32px;
    font-size: 1.5rem;
    font-weight: 500;
    border: 0;
    text-decoration: none;
}

    .btn-banner1:hover {
        background: #a32f33;
        color: #fff;
    }





/* --- Sección --- */
.section-vcs {
    padding: 4rem 0;
    overflow: hidden;
}

.section-vcs-alt {
    background-color: var(--vcs-bg-light);
    padding: 4rem 0;
    overflow: hidden;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--vcs-dark);
    margin-bottom: 0.5rem;
}

    .section-title span {
        color: var(--vcs-red);
    }

/* --- Cards de producto --- */
.portal-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0056b3; /* o el color que estés usando */
    font-weight: 600;
    text-decoration: none;
    transition: color .3s ease;
}

    .portal-card-link span {
        transition: text-decoration-color .3s ease;
    }

    .portal-card-link i {
        transition: transform .3s ease;
    }

    /* Hover */
    .portal-card-link:hover {
        color: #0056b3;
    }

        .portal-card-link:hover span {
            text-decoration: underline;
            text-underline-offset: 4px;
            text-decoration-thickness: 2px;
        }

        .portal-card-link:hover i {
            transform: translateX(6px);
        }


.product-card {
    border: 1px solid #e0e2e7;
    border-radius: 12px;
    overflow: hidden;
    background: var(--vcs-white);
    transition: box-shadow 0.2s, transform 0.2s;
    height: 100%;
}

    .product-card:hover {
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        transform: translateY(-3px);
    }

    .product-card .card-img-top {
        background-color: var(--vcs-bg-form);
        padding: 1.5rem;
        text-align: center;
        height: 180px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .product-card .card-img-top img {
            max-height: 130px;
            object-fit: contain;
        }

    .product-card .card-body {
        padding: 1rem 1.25rem;
    }

    .product-card .card-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--vcs-dark);
        margin-bottom: 0.25rem;
    }

    .product-card .card-text {
        font-size: 13px;
        color: var(--vcs-gray);
        line-height: 1.4;
    }

.badge-terapeutica {
    background-color: var(--vcs-bg-light);
    color: var(--vcs-navy);
    font-family: var(--vcs-font-alt);
    font-size: 11px;
    font-weight: 400;
    padding: 0.25rem 0.6rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* --- Formularios --- */

.form-select:focus {
    border-color: #A4343A !important;
    outline: 0;
    box-shadow: none !important;
}

.form-control:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #A4343A !important;
    outline: 0;
    box-shadow: none !important;
}


.form-select {
    height: 38px;
    font-size: 14px;
}
/* --- Sección del Formulario Wizard --- */
.wizard-form-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}


.gradient-border {
    position: relative;
    border-radius: 16px;
    background: #FFF;
    /* M3/Elevation Dark/3 */
    box-shadow: 0 4px 8px 3px rgba(0, 0, 0, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.30);
}

.wizard-container {
    background-color: white;
    border: 1px solid #e0e0e0;
    position: relative;
    overflow: hidden; /* Para el borde superior */
}

    /* Borde superior rojo y azul */
    .wizard-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 6px; /* Altura de la barra de color */
        background: linear-gradient(180deg, #FE5D67 0%, var(--color-azure-36, #0155B9) 100%);
        border-radius: 8px; /* Bordes redondeados en las esquinas superiores */
    }

.wizard-title {
    background: var(--Gradiente-1, linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 39px;
}

.Tittle-form {
    background: var(--Gradiente-1, linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Poppins;
    font-size: 39px;
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-36, 36px);
}

.wizard-title span {
    color: var(--dark-blue); /* Color azul para "inscripción para pacientes" */
}

.wizard-description {
    color: var(--siegfriedcentroamerica-platinoweb-com-shark, var(--color-azure-13, #1C1F24));
    /* siegfriedcentroamerica.platinoweb.com/Montserrat/Regular */
    font-family: var(--font-family-Font-1, Montserrat);
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 160% */
}




.stepper-wrapper {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding-top: 50px;
}

/* Barra gris */
.stepper-bar {
    position: relative;
    width: 100%;
    height: 12px;
    background: #cfcfcf;
    border-radius: 30px;
    overflow: hidden;
}

/* Barra roja progreso */
.stepper-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 12px;
    width: 0%;
    background: #A4343A;
    border-radius: 30px;
    transition: width .4s ease;
}

/* Punto blanco */
.step-counter {
    position: absolute;
    top: 50%;
    right: 2px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Labels */
.stepper-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.stepper-label {
    font-size: 20px;
    color: #777;
    font-weight: 500;
}

    .stepper-label.active {
        color: #000;
        font-weight: 700;
    }

.form-label-1 {
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-image: var(--bs-form-select-bg-img), var(--bs-form-select-bg-icon, none);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
}

.form-label {
    color: #000;
    /* siegfriedcentroamerica.platinoweb.com/Montserrat/SemiBold */
    font-family: var(--font-family-Font-1, Montserrat);
    font-size: var(--font-size-15, 15px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-24, 24px); /* 160% */
}


.gender-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #000;
    transition: 0.3s;
}



.contact-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
}

    .contact-option input[type="checkbox"] {
        width: 20px;
        height: 20px;
        accent-color: #7b0d14;
        cursor: pointer;
    }

.contact-fields {
    display: none;
    margin-top: 25px;
}

    .contact-fields.active {
        display: block;
    }

.custom-input {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 18px;
    outline: none;
}

.custom-label {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

.required {
    color: #b12b32;
}

.grid-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .grid-fields {
        grid-template-columns: 1fr;
    }
}
/* Cambia el color del texto cuando el checkbox está seleccionado */
.gender-option:has(input:checked) {
    color: #5A1215;
}

/* También puedes cambiar el color del checkbox */
.gender-option input:checked {
    accent-color: #5A1215;
}

/* Estilo del Switch (Sí/No) */
.form-check-label .switch-label-si {
    color: var(--dark-blue);
    font-weight: bold;
    margin-right: 0.2rem;
}

.form-check-label .switch-label-no {
    color: var(--gray-text);
    margin-left: 0.2rem;
}

.form-check-input:checked ~ .form-check-label .switch-label-si {
    color: var(--primary-red); /* Color cuando está en "Sí" */
}

.form-check-input:checked ~ .form-check-label .switch-label-no {
    color: var(--gray-text); /* Asegura que "No" se mantenga gris */
}



.form-switch .form-check-input {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    width: 2em;
    margin-left: -2.5em;
    background-image: var(--bs-form-switch-bg);
    background-position: left center;
    border-radius: 2em;
    transition: background-position .15s ease-in-out;
    background-color: #0155B9;
    border-color: #0155B9;
    border-radius: 12px;
}

/* --- Estilos de Botones de Navegación del Wizard --- */


.wizard-btn-next:hover {
    border-radius: 8px;
    border: 1px solid #A4343A;
    opacity: 0.5;
    background: #FFF;
    color: #A4343A !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    line-height: 32.36px;
    display: flex;
    height: 46px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: Poppins;
    font-weight: 400;
}

.btn-primary-blue {
    background-color: var(--dark-blue); /* Azul oscuro */
    border-color: var(--dark-blue);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

    .btn-primary-blue:hover {
        border-radius: 8px;
        border: 1px solid #A4343A;
        opacity: 0.5;
        background: #FFF;
        color: #A4343A !important;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        line-height: 32.36px;
        display: flex;
        height: 46px;
        padding: 15px 30px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-family: Poppins;
        font-weight: 400;
    }

.btn-outline-primary-light-blue {
    border: 1px solid var(--dark-blue); /* Borde azul oscuro */
    color: var(--dark-blue); /* Texto azul oscuro */
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: transparent;
}

    .btn-outline-primary-light-blue:hover {
        background-color: var(--dark-blue);
        color: white;
    }

.wizard-btn-prev {
    border-radius: 8px;
    border: 1px solid #A4343A;
    opacity: 0.5;
    background: #FFF;
    color: #A4343A !important;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    line-height: 32.36px; /* 202.251% */
    display: flex;
    height: 46px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: Poppins;
    font-weight: 400;
}


.wizard-btn-next {
    display: flex;
    height: 46px;
    padding: 15px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    background: #A4343A;
    font-family: Poppins;
    font-weight: 400;
    color: white;
}


.form-check-input[type=checkbox] {
    border-radius: 4px !important;
}

.form-check-input:checked {
    background-color: #5A1215;
    border-color: #5A1215;
    border-radius: 4px;
}





/* --- Estilos del Paso 4 (Tabla y Botones) --- */

/*Titulo 2 formulario dependientes*/

.Titulo2Form {
    color: #5A1215;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-28, 28px); /* 155.556% */
}
/* Estilo para el botón de Agregar Medicamento */
.btn-secondary-light-gray {
    border-radius: 8px;
    border: 1.5px solid #0D1E3D;
    background: #FFF;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
    color: #0D1E3D;
    text-align: center;
    font-family: Montserrat;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: var(--line-height-25_6, 25.6px); /* 128% */
}

    .btn-secondary-light-gray:hover {
        border-radius: 8px;
        border: 0.5px solid #A4343A;
        background: #FFF;
        display: inline-flex;
        color: #A4343A;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

/* Estilos de la tabla */
.medicine-list-table thead th {
    background-color: #0d1e3d;
    color: white;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    border: none;
    font-size: 0.9rem;
}

.medicine-list-table tbody td {
    vertical-align: middle;
    font-size: 0.9rem;
    padding: 0.5rem;
}

/* Estilo para el enlace de "Agregar otro medicamento" */
.text-primary-blue-link {
    border-radius: 25px;
    border: 2.4px solid var(--color-grey-35, #565E59);
    background: #FFF;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
}

    .text-primary-blue-link:hover {
        color: var(--primary-red);
    }

/* Estilos  la tabla */

.medicine-list-table tr {
    background: #0155B9;
}

/* --- Estilos del Paso 4 (Tabla y Botones) --- */

/* 1. Encabezado de la Tabla (Table Header) */
.medicine-list-table thead {
    /* Fondo Azul Oscuro como en la imagen */
    background-color: var(--dark-blue, #002855);
}

    .medicine-list-table thead th {
        color: white; /* Texto blanco */
        font-weight: 600; /* Negrita */
        padding: 0.75rem 0.5rem;
        border: none;
        font-size: 0.95rem;
        /* Asegura que el texto esté centrado si es necesario, aunque en la imagen está a la izquierda */
        text-align: left;
        /* Pequeños ajustes para esquinas redondeadas en el encabezado (Opcional) */
        /*
    &:first-child { border-top-left-radius: 8px; }
    &:last-child { border-top-right-radius: 8px; }
    */
    }

/* 2. Cuerpo de la Tabla (Table Body) */
.medicine-list-table {
    border-collapse: separate;
    border-spacing: 0;
    /* Borde ligero en la parte inferior para separar de los controles */
    border-bottom: 1px solid #dee2e6;
}

    .medicine-list-table tbody td {
        vertical-align: middle;
        font-size: 0.9rem;
        padding: 0.8rem 0.5rem;
        color: #495057; /* Color de texto gris oscuro */
        border-top: 1px solid #e9ecef; /* Separador de fila ligero */
    }

    /* Estilo para las filas pares (Striped, opcional) */
    .medicine-list-table tbody tr:nth-child(even) {
        /* background-color: #f8f9fa; */
    }

/* Estilo para el mensaje de tabla vacía */
#emptyRowMessage td {
    font-style: italic;
    color: #6c757d !important;
    text-align: center;
}

/* Estilo del botón de Eliminar (Mantener) */
.btn-outline-danger {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
}







.form-vcs {
    background-color: var(--vcs-white);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 2.5rem;
}

    .form-vcs .form-label {
        font-size: 14px;
        font-weight: 600;
        color: var(--vcs-dark);
        margin-bottom: 0.35rem;
    }

        .form-vcs .form-label .required {
            color: var(--vcs-red);
            margin-left: 2px;
        }

    .form-vcs .form-control,
    .form-vcs .form-select {
        font-family: var(--vcs-font);
        font-size: 14px;
        border: 1px solid #d0d3db;
        border-radius: 8px;
        padding: 0.6rem 0.9rem;
        background-color: var(--vcs-bg-form);
        color: var(--vcs-dark);
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .form-vcs .form-control:focus,
        .form-vcs .form-select:focus {
            border-color: var(--vcs-red);
            box-shadow: 0 0 0 3px rgba(164,52,58,0.12);
            background-color: var(--vcs-white);
            outline: none;
        }

        .form-vcs .form-control::placeholder {
            color: #adb0b8;
            font-size: 13px;
        }

/* --- Step form (progreso) --- */
.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

    .step-item:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 14px;
        left: 50%;
        width: 100%;
        height: 2px;
        background-color: #d0d3db;
        z-index: 0;
    }

    .step-item.completed:not(:last-child)::after,
    .step-item.active:not(:last-child)::after {
        background-color: var(--vcs-red);
    }

.step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #d0d3db;
    color: var(--vcs-white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: background 0.2s;
}

.step-item.active .step-circle {
    background-color: var(--vcs-red);
}

.step-item.completed .step-circle {
    background-color: var(--vcs-red);
}

.step-label {
    font-size: 10px;
    font-family: var(--vcs-font-alt);
    color: var(--vcs-gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-item.active .step-label {
    color: var(--vcs-red);
    font-weight: 600;
}

/* --- DataTables --- */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #d0d3db;
    border-radius: 8px;
    padding: 0.4rem 0.8rem;
    font-family: var(--vcs-font);
    font-size: 13px;
}

table.dataTable thead th {
    background-color: var(--vcs-blue);
    color: var(--vcs-white);
    font-family: var(--vcs-font);
    font-size: 13px;
    font-weight: 600;
    border: none;
}

table.dataTable tbody tr:hover {
    background-color: var(--vcs-bg-form);
}

/* --- Footer --- */
.footer-vcs {
    background: linear-gradient(135deg, #000000 25%, #737373 100%);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-title {
    color: #FFF;
    font-family: Poppins;
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 0.6rem;
    }

    .footer-links a {
        color: #FFF;
        font-family: Poppins;
        font-size: var(--font-size-16, 16px);
        font-style: normal;
        font-weight: var(--font-weight-400, 400);
        line-height: normal;
    }

        .footer-links a:hover {
            color: var(--vcs-white);
        }

.footer-phones li {
    color: #FFF;
    font-family: Poppins;
    font-size: var(--font-size-16, 16px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: normal;
}


.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    /* siegfriedcentroamerica.platinoweb.com/Montserrat/Regular */
    font-family: var(--font-family-Font-1, Montserrat);
    font-size: var(--font-size-13, 13px);
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-20_8, 20.8px); /* 160% */
}

/* --- Hero subtitle secundario --- */
.hero-subtitle-2 {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

/* --- Sección tarjetas portal --- */
.section-cards-vcs {
    background-color: #F4F6FB;
    padding: 3rem 3rem;
}

.container-cards {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cards-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

    .cards-row:last-child {
        margin-bottom: 0;
    }

.cards-row-large .portal-card {
    flex: 1;
}

.cards-row-small .portal-card {
    flex: 1;
}

/* --- Tarjeta portal --- */
.portal-card {
    background: var(--vcs-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
    border-radius: 20.05px;
    border: 1.5px solid var(--Gradiente-2, #0D1E3D);
    background: #FFF;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
}

    .portal-card:hover {
        box-shadow: 0 8px 28px rgba(0,0,0,0.13);
        transform: translateY(-3px);
    }

.portal-card-img {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-color: var(--vcs-bg-light);
}

.portal-card-large .portal-card-img {
    height: 280px;
}

.portal-card-small .portal-card-img {
    height: 200px;
}

.portal-card-header {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--vcs-navy);
    color: var(--vcs-white);
    font-family: var(--vcs-font-alt);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.6rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.portal-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-card-title-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.portal-card-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
    margin-top: 2px;
}

.portal-card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
    color: var(--vcs-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

    .portal-card-title em {
        font-style: normal;
        color: var(--vcs-red);
    }

.portal-card-text {
    font-size: 14px;
    color: var(--vcs-gray);
    line-height: 1.7;
    margin: 0;
}

.portal-card-list {
    font-size: 13px;
    color: var(--vcs-gray);
    line-height: 1.8;
    padding-left: 1.2rem;
    margin: 0.5rem 0 0;
}

.portal-card-link {
    font-family: var(--vcs-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--vcs-red);
    text-decoration: none;
    transition: color 0.2s;
    margin-top: auto !important;
}

    .portal-card-link:hover {
        color: #8c2a2f;
    }


/*Beneficios buscador productos por pais*/


/*Banner*/

.h1-banner {
    color: #FFF;
    font-family: Poppins;
    font-size: 40px;
    font-style: normal;
    font-weight: var(--font-weight-600, 600);
    line-height: normal;
}

.p-banner {
    color: #FFF;
    font-family: Poppins;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
/* =========================
   FILTROS
========================= */
.filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.filter-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
}

select {
    width: 100%;
    height: 56px;
    border-radius: 12px;
    border: 1px solid #cfcfcf;
    padding: 0 16px;
    font-size: 14px;
    background: white;
    outline: none;
}

/* =========================
   TABS
========================= */

.tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.tab-btn {
    border: none;
    background: white;
    border-radius: 12px;
    padding: 12px 20px;
    cursor: pointer;
    color: #4A4A4A;
    text-align: center;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: normal;
    border: 1px solid #ddd;
    transition: .2s;
}


.tab-all {
    border-radius: 12px;
    background: #000;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
    color: white;
}

.product-card.active {
    border-color: var(--active-color);
    box-shadow: 0 0 0 2px var(--active-color), 0 10px 25px rgba(0,0,0,.12);
}

.tab-btn.tab-all.active {
    border-radius: 12px;
    background: #000;
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
    color: white;
    text-align: center;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.tab-btn.active {
    border-radius: 12px;
    background: #000;
    /* M3/Elevation Light/5 */
    box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
    color: white;
    text-align: center;
    font-family: Poppins;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.extra-products {
    display: none;
    margin-top: 30px;
}

    .extra-products.show {
        display: block;
    }

/* =========================
   ACORDEON
========================= */
.category-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .category-arrow svg {
        transition: transform .3s ease;
    }

.category {
    background: white;
    border-radius: 24px;
    border: 1px solid #ddd;
    margin-bottom: 22px;
    overflow: hidden;
}

.category-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #0D1E3D;
    font-family: Poppins;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-36, 36px); /* 138.462% */
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.category-content {
    display: none;
    padding: 0 30px 30px;
}

    .category-content:not(.has-selection) .products-layout {
        display: block;
    }

    .category-content:not(.has-selection) .products-grid {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        gap: 20px;
    }

    /* =============================================
   NUEVO LAYOUT: WRAP DE PRODUCTOS ALREDEDOR DEL FEATURED
   ============================================= */

    /* Resetear divisiones verticales previas para que los contenedores usen el 100% */
    .category-content.has-selection .products-layout,
    .category-content.has-selection .products-wrapper,
    .category-content.has-selection-extra .extra-products.show {
        display: block !important;
        width: 100% !important;
    }

/* Comportamiento del Grid cuando tiene el producto destacado adentro */
.products-grid.grid-with-featured {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important; /* Grid original de 4 columnas */
    gap: 20px;
}

    /* El banner destacado toma el espacio de un bloque de 2x2 tarjetas */
    .products-grid.grid-with-featured .featured-product {
        display: block !important;
        grid-column: span 2; /* Ocupa 2 columnas de ancho */
        grid-row: span 2; /* Ocupa 2 filas de alto */
        width: 100%;
        height: 100%; /* Se estira al alto combinado de las filas */
        margin-bottom: 0;
    }

/* =============================================
   RESPONSIVE DESIGN (ADAPTACIÓN DE FILAS/COLUMNAS)
   ============================================= */

@media (max-width: 1200px) {
    .products-grid.grid-with-featured {
        grid-template-columns: repeat(3, 1fr) !important;
    }

        .products-grid.grid-with-featured .featured-product {
            grid-column: span 2;
            grid-row: span 2;
        }
}

@media (max-width: 991px) {
    .products-grid.grid-with-featured {
        grid-template-columns: repeat(2, 1fr) !important;
    }
        /* En pantallas medianas toma todo el ancho superior y los productos bajan */
        .products-grid.grid-with-featured .featured-product {
            grid-column: span 2;
            grid-row: auto;
        }
}

@media (max-width: 576px) {
    .products-grid.grid-with-featured {
        grid-template-columns: 1fr !important;
    }

        .products-grid.grid-with-featured .featured-product {
            grid-column: span 1;
            grid-row: auto;
        }
}

.category-content.has-selection .products-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 30px;
    align-items: start;
}

.category-content.has-selection .products-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}


/* Contenedor dinámico del producto destacado */
#dynamicFeaturedProduct {
    transition: all 0.3s ease-in-out;
    animation: fadeInRow 0.4s ease-out;
}

/* Efecto de entrada suave */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ajustes de compatibilidad Flexbox para el "Ver más" */
.extra-products.show {
    display: contents; /* Permite que los elementos hijos se integren a la cuadrícula .row principal */
}

/* En resoluciones grandes, el feature product ocupa el espacio izquierdo (2 columnas equivalentes) */
@media (min-width: 768px) {
    #dynamicFeaturedProduct {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 767.98px) {
    #dynamicFeaturedProduct {
        flex: 0 0 100%;
        max-width: 100%;
    }
}


/* Cuando la selección ocurre dentro del bloque Ver Más */
.products-layout.has-selection-extra {
    display: block; /* Rompe el flex superior para que el layout extra tome control */
}

    .products-layout.has-selection-extra .featured-product {
        margin-bottom: 1.5rem;
    }

    /* Forzar a que el bloque extra adopte la misma distribución bi-columna (Featured izquierda / Grid derecha) */
    .products-layout.has-selection-extra .extra-products {
        display: flex;
        gap: 20px;
        align-items: start;
    }

        .products-layout.has-selection-extra .extra-products .featured-product {
            flex: 1;
            min-width: 300px;
            position: sticky;
            top: 20px;
        }

        .products-layout.has-selection-extra .extra-products .products-grid {
            flex: 2;
        }

/* Reset dinámico si se vuelve a tocar un producto de arriba */
.products-layout.has-selection-main {
    display: flex;
}

    .products-layout.has-selection-main .extra-products {
        display: block;
    }

/* =========================
   PRODUCTOS
========================= */
/* ESTADO INICIAL */



.products-layout {
    display: block;
}

.featured-product {
    display: none;
    position: sticky;
}

/* AL SELECCIONAR */
.category-content.has-selection .products-layout {
    display: flex;
    gap: 24px;
    width: 100%;
    align-items: flex-start;
}

.category-content.has-selection .featured-product {
    display: flex;
    flex-direction: column;
}

.category-content:not(.has-selection) .products-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.category-content.has-selection .products-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
}

.category-content.has-selection-extra .extra-products.show {
    display: flex !important;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    margin-top: 1.5rem;
}

    /* El banner destacado toma un ancho fijo al lado izquierdo de la misma fila */
    .category-content.has-selection-extra .extra-products.show .featured-product {
        flex: 0 0 350px;
        max-width: 100%;
        display: block !important;
    }

    .category-content.has-selection-extra .extra-products.show .products-grid {
        flex: 1;
    }

/* Soporte responsivo para móviles en selección inferior */
@media (max-width: 991px) {


    .category-content.has-selection .products-layout {
        display: contents;
    }

    .category-content.has-selection-extra .extra-products.show {
        flex-direction: column;
    }

        .category-content.has-selection-extra .extra-products.show .featured-product {
            flex: 1 1 100%;
            width: 100%;
        }

    .category-content.has-selection .products-grid {
        display: block;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .category-content:not(.has-selection) .products-grid {
        display: block;
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

/* GRID */

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    /* ESTA ES LA CLAVE PARA ELIMINAR LOS HUECOS */
    grid-auto-flow: dense;
}

.product-card {
    background: white;
    border: 1px solid #ccc;
    border-radius: 18px;
    padding: 16px;
    cursor: pointer;
    transition: .2s;
    height: 261px;
    align-self: start;
}

.featured-title-row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
}

.featured-name {
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 24.532px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: normal;
    margin: 0;
}

.featured-desc {
    font-size: 20px;
    color: rgba(255,255,255,.7);
    margin: 0;
}

.featured-rule {
    color: #FFF;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    padding-top: 20px;
    line-height: normal;
}

.featured-max {
    color: #FFF;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    line-height: normal;
}

.featured-name,
.featured-desc,
.featured-rule,
.featured-max {
    transition: opacity .35s ease, transform .35s ease;
}

.featured-product.changing .featured-name,
.featured-product.changing .featured-desc,
.featured-product.changing .featured-rule,
.featured-product.changing .featured-max {
    opacity: 0;
    transform: translateY(10px);
}

.featured-image {
    transition: transform .45s ease, opacity .45s ease;
}

.featured-product.changing .featured-image {
    transform: scale(.9);
    opacity: 0;
}

.featured-product.animating {
    opacity: 0;
    transform: translateX(-15px) scale(.96);
}

.product-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .product-card:hover {
        transform: translateY(-6px);
    }

    .product-card.active {
        transform: translateY(-13px);
        box-shadow: 0 15px 35px rgba(0,0,0,.12);
    }

.featured-product {
    transition: opacity .35s ease, transform .35s ease, box-shadow .35s ease;
}

.product-card:hover {
    transform: translateY(-3px);
}






.product-card img {
    width: 100%;
    border-radius: 12px;
    background: #ececec;
    margin-bottom: 14px;
}

.product-card h4 {
    color: #0D1E3D;
    font-family: Poppins;
    font-size: 13.459px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.product-card span {
    color: rgba(13, 30, 61, 0.50);
    text-align: center;
    font-family: Poppins;
    font-size: 13.459px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: normal;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0;
}

.products-counter {
    color: #0D1E3D;
    font-family: Poppins;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 133.333% */
}

    .products-counter span {
        font-weight: 700;
    }

.toggle-all-btn {
    color: #0D1E3D;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border: none;
    background: none;
    cursor: pointer;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    padding: 6px 14px;
    border-radius: 50px;
    background: #f0f0f0;
    color: white;
    border: 1px solid transparent;
    text-align: center;
    font-family: var(--font-family-Font-1, Montserrat);
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.featured-product {
    color: white;
    border-radius: 24px;
    padding: 28.621px 32.709px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
    height: 538px;
    flex-direction: column;
    grid-column: span 2;
}

    .featured-product img {
        padding-bottom: 28px;
        width: 100%;
    }

.country-selector {
    position: relative;
}


.country-selected {
    border: 1px solid #d7d7d7;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    cursor: pointer;
}

.country-selected1 {
    height: 58px;
    border: 1px solid #d7d7d7;
    border-radius: 14px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    cursor: pointer;
}

.dropdown-toggle::after {
    display: none !important;
}

.country-selected svg {
    width: 16px;
    height: 16px;
    color: #666;
    flex-shrink: 0;
}



.country-info {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: center;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22.998px; /* 164.273% */
}

    .country-info img,
    .country-item img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
    }

.country-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    margin-top: 8px;
    overflow: hidden;
    z-index: 100;
}

    .country-dropdown.show {
        display: block;
    }

.country-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    cursor: pointer;
}

    .country-item:hover {
        background: #f5f6fa;
    }

.hidden-product {
    display: none;
}

.show-more-container {
    margin-top: 25px;
    text-align: center;
}

.show-more-btn {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #12213f;
}

    .show-more-btn:hover {
        opacity: .8;
    }

/*Farmacias participantes*/
.form-select {
}

.table thead th {
    background: #101e3b;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 24px;
    color: var(--color-white-solid, #FFF);
    font-style: normal;
    line-height: 14px; /* 87.5% */
}

.table tbody td {
    padding: 24px;
    vertical-align: middle;
}

.table tbody tr {
    border-bottom: 1px solid #ff8d8d;
}

    .table tbody tr:last-child {
        border-bottom: none;
    }

.table-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 22px;
    padding: 18px 24px;
    border-top: 1px solid #e9e9e9;
    background: #fff;
}

.rows-per-page {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    font-size: 15px;
}

    .rows-per-page .form-select {
        width: 95px;
        height: 48px;
        border-radius: 4px;
    }

.page-info {
    color: #444;
    font-size: 15px;
}

.pagination-arrows {
    display: flex;
    gap: 8px;
}

.btn-arrow {
    border: none;
    background: transparent;
    font-size: 34px;
    color: #444;
    width: 40px;
    height: 40px;
    line-height: 1;
    cursor: pointer;
}

    .btn-arrow:hover {
        opacity: .7;
    }

.table-responsive {
    border-radius: 0 0 20px 20px;
}

.table thead th:first-child {
    border-top-left-radius: 20px;
}

.table thead th:last-child {
    border-top-right-radius: 20px;
}


.dropdown-menu {
    z-index: 1055 !important;
}

/* Evita que el contenedor responsive corte el menú desplegable */
.table-responsive {
    overflow: visible !important;
}

#provincia {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10L12 15L17 10' fill='none' stroke='%23666' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
}


.contact-card {
    background: #fff;
    border: 2px solid #b61e24;
    border-radius: 24px;
    padding: 25px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 8px 8px 12px rgba(0,0,0,.25);
}

.country-flag {
    width: 33px;
    height: 33px;
    object-fit: contain;
    margin: 0 auto 25px;
}

.phone-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #162548;
}

    .phone-info i {
        font-size: 1.6rem;
    }

.schedule-card {
    background: #fff;
    border: 3px solid #162548;
    border-radius: 24px;
    padding: 35px;
}

.schedule-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border: 4px solid #2459c6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
}

    .schedule-icon i {
        font-size: 2rem;
        color: #2459c6;
    }

.schedule-card h4 {
    color: #000;
    font-size: 15px;
    font-weight: bold;
}

.schedule-card p {
    font-size: 15px;
    color: #333;
}

@media (max-width: 768px) {
    .phone-info {
        font-size: 1.1rem;
    }

    .schedule-card {
        padding: 20px;
    }

    .schedule-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        margin-right: 15px;
    }

    .schedule-card h4 {
        font-size: 1.2rem;
    }

    .schedule-card p {
        font-size: 1rem;
    }
}


/*Novedades*/

.card-novedades {
    background: #fff;
    border-radius: 13.459px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(181, 42, 49, .1), 0 10px 18px rgba(0, 0, 0, .18);
    padding: 16px;
    border: 2px solid #b61e24;
}

.banner-farmaco {
    padding: 0;
    color: #fff;
    height: 371px;
    background-image: linear-gradient( 90deg, #5A1215 0%, rgba(0,0,0,0) 4.33%, rgba(0,0,0,0) 22.12%, #5A1215 34.22%, #C0272D 74.52%, #5A1215 100% ), url('/images/novedades.png');
    background-repeat: no-repeat;
    background-size: auto;
}

.img-producto {
    max-height: 280px;
    width: auto;
    object-fit: contain;
}

.product-card {
    background: #fff;
    border-radius: 13.459px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(181,42,49,.1), 0 10px 18px rgba(0,0,0,.18);
    height: 400px;
}

.product-image {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

    .product-image img {
        max-width: 100%;
        max-height: 220px;
        object-fit: contain;
    }



.product-title {
    color: #162548;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.product-description {
    color: #24324B;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 188px;
    height: 62px;
    background: #B23439;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    font-weight: 500;
    transition: .3s ease;
}

    .btn-product:hover {
        background: #98252a;
        color: #fff;
    }


.banner-mobile {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    background: linear-gradient( 180deg, rgba(90,18,21,0) 40%, #8e1018 70%, #c51d27 100% );
    color: #fff;
}

.banner-persona {
    width: 100%;
    display: block;
}

.banner-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.producto-img {
    width: 220px;
    margin: 0 auto;
    display: block;
}

.beneficio-box {
    background: #07245a;
    border-radius: 40px;
    padding: 12px 20px;
    text-align: center;
    margin-top: 15px;
}



.borde-rojo {
    border-left: 4px solid #6b0f1a !important; /* Rojo oscuro/vino */
    padding-left: 1.5rem;
    margin: 2rem 0;
}

.borde-gris {
    border-left: 4px solid #8e8e8e !important; /* Gris */
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: #5c1015; /* Texto rojo oscuro */
}

/*Mi cuenta*/

.auth-section {
    background: #F4F5F8;
}

.auth-left {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.auth-form {
    width: 100%;
    max-width: 700px;
}


.auth-title {
    font-size: 30px;
    font-weight: 700;
    color: #66161A;
    text-align: center;
    margin-bottom: 50px;
}

.auth-right {
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .auth-right img {
        width: 100%;
        max-width: 900px;
    }

.country-selected-login {
    border-radius: 3px;
    background: #FFF;
    display: flex;
    padding: 10px 20px;
    align-items: center;
    gap: 50px;
    flex: 1 0 0;
    border-radius: 3px;
    border: 1px solid rgba(13, 30, 61, 0.50);
    background: #FFF;
    height: 48px;
}


/*Modales*/

.custom-success-modal {
    border: 6px solid #B02D2F;
    border-radius: 35px;
    background: #F4F4F4;
    position: relative;
    overflow: hidden;
    min-height: 700px;
}

.modal-body {
    padding: 80px 60px;
}

.h1-modal {
    color: #0D1E3D;
    text-align: center;
    font-family: Poppins;
    font-size: var(--font-size-32, 32px);
    font-style: normal;
    font-weight: 600;
    line-height: var(--line-height-36, 36px); /* 112.5% */
}

.p-modal {
    color: var(--siegfriedcentroamerica-platinoweb-com-shark, var(--color-azure-13, #1C1F24));
    text-align: center;
    font-family: Poppins;
    font-size: var(--font-size-22, 22px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-30_8, 30.8px); /* 140% */
}

.border-danger {
    --bs-border-opacity: 1;
    border-color: #A4343A !important;
    border-radius: 8px;
}

.btn-close-custom {
    position: absolute;
    top: 30px;
    right: 35px;
    border: none;
    background: transparent;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.modal-logo {
    max-width: 260px;
    margin-bottom: 70px;
}

.modal-title-success {
    color: #0E214E;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 55px;
}

.modal-text {
    max-width: 950px;
    margin: 0 auto 70px;
    color: #1D1D1D;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
}

.btn-login {
    background: #A33B3B;
    color: #fff;
    border-radius: 18px;
    padding: 18px 80px;
    font-size: 2rem;
    font-weight: 500;
    min-width: 410px;
}

    .btn-login:hover {
        background: #922f2f;
        color: #fff;
    }

/* Responsive */
@media (max-width: 991px) {

    .custom-success-modal {
        min-height: auto;
    }

    .modal-body {
        padding: 60px 25px;
    }

    .modal-logo {
        max-width: 180px;
        margin-bottom: 40px;
    }

    .modal-title-success {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }

    .modal-text {
        font-size: 1.2rem;
        margin-bottom: 40px;
    }

    .btn-login {
        min-width: auto;
        width: 100%;
        font-size: 1.3rem;
        padding: 14px 20px;
    }

    .btn-close-custom {
        top: 15px;
        right: 20px;
        font-size: 32px;
    }
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:1100px) {

    .products-layout {
        grid-template-columns: 1fr;
    }
}

@media(max-width:768px) {


    .filters {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .featured-product h2 {
        font-size: 30px;
    }
}

@media(max-width:520px) {

    .section-cards-vcs {
        padding: 3rem 2rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cta-vcs-box {
        padding: 2rem 9px;
        width: auto;
        height: 73px;
        left: auto;
        margin-right: 0px;
    }


    .cta-vcs-box {
        display: flex;
        align-items: center;
        gap: 1.2rem;
        background: var(--vcs-white);
        padding: 1rem 3.5rem;
        border-radius: 10px;
        text-decoration: none;
        flex-shrink: 0;
        border: none;
        transition: opacity 0.2s;
        position: relative;
        z-index: 1;
        width: 41%;
        right: 0%;
    }
}


/* --- CTA inscripción --- */
.cta-vcs-inner-gray {
    border-radius: 20.045px;
    background: var(--Gradiente-3, linear-gradient(109deg, #3F3F3E 25.86%, #AEAEB2 100.03%));
    box-shadow: 6.014px 6.014px 8.018px 0 rgba(0, 0, 0, 0.45);
    max-width: 98%;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}



.cta-vcs {
    background-color: transparent;
    padding: 2.5rem 3rem 3rem;
    border-bottom: 8px solid transparent;
    border-image: linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%);
    border-image-slice: 1;
    background: #F4F6FB;
    border-top: 8px solid var(--Gradiente-1, #5A1215);
}

.cta-vcs-inner {
    max-width: 96%;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #3d0a0e 0%, #7a1a1f 45%, #c0272d 100%);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

    .cta-vcs-inner::after {
        content: '';
        position: absolute;
        right: -60px;
        top: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255,255,255,0.07);
        pointer-events: none;
    }

.cta-vcs-text {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.cta-vcs-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--vcs-white);
    line-height: 1.2;
}

.cta-vcs-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}

.cta-vcs-box {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--vcs-white);
    padding: 17px;
    border-radius: 10px;
    text-decoration: none;
    flex-shrink: 0;
    border: none;
    transition: opacity 0.2s;
    position: relative;
    z-index: 1;
    width: 41%;
    right: 5%;
}

    .cta-vcs-box:hover {
        opacity: 0.92;
    }

.cta-box-text {
    color: #A4343A;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px); /* 128% */
    margin-right: 16%;
}

.cta-lancasco-logo {
    height: 70px;
    width: auto;
}

.btn-cta-inscribir:hover {
    background: transparent;
    color: var(--vcs-white);
}

/* --- Responsivo --- */
@media (max-width: 991.98px) {
    .navbar-vcs .navbar-collapse {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        z-index: 9999;
        background: linear-gradient(90deg, #7b0008 0%, #d61c2d 100%);
        padding: 120px 40px 40px;
        overflow-y: auto;
    }

    .navbar-vcs .navbar-nav {
        width: 100%;
        padding-top: 23%;
        padding-left: 5%;
    }

    .navbar-vcs .nav-item {
        margin-bottom: 38px;
    }

    .navbar-vcs .nav-link {
        color: #FFF;
        font-family: var(--font-family-Font-1, Montserrat);
        font-size: 14.4px;
        font-style: normal;
        font-weight: var(--font-weight-400, 400);
        line-height: 23.04px; /* 160% */
        padding: 0 !important;
    }

    .navbar-vcs .dropdown-menu {
        background: transparent;
        border: 0;
        padding-left: 15px;
        margin-top: 15px;
    }

    .navbar-vcs .dropdown-item {
        color: #fff;
        font-size: 20px;
        padding: 10px 0;
    }

    /* BOTON X */
    .btn-close-menu {
        position: absolute;
        top: 14px;
        right: 13px;
        background: transparent;
        border: 0;
        color: #fff;
        font-size: 20px;
        line-height: 1;
        z-index: 10000;
    }

    /* BOTONES ABAJO */
    .navbar-vcs .ms-auto {
        margin-top: -82px !important;
        width: 100%;
        justify-content: flex-start !important;
    }

    .navbar-vcs .btn-cuenta-farmacia,
    .navbar-vcs .btn-cuenta-paciente {
        transform: scale(.9);
        transform-origin: left center;
    }


    .mobile-menu-logo {
        height: 60px;
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }

    .nav-botones-cuenta {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
        margin-top: 20px;
    }

        .nav-botones-cuenta .btn {
            width: 100%;
            justify-content: center;
            border-radius: 8px;
            border: 0.5px solid #A4343A;
            background: #FFF;
            color: #A4343A;
            text-align: center;
            font-family: Poppins;
            font-size: 18px;
            font-style: normal;
            font-weight: var(--font-weight-400, 400);
            line-height: var(--line-height-25_6, 25.6px); /* 142.222% */
        }

    .navbar-vcs .nav-link:hover, .navbar-vcs .nav-link.active {
        color: darkgray !important;
        font-weight: bold;
    }

    element.style {
    }

    .container-cards {
        max-width: 1320px;
        margin: 0 auto;
        padding: 0px;
    }

    .cta-vcs-inner {
        max-width: 100%;
        margin: 0 auto;
        padding: 2.5rem 1rem;
    }

    .cta-vcs-inner-gray {
        max-width: 100%;
        margin: 0 auto;
        padding: 2.5rem 1rem;
    }

    .cta-box-text {
        font-size: 15px;
        margin-right: -3%;
    }

    .cta-vcs-box {
        width: auto;
        height: 73px;
        left: auto;
    }


    .cta-vcs-box {
        padding: 1rem 0.5rem;
        width: 100%;
        right: 0%;
        gap: 2.2rem;
    }

    .cta-vcs {
        background-color: transparent;
        padding: 2.5rem 1rem 2rem;
        border-bottom: 8px solid transparent;
        border-image: linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%);
        border-image-slice: 1;
        background: #F4F6FB;
        border-top: 8px solid var(--Gradiente-1, #5A1215);
    }

    .cta-vcs-inner-gray::after {
        content: '';
        position: absolute;
        right: -60px;
        top: -60px;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.07);
        pointer-events: none;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: column;
    }

    .navbar-vcs .navbar-collapse {
        background-color: var(--vcs-white);
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .btn-cuenta-farmacia,
    .btn-cuenta-paciente {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }

    /* Cards: apilar en 2 columnas en tablet */
    .cards-row {
        flex-wrap: wrap;
    }

    .cards-row-large .portal-card {
        flex: 0 0 calc(50% - 0.625rem);
    }

    .cards-row-small .portal-card {
        flex: 0 0 calc(50% - 0.625rem);
    }

    /* Carrusel hero en tablet/móvil */

    .spacer-movil {
        height: 188px;
    }

    .h1-banner-movil {
        color: #FFF;
        text-align: center;
        font-family: Poppins;
        font-size: 16px;
        font-style: normal;
        font-weight: var(--font-weight-600, 600);
        line-height: normal;
        display: flex;
        height: 28px;
        flex-direction: column;
        justify-content: center;
    }

    .p-banner-movil {
        color: #FFF;
        text-align: center;
        font-family: Poppins;
        font-size: 13px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .btn-movil-banner {
        display: flex;
        width: 199px;
        height: 44px;
        padding: 15px 15px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
        border-radius: 8px;
        background: #FFF;
        color: #A4343A;
        text-align: center;
        font-family: Poppins;
        font-size: 12px;
        font-style: normal;
        font-weight: 700;
        line-height: var(--line-height-25_6, 25.6px); /* 213.333% */
    }


    .hero-slide-familia {
        flex-direction: column;
    }

    .hero-slide-text {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 2rem 1.5rem;
        text-align: center;
        align-items: center;
    }

    .hero-slide-img {
        display: none;
    }

    .hero-carousel-vcs .carousel,
    .hero-carousel-vcs .carousel-inner,
    .hero-carousel-vcs .carousel-item,
    .hero-slide {
        height: auto;
        min-height: 260px;
    }

    .hero-slide-familia {
        height: auto;
        min-height: 260px;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stepper-label {
        font-size: 15px;
        color: #777;
        font-weight: 500;
    }
}

@media (max-width: 575.98px) {


    .portal-card-link {
        margin-top: 10px !important;
    }

    .table thead th {
        line-height: 20px;
        padding: 18px 13px;
    }

    .product-card {
        height: 352px;
    }

    .footer-vcs {
        background: linear-gradient(135deg, #000000 25%, #737373 100%);
        color: rgba(255, 255, 255, 0.8);
        padding: 3rem 0 1.5rem;
        margin-top: 0;
        text-align: center;
    }


    .category-title {
        font-size: 11px;
    }

    .form-vcs {
        padding: 1.5rem;
    }

    .hero-slide-text {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 22px;
    }

    .section-vcs,
    .section-vcs-alt {
        padding: 2.5rem 0;
    }

    /* Cards: una sola columna en móvil */
    .cards-row {
        flex-direction: column;
    }

    .cards-row-large .portal-card,
    .cards-row-small .portal-card {
        flex: 0 0 100%;
    }

    /* CTA */
    .cta-vcs-inner {
        flex-direction: column;
        text-align: center;
    }


    .cta-vcs-inner-gray {
        flex-direction: column;
        text-align: center;
    }

    .cta-vcs-title {
        font-size: 22px;
    }

    /* Step progress en móvil: etiquetas más pequeñas */
    .step-label {
        font-size: 8px;
    }

    .step-circle {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

/* ============================================================
   Wizard de inscripción de pacientes
   ============================================================ */

/* Loader global (overlay durante llamadas AJAX) */
#wizardLoader {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
}

    #wizardLoader.is-active {
        display: flex;
    }

    #wizardLoader .wizard-loader-spinner {
        width: 3rem;
        height: 3rem;
        border: 0.35rem solid rgba(2, 85, 185, 0.25);
        border-top-color: #0255b9;
        border-radius: 50%;
        animation: wizard-spin 0.8s linear infinite;
    }

@keyframes wizard-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Se oculta el ícono nativo de revelar contraseña (Edge/IE) para usar el toggle propio */
#txtClave::-ms-reveal,
#txtClave::-ms-clear,
#txtClaveConfirmacion::-ms-reveal,
#txtClaveConfirmacion::-ms-clear {
    display: none;
}

/* Selector de país con banderas (country-selector.js).
   El <select> nativo se oculta pero permanece en el layout (1px) para seguir siendo
   validable por validateStep(); el widget de banderas es la UI visible. */
.country-native-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.country-selector-widget .country-selected {
    cursor: pointer;
    text-align: left;
}

.country-selector-widget .cs-menu {
    max-height: 260px;
    overflow-y: auto;
}

.country-selector-widget .cs-flag,
.country-selector-widget .country-item img {
    border-radius: 2px;
    object-fit: cover;
}

/* Autocompletable de producto/médico (inscripción de pacientes): dropdown
   propio en vez de <datalist> nativo, para poder fijar su posición y alto
   máximo (con scroll) de forma consistente entre navegadores. */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-menu {
    max-height: 320px;
    overflow-y: auto;
}
/* estado de cuenta*/

.h1-estado {
    background: linear-gradient(109deg, #5A1215 1.77%, #C0272D 75.93%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Poppins;
    font-size: 32px;
    font-style: normal;
    font-weight: 400;
    line-height: var(--line-height-36, 36px);
}

.backred {
    background: #983c3d !important;
}

.btn-estadocuenta {
    background-color: #8D3232;
    color: white;
    border-radius: 8px;
    font-size: 1.1rem;
    line-height: 1.4;
    /* display: flex; */
    height: 76px;
    padding: 15px 30px;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: #FFF;
    text-align: center;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: var(--font-weight-400, 400);
    line-height: var(--line-height-25_6, 25.6px);
}

    .btn-estadocuenta:hover {
        border-radius: 8px;
        border: 0.5px solid #A4343A !important;
        background: #FFF;
        color: #A4343A;
        text-align: center;
        font-family: Poppins;
        font-size: 20px;
        font-style: normal;
        font-weight: var(--font-weight-400, 400);
        line-height: var(--line-height-25_6, 25.6px); /* 128% */
    }
