.mainContainer {
    width: 100%;
}

.inputContainer{
    width: 100%;
    height: 220px;
    border: 0px;
    background-color: white;
}

#customForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    font-weight: 400;
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

.searchContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45vh;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-sizing: border-box;
}

.search-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px;
    border-radius: 9px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    width: 95%;
    max-width: 992px; /*Fijar un tamaño maximo para pantallas grandes*/
    box-sizing: border-box;
}

.material-symbols-outlined {
    padding-left: 10px;
}

.search-bar input[type="text"] {
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    background: transparent;
    width: calc(100% - 120px);
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 0.9375rem;;
}

.search-bar label{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}

.image-icon {
    width: 40px;
    height: 40px;
    padding-top: 5px;
    cursor: pointer;
    vertical-align: middle;
}

.search-bar button {
    border: none;
    background: #5751a2;
    color: white;
    padding: 10px 25px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 16px;
    margin-left: 10px;
    flex-shrink: 0;
    vertical-align: middle;
}

.search-bar button:hover {
    background: #253237;
}

.search-icon-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-icon-clickable:hover {
    color: #5751a2;
    transform: scale(1.1);
}

.row-wrapper {
    display: none !important;
}

.initial-text-main {
    display: none !important;
}

.row-wrapper.show {
    display: flex !important;
}

.initial-text-main.show {
    display: initial !important;
}

@media (max-width: 576px) {
    .row-wrapper {
        display: none !important;
        flex-direction: column;
    }
    
    .row-wrapper.show {
        display: flex !important;
        flex-direction: column;
    }
     
    .search-section {
        order: 1;
    }
    
    .col-xs-12.col-sm-4.col-md-3 {
        order: 2;
        margin-top: 20px;
    }
    
    .js-content-wrapper.col-xs-12.col-sm-8.col-md-9 {
        order: 3;
        margin-top: 20px;
    }

    .title {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
        text-align: center; 
    }
    
    .inputContainer {
        margin-bottom: 20px;
    }
    
    #drop-area {
        min-height: 150px;
    }

    .material-symbols-outlined {
        display: none !important;
    }

    .search-bar input[type="text"] {
        padding: 4px;
    }

    .image-icon {
        width: 30px;
        height: 30px;
        padding-top: 5px;
    }

    .search-bar button {
        display: flex !important; /* Mostrar el botón en móvil */
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
        padding: 0;
        margin-left: 2px;
        border-radius: 50%;
        font-size: 0;
        position: relative;
        background-image: url("../img/search_icon.png");
        background-size: 20px 20px;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #5751a2;
    }

    .search-bar input[type="text"] {
        width: calc(100% - 13px) !important; /* Menos espacio para los iconos */
        padding: 0px 3px;
        font-size: 16px;
    }
    
    .search-bar label {
        min-width: 40px; /* Área de toque mínima */
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* Hacer el ícono de búsqueda más visible y clickeable */
    .material-symbols-outlined {
        padding-left: 5px;
        padding-right: 0px;
        font-size: 24px !important; /* Hacer el ícono más grande */
        cursor: pointer;
        transition: all 0.3s ease;
        min-width: 30px; /* Área de toque mínima */
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .material-symbols-outlined:hover {
        color: #5751a2;
        transform: scale(1.1);
    }
    
    .image-icon {
        width: 32px;
        height: 32px;
        margin-left: 4px;
        margin-right: 4px;
    }
}

/* Para pantallas grandes, mantener el ícono de lupa izquierdo visible */
@media (min-width: 577px) {
    .material-symbols-outlined {
        display: block;
        padding-left: 10px;
    }
    
    .search-bar button {
        display: inline-block;
        padding: 10px 25px;
        font-size: 16px;
        border-radius: 9px;
        width: auto;
        height: auto;
    }
    
    .search-bar button {
        background-image: none; /* No mostrar imagen en pantallas grandes */
    }
    
    .search-bar button::before {
        display: none; /* No mostrar pseudo-elementos */
    }
}

/* Mejorar la experiencia táctil en móviles */
@media (max-width: 576px) {
    .search-bar button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .search-bar button:hover {
        background: #253237;
        transform: scale(1.05);
    }
    
    .search-bar button:focus {
        outline: 2px solid #5751a2;
        outline-offset: 2px;
    }
}

.title {
    font-size: 1.25rem;
    line-height: 1;
    color: #253237;
    padding-bottom: 1.125rem;
    margin-bottom: 2.250rem;
    font-weight: 600;
    position: relative;
    display: block;
    border-bottom: 1px solid #ebebeb;
    text-transform: capitalize !important;
    width: calc(100% - 10px);
    overflow: visible;
}

.title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3.75rem;
    height: 2px;
    background: var(--hovercolor);
}

.facet-title {
    font-size: 1.25rem;
    line-height: 1;
    color: #253237;
    padding-bottom: 1.125rem;
    margin-bottom: 1.25rem;
    font-weight: 400;
    position: relative;
    display: block;
    border-bottom: 1px solid #ebebeb;
    text-transform: capitalize !important;
    width: calc(100% - 10px);
    overflow: hidden;
    font-family: 'Montserrat';
    text-overflow: ellipsis;
    white-space: nowrap;
}

.facet-title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 3.75rem;
    height: 2px;
    background: var(--hovercolor);
}

.internal-title {  
    padding-top: 1.125rem;
    margin-top: 1.25rem;
    align-self: start;
    text-align: left;
}


#drop-area {
    width: 100%;
    height: 100%;
    border: 1px dashed #253237;
    padding: 20px;
    text-align: center;
    color: #666;
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 0.9375rem;;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size:contain;
    background-repeat: no-repeat
}

.ButtonFile{
    background-color: #EBEBEB;
    color: #666;
    border: none;
    font-size: 0.9375rem;
    padding: 10px 30px 10px 30px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.ButtonFile:hover{
    background-color: #5751a2;
    color: white;
}
.textButton{
    font-weight: 400;
}

.inputContainerv2{
    width: 100%;
    height: 8.25rem;
    border: 0px;
    background-color: white;
    margin-top: 15px;
    overflow-y: hidden;
    padding-bottom: 1.125rem;
    margin-bottom: 1.25rem;
}

.InputText{
    width: 100%;
    border: 0px;
    font-size: 0.9375rem;
    height: 100%;
    resize: none;
    overflow-y: hidden;
    border: 1px dashed #253237;
    padding: 0.3rem;
    border-radius: 4px;
}

.InputText:focus::placeholder{
    color: transparent !important;
}

.action-button {
    font-family: "Montserrat", Montserrat;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background-color: #5751a2;
    padding: 17px 45px 17px 45px;
    margin-bottom: 4.725rem;
    width: 100%;
    box-shadow: none;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.action-button:hover {
    color: #ffffff;
    background-color: #242424;
    cursor: pointer;
}

.upload-button {
    padding: 10px 30px 10px 30px;
    color: #5751a2;
    background-color: #EBEBEB;
    cursor: pointer;
    transition: all 300ms linear !important;
    transition: opacity 0.5s ease; /* Añade esta línea */
}

.upload-button:hover {
    color: #ffffff;
    background-color: #5751a2;
}

.drop-area:hover .upload-button {
    opacity: 1 !important; 
}

#file-input {
visibility: hidden
}

.initial-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.initial-text-title {
    padding-top: 1.125rem;
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 80%;
    text-align: center;
    margin: 0px 0px 30px 0px;
    display: initial;
}


.initial-text-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 80%;
    text-align: center;
    color: #5751a2;
    margin-bottom: 30px;
}

.initial-text-img {
    width: 20%;
    margin-bottom: 30px;
    margin-top: 30px;
}

.initial-text-footnote {
    font-size: 0.8rem;
    font-weight: 400;
    max-width: 80%;
    text-align: left;
    color: #666;
    margin-top: 30px;
}

.initial-text-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%!important;
    display: none !important;
}

.initial-text-title-main {
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 100%;
    text-align: center;
    margin: 30px 0px 30px 0px;
}


.initial-text-subtitle-main {
    font-size: 1.25rem;
    font-weight: 600;
    max-width: 100%;
    text-align: center;
    color: #5751a2;
    margin-bottom: 30px;
}

.initial-text-img-main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 30px;
}

.initial-text-img-main img {
    width: 20%;
}

@media (max-width: 576px) {
    .initial-text-title {
        display: none !important;
    }
    .initial-text-subtitle {
        display: none !important;
    }
    .initial-text-img {
        display: none !important;
    }
    .initial-text-footnote {
        max-width: 100% !important;
    }
    .initial-text-main {
        display: initial!important;
    }
}

.item-header-container{
    padding-bottom: 1.125rem;
}

.item-title {
    font-size: 1.25rem;
    color: #253237;
    /* padding-bottom: 0,375rem; */
    font-weight: 600;
    position: relative;
    display: block;
    text-transform: capitalize !important;
    width: calc(100% - 10px);
    overflow: visible;
}

.item-description{
    font-size: 0.875rem;
    font-weight: 400;
    margin-bottom: 0.5rem !important;
    color: #888;
    text-transform: none !important;
}

.main-title {
    font-size: 0.875rem;
    padding-top: 1.125rem;
    padding-bottom: 1.125rem;
    font-weight: 400;
    color: #888888;
    text-transform: none !important;
}

.item-content {
    padding-bottom: 5.125rem;
}

.drop-area {
    border: 2px dashed #007bff;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
    transition: all 300ms linear;
}

.drop-area.dragover {
    background-color: #ebebeb;
}

.ajax-loader {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 75px;
    height: 75px;
    border: 2px solid rgba(255, 255, 255, 0.09);
    border-left-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.product-row-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    margin-bottom: 4.725rem;
    width: 100%;
}

.product-row {
    display: inline-block;
    width: 100%;
}

.item-product {
    display: inline-block;
    vertical-align: top;
    white-space: normal; /* Allow wrapping of content within each product */
    margin-right: 20px; /* Adjust spacing between products */
    width: calc(25% - 20px); /* Adjust width as needed */
}

.swiperContainer {
    width: 100%;
    margin-bottom: 1.125rem;
    height: fit-content;
    display: flex;
    flex-direction: column;
}

.customSlide {
    padding: 0px 5px 0px 0px;
}

.navContainer {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-direction: row;
    bottom: 0;
    margin-top: 1.125rem;
    min-height: 36px;
}

.button-next {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:  300ms linear;
    border: 1px solid #ebebeb;
}

.button-next:hover {
    background-color: #5751a2;
    color: #ffffff;
}

.button-next::before {
    content: '\e92d' !important;
    font-family: "roadthemes-icon" !important;
    font-size: 0.6875rem !important;
}

.button-prev {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition:  300ms linear;
    border: 1px solid #ebebeb;
    margin-right: 0.625rem;
}

.button-prev:hover {
    background-color: #5751a2;
    color: #ffffff;
}

.button-prev::before {
    content: '\e92c' !important;
    font-family: "roadthemes-icon" !important;
    font-size: 0.6875rem !important;
}

.button-disabled {
    color: #ebebeb;
}

.TextArea {
    display: initial;
    transition: all 300ms linear !important;
    transition: opacity 0.5s ease; /* Añade esta línea */
}

.drop-area:hover .TextArea {
    opacity: 1 !important;
    color: #242424;
}

/* Skeleton loader */

.skeleton-main {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    background-color: white;
}

.skeleton-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
    background-color: transparent;
}

.skeleton-text {
    width: 70%;
    height: 22px;
    margin-bottom: 12px;
    border-radius: 4px;
    background-image: linear-gradient(90deg, #EBEBEB 0%, #F5F5F5 20%, #EBEBEB 40%);
    background-size: 200% 100%;
    animation: shine-lines 1.5s infinite linear;
}

@keyframes shine-lines {
    0% {
        background-position: 100%;
    }
    100% {
        background-position: -100%;
    }
}

.skeleton-product-row {
    display: flex;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 1.125rem;
}

.skeleton-product-segment {
    flex: 1;
    /* width: 200px; */
    /* height: 349px; */
    height: 20rem;
    background-color: #ddd;
    margin-right: 16px;
    border-radius: 4px;
    scroll-snap-align: start;
    background-image: linear-gradient(90deg, #EBEBEB 0%, #F5F5F5 20%, #EBEBEB 40%);
    background-size: 200% 100%;
    animation: shine-lines 1.5s infinite linear;
}

@media (max-width: 768px){
    .skeleton-product-segment {
        flex: 0 0 auto;
        width: 223px;
    }

    .drop-area:hover .TextArea {
        opacity: 0 !important;
    }

    .drop-area:hover .upload-button {
        opacity: 0 !important;
    }
}

.skeleton-product-segment:last-child {
    margin-right: 0;
}