body.sidebar-open {
    overflow: hidden;
}

.sidebar-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    overflow-y: auto;
    scrollbar-width: thin; /* Para Firefox */
    scrollbar-color: #888 #f1f1f1; /* Para Firefox */
}

/* Estilos para la barra de scroll en WebKit (Chrome, Safari) */
.sidebar-modal::-webkit-scrollbar {
    width: 6px;
}

.sidebar-modal::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.sidebar-modal::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.sidebar-modal::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.sidebar-modal.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.sidebar-overlay.open {
    display: block;
}

.sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

.filter-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 15px 30px;
    background-color: var(--ltn__secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 998;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.filter-button:hover {
    background-color: var(--ltn__primary-color);
}

@media (max-width: 767px) {
    .sidebar-modal {
        width: 300px;
    }
}

.ltn__search-widget {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ltn__search-widget form {
    position: relative;
    flex-grow: 1;
    display: flex;
    align-items: center;
    min-width: 70%;
}

.ltn__search-widget form button {
    position: absolute;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--ltn__primary-color);
    cursor: pointer;
    height: 100%;
}

.search-button {
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--ltn__primary-color);
    cursor: pointer;
    padding: 10px;
    transition: all 0.3s;
    margin-left: 15px;
}

.search-button:hover {
    color: var(--ltn__secondary-color);
    transform: scale(1.1);
}

.search-button i {
    vertical-align: middle;
}

/* Asegúrate de que el formulario ocupe todo el espacio disponible */
.ltn__search-widget form {
    flex-grow: 1;
    margin-right: 10px;
}

.ltn__shop-options .short-by .nice-select .advanced-search-select{
  border-radius: 0;
  border: 2px solid #ededed;
  height: 50px;
  line-height: 46px;
  min-width: 190px;
}

.ltn__shop-options ul {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ltn__grid-list-tab-menu {
    margin-right: 20px;
}

.widget-search {
  margin-bottom: 40px;
  padding: 35px 30px 40px 35px;
}
.widget-search:last-child {
  margin-bottom: 0;
}
.widget-search hr {
  margin-top: 35px;
  margin-bottom: 35px;
}