/* */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #656565;
    background: #fff;
    font-size: 15px;
    overflow-x: hidden;
    min-height: 500px;
    min-width: 290px;
    line-height: 26px;
}

section,
footer {
    z-index: 1;
    position: relative;
}

h1,
.section-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    letter-spacing: 1.1px;
    line-height: 2rem;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
}

h4 {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.loader {
    position: fixed;
    width: 200px;
    height: 200px;
    background: url('../img/layout/loader.webp') center center no-repeat;
    background-size: 100% auto;
    top: 0;
    left: 0;
    z-index: 1000;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    opacity: .5;
    animation: spinAndPause 2s infinite;
}

.bg-banner {
    background-image: url('../img/layout/bg-banner.jpg');
    background-position: 50% center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 450px;
}

.main-content {
    min-height: 400px;
    position: relative;
}

.content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 0 auto;
    padding: 50px 20px;
    position: relative;
}

.content-top {
    margin-top: 80px;
}

.btn-up {
    z-index: 1000;
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    cursor: pointer;
    background-color: var(--orange);
    border-radius: 100%;
    display: none;
    background-image: url('../img/layout/arrow-up-white.svg');
    background-position: center center;
    background-size: 14px;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 5px 9px rgba(0, 0, 0, .2);
}

.btn-up:hover {
    background-color: var(--blue);
}

.wsp {
    z-index: 1000;
    position: fixed;
    left: 15px;
    bottom: 15px;
    width: 60px;
    height: 60px;
    background: url('../img/layout/wsp-icon.webp') center center no-repeat;
    background-size: 100% auto;
    transition: transform 0.3s ease-in-out;
    animation: pulse 2s infinite;
    cursor: pointer;
}

.wsp-text {
    position: fixed;
    left: 45px;
    bottom: 23px;
    width: 0;
    z-index: 999;
    background: rgba(0, 0, 0, .8);
    color: #fff;
    border: 2px solid var(--color-base);
    padding: 0;
    font-size: 0.8rem;
    font-weight: 500;
    transition: width 0.3s ease-in-out, padding 0.3s ease-in-out;
    border-radius: 25px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, .3);
}

.wsp:hover {
    animation: none;
    transform: scale(1.1);
}

.wsp:hover+.wsp-text {
    width: 170px;
    padding: 5px 40px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.flex-start {
    display: flex;
    justify-content: start;
    align-items: start;
    flex-wrap: wrap;
}

.flex-end {
    display: flex;
    justify-content: end;
    align-items: end;
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
    display: flex;
    justify-content: center;
}

.flex-grow {
    flex-grow: 1;
}

.my-1 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.my-2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-3 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.mx-1 {
    margin-right: 1rem;
    margin-left: 1rem;
}

.mx-2 {
    margin-right: 2rem;
    margin-left: 2rem;
}

.mx-3 {
    margin-right: 3rem;
    margin-left: 3rem;
}

.home-categories,
.home-news {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.float-container {
    display: flex;
    align-items: stretch;
}


.float-container p {
    margin-bottom: 1.2rem;
}

.float-3 {
    width: 30%;
    background-size: cover;
    min-height: 100%;
}

.float-7 {
    width: 70%;
    padding-right: 3%;
    padding-left: 3%;
    min-height: 330px;
}

.float-5 {
    width: 50%;
    height: auto;
}

.cod_art,
.novedad-date {
    display: block;
    font-size: 14px;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.novedad-date {
    text-align: right;
    color: #aaa;
    font-weight: 500;
}

.attachments-container {
    gap: 20px;
    margin-bottom: 30px;
    margin-right: 30px;
    display: block;
    float: left;
    width: 50%;
    height: auto;
    position: relative;
    z-index: 1;
}

.zoom-msg {
    width: 160px;
    height: 30px;
    position: absolute;
    left: calc(50% - 80px);
    bottom: -15px;
    background: linear-gradient(0deg, #666 0%, #111 100%);
    gap: 4px;
    color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 3px rgb(255, 255, 255);
    text-align: left;
    padding-left: 13px;
    line-height: 30px;
    font-size: 12px;
    display: none;
}

.zoom-msg img {
    display: inline-block;
    width: 20px;
    transform: rotateY(180deg);
    position: absolute;
    right: 12px;
    top: 5px;
}

.docs-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    gap: 20px;
    font-size: .9rem;
    font-weight: 500;
}

.docs-container img {
    width: 40px;
    transition: all .3s ease-in-out;
}

.docs-container img:hover {
    transform: scale(1.1);
}

.no-image {
    margin: auto;
    width: 100%;
    height: 200px;
    background-color: #f2f2f2;
    background-image: url('../img/layout/no-image.png');
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center center;
}

.image-container {
    width: 100%;
    height: 400px;
    margin: auto;
    max-width: 100%;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: all .3s linear;
}

.thumbnails-container {
    height: 200px;
    width: 100%;
    gap: 10px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-top: 10px;
}

.thumbnails-container a {
    flex: 1;
    display: block;
    height: 100%;
    box-sizing: border-box;
    text-decoration: none;
}

.thumbnail {
    width: 100%;
    height: 100%;
    background-size: 100% auto;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s linear;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .5);
}

.home {
    background: url('../img/layout/home-left.jpg') center center no-repeat;
    background-size: cover;
}

.empresa {
    background: url('../img/layout/empresa.jpg') center center no-repeat;
    background-size: cover;
}

.contacto {
    background: url('../img/layout/contacto.webp') center center no-repeat;
    background-size: cover;
}

.novedades {
    background: url('../img/layout/novedades.jpg') center center no-repeat;
    background-size: cover;
}

.link-sc {
    display: inline;
    width: auto !important;
    height: auto !important;
}

.articulo,
.articulo:visited {
    display: block;
    height: 100%;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
}

.img-container {
    width: 100%;
    height: 230px;
    max-height: 230px;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-articulo {
    width: auto;
    height: auto;
    margin: auto;
    max-width: 100%;
    max-height: 230px;
    position: relative;
}

.articulo-detalle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4rem;
    font-size: .9rem;
    height: 120px;
    margin: 10px auto;
}

.articulo-codigo-name {
    width: 60%;
}

.articulo-codigo {
    color: var(--color-base);
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
}

.articulo-name {
    display: block;
    font-weight: 500;
    line-height: 1.1rem;
}

.articulo-precio {
    color: #333;
    display: inline-block;
    margin-left: 20px;
    font-weight: 600;
    width: 40%;
    text-align: right;
    line-height: 25px;
    position: relative;
}

.login-button {
    width: 30px;
    cursor: pointer;
    position: absolute;
    right: 6px;
    top: 0;
    transition: all .2s linear;
    opacity: .7;
}

.login-button:hover {
    opacity: 1;
}

.articulo-detalle-carro {
    float: right;
    width: calc(50% - 30px);
}

.articulo-detalle-carro .articulo-codigo {
    width: 100%;
    font-size: 1rem;
}

.articulo-detalle-carro .articulo-precio {
    width: 100%;
    font-size: 1.3rem;
    line-height: 30px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 10px 0;
    padding: 10px;
}

.mensaje-pausa {
    width: 100%;
    padding: 30px;
    margin: 0px auto 0 auto;
    text-align: center;
    background: #998143;
    background: rgb(153, 129, 67);
    background: linear-gradient(180deg, rgba(153, 129, 67, 1) 0%, rgba(193, 158, 68, 1) 100%);
    font-size: 1.1rem;
    color: #fff;
}

footer {
    background: url('../img/layout/bg-particles.webp') center center no-repeat;
    background-size: cover;
    min-height: 400px;
    width: 100%;
    color: #fff;
    position: relative;
    z-index: 0;
}

.flag {
    width: 100%;
    height: 21px;
    background: url('../img/layout/flag.webp') repeat-x;
}

.copy {
    background: var(--gradient-orange);
    padding: 20px 0;
    color: #fff;
    font-weight: 400 !important;
    position: relative;
    z-index: 2;
    font-size: 14px;
    text-align: center;
    font-weight: 300;
}

.copy a,
.copy a:link,
.copy a:visited {
    color: #fff;
    text-decoration: none;
}

.copy a:hover {
    text-decoration: underline;
}

.sb {
    font-size: 11px;
    margin-top: 5px;
}

.footer-section {
    display: flex;
    justify-content: space-between;
    color: #fff;
}

.footer-section>div {
    flex: 1;
    padding: 0 20px;
}

.footer-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-container {
    display: flex;
    height: 50%;
    min-height: 150px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.footer-logo {
    width: 100%;
    max-width: 250px;
}

.footer-title {
    letter-spacing: 1.2px;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-item .footer-icon {
    width: 35px;
    min-width: 35px;
    min-height: 35px;
    height: 35px;
    margin-right: 15px;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: var(--orange);
    box-shadow: 0 5px 11px rgba(0, 0, 0, .2);
}

.footer-menu,
.footer-item {
    margin-left: 20px;
    margin-bottom: 23px;
}

.footer-item a,
.footer-item a:visited {
    color: #fff !important;
}

.footer-menu a,
.footer-menu a:visited {
    display: block;
    margin-bottom: 9px;
    color: #fff !important;
}

.footer-item a:hover,
.footer-menu a:hover {
    color: var(--color-base) !important
}

.footer-menu a::before {
    content: "●";
    margin-right: 10px;
    font-size: 13px;
    vertical-align: top;
    color: var(--color-base)
}

.footer-social {
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 500px;
}

.social-media,
.social-media:visited {
    display: inline-block;
    text-align: center;
    width: 70px;
    height: 70px;
    margin: 0 auto 5px auto;
    border-radius: 100%;
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.2);
    transition: all .3s linear;
    border: 2px solid #b4cce2;
    background: var(--gradient-blue);
}

.social-media img {
    width: 30px;
    margin: 18px auto;
}

.social-media:hover {
    opacity: 1;
    background: var(--gradient-orange);
    border: 2px solid #fff;
    box-shadow: 0 0 12px #aaa;
}

.icon-place {
    background-image: url('../img/layout/place-icon.svg');
    background-size: 18px auto;
}

.icon-phone {
    background-image: url('../img/layout/phone-icon.svg');
    background-size: 20px auto;
}

.icon-email {
    background-image: url('../img/layout/email-icon.svg');
    background-size: 18px auto;
}

.icon-instagram {
    background-image: url('../img/layout/instagram-icon.svg');
    background-size: 16px auto;
}

.icon-clock {
    background-image: url('../img/layout/clock-icon.svg');
    background-size: 21px auto;
}

.contact-icon {
    background-color: var(--orange) !important;
    border-radius: 100%;
    box-shadow: 0 5px 0 rgba(0, 0, 0, .15);
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-back img {
    width: 18px;
    margin-right: 10px;
}

ul.breadcrumb {
    padding: 0;
    list-style: none;
    margin-bottom: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

ul.breadcrumb li {
    display: inline;
    font-size: 1rem;
    color: var(--color-base)
}

ul.breadcrumb li+li:before {
    padding: 0 8px;
    color: #bbb;
    content: "›";
}

ul.breadcrumb li a {
    text-decoration: none;
    color: var(--color-base) !important
}

ul.breadcrumb li a:hover {
    text-decoration: none;
    color: var(--blue) !important;
}

.social-share-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 100px;
    margin-top: 30px;
}

.social-share-bar a {
    display: flex;
    width: 45px;
    height: 45px;
    background: var(--gradient-blue);
    align-items: center;
    justify-content: center;
    transition: all .2s linear;
    border-radius: 100%;
}

.social-share-bar a:hover {
    background: var(--gradient-orange);
}

.social-share-bar img {
    width: 21px;
    height: auto;
}

.tabla-articulos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin-bottom: 35px;
}

.celda-articulo {
    width: 23%;
    min-width: 300px;
    height: 445px;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    transition: all .2s linear;
}

.celda-articulo:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.25);
}

.filters-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 30px 0;
    margin-bottom: 30px;
    font-weight: 400;
    color: #aaa;
    font-size: 17px;
    gap: 30px;
}

.frm-select {
    /* Reset */
    appearance: none;
    border: none;
    outline: 0;
    font-size: 14px;
    width: 100%;
    max-width: 310px;
    padding: 10px 15px;
    background-color: #fff;
    background-image: url('../img/layout/caret.svg');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 25px auto;
    color: var(--orange);
    border-radius: 25px;
    cursor: pointer;
    transition: all .2s linear;
    border: 1px solid #ddd;
    min-width: 300px;
    font-weight: bold;


    &::-ms-expand {
        display: none;
    }

    &:focus {
        outline: none;
    }
}

.frm-select:hover {
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.frm-select option {
    color: inherit;
    background-color: #f7f7f7;
}

.familia-title {
    margin-bottom: 6px;
    letter-spacing: 1.2px;
    color: #999;
    width: 100%;
    text-align: center;
}

.contact-logo {
    width: 100%;
    max-width: 260px;
    margin-bottom: 50px;
}

.contact-data {
    display: flex;
    justify-content: start;
}

.contact-data h3 {
    letter-spacing: 1.3px;
    color: var(--color-base);
    text-align: center;
    font-size: 1.3rem;
    font-weight: 400;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    line-height: 22px;
    width: 100%;
}

.contact-item .icon-place,
.contact-item .icon-clock,
.contact-item .icon-phone,
.contact-item .icon-email {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: url('../img/layout/place-icon.svg') center center no-repeat;
    background-size: 21px auto;
    margin-right: 8px;
}

.contact-item .icon-clock {
    background: url('../img/layout/clock-icon.svg') center center no-repeat;
    background-size: 21px auto;
}

.contact-item .icon-phone {
    background: url('../img/layout/phone-icon.svg') center center no-repeat;
    background-size: 22px auto;
}

.contact-item .icon-email {
    background: url('../img/layout/email-icon.svg') center center no-repeat;
    background-size: 19px auto;
}

.contact-social {
    gap: 10px;
}

.contact-social a {
    width: 60px;
    height: 60px;
    background: var(--gradient-blue);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.contact-social a:hover {
    background: var(--gradient-orange);
    border: 2px solid #ffe2bd;
}

.contact-social img {
    width: 23px;
    height: auto;
}

/* Estilos generales para el formulario */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;

}

.form-container .white {
    text-shadow: 0 0 5px #333;
    font-size: 20px;
    line-height: 10px;
}

.form-group {
    margin-bottom: 15px;
    position: relative;
}

.data-form {
    display: flex;
    gap: 20px;
}

/* Estilos para los elementos dentro del formulario en pantallas grandes */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    margin-left: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #dadada;
    border-radius: 25px;
    box-sizing: border-box;
    resize: none;
    outline: none;
    transition: all .3s linear;
    color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    border: 1px solid var(--orange)
}


.form-group button {
    float: right;
    margin-top: 12px;
    width: 100px;
    transition: all .3s linear;
}

.form-group button:hover {
    box-shadow: 0 0 0 3px #fff, 0 0 13px var(--orange)
}

#form-message {
    margin-top: 15px;
    font-size: 1.1em;
}

#honeypot {
    display: none;
}

#form-message {
    margin-top: 15px;
    font-size: 1.1em;
}

#honeypot {
    display: none;
}

.li::before {
    content: "►";
    color: var(--color-yellow);
    margin-right: 5px;
    font-size: 13px;
    vertical-align: top;
}

.celda-buscador {
    width: 100%;
    display: flex;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #e9e9e9;
    margin-bottom: 10px;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    transition: all .2s linear;
}

.img-buscador {
    max-width: 100px;
    margin: 10px;
    border-radius: 8px;
}

.items-empresa-container {
    gap: 8%;
    width: 100%;
    height: auto;
}

.item-empresa {
    width: 150px;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.item-empresa-img {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-yellow-0);
    border-radius: 100%;
    border: 8px solid #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, .1);
}

.item-empresa p {
    width: 100%;
    margin-top: 12px;
    text-align: center;
    font-weight: 500;
    color: var(--color-green);
    line-height: 22px;
}

.img-empresa {
    max-width: 200px;
    height: auto;
    opacity: 1;
    transition: all .2s linear;
}

.img-empresa:hover {
    opacity: .7;
}

.img-empresa img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.img-float-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 30px;
}

.img-float-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 30px;
}

.lista-empresa li {
    margin: 15px 0;
}


/* Responsive */

@media (max-width: 1100px) {

    .content {
        width: 100%;
        padding: 50px 4%;
    }


    .contact-data .float-3 {
        margin-top: 40px;
    }

    .empresa {
        background-size: 100% auto;
    }

    .filters-container {
        justify-content: center;
    }

    .contact-data {
        display: block;
        width: 100%;
    }

    .float-7,
    .float-3 {
        width: 100%;
        float: none;
    }
}

@media (max-width: 700px) {
    .articulo {
        font-size: 14px !important;
        line-height: 18px !important;
    }

    .footer-section {
        flex-direction: column;
    }

    .footer-section>div {
        padding: 10px 0;
    }

    .footer-title {
        text-align: center;
    }

    .footer-social {
        margin: 20px auto 40px auto;
    }

    .empresa {
        background-size: cover;
    }

    .attachments-container {
        display: block;
        float: none;
        width: 100%;
    }

    .img-float-right,
    .img-float-left {
        float: none;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }

    .img-empresa {
        max-width: 80%;
        margin: auto;
        margin-bottom: 30px;
    }

    .articulo-detalle-carro {
        float: none;
        width: 100%;
    }

    .data-form {
        flex-direction: column;
    }

    .data-form .float-5 {
        margin-bottom: 0;
        width: 100%;
    }

}

/* Animaciones */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes spinAndPause {
    0% {
        transform: rotate(0deg);
        animation-timing-function: ease-in;
    }

    30% {
        transform: rotate(270deg);
        animation-timing-function: linear;
    }

    60% {
        transform: rotate(540deg);
        animation-timing-function: ease-out;
    }

    100% {
        transform: rotate(720deg);
    }
}

/* jQuery UI */
.ui-widget,
.ui-widget input {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem !important;
}

.ui-widget-overlay {
    background: var(--overlay) !important;
}

.ui-dialog-titlebar {
    position: relative !important;
    padding-left: 40px !important;
}

.ui-dialog-titlebar::before {
    content: '';
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url('../img/layout/icon-elitech.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.ui-dialog {
    position: fixed !important;
    z-index: 9999 !important;
    max-width: 400px !important;
    width: 100% !important;
    overflow: hidden !important;
    box-shadow: 0 4px 35px rgba(0, 0, 0, 0.2);
}

.ui-widget-content {
    background: #f9f9f9 !important;
}

.ui-dialog .frm-input {
    font-family: 'Montserrat', sans-serif !important;
    width: 100%;
    outline: none !important;
    font-size: 1rem !important;
    color: #444 !important;
    padding: 5px 15px !important;
    border: 1px solid #cfcfcf !important;
    transition: all .2s ease-in-out !important;
    border-radius: 25px !important;
}

.ui-dialog .frm-input:focus {
    border: 1px solid var(--orange) !important;
}

.ui-dialog a,
.ui-dialog a:link,
.ui-dialog a:visited {
    color: var(--orange) !important;
    transition: all .3s ease-in-out !important;
    text-decoration: none !important;
    font-weight: 900 !important;
}

.ui-dialog a:hover {
    color: var(--blue) !important;
}

.ui-dialog .btn {
    padding: 6px 16px;
    font-family: 'Montserrat', sans-serif !important;
}

.togglePassword {
    cursor: pointer;
    position: absolute;
    right: 9px;
    top: 40px;
    width: 20px;
    height: 20px;
}

.eye-icon-on {
    background: url('../img/layout/eye-on.svg') center center no-repeat;
    background-size: 20px 20px;
}

.eye-icon-off {
    background: url('../img/layout/eye-off.svg') center center no-repeat;
    background-size: 20px 20px;
}

#loginDialog,
#dialog,
#passwordRecoveryDialog {
    display: none;
    overflow: hidden !important;
}

#passwordRecoveryForm {
    margin: 20px 0;
}

#dialog {
    z-index: 11000 !important;
    position: relative !important;
}

form label {
    display: block;
    margin: 20px 0;
    z-index: 1;
    position: relative;
}

form label p {
    margin-bottom: 5px;
    text-align: center;
}

.procesando {
    display: block;
    position: relative;
    height: 50px;
    width: 50px;
    text-align: center;
    background: url('../img/layout/loader.webp') center center no-repeat;
    background-size: 50px 50px;
    animation: spinAndPause 2s infinite;
    margin: 0 auto;
}

.success {
    color: #088b24;
    padding: 5px;
    background: #e2ffe4;
    border-radius: 10px;
    border: 1px solid #099c29;
    font-size: 14px !important;
    margin-top: 7px;
}

.error {
    color: #c43636;
    padding: 5px 10px;
    background: #ffdfdf;
    border-radius: 4px;
    border: 1px solid #db3e3e;
    font-size: 14px !important;
    margin-top: 7px;
}

.form-group .error {
    display: none;
}


/* Estilos para pantallas más pequeñas */
@media (max-width: 900px) {
    #frm-registro .form-group {
        flex-direction: column;
        padding-bottom: 0;
    }

    #frm-registro label {
        margin-left: 0;
        margin-top: 20px;
    }
}

.toggle-pass-cliente {
    position: absolute;
    left: -10px;
    top: 10px;
    width: 20px;
    height: 20px;
}

.toggle-pass-cliente .togglePassword {
    top: 0;
    right: 0;
}

.downloads-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-link,
a.download-link,
a.download-link:visited {
    width: 200px;
    height: 200px;
    background: var(--gradient-orange);
    color: #fff;
    text-align: center;
    padding: 10px;
    line-height: 20px;
    border-radius: 20px;
}

a.download-link:hover {
    background: var(--gradient-blue);
    color: #fff;
}

.download-link img {
    width: 50px;
    margin: 20px auto;
}

/* CARRO */
.articulo-mostrar-detalle {
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 5;
    background-color: rgba(0, 0, 0, .34);
    background-image: url('../img/layout/zoom-in.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 30px auto;
    width: 50px;
    height: 50px;
    border-radius: 100%;
    transition: all .3s linear;
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 5px 5px rgba(0, 0, 0, .3);
}

.articulo-mostrar-detalle:hover {
    transform: scale(1.3);
    background-color: rgba(0, 0, 0, .6);
    box-shadow: 0 11px 15px rgba(0, 0, 0, .3);
}

.celda-articulo:hover .articulo-mostrar-detalle {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.articulo-no-stock {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    font-style: italic;
    color: #ccc;
    font-weight: 500;
}

.articulo-cart,
.item-quantity {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 10px;
}

.articulo-cart .ui-widget-content,
.item-quantity .ui-widget-content {
    background: #fcfcfc !important;
    border: none !important;
    width: 150px;
    height: 50px;
    border-radius: 2px;
    box-shadow: inset 0 0 1px #ccc;
}

.item-quantity .ui-spinner-up,
.item-quantity .ui-spinner-down,
.articulo-cart .ui-spinner-up,
.articulo-cart .ui-spinner-down {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    height: 50px;
    border-radius: 0;
    cursor: pointer;
    background: linear-gradient(180deg, #fff 0%, #eefbff 100%);
    border: 0;
    box-shadow: inset 0 0 1px #9ebcd3;
}

.item-quantity .ui-spinner-up:hover,
.item-quantity .ui-spinner-down:hover,
.articulo-cart .ui-spinner-up:hover,
.articulo-cart .ui-spinner-down:hover {
    background: #d6e9f6;
    border: none;
}

.item-quantity .ui-spinner-down,
.articulo-cart .ui-spinner-down {
    right: auto;
    left: 0;
}

.item-quantity .ui-spinner-input,
.articulo-cart .ui-spinner-input {
    width: 100% !important;
    height: 50px !important;
    line-height: 50px !important;
    text-align: center !important;
    font-size: 1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    color: #111 !important;
}

.add-to-cart,
.add-to-cart-unregistered,
.remove-from-cart {
    outline: none;
    border: none;
    width: 100px;
    height: 50px;
    cursor: pointer;
    border-radius: 10px;
    border: 5px solid #f1f1f1;
    color: #fff;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.add-to-cart,
.add-to-cart-unregistered {
    background: var(--gradient-orange)
}

.add-to-cart::before,
.add-to-cart-unregistered::before {
    content: "Comprar";
}

.remove-from-cart {
    background: #f53434;
}

.remove-from-cart::before {
    content: "Eliminar";
}

.add-to-cart:hover,
.add-to-cart-unregistered:hover,
.remove-from-cart:hover {
    border-color: #c9e1ff;
    background: var(--gradient-blue)
}

/* Estilo base para el carrito */
.carro {
    min-height: 150px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 100%;
}

.empty-cart {
    margin-top: 90px;
    margin-bottom: 100px;
    text-align: center;
}

.empty-cart::before {
    content: "El carrito está vacío.";
}

.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 14px;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.item-image {
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: auto;
    max-width: 80px;
    max-height: 80px;
}

.item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.item-name a,
.item-name a:visited {
    font-size: 1rem;
    font-weight: bold;
    color: #222;
    text-decoration: none;
}

.item-name a:hover {
    color: #222;
    text-decoration: underline;
}

.item-price {
    color: #888;
}

.item-quantity {
    width: 150px;
}

.total-carro {
    line-height: 1.3rem;
}

.item-subtotal {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    width: 120px;
    text-align: right;
}

.item-price-labels {
    display: none;
}

.item-action {
    display: flex;
    justify-content: center;
}

.remove-item-from-cart {
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    background: url('../img/layout/delete-icon.svg') center center no-repeat;
    background-size: 30px auto;
    border: none;
    outline: none;
    transition: all 0.2s linear;
    cursor: pointer;
}

.remove-item-from-cart:hover {
    transform: rotate(180deg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    font-size: 1.3rem;
}

.botones-pie-carro {
    display: flex;
    justify-content: space-between;
    /* Espaciar los elementos */
    align-items: center;
    /* Centrar verticalmente */
    margin: 50px auto 30px auto;
    gap: 10px;
}

.botones-pie-carro a {
    width: 250px;
    background-color: #111;
    background-repeat: no-repeat;
}

.botones-pie-carro a:hover {
    background-color: #333;
    border: 2px solid var(--color-base-2)
}

.btn-icon {
    width: 30px;
    position: absolute;
    left: 20px;
}

.btn-seguir-comprando {
    padding-left: 51px !important;
    position: relative;
}

.btn-seguir-comprando .btn-icon {
    width: 22px;
    left: 18px
}

.btn-vaciar-carro {
    padding-left: 16px !important;
    position: relative;
}

.btn-finalizar-compra {
    padding-left: 56px !important;
    position: relative;
}

#logout img,
#historial img {
    width: 27px;
    display: inline-block;
    margin-right: 6px;
}

#historial img {
    width: 21px;
}

#encuesta-form {
    width: 90%;
    margin: 20px auto;
    max-width: 600px;
}

#encuesta-form .form-group {
    padding-bottom: 30px;
}

fieldset {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Estilo base para radios y checkboxes */
input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  cursor: pointer;
  accent-color: var(--color-base); /* color azul moderno (puede cambiarse) */
  transition: all 0.2s ease-in-out;
}

/* Estilo para el label que envuelve cada opción */
.radio-inline,
.checkbox-inline {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
  margin-bottom: 8px;
  font-family: sans-serif;
  font-size: 15px;
  cursor: pointer;
}

/* Aumenta el área clickeable */
.radio-inline input,
.checkbox-inline input {
  margin-right: 6px;
}
.radio-inline {
    display: inline-block !important;
    margin-right: 10px;
    vertical-align: middle;
    text-align: center;
}

/* Estilo responsivo */
@media (max-width: 850px) {
    .botones-pie-carro {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        gap: 15px;
        padding: 15px 5px;
        position: relative;
    }

    .item-image {
        align-self: center;
    }

    .item-details {
        text-align: center;
    }

    .item-name {
        margin-bottom: 15px;
    }

    .item-subtotal {
        width: 100%;
        text-align: center;
    }

    .cart-total {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .item-price-labels {
        display: inline-block;
    }

    .item-action {
        position: absolute;
        top: 10px;
        right: 15px;
    }
}