.products-banner {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 100px;
}

.banner-title {
    background-color: var(--bellota-color-primary);
    color: white;
    padding: 4px 14px;
    font-size: 52px;
    font-weight: bold;
    display: inline-block;
}

.product-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    justify-content: space-evenly;
}

.section-products-accordion-container .accordion-item {
    border: none !important;
    padding-bottom: 20px;
}

.section-products-accordion-container .accordion-button:not(.collapsed) {
    color: #212529 !important;
    background-color: transparent !important;
    box-shadow: none;
}

.section-products-accordion-container {
    background-color: #fff;
    border-top: solid 5px var(--bellota-color-primary);
    border-bottom: solid 5px var(--bellota-color-primary);
}

.section-products-accordion-container .accordion-item h3>button {
    font-size: 1.8rem;
    font-weight: 800;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 20px
}

.category-list .category-item {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}

.category-list .category-item img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.category-list .category-item a {
    font-size: 1.6rem;
    color: #222;
    display: flex;
    align-items: center;
    margin-right: 16px;
    width: 100%;
}

.category-list .category-item .category-item-container {
    aspect-ratio: 1;
    width: 200px;
    max-width: 80px;
    margin-right: 16px;
}

.category-list .category-item a:hover {
    color: var(--bellota-color-primary);
}

.category-item.category-item-selected>a {
    font-weight: 700;
    color: var(--bellota-color-primary);
}

.section-family-info p {
    color: #000;
    font-size: 1.6rem; 
    text-align: justify;
}

.item-product-by-family img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 10px;
}

.item-product-by-family a {
    text-decoration: none;
}

.item-product-by-family a span {
    color: #222;
}

.section-family-extra-info .accordion-item {
    background-color: transparent !important;
    border: none !important;
}

.section-family-extra-info .accordion-item .accordion-header {
    width: fit-content;
}

.section-family-extra-info .accordion-button:not(.collapsed) {
    color: var(--bellota-color-primary) !important;
    background-color: transparent !important;
    box-shadow: none;
}

.section-family-extra-info .accordion-button {
    padding: 10px 0;
    background-color: transparent;
    color: var(--bellota-color-primary);
    font-size: 1.8rem;
    font-weight: 900;
}

.section-family-extra-info .accordion-body {
    padding: 20px;
    background-color: #fff;
}

.sidebar {
    width: 100%;
    height: auto;
}

.buscador {
    background: #e4e4e4;
    padding: 18px 18px 10px 18px;
    height: 100%;
}

.buscador-title {
    color: #c1272d;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.buscador-group {
    margin-bottom: 10px;
}

.buscador form {
    margin-bottom: 2rem;
}

.buscador-button {
    background: #c1272d;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 2px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
}

.contador {
    background: #e4e4e4;
    padding-top: 10px;

}

.contador-header {
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.contador-numero {
    font-size: 2em;
    font-weight: bold;
    color: #888;
    line-height: 1;
}

.contador-texto {
    font-size: 1.1em;
    color: #c1272d;
    font-weight: bold;
    text-transform: uppercase;
    margin-left: 8px;
}

.contador-img {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contador-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.contador-boton {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #c1272d;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1em;
    padding: 1px 14px;
    margin-top: 0;
    min-height: 28px;
    line-height: 1.2;
    gap: 8px; /* space between icon and text */
    transition: background 0.2s;
}

.contador-boton:hover {
    background: #a11f24;
    color: #fff;
}

.contador-boton-icon {
    display: flex;
}

.contador-boton-icon svg {
    height: 2.2em;
    width: 2.2em;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    margin-left: 6px;
}

.contador-boton-texto {
    display: flex;
    align-items: center;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
}

.contador-rayita {
    width: 40px;
    height: 2px;
    background: #c1272d;
    border-radius: 2px;
    margin-top: 2px;
}

@media (min-width: 1670px) {
    .product-title {
        font-size: 20px !important;
    }
}
