
.hpa-products .product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 100%;
    background-color: var(--bg-theme-color);
    -webkit-transition: all .1s ease-out;
    transition: all .2s ease-out;
    box-shadow: rgba(0, 0, 0, 0.07) 4px 10px 17px;
    border-radius: 15px;
    filter: opacity(1);
    max-width: 25rem;
    z-index: 2;
}

.hpa-products .brand-cat {
    display: flex;
    position: relative;
    background-color: var(--bg-theme-color);
    -webkit-transition: all .1s ease-out;
    transition: all .2s ease-out;
    box-shadow: rgba(0, 0, 0, 0.07) 4px 10px 17px;
    border-radius: 15px;
    filter: opacity(1);
    max-width: 25rem;
    z-index: 2;
    align-items: center;
    will-change: transform, box-shadow;
    min-width: 14rem;
}

.hpa-products .product:hover, .hpa-products .brand-cat:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px !important;
    outline: 1px solid #2E86AB !important;
}

.brand-cat-subtitle {
    font-size: 0.9rem;
    line-height: 0.95;
    font-weight: 500;
    color: #555;
}

.brand-cat-title, .contact-for-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
    margin-top: 5px;
    margin-bottom: 5px;
    color: #2E86AB;
    display: -webkit-box;
    line-height: 1;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-img-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    background: #fff;
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
}

.brand-cat .product-img-container {
    width: auto;
    height: 100%;
    flex-basis: min-content;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overlay-bottom {
    margin-bottom: 15px;
    align-self: start;
    font-size: 1rem;
}

.overlay-top {
    display: flex;
    justify-content: end;
    padding-right: 20px;
}

.ind-promotion-strip {
    font-family: 'Poppins';
    background: url(https://www.soundcreation.ro/static/bf2024/ind-promo-strip.svg) no-repeat center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding-right: 8px;
    font-weight: bold;
    line-height: 0.9;
    position: relative;
    aspect-ratio: 2.9;
    height: 25px;
}

.badge-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    font-weight: 400;
    align-items: start;
}

.stock-badge {
    background-color: #2E86AB;
}

.easybox-badge {
    background-color: #1A6B8C;
    display: flex;
}

.easybox-logo {
    height: 1rem;
    margin-right: -0.2rem;
}

.half-badge {
    padding: 0 5px 0px 4px;
    border-radius: 0 6px 6px 0;
    font-size: 0.7rem;
}

.product-img-container>img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 15px;
    aspect-ratio: 1;
}

.product-header-container {
    padding: 10px 8px 5px 8px;
}

.product .detail-container {
    padding: 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-cat .detail-container {
    padding: 10px 8px 15px 8px;
}

.nr-ratings {
    color: grey;
    margin-left: 10px;
    font-weight: 500;
    font-size: 0.8rem;
}

.product-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
    max-height: calc(1.2em * 2);
    font-weight: 400;
    margin-bottom: 0;
    font-size: 0.8rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
}

.price-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-container strike {
    color: gray;
    font-size: 0.6rem;
    font-weight: 700;
}

.price-container .new-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2E86AB;
    margin-top: -.3rem;
    margin-bottom: -.4rem;
}

.price-container .currency {
    font-size: 0.7rem;
    font-weight: 900;
    color: #2E86AB;
}

.detail-container .add-to-cart {
    color: #2E86AB !important;
    text-decoration: none !important;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 18px;
    border-radius: 8px;
    transition: all .1s ease-out;
    box-shadow: rgba(0, 0, 0, 0.04) 0 0 10px;
    z-index: 2;
    min-height: 32px;
}

.add-to-cart:hover {
    color: #fff !important;
    background-color: #2E86AB;
    box-shadow: none;
}

.ratings {
    display: flex;
    align-items: center;
    margin-top: -3px;
}

.hpa-products {
    gap: 1rem;
    row-gap: 2rem;
    grid-template-columns: repeat(auto-fill, minmax(150px, 250px));
}

.product-top-container {
    position: relative;
}

.productListContainer, .categoryBrandListContainer {
    display: grid !important;
    justify-content: space-between;
}

/* .categoryBrandListContainer {
    display: flex !important;
    overflow: auto;
    gap: 1rem;
} */

.productListContainer {
    grid-template-columns: repeat(auto-fill, minmax(150px, 250px));
}

.categoryBrandListContainer {
    grid-template-columns: repeat(auto-fill, minmax(150px, 250px));
}

a.more-btn {
    color: var(--bs-dark) !important;
    padding: 8px 25px;
    border-radius: 0 0 24px 24px !important;
    background: var(--bg-theme-color) !important;
    box-shadow: rgba(0, 0, 0, 0.07) 4px 10px 17px;
    backdrop-filter: blur(2px);
    transition: all .2s ease-out;
    text-decoration: none !important;
    border: 0;
}

a.more-btn:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px !important;
    outline: 1px solid #2E86AB !important;
    background-color: unset;
    border: none;
}

a.more-btn:active, a.more-btn:focus {
    outline: none;
    box-shadow: none;
    -webkit-transform: scale(1);
    transform: scale(1);
    border: none;
    background-color: #F5F8FA;
    box-shadow: rgba(0, 0, 0, 0.07) 4px 10px 17px !important;
}

a.more-btn:active:hover, a.more-btn:focus:hover {
    -webkit-transform: scale(1.03);
    transform: scale(1.03);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 5px 10px !important;
    outline: 1px solid #2E86AB !important;
    background-color: unset;
    border: none;
}

a.more-btn i {
    margin-left: 8px;
    color: #ea2a8d !important;
}

@media (max-width: 768px) {
    .productListContainer {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .categoryBrandListContainer {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    }
}

.product-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.sort-btn {
    background-color: #fff;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.07) 6px 6px 4px;
    color: black;
    padding: 3px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all .1s ease-out;
}

button.sort-btn {
    border-radius: 8px !important;
}

.sort-btn:hover {
    background-color: #D7418A;
    box-shadow: rgba(0, 0, 0, 0.07) 6px 6px 4px !important;
    color: #fff;
}