@import url('https://fonts.googleapis.com/css2?family=Oi&family=Quicksand:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    visibility: hidden;
}

.body-calculator {
    background-color: rgb(255, 255, 255);
    min-height: 100vh;
}

/* Desktop Navigation (default) */
.collapse {
    display: none;
}

.navbar {
    display: none;
}

.horizontal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0c2aeb;
    width: 100%;
    height: 100px;
}

.logo {
    width: 200px;
    height: 100px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.quicksand-font1 {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    margin: 0px 0px 0px 0px;
}

.quicksand-font2 {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    margin: 0px 0px 0px 0px;
}

.spanBox {
    position: absolute;
    color: rgb(35, 134, 220);
    width: 200px;
    height: 60px;
    text-align: unset;
    font-size: 50px;
    margin-left: 30px;
    top: 0px;
}

.spanCourrier {
    position: absolute;
    color: aliceblue;
    width: 200px;
    font-size: 30px;
    margin-left: 35px;
    top: 50px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-links a {
    list-style: none;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.nav-links li {
    list-style: none;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-weight: bold;
}

.nav-links li {
    padding: 0 25px;
    color: white;
    position: relative;
}

.nav-links li::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links li:hover::after {
    width: 50%;
}

/* Estilos para el submenú en versión escritorio */
.dropdown-parent {
    position: relative;
    cursor: pointer;
    color: white;
    padding: 0 25px;
}

.dropdown-parent::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.dropdown-parent:hover::after {
    width: 50%;
}

.submenu {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0c2aeb;
    border-radius: 5px;
    padding: 10px 0;
    width: 150px;
    display: none;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dropdown-parent:hover .submenu {
    display: block;
}

.submenu-item {
    padding: 10px 20px;
    color: white;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

.submenu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilos para el submenú móvil */
.dropdown-parent-mobile {
    position: relative;
    cursor: pointer;
    padding: 0;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.submenu-mobile {
    margin-top: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dropdown-parent-mobile:hover .submenu-mobile,
.dropdown-parent-mobile:focus .submenu-mobile,
.dropdown-parent-mobile:active .submenu-mobile {
    max-height: 200px;
}

.submenu-item-mobile {
    padding: 8px 15px;
    color: white;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    margin-left: 15px;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
}


/* Calculator Layout */
.general-calculator {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.calculator {
    display: flex;
    flex-direction: column;
    margin-left: 0px;
    z-index: 2;
}

.text-calculator {
    width: 595px; /* 700px * 0.85 */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.calculate-color {
    font-size: 34px; /* 40px * 0.85 */
    color: rgb(149, 149, 149);
    margin-right: 42px; /* 50px * 0.85 */
}

.envios-color {
    font-size: 60px; /* 70px * 0.85, redondeado */
    color: #0c2aeb;
    margin-left: 42px; /* 50px * 0.85 */
}

.table-price {
    width: 765px; /* 900px * 0.85 */
    height: 638px; /* 750px * 0.85 */
    background-color: rgb(225, 225, 225);
    box-shadow: 10px 10px 42px 4px rgb(150, 150, 150); /* 10px, 10px, 50px, 5px * 0.85 */
    margin-top: 17px; /* 20px * 0.85 */
    border-radius: 4px; /* 5px * 0.85 */
    display: flex;
}

.dates {
    display: flex;
    flex-direction: column;
}

.box {
    width: 298px; /* 350px * 0.85 */
    height: 128px; /* 150px * 0.85 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 17px; /* 20px * 0.85 */
    margin-top: 8px; /* 10px * 0.85 */
}

.box p {
    width: 255px; /* 300px * 0.85 */
    height: 26px; /* 30px * 0.85 */
    margin-left: 42px; /* 50px * 0.85 */
    font-size: 17px; /* 20px * 0.85 */
}

#price-input, #weight-input {
    width: 255px; /* 300px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-family: "Quicksand", sans-serif;
    font-size: 17px; /* 20px * 0.85 */
    font-weight: 600;
    margin-left: 42px; /* 50px * 0.85 */
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(135, 135, 135); /* 5px, 5px, 10px, 2px * 0.85 */
    padding-left: 8px; /* 10px * 0.85 */
}

#calculate-button {
    width: 255px; /* 300px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-size: 17px; /* 20px * 0.85 */
    margin-left: 42px; /* 50px * 0.85 */
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(135, 135, 135); /* 5px, 5px, 10px, 2px * 0.85 */
    background-color: #0c2aeb;
    color: white;
    cursor: pointer;
}

.district {
    width: 255px; /* 300px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-family: "Quicksand", sans-serif;
    font-size: 17px; /* 20px * 0.85 */
    font-weight: 600;
    margin-left: 42px; /* 50px * 0.85 */
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(135, 135, 135); /* 5px, 5px, 10px, 2px * 0.85 */
    padding-left: 8px; /* 10px * 0.85 */
}

.results {
    width: 425px; /* 500px * 0.85 */
    height: 595px; /* 700px * 0.85 */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px; /* 10px * 0.85 */
    margin-left: 42px; /* 50px * 0.85 */
}

.results .box {
    width: 298px; /* 350px * 0.85 */
    height: 102px; /* 120px * 0.85 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px; /* 10px * 0.85 */
}

.results .box2 {
    width: 298px; /* 350px * 0.85 */
    height: 102px; /* 120px * 0.85 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 8px; /* 10px * 0.85 */
}

.dolarLabel {
    font-size: 17px; /* 20px * 0.85 */
}

.results input:disabled {
    width: 255px; /* 300px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-family: "Quicksand", sans-serif;
    font-size: 17px; /* 20px * 0.85 */
    font-weight: 600;
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(135, 135, 135); /* 5px, 5px, 10px, 2px * 0.85 */
    padding-left: 8px; /* 10px * 0.85 */
    background-color: #a3a1a1;
    color: #ffffff;
}

.results .dolarValue:disabled {
    width: 150px; /* 150px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-size: 17px; /* 20px * 0.85 */
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 1000;
    font-style: normal;
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(169, 169, 169); /* 5px, 5px, 10px, 2px * 0.85 */
    padding-left: 8px; /* 10px * 0.85 */
    background-color: rgb(35, 134, 220);
    color: #ffffff;
    text-align: center;
}

.dolarValue {
    width: 85px; /* 100px * 0.85 */
    height: 42px; /* 50px * 0.85 */
    font-size: 14px; /* 16px * 0.85 */
    border: 0px;
    border-radius: 8px; /* 10px * 0.85 */
    box-shadow: 4px 4px 8px 2px rgb(135, 135, 135); /* 5px, 5px, 10px, 2px * 0.85 */
    padding-left: 8px; /* 10px * 0.85 */
    background-color: #a3a1a1;
    color: #ffffff;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    color: #666;
}

.tooltip-container .tooltiptext {
    visibility: hidden;
    width: 260px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px;
    border-radius: 6px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip-container .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.tooltip-container:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}
/* Animación de dibujo */
@keyframes draw {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -60; /* Ajusta según el largo del camino */
    }
}

.main-home{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subtitle{
   font-size: 25px;
   font-weight: 600; 
}

.purchase-title-box{
    color: rgb(35, 134, 220);
    text-align: center;
    width: 800px;
    margin-top: 100px;
}

/* Contenedor principal */
.steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
}

/* Contenedor de los pasos */
.steps {
    display: flex;
    gap: 20px; /* Espacio entre los box-steps */
    width: 100%; /* Asegura que ocupe todo el ancho disponible */
}

/* Cada paso individual */
.box-steps {
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Quitamos height fija para que crezca dinámicamente */
}

.box-steps-image {
    width: 80px;
    height: 80px;
}

.box-steps-image img {
    width: 75px;
    height: auto;    
}

.box-steps-text {
    width: 180px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-steps-text h4 {
    text-align: center;
    font-weight: 600;
}

.box-steps-icon-plus {
    width: 180px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-steps-text-plus {
    width: 100%;
    overflow: hidden; /* Oculta el contenido cuando está colapsado */
    max-height: 0; /* Comienza colapsado */
    transition: max-height 0.5s ease; /* Animación suave */
}

/* Estado activo cuando está expandido */
.box-steps-text-plus.expanded {
    max-height: 350px; /* Ajusta según el contenido */
}

/* Estilo del párrafo dentro */
.box-steps-text-plus p {
    margin: 10px 0;
    padding: 0 15px;
    font-family: "Quicksand", sans-serif;
    text-align: center;
}

/* Contenido debajo */

.view_more_steps{
    width: 30px;
    height: auto;
}

.view_more_steps:hover{
    cursor: pointer;
}

.content-categories{
    width: 1500px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
}

.box-categori-text{
    width: 450px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-categori-text a{
    text-decoration: none;
    margin-top: 10px;
    font-size: 20px;
    color: #0c2aeb;

}

.box-categories{
    width: 450px;
    height: 300px;
    border-radius: 20px;
    background-color: rgb(201, 200, 200);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.box-categori-image{
    width: 430px; /* or specific width */
    height: 300px; /* or specific height */
    position: relative; /* For centering */
    overflow: hidden; /* Hide overflow if image exceeds bounds */
}

.box-categori-image img{
    width: 100%;
    height: 90%;
    object-fit: cover; /* Fills the container, cropping as needed */
    object-position: center; /* Centers the image */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

        .merchant-brands {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            border-radius: 5px;
            padding: 5px;
            max-width: 1300px;
            gap: 30px;
            margin: 60px auto 0;
        }

        .home_brands {
            width: 200px;
            height: 200px;
            background-color: rgba(201, 200, 200, 0);
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            transition: transform 0.3s ease;
        }

        .home_brands:hover {
            transform: scale(1.05);
        }

        .home_brands img {
            width: 150px;
            height: 150px;
            object-fit: contain;
        }

        /* Animación de parpadeo */
        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0; }
        }

        /* Diferentes duraciones y delays para cada marca - versión más lenta */
        .home_brands:nth-child(1) img { animation: blink 4.5s infinite; animation-delay: 0s; }
        .home_brands:nth-child(2) img { animation: blink 5.8s infinite; animation-delay: 1s; }
        .home_brands:nth-child(3) img { animation: blink 5.2s infinite; animation-delay: 2s; }
        .home_brands:nth-child(4) img { animation: blink 6.2s infinite; animation-delay: 3s; }
        .home_brands:nth-child(5) img { animation: blink 4.8s infinite; animation-delay: 0.8s; }
        .home_brands:nth-child(6) img { animation: blink 6.5s infinite; animation-delay: 1.5s; }
        .home_brands:nth-child(7) img { animation: blink 5.4s infinite; animation-delay: 2.5s; }
        .home_brands:nth-child(8) img { animation: blink 5.9s infinite; animation-delay: 1.3s; }
        .home_brands:nth-child(9) img { animation: blink 5.6s infinite; animation-delay: 3.2s; }
        .home_brands:nth-child(10) img { animation: blink 6.1s infinite; animation-delay: 0.5s; }
        .home_brands:nth-child(11) img { animation: blink 5.3s infinite; animation-delay: 2.8s; }
        .home_brands:nth-child(12) img { animation: blink 6.4s infinite; animation-delay: 1.8s; }
        .home_brands:nth-child(13) img { animation: blink 4.9s infinite; animation-delay: 3.5s; }
        .home_brands:nth-child(14) img { animation: blink 5.7s infinite; animation-delay: 0.3s; }
        .home_brands:nth-child(15) img { animation: blink 5.1s infinite; animation-delay: 2.2s; }
        .home_brands:nth-child(16) img { animation: blink 6.3s infinite; animation-delay: 1.2s; }
        .home_brands:nth-child(17) img { animation: blink 4.7s infinite; animation-delay: 2.9s; }
        .home_brands:nth-child(18) img { animation: blink 6.6s infinite; animation-delay: 0.2s; }
        .home_brands:nth-child(19) img { animation: blink 5.5s infinite; animation-delay: 3.8s; }
        .home_brands:nth-child(20) img { animation: blink 5.8s infinite; animation-delay: 0.7s; }
        .home_brands:nth-child(21) img { animation: blink 4.6s infinite; animation-delay: 2.1s; }
        .home_brands:nth-child(22) img { animation: blink 6.0s infinite; animation-delay: 1.6s; }
        .home_brands:nth-child(23) img { animation: blink 5.4s infinite; animation-delay: 3.3s; }
        .home_brands:nth-child(24) img { animation: blink 5.9s infinite; animation-delay: 0.9s; }
        .home_brands:nth-child(25) img { animation: blink 6.2s infinite; animation-delay: 2.7s; }
        .home_brands:nth-child(26) img { animation: blink 4.8s infinite; animation-delay: 1.4s; }
        .home_brands:nth-child(27) img { animation: blink 5.7s infinite; animation-delay: 3.6s; }
        .home_brands:nth-child(28) img { animation: blink 5.3s infinite; animation-delay: 0.4s; }
        .home_brands:nth-child(29) img { animation: blink 6.1s infinite; animation-delay: 2.4s; }
        .home_brands:nth-child(30) img { animation: blink 5.5s infinite; animation-delay: 1.9s; }

/*CONTACTO STYLE*/

.main-contact{
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

.container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
}
input, textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #45a049;
}


.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366; /* Color verde de WhatsApp */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #25D366; /* Mantiene el mismo verde al pasar el mouse */
    color: #ffffff; /* Mantiene el ícono blanco */
}

.whatsapp-icon {
    margin-top: 15px;
}

.auth-buttons-desktop {
    display: flex;
    gap: 15px;
    margin-right: 20px;
}

.auth-btn {
    padding: 8px 16px;
    border-radius: 5px;
    font-family: "Quicksand", sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.login-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.register-btn {
    background-color: rgb(35, 134, 220);
    color: white;
    border: 1px solid rgb(35, 134, 220);
}

.register-btn:hover {
    background-color: rgb(30, 115, 190);
    border-color: rgb(30, 115, 190);
    color: white;
}

/* Estilos para el perfil de usuario en escritorio */
.user-profile-desktop {
    margin-right: 20px;
}

.profile-icon {
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgb(35, 134, 220);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}

.profile-submenu {
    top: 40px;
    width: 180px;
}

.submenu-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}

/* Estilos para las opciones de autenticación en móvil */
.auth-buttons-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 15px;
}

.auth-buttons-mobile a li {
    margin-bottom: 10px;
    padding: 8px 0;
}

.user-profile-mobile {
    width: 100%;
    margin-top: 15px;
}

.register-container {
    max-width: 650px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.register-title {
    text-align: center;
    margin-bottom: 30px;
    color: #0d6efd;
}
.form-group {
    margin-bottom: 20px;
}
.btn-register {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
    background-color: #0d6efd;
    border: none;
}
.login-link {
    text-align: center;
    margin-top: 20px;
}
.alert {
    display: none;
    margin-top: 20px;
}

.login-container {
    max-width: 450px;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    background-color: white;
}
.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #0d6efd;
}
.form-group {
    margin-bottom: 20px;
}
.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    margin-top: 10px;
    background-color: #0d6efd;
    border: none;
}
.register-link {
    text-align: center;
    margin-top: 20px;
}
.alert {
    display: none;
    margin-top: 20px;
}

.services-main {
    padding-bottom: 50px;
}

.services-hero {
    background-color: #0c2aeb;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 50px;
}

.services-title {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 40px;
    margin-bottom: 20px;
}

.services-subtitle {
    font-family: "Quicksand", sans-serif;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.services-faq {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-service{
    width: 100%;
    max-width: 1400px; /* Limitar el ancho máximo */
    margin: 0 auto; /* Centrar en la pantalla */
    padding: 0 30px;
} 

.faq-item {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 0;
}

.faq-card {
    max-width: 1200px;
    margin: 0 auto 30px;
}

.faq-question {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #0c2aeb;
    padding: 20px 30px;
    background-color: #f8f9fa;
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.faq-answer {
    padding: 30px;
}

.faq-answer p, .faq-answer li {
    font-family: "Quicksand", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.faq-answer ol, .faq-answer ul {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq-answer li {
    margin-bottom: 10px;
}

.services-cards {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.service-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #0c2aeb;
}

.service-card h3 {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    color: #0c2aeb;
    margin-bottom: 15px;
}

.service-link {
    display: inline-block;
    margin-top: 15px;
    color: #0c2aeb;
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

.products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    list-style-type: none;
    padding: 0;
    margin: 20px 0;
}

.products-list li {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.products-list li i {
    margin-right: 10px;
    color: #0c2aeb;
    font-size: 18px;
}

.note {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #ffc107;
    margin-top: 20px;
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.benefit {
    text-align: center;
    padding: 20px;
}

.benefit-icon {
    font-size: 40px;
    color: #0c2aeb;
    margin-bottom: 15px;
}

.tracking-cta, .calculator-options {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.btn-tracking {
    background-color: #0c2aeb;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.calc-option {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    flex: 1;
    max-width: 250px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.calc-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #0c2aeb;
    color: #0c2aeb;
}

.calc-option i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #0c2aeb;
}

.calc-option span {
    font-weight: 600;
    margin-bottom: 5px;
}

.calc-option small {
    color: #6c757d;
}

.contact-cta {
    background-color: #0c2aeb;
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-top: 50px;
}

.contact-cta h2 {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 15px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-contact {
    background-color: white;
    color: #0c2aeb;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-parent-mobile {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 8px 0;
}

/* Añadir icono para indicar que hay un menú desplegable */
.dropdown-parent-mobile::after {
    content: '▼';
    font-size: 12px;
    margin-left: 8px;
    display: inline-block;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.7);
}

/* Hacer el submenú visible siempre en móvil */
.submenu-mobile {
    display: block !important; /* Hacer visible siempre */
    max-height: none !important; /* Eliminar restricción de altura */
    overflow: visible !important;
    margin-top: 10px;
    margin-left: 15px;
    width: 100%;
    background-color: rgba(12, 42, 235, 0.8); /* Fondo ligeramente transparente */
    border-radius: 5px;
    padding: 5px 0;
}

/* Mejorar el aspecto de los ítems del submenú */
.submenu-item-mobile {
    padding: 12px 15px !important; /* Más padding para facilitar el toque */
    display: block;
    color: white;
    margin: 5px 0;
    border-left: 2px solid rgba(255, 255, 255, 0.5);
    font-weight: 500 !important;
    transition: background-color 0.2s ease;
}

.submenu-item-mobile:hover,
.submenu-item-mobile:active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Asegurar que los enlaces dentro del dropdown ocupen todo el espacio para facilitar el toque */
.submenu-mobile a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: white;
}

footer {
    background-color: #0c2aeb;
    color: white;
    width: 100%;
    padding: 40px 0 20px;
    margin-top: 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-contact {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.footer-column h3 {
    font-family: "Quicksand", sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: rgb(35, 134, 220);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-family: "Quicksand", sans-serif;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-left: 15px;
    display: block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.footer-links a:hover {
    color: rgb(35, 134, 220);
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: rgb(35, 134, 220);
    font-size: 18px;
    width: 20px;
    text-align: center;
    margin-top: 3px;
}

.contact-info span {
    flex: 1;
    font-family: "Quicksand", sans-serif;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: rgb(35, 134, 220);
    transform: translateY(-3px);
}

.content_register_plus p{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.register_content_plus{
    width: 100px;
    height: 40px;
    color: aliceblue;
    background-color: #0c2aeb;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.footer-bottom-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: rgb(35, 134, 220);
}

.payment-methods {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.payment-icon {
    width: 45px;
    height: 30px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-icon i {
    font-size: 20px;
    color: #0c2aeb;
}

.logo img{
    width: 120px;
}

.admin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #dc3545; /* Color rojo para distinguir al admin */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}

.admin-profile-mobile {
    width: 100%;
    margin-top: 15px;
}

#admin-profile-desktop .submenu-item,
#admin-profile-mobile .submenu-item-mobile {
    color: white;
}

#admin-logout-desktop,
#admin-logout-mobile {
    color: #dc3545; /* Color rojo para el botón de cerrar sesión */
}

/* Estilo especial para los elementos de admin en el submenú */
#admin-profile-desktop .submenu-item:hover,
#admin-profile-mobile .submenu-item-mobile:hover {
    background-color: rgba(220, 53, 69, 0.1); /* Fondo rojo tenue al hover */
}

#bannerCarousel {
    background-color: #0c2aeb; /* o el fondo dominante de tu roadmap */
}

.carousel-control-prev,
.carousel-control-next {
  background-color: transparent !important;
  border: none;
  width: 5%; /* reducir ancho del área de clic */
  top: 50%;
  transform: translateY(-50%);
}

/* Asegura que el hover no agregue color de fondo */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: transparent !important;
}

.carousel-control-prev {
  left: 0.5rem; /* o 0 si querés al ras */
}

.carousel-control-next {
  right: 0.5rem;
}

/* Timeline Scroll Styles */

    @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

    body {
            font-family: 'Quicksand', sans-serif;
            background-color: white;
            min-height: 100vh;
            margin: 0;
            padding: 0;
        }
        
        .roadmap-section {
            background: linear-gradient(180deg, #0c2aeb 0%, rgb(35, 134, 220) 40%, white 100%);
            padding: 60px 0;
            width: 100%;
        }
        
        .container-roadmap{
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .main-title {
            text-align: center;
            color: white;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }
        
        .subtitle {
            text-align: center;
            color: rgba(255, 255, 255, 0.9);
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 60px;
        }
        
        /* Timeline Styles */
        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 40px 0;
        }
        
        /* Línea central vertical */
        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background: linear-gradient(180deg, #0c2aeb, rgb(35, 134, 220), white, rgb(35, 134, 220));
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(12, 42, 235, 0.4);
        }
        
        /* Cada paso del timeline */
        .timeline-item {
            position: relative;
            width: 50%;
            padding: 20px 40px;
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        }
        
        .timeline-item.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Items de la izquierda */
        .timeline-item.left {
            left: 0;
            text-align: right;
        }
        
        .timeline-item.left::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: white;
            border: 4px solid #0c2aeb;
            top: 30px;
            right: -10px;
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 15px rgba(12, 42, 235, 0.5);
        }
        
        /* Items de la derecha */
        .timeline-item.right {
            left: 50%;
            text-align: left;
        }
        
        .timeline-item.right::after {
            content: '';
            position: absolute;
            width: 20px;
            height: 20px;
            background: white;
            border: 4px solid rgb(35, 134, 220);
            top: 30px;
            left: -10px;
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 15px rgba(35, 134, 220, 0.5);
        }
        
        /* Contenido de cada paso */
        .timeline-content {
            background: rgba(255, 255, 255, 0.95);
            padding: 10px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            position: relative;
            overflow: hidden;
        }
        
        .timeline-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #0c2aeb, rgb(35, 134, 220), white);
        }
        
        .step-number {
            display: inline-block;
            background: linear-gradient(45deg, #0c2aeb, rgb(35, 134, 220));
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 15px;
            box-shadow: 0 4px 15px rgba(12, 42, 235, 0.3);
        }
        
        .timeline-content h3 {
            color: #0c2aeb;
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .reverse {
            flex-direction: row-reverse;
        }
        
        .timeline-content p {
            color: #0c2aeb;
            font-size: 1rem;
            line-height: 1.6;
            font-weight: 500;
        }
        
        .step-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, #0c2aeb, rgb(35, 134, 220));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(12, 42, 235, 0.3);
        }
        
        /* Animaciones de entrada específicas para cada paso */
        .timeline-item:nth-child(1) {
            transition-delay: 0.1s;
        }
        
        .timeline-item:nth-child(2) {
            transition-delay: 0.3s;
        }
        
        .timeline-item:nth-child(3) {
            transition-delay: 0.5s;
        }
        
        .timeline-item:nth-child(4) {
            transition-delay: 0.7s;
        }
/* Media Queries for Responsive Design */

/* Hover effects */
        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
            transition: all 0.3s ease;
        }
        
        /* Pulse animation for icons */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(12, 42, 235, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(12, 42, 235, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(12, 42, 235, 0);
            }
        }
        
        .timeline-item.show .step-icon {
            animation: pulse 2s infinite;
        }


        /* ===== Selector Particular / Comercial ===== */
        .mode-toggle{
            width:320px;          /* ↑ puedes subir/bajar este valor */
            max-width:100%;
            position:relative;
            display:inline-flex;          /* los dos botones ocupan 50 % cada uno */
            border-radius:30px;
            padding:4px;                  /* margen interior gris */
            background:#e0e0e0;
            overflow:hidden;              /* recorta cualquier desborde del slider */
        }

        .mode-toggle .toggle-btn{
            flex:1 1 0;                   /* mismo ancho para ambos botones */
            border:0;
            background:transparent;
            padding:8px 24px;              /* centrado vertical */
            font-weight:600;
            cursor:pointer;
            color:#333;
            position:relative;
            z-index:2;                    /* SIEMPRE por encima del slider */
        }

        .mode-toggle .toggle-btn.active{
            color:#fff;                   /* texto blanco cuando está “tapado” por el slider */
        }

        .mode-toggle .toggle-slider{
            position:absolute;
            top:0;
            left:0;
            width:50%;                    /* exactamente la mitad de la cápsula */
            height:100%;
            background:#0d6efd;           /* azul */
            border-radius:30px;
            transition:transform .3s ease;
            z-index:1;                    /* por debajo de los botones */
        }


/* main ocupa todo y centra el wrapper */
.auth-viewport { flex: 1; display: grid; place-items: center; }

/* tu shell: ahora no depende del alto, se centra por el main */
.auth-shell { width: 100%; }

/* la única card */
.auth-card{
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
}

/* cada “stage” */
.auth-stage{ display: none; }
.auth-stage.active{ display: block; }

/* ====== OTP (tus tamaños y estilo, pero con clase .otp-inputs) ====== */

/* Contenedor más alargado, centrado y con mejor respiración */
#otp-step.otp-step {             /* si querés, podés dejarlo así o cambiar a .otp-step */
  max-width: 760px;
  margin: 24px auto;
  border-radius: 14px;
}

/* Espaciado entre inputs y centro */
.otp-inputs {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* Inputs más largos (anchos) y menos altos */
.otp-inputs .otp-digit {
  width: 40px;     /* más largo horizontal */
  height: 60px;    /* más bajo */
  padding: 6px 10px;
  text-align: center;
  font-size: 22px;
  line-height: 1;
  border-radius: 10px;
  letter-spacing: 2px;
}

/* Estética al foco */
.otp-inputs .otp-digit:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 74, 173, 0.15);
  border-color: #004aad;
}

/* Responsive: en pantallas chicas, achicamos un poco */
@media (max-width: 576px) {
  #otp-step.otp-step { max-width: 100%; margin: 16px auto; }
  .otp-inputs .otp-digit {
    width: 30px;
    height: 45px;
    font-size: 20px;
  }
}

/* Botones azules coherentes con el sitio */
#btn-verify-otp, #btn-fp-verify {
  background-color: #0d6efd;  /* azul bootstrap */
  border-color: #0d6efd;
}
#btn-verify-otp:hover, #btn-fp-verify:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

@keyframes x-shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-6px); }
  40%, 60% { transform: translateX(6px); }
}
.shake { animation: x-shake 0.35s ease; }



/* Small Mobile Devices: 360px to 480px */
@media screen and (max-width: 480px) {
    
    .horizontal-nav {
        display: none;
    }
    
    .navbar {
        display:flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .container-fluid{
        width: 80px;
        height: 40px;
        margin: 0px;
    }
    
    .collapse.show {
        display: flex;
    }

    .nav-links{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .links{
        width: 100%;
        display: flex;
        background-color: #0c2aeb;
    }

    .nav-links li{
        width: 100px;
        padding: 0px 0px;
        text-align: start;
        list-style:outside
    }
    
    .bg-blue {
        background-color: #0c2aeb !important;
    }
    
    
    .general-calculator {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator {
        margin-left: 0;
        width: 100%;
    }
    
    .text-calculator {
        width: 100%;
        height: 200px;
        padding: 0 15px;
    }
    
    .calculate-color {
        font-size: 30px;
        margin-right: 20px;
    }
    
    .envios-color {
        font-size: 40px;
        margin-left: 20px;
    }
    
    .table-price {
        width: 95%;
        height: 1400px;
        margin: 20px auto;
        flex-direction: column;
        padding: 15px 0;
    }
    
    .dates, .results {
        width: 100%;
        margin-left: 0;
    }
    
    .box, .results .box, .results .box2 {
        width: 100%;
        height: auto;
        padding: 10px 0;
    }
    
    .box p {
        width: 90%;
        margin-left: 0;
        font-size: 16px;
        text-align: center;
    }
    
    #price-input, #weight-input, .district, #calculate-button, .results input:disabled {
        width: 90%;
        margin-left: 0;
        font-size: 16px;
    }
    
    .results .dolarValue:disabled {
        width: 150px;
    }

    .dotted-path{
        display: none;
    }

    .purchase-title-box {
        width: 90%;
        margin-top: 50px;
        font-size: 20px;
    }

    .steps-container {
        margin-top: 30px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .box-steps {
        width: 90%;
        max-width: 300px;
    }

    .box-steps-text {
        width: 100%;
        height: 80px;
    }

    .box-steps-icon-plus {
        width: 100%;
        height: 60px;
    }

    .content-categories {
        width: 90%;
        gap: 20px;
    }

    .box-categories {
        width: 100%;
        max-width: 300px;
        height: 200px;
    }

    .box-categori-image {
        width: 100%;
        height: 200px;
    }

    .box-categori-text {
        width: 100%;
    }

    .box-categori-text a {
        font-size: 16px;
    }

    .merchant-brands {
        width: 90%;
        gap: 20px;
    }

    .home_brands {
        width: 150px;
        height: 150px;
    }

    .home_brands img {
        width: 100px;
        height: 100px;
    }

    footer {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    .products-list {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 28px;
    }
    
    .services-subtitle {
        font-size: 16px;
    }

    .main-title {
                font-size: 1.8rem;
            }
            
            .timeline-content {
                padding: 15px;
            }
            
            .timeline-content h3 {
                font-size: 1.2rem;
            }
            
            .timeline-content p {
                font-size: 0.9rem;
            }

}

/* Medium Devices: 481px to 700px */
@media screen and (min-width: 481px) and (max-width: 700px) {

    /* --- NAV / HEADER igual que tenías --- */
    .horizontal-nav { display: none; }
    .navbar { display:flex; flex-direction: row-reverse; justify-content: space-between; }
    .container-fluid{ width: 80px; height: 40px; margin: 0; }
    .collapse.show { display: flex; }
    .links{ width: 100%; display: flex; background-color: #0c2aeb; }
    .nav-links{ display: flex; flex-direction: column; gap: 10px; }
    .nav-links li{ width: 100px; padding: 0; text-align: start; list-style: outside; }
    .bg-blue { background-color: #0c2aeb !important; }
    .submenu-mobile { width: 80%; }

    /* --- TÍTULOS --- */
    .general-calculator { flex-direction: column; align-items: center; }
    .calculator { margin-left: 0; width: 100%; }
    .text-calculator { width: 100%; height: 250px; }

    .calculate-color { font-size: 35px; margin-right: 30px; }
    .envios-color { font-size: 50px; margin-left: 30px; }

    /* === CONTENEDOR PRINCIPAL DE LA CALCULADORA === */
    .table-price{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;

        /* NO ocupa toda la pantalla y suma padding simétrico */
        width: min(92vw, 760px) !important;
        margin: 40px auto !important;
        padding: 20px !important;

        /* Anti-bugs de desborde */
        height: auto !important;
        box-sizing: border-box;
        overflow: hidden;                    /* si algo se pasa, lo recorta */
    }

    /* Garantizar box-sizing dentro del contenedor */
    .table-price * {
        box-sizing: border-box;
        max-width: 100%;                     /* ningún hijo supera el ancho del padre */
    }

    /* COLUMNAS INTERNAS */
    .dates, .results{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 560px;                    /* tope cómodo */
        margin: 0 auto !important;
        min-width: 0;                        /* evita overflow en flex items */
    }

    /* CAJAS */
    .box, .results .box, .results .box2{
        width: 100% !important;              /* pise el 90% anterior */
        max-width: 560px;
        height: auto !important;
        padding: 12px 0;
        align-items: center;
    }

    /* LABELS */
    .box p{
        width: 100% !important;
        max-width: 560px;
        margin: 0 0 6px !important;
        text-align: center;
    }

    /* CONTROLES: inputs / selects / botón */
    #price-input,
    #weight-input,
    .district,
    #calculate-button,
    .results input:disabled{
        display: block;
        width: 100% !important;              /* ocupa el ancho disponible de la caja */
        max-width: 480px;                    /* tope visual */
        margin: 0 auto !important;           /* centrado */
        font-size: 16px;
        box-sizing: border-box;              /* incluye padding/border en el ancho */
    }

    /* EVITAR empujes laterales heredados */
    #price-input, #weight-input, .district, #calculate-button {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* DÓLAR */
    .results .dolarValue:disabled{
        width: 180px !important;
        margin: 0 auto !important;
    }

    /* “Respiro” abajo para que se vea borde inferior del panel */
    .results .box:last-child { margin-bottom: 6px; }

    /* RESTO DE SECCIONES (como tenías) */
    .dotted-path{ display: none; }
    .purchase-title-box { width: 90%; margin-top: 60px; font-size: 22px; }
    .steps-container { margin-top: 40px; }
    .steps { flex-direction: column; align-items: center; gap: 15px; }
    .box-steps { width: 90%; max-width: 400px; }
    .box-steps-text { width: 100%; height: 90px; }
    .box-steps-icon-plus { width: 100%; height: 70px; }
    .content-categories { width: 90%; gap: 25px; }
    .box-categories { width: 100%; max-width: 350px; height: 250px; }
    .box-categori-image { width: 100%; height: 250px; }
    .box-categori-text { width: 100%; }
    .box-categori-text a { font-size: 18px; }
    .merchant-brands { width: 90%; gap: 25px; }
    .home_brands { width: 180px; height: 180px; }
    .home_brands img { width: 130px; height: 130px; }

    .table-price {
    height: auto !important;    /* deja que crezca */
    overflow: visible !important; /* no recorta contenido */
  }

  .results {
    height: auto !important;    /* deja que crezca */
    overflow: visible !important;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    
    .horizontal-nav{
        display: none;
    }

    .navbar {
        display:flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }
    
    .auth-buttons-mobile a li,
    .user-profile-mobile li {
        padding: 10px 0;
    }
}

@media screen and (min-width: 1001px) {
    .auth-buttons-mobile,
    .user-profile-mobile {
        display: none !important;
    }
}

@media screen and (max-width: 1000px) {
    .nav-links li::after {
        display: none; /* Oculta la línea en resoluciones para móviles */
    }
    
    .dropdown-parent::after {
        display: none; /* Oculta la línea del dropdown en móviles */
    }
    
    .nav-links li:hover::after {
        width: 0; /* Asegura que no se muestre al hacer hover */
    }
    
    .dropdown-parent:hover::after {
        width: 0; /* Asegura que no se muestre al hacer hover */
    }
}

@media screen and (max-width: 767px) { 
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    .whatsapp-float:hover{
        color: #fff;
    }

    .whatsapp-icon {
        margin-top: 12px;
    }

    .dropdown-parent-mobile {
        width: 100%;
        padding: 0;
    }
    
    .submenu-mobile {
        width: 90%;
    }

    .services-cards {
        flex-direction: column;
    }
    
    .benefits-container {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .tracking-cta, .calculator-options {
        flex-direction: column;
        align-items: center;
    }
    
    .calc-option {
        max-width: 100%;
    }
    
    .services-title {
        font-size: 32px;
    }
    
    .services-subtitle {
        font-size: 18px;
    }
    
    .faq-question {
        font-size: 20px;
        padding: 15px 20px;
    }
    
    .faq-answer {
        padding: 20px;
    }

    .footer-column {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    .main-title {
                font-size: 2rem;
            }
            
            .subtitle {
                font-size: 1rem;
                margin-bottom: 40px;
            }
            
            .timeline::after {
                left: 30px;
                transform: none;
            }
            
            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 20px;
                text-align: left !important;
            }
            
            .timeline-item.left,
            .timeline-item.right {
                left: 0;
            }
            
            .timeline-item::after {
                left: 22px !important;
                right: auto !important;
            }
            
            .timeline-item.left::after {
                border-color: #0c2aeb !important;
            }
            
            .timeline-item.right::after {
                border-color: rgb(35, 134, 220) !important;
            }
            
            .timeline-content {
                padding: 20px;
            }
            
            .timeline-content h3 {
                font-size: 1.3rem;
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .step-icon {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .footer-column {
        flex: 0 0 50%;
    }
}

/* Large Tablets: 701px to 1000px */
@media screen and (min-width: 701px) and (max-width: 1000px) {

    .horizontal-nav {
        display: none;
    }
    
    .navbar {
        display:flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    .container-fluid{
        width: 80px;
        height: 40px;
        margin: 0px;
    }
    
    .collapse.show {
        display: flex;
    }

    .links{
        width: 100%;
        display: flex;
        background-color: #0c2aeb;
    }

    .nav-links{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-links li{
        width: 100px;
        padding: 0px 0px;
        text-align: start;
        list-style:outside
    }
    
    .bg-blue {
        background-color: #0c2aeb !important;
    }
    

    .general-calculator {
        flex-direction: column;
        align-items: center;
    }

    /* Títulos: centrados y con tope de ancho */
    .text-calculator{
        width: auto !important;
        max-width: 700px;
        margin: 0 auto !important;
        height: auto;
        padding: 0 10px;
    }

    /* Selector Particular/Comercial: ancho razonable */
    .mode-toggle{
        width: 360px;
        max-width: 92vw;
        margin: 0 auto 10px;
    }

    /* Contenedor de inputs/resultados en una columna, centrado y sin altura fija */
    .table-price{
        display: flex;
        flex-direction: column;
        align-items: center;             /* centra a los hijos */
        gap: 16px;
        width: min(92vw, 820px);         /* NO ocupa todo el ancho de la página */
        margin: 20px auto !important;
        padding: 20px;
        height: auto !important;
    }

    /* Bloques de inputs y resultados centrados con tope */
    .dates,
    .results{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100% !important;
        max-width: 720px;
        margin: 0 auto !important;
        min-width: 0;                     /* evita overflow en flex */
    }

    /* Eliminar alturas rígidas que provocaban solapamiento */
    .dates { height: auto !important; }
    .results{
        height: auto !important;
        margin-top: 0 !important;
    }

    /* Cajas internas fluidas y centradas */
    .box,
    .results .box,
    .results .box2{
        width: 100% !important;
        height: auto !important;
        padding: 12px 0;
        align-items: center;
    }

    /* Labels centrados y sin empuje lateral */
    .box p{
        width: 100%;
        max-width: 720px;
        margin-left: 0 !important;
        text-align: center;
    }

    /* Inputs/selects/botón centrados con límite cómodo de ancho */
    #price-input,
    #weight-input,
    .district,
    #calculate-button,
    .results input:disabled{
        width: min(100%, 480px) !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: auto !important;   /* centra horizontal */
        font-size: 16px;                  /* tamaño cómodo en tablet */
    }

    /* Caja de cotización (USD) centrada */
    .results .dolarValue:disabled{
        width: 180px !important;
        margin-inline: auto !important;
    }
    
    .horizontal-nav .logo {
        margin-left: 20px;
    }
    
    .horizontal-nav .nav-links {
        margin-right: 20px;
    }
    
    .nav-links li {
        padding: 0 15px;
    }

    .dotted-path{
        display: none;
    }

    .purchase-title-box {
        width: 90%;
        margin-top: 80px;
        font-size: 24px;
    }

    .steps-container {
        margin-top: 50px;
    }

    .steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .box-steps {
        width: 45%;
        max-width: 250px;
    }

    .box-steps-text {
        width: 100%;
    }

    .box-steps-icon-plus {
        width: 100%;
    }

    .content-categories {
        width: 90%;
        gap: 20px;
    }

    .box-categories {
        width: 45%;
        max-width: 400px;
        height: 250px;
    }

    .box-categori-image {
        width: 100%;
        height: 250px;
    }

    .box-categori-text {
        width: 100%;
    }

    .merchant-brands {
        width: 90%;
        gap: 20px;
    }

    .home_brands {
        width: 180px;
        height: 180px;
    }

    .home_brands img {
        width: 130px;
        height: 130px;
    }
}

@media screen and (min-width: 1001px) and (max-width: 1800px) {

    .general-calculator {
        flex-direction: column;
        align-items: center;
    }

    .text-calculator {
        width: 100%;
        height: 250px;
        margin-right: 0px;
    }

    .table-price {
        margin-bottom: 50px;
    }

    .dotted-path{
        display: none;
    }

    .purchase-title-box {
        width: 90%;
        max-width: 800px;
    }

    .steps {
        gap: 30px;
    }

    .box-steps {
        width: 200px;
    }

    .content-categories {
        width: 90%;
        max-width: 1200px;
    }

    .box-categories {
        width: 350px;
        height: 250px;
    }

    .box-categori-image {
        width: 330px;
        height: 250px;
    }

    .box-categori-text {
        width: 350px;
    }

    .merchant-brands {
        width: 90%;
        max-width: 1100px;
    }

    .home_brands {
        width: 180px;
        height: 180px;
    }

    .home_brands img {
        width: 130px;
        height: 130px;
    }


}

@media (min-width: 1600px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .services-grid {
        display: flex;
        justify-content: center;
        gap: 40px;
    }
    
    .service-box {
        flex: 0 1 calc(50% - 20px);
        max-width: 500px;
    }
    
    /* Aumentar tamaños de fuente proporcionalmente */
    .main-title {
        font-size: 3rem;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .faq-title {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .cta-section {
        padding: 80px 0;
    }
}

/* Ajustes adicionales para pantallas muy grandes */
@media (min-width: 2000px) {
    .container {
        max-width: 1800px;
    }
    
    .faq-section {
        max-width: 1600px;
    }
}