.body {
    font-family: "Roboto", sans-serif !important;
    background-color: #ffffff;
}

@font-face {
    font-family: 'Poppins-Medium';
    src: url('/newsite/fonts/poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.categories-container {
    padding-left: 20px;
}

.carousel-control-next-icon {
    background-image: url(/newsite/images/icons/chevront-right-new.png) !important;
}

.carousel-control-prev-icon {
    background-image: url(/newsite/images/icons/chevront-left-new.png) !important;
}

/* navbar 2 */
.navbar {
    font-family: 'Poppins-Medium', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-item {
    white-space: nowrap;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: normal;
    /* color: #192843;
    font-weight: bold;
    padding-right: 0rem;
    padding-left: 0rem;*/
}

.dropdown-menu {
    min-width: 100%;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: flex;
}

.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;
}

.category-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.chevron-separator {
    color: #6c757d;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .chevron-separator {
        display: none;
    }

    .dropdown-menu {
        padding-left: 1rem;
    }

    .category-image {
        display: none;
    }

    .categories-container {
        padding-left: 0px;
    }
}

/* Contenedor principal */
.main-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: #ffffff;
}

/* Contenedor de contenido */
.content-container {
    flex-grow: 1;
    background-color: #ffffff;
    border-radius: 10px;
    min-width: 0;
}

/* Contenedor de los filtros */
.filters-container {
    flex: 0 0 30%;
    max-width: 415px;
    height: 100%;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    position: sticky;
    margin-top: 20px;
}

/* Título y subtítulos */
.filters-container h4,
.filters-container h5 {
    font-weight: bold;
}

/* Contenedor de resultados */
.results-content {
    font-weight: lighter;
    font-size: 1rem;
    line-height: 1.4;
}

.filters-container h4 {
    font-size: 1.5rem;

}

.filters-container h5 {
    font-size: 1.2rem;
}

/* Dropdowns */
.filters-container select {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px;
    border: 1px solid #19284378;
    border-radius: 5px;
    background-color: #ffffff;
    color: #555555;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url(/newsite/images/icons/icon-dropdown-category.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.filters-container select:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}

/* Inputs */
.filters-container .form-control {
    font-size: 0.95rem;
    text-align: center;
    padding: 10px;
    border: 1px solid #19284378;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.filters-container .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Botón de aplicar filtros */
.custom-button {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    margin-bottom: 6px;
}

.custom-button-circle {
    width: 16px;
    height: 16px;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 100%;
    margin-top: 8px;
    margin-left: 6px;
    text-align: center;
    background-image: url(/newsite/images/icons/chevron-right.png);
    background-repeat: no-repeat;
    background-size: 77%;
    background-position: 3px 2px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #1928436b;
    transition: all 0.3s ease;
}

.custom-button-circle:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: #192843;
}


.filters-title {
    position: relative;
    padding-left: 25px;
}

.filters-title::before {
    content: '';
    background-image: url(/newsite/images/icons/icon-filters.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    width: 100%;
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1c2a3a;
}

.filters-title {
    position: relative;
    padding-left: 25px;
    margin: 0;
    /* elimina espacio vertical de <h5> */
    display: flex;
    /* <-- asegúrate de que sea flex para que se alinee */
    align-items: center;
    font-size: 16px;
}

.filters-title::before {
    content: '';
    background-image: url(/newsite/images/icons/icon-filters.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.clear-filters-btn {
    position: relative;
    background-color: transparent;
    border: none;
    color: #00b2a9;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    padding-right: 26px;
    transition: color 0.3s;
    outline: none;
    box-shadow: none;
    text-align: left;
}

.clear-filters-btn:focus {
    outline: none;
    box-shadow: none;
}

.clear-filters-btn:hover {
    color: #007f79;
    border: none;
}

.clear-filters-btn::after {
    content: '';
    background-image: url(/newsite/images/icons/filters_icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.active-filters-container .badge {
    font-size: 14px;
    padding-right: 25px;
    background-color: #007bff;
    color: white;
    border-radius: 1rem;
}

.dropdown-order-container {
    position: relative;
    background-color: #F2F2F2 !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 21px;
    gap: 10px;
}

.select-order {
    width: 171px;
    font-size: 0.95rem;
    padding: 10px;
    border: 1px solid #03AB90;
    border-radius: 5px;
    background-color: #ffffff;
    color: #192843;
    font-family: "Roboto", sans-serif !important;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url(/newsite/images/icons/icon-dropdown-category.png);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.lablel-order-custom {
    margin-bottom: 0px !important;
    margin-right: 10px !important;
}

.custom-gap {
    gap: 10px;
}

.custom-span {
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
    color: #03AB90;
    background-position: center;
    background-size: contain;
    margin: 9px 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    text-align: center;
    height: 2.5rem;
    width: auto;
}

.custom-mb-4 {
    border-radius: 12px;
}


.custom-hr {
    border: none;
    height: 1px;
    background-color: #03AB90;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

.range-container {
    position: relative;
    width: 95%;
    height: 1px;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
    margin-top: -10px;
    margin-left: 20px;
}

.range-track {
    position: absolute;
    height: 1px;
    margin-left: -11px;
    background-color: #192843;
    border-radius: 4px;
    z-index: 2;
    /* Asegura que el track esté arriba */
}

.range-line {
    position: absolute;
    top: 53%;
    left: -10px;
    width: 100%;
    height: 1px;
    background-color: #03ab9073;
    transform: translateY(-50%);
    z-index: 1;
}

.thumb {
    position: absolute;
    top: 50%;
    margin-left: -1%;
    width: 16px;
    height: 16px;
    background: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #03AB90;
    z-index: 2;
    transform: translate(-100%, -50%);
}

.custom-p-thumbs {
    position: absolute;
    top: 55%;
    font-size: 14px;
    color: #192843;
    margin-top: 5px;
}

.custom-p-left {
    left: -19px;
}

.custom-p-right {
    right: 4px;
}

input[type="number"] {
    max-width: 220px;
    width: 100%;
}

.hidden-filters {
    display: none;
}

.row-custom {
    margin-bottom: -60px;
    margin-left: -7px;
    margin-right: -7px
}

.custom-card {
    border-radius: 12px;
}

.custom-card-tittle {
    margin-bottom: var(--bs-card-title-spacer-y);
    color: #192843;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limita a 2 líneas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-height: 3.2em;
    /* Ajusta según el tamaño de fuente */
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .filters-container {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 15px;
        position: relative;
        top: 0;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .content-container {
        width: 100%;
    }

    .thumb {
        width: 12px;
        height: 12px;
    }

    .card-body {
        padding-bottom: 50px !important;
    }

    .btn-container {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        text-align: center;
    }

    .btn-details {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
        transform: none !important;
        width: 80%;
        max-width: 200px;
    }

    .categories-container {
        padding-left: 0px;
    }

}


.condition-filter {
    position: relative;
    display: inline-flex;
    border: 2px solid #00b2a9;
    border-radius: 999px;
    overflow: hidden;
    min-width: 320px;
    margin-bottom: 16px;
}

.condition-filter button {
    position: relative;
    z-index: 1;
    border: none;
    background: transparent;
    color: #00b2a9;
    padding: 5px 24px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s;
    outline: none;
    margin: 0;
}

.condition-filter button.active {
    color: white;
    border-radius: 999px;
    /* coincide con slider */
}

.condition-filter .slider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    background: #03AB90;
    border-radius: 999px;
    transition: all 0.3s ease;
    z-index: 0;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid #2BA3A3;
    border-radius: 4px;
    background-color: #fff;
    color: #212529;
    font-size: 0.875rem;
}

.filter-badge .close-btn {
    border: none;
    background: transparent;
    color: #ADBDCA;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.clear-filters-btn-tags {
    background: none;
    border: none;
    color: #2BA3A3;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.875rem;
}

.card-img-top {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}
