:root {
    --primary-color: #3a60a9;     /* Azul medio vibrante (base) */
    --secondary-color: #81C784;   /* Verde pastel suave */
    --third-color: #3a60a9;       /* Azul medio-oscuro pastel */
    --accent-color: #FFB74D;      /* Naranja pastel suave */
    --success-color: #A5D6A7;     /* Verde pastel para éxito */
    --warning-color: #FFF3B3;     /* Amarillo pastel para alertas */
    --error-color: #FFCDD2;       /* Rojo pastel para errores */
    --neutral-light: #F8FAFC;     /* Blanco azulado muy claro */
    --neutral-medium: #B0BEC5;    /* Gris azulado pastel */
    --neutral-dark: #455A64;      /* Gris azulado oscuro suave */
    --fourth-color: #C5B3E6;      /* Lavanda pastel que combina */

}


.link-fourth-color,
.link-fourth-color a,
.link-fourth-color,
.link-fourth-color a,
.link-fourth-color a:visited {
    display: inline;
    margin-right: 10px;
    color: var(--fourth-color) !important;
    font-weight: bold;
    text-decoration: none;
}

.background-gray {
    background-color: #dbdbdb !important;
}

.background-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.background-secondary {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

.background-third {
    background-color: var(--third-color) !important;
}

.background-fourth {
    background-color: var(--fourth-color) !important;
}

.font-color-primary {
    color: var(--primary-color) !important;
}

.font-color-secondary {
    color: var(--secondary-color) !important;
}

.font-color-fourth {
    color: var(--fourth-color) !important;
}

.font-color-third {
    color: var(--third-color) !important;
}

.text-bold {
    font-weight: bold !important;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");

* {
    font-family: "Poppins", sans-serif;
}

body {
    font-family: "Poppins";
    width: 100%;
    min-height: 100vh;
}

h1 {
    color: var(--primary-color);
    font-size: 40px;
    font-weight: bold;
}

h2 {
    text-align: center;
}

.Rounded {
    border-radius: 1rem !important;
}

.Rounded-left {
    border-top-left-radius: 1rem !important;
    border-bottom-left-radius: 1rem !important;
}

.Rounded-right {
    border-top-right-radius: 1rem !important;
    border-bottom-right-radius: 1rem !important;
}

.NotRounded-left {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.NotRounded-right {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.stickyHeader {
    position: fixed;
    right: 0px;
    top: 0px;
    left: 0px;
    z-index: 1030;
}

.carritoCompra {
    position: fixed;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    background-color: #fafafa;
    border-radius: 8px 8px 8px 8px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 600px;
    z-index: 1030;
}

.bodyTopHeader {
    margin-top: 210px;
}

/*loader*/
.loaderbody {
    width: 100%;
    height: 300%;
    left: 0px;
    top: 0px;
    position: absolute;
    background-color: rgba(128, 128, 128, 0.2);
    z-index: 2147483647;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    position: fixed;
    top: 50%;
    left: 50%;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
    background-color: var(--primary-color);
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
    background-color: var(--secondary-color);
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
    background-color: var(--primary-color);
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
    background-color: var(--secondary-color);
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.hide {
    display: none;
}

/*.modal-content-title {
    margin: 15% auto;*/
/* 15% from the top and centered */

/*border: 1px solid #888;
    font-size: 42px;
    font-weight: bold;
    width: 100%;*/
/* Could be more or less, depending on screen size */
/*}*/

/* The Close Button */
.close {
    color: #aaa;
    float: right;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.buttonImg {
    background-image: src(/assets/img/buy1.png);
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.almacen {
    visibility: hidden;
}

.renglon {
    visibility: hidden;
}

#imgpromotionleftOrg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#imgpromotionleftOrg:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modalImg {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    padding-top: 100px;
    /* Location of the box */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.9);
    /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 900px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0);
    }

    to {
        -webkit-transform: scale(1);
    }
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* The Close Button */
.closeImgModal {
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    color: white;
}

.closeImgModal:hover,
.closeImgModal:focus {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .modal-contentPopUp {
        width: 100%;
    }
}

.liHeader {
    border-right: 2px solid var(--primary-color) !important;
}

.dropdown-menu-nav {
    background-color: var(--third-color) !important;
}

.linkCategory {
    display: inline-block;
}

.linkCategorySecond {
    display: inline-block;
}

.dropdown-menu-nav>li>a {
    color: #fafafa;
    transition: all 0.3s ease;
}

.dropdown-menu-nav>li>a:hover {
    color: #fafafa;
    background-color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.active {
    background-color: var(--secondary-color) !important;
}

.dropdown-submenu {
    position: relative;
    background-color: var(--third-color) !important;
}

.dropdown-submenu > a {
    transition: all 0.3s ease;
}

.dropdown-submenu > a:hover {
    transform: translateX(3px);
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    background-color: var(--primary-color) !important;
}

.dropdown-submenu>.dropdown-menu>li>a {
    color: #fafafa;
    transition: all 0.3s ease;
}

.dropdown-submenu>.dropdown-menu>li>a:hover {
    color: #fafafa;
    background-color: var(--secondary-color) !important;
    transform: translateX(5px);
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
    transition: all 0.3s ease;
}

/* Excluir item específico - sin flecha */
.dropdown-submenu.no-arrow > a:after,
.dropdown-submenu > a.no-arrow:after {
    display: none !important;
}

/* Estilos para hacer que TODAS sobresalga */
.dropdown-submenu.no-arrow > a {
    background-color: var(--secondary-color) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    border-left: 4px solid var(--accent-color) !important;
    padding-left: 12px !important;
    transition: all 0.3s ease;
}

.dropdown-submenu.no-arrow > a:hover {
    background-color: var(--accent-color) !important;
    color: #ffffff !important;
    transform: translateX(3px);
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

/* Excluir item específico del hover también */
.dropdown-submenu.no-arrow:hover>a:after,
.dropdown-submenu:hover>a.no-arrow:after {
    display: none !important;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

@media only screen and (max-width: 600px) {
    body {
        font-size: 11px;
    }

    #shopingcarAccess {
        display: none !important;
    }

    .stickyHeader {
        position: initial;
        z-index: 1;
    }

    .bodyTopHeader {
        margin-top: 10px;
    }
}

.card-image img {
    max-height: 100%;
    max-width: 100%;
    border-radius: 8px 8px 0px 0;
}

.text-desc {
    height: 50px;
}

.number-input {
    display: inline-flex;
    height: 20px;
    font-size: x-small;
}

.number-input button {
    outline: none;
    -webkit-appearance: none;
    border: none;
    align-items: center;
    justify-content: center;
    width: 10px;
    cursor: pointer;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: "";
    width: 0.6rem;
    height: 1px;
    background-color: var(--third-color);
    transform: translate(-50%, -50%);
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type="number"] {
    font-family: sans-serif;
    max-width: 2rem;
    padding: 0.3rem;
    border: 0;
    text-align: center;
    outline: none;
}

.number-input {
    border: solid #c2c4c6;
    border-width: 0.1px;
}

.imgSlider {
    animation: scroll 60s linear infinite;
}

.slide-track {
    width: 100%;
    display: flex;
    gap: 8em;
    overflow: hidden;
}

.slider {
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: var(--primary-color);
    padding: 1em 1em;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translatex(-1000%);
    }
}

.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 1031;
    /*position the autocomplete items to be the same width as the container:*/
    top: 120px;
}

.autocomplete-items div {
    padding: 5px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
    background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}

.headerContact {
    height: 40px;
}

.headerNav {
    height: 80px;
}

@media only screen and (max-width-width: 576px) {
    html {
        font-size: 0.7rem !important;
    }

    .headerContact {
        height: 40px !important;
    }

    .headerNav {
        height: 150px !important;
    }


    u {
        padding-bottom:1px;
        text-decoration:none;
        border-bottom:2px solid var(--secondary-color);
      }

}

@media only screen and (max-width: 768px) {
    html {
        font-size: 0.7rem !important;
    }

    .headerContact {
        height: 40px !important;
    }

    .headerNav {
        height: 150px !important;

    }

    u {
        padding-bottom:1px;
        text-decoration:none;
        border-bottom:2px solid var(--secondary-color);
      }
}

@media only screen and (max-width: 992px) {
    html {
        font-size: 0.7rem !important;
    }

    .headerContact {
        height: 40px !important;
    }

    .headerNav {
        height: 150px !important;
    }

    u {
        padding-bottom:1px;
        text-decoration:none;
        border-bottom:2px solid var(--secondary-color);
      }
}

@media only screen and (max-width: 1200px) {
    html {
        font-size: 0.8rem !important;
    }
}

@media only screen and (max-width: 1400px) {
    html {
        font-size: 1rem;
    }
}