
.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: 18rem;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.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;
    overflow: clip;
}

.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;
    flex-direction: row-reverse;
    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;
}

.ind-promotion-strip-long {
    font-family: 'Poppins';
    background: url(https://www.soundcreation.ro/static/bf2024/ind-promo-strip-long.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: 3.65;
    height: 25px;
}

.ind-promotion-strip-long.smart-buy small {
    line-height: 0.8;
    font-weight: 600;
    color: white;
    font-size: 0.7rem;
}

.ind-bstock-strip {
    font-family: 'Poppins';
    background: url(https://www.soundcreation.ro/static/bf2024/ind-bstock-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: 5.69;
    height: 25px;
    margin-left: -50px;
    padding-left: 36.25px;
}

.ind-only-bstock-strip {
    font-family: 'Poppins';
    background: url(https://www.soundcreation.ro/static/bf2024/ind-only-bstock.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: 5.96;
    height: 25px;
}

.outlet-strip-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.outlet-strip {
    background: linear-gradient(90deg, #fdc70c 0%, #f3903f 19%, #ed683c 41%, #ec613b, 51%, #ea4d3a 67%, #e9413a 83%, #e93e3a 100%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-top: -15px;
    padding: 20px 5px 5px 5px;
    box-sizing: content-box;
    height: 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.outlet-badge {
    background: url(https://www.soundcreation.ro/static/bf2024/outlet-badge.svg) no-repeat center;
    background-size: contain;
    margin-top: -15px;
    height: 35px;
    aspect-ratio: .9;
    z-index: 1;
}

.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;
    width: 1.1rem;
    margin-right: -0.2rem;
    background: url(/static/bf2024/easybox-logo.svg);
}

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

.product-addition {
    font-size: 0.7rem;
    font-weight: 600;
}

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

.detail-container a.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, 300px));
    justify-content: space-around;
}

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

    .smaller-hpa-products {
        grid-template-columns: 1fr 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, a.sort-btn {
    border-radius: 8px !important;
    text-decoration: none !important;
}

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

.productLeadOuterContainer.product {
    padding-bottom: unset !important;
    margin-bottom: 0 !important;
    -webkit-box-flex: unset !important;
    -ms-flex: unset !important;
    flex-grow: unset !important;
    flex-shrink: unset !important;
    flex-basis: unset !important;
    padding: 0 !important;
    background-color: unset !important;
    transition: all .2s linear !important;
}

.productLeadOuterContainer.product:hover {
    border-color: unset !important;
}

.__productInCart {
    position: absolute !important;
    z-index: 3 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 5px !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 15px !important;
}

.__productInCart.added_product {
    animation: fadeInOut 3s forwards !important;
}

.__productInCart .__text {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: .5rem !important;
    border-radius: 10px !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

@keyframes fadeInOut {
    0% { opacity: 0; display: flex; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; display: none; }
}

.gestor-stock-info {
    display: inline-block;
    position: absolute;
    font-size: 0.75rem;
    text-align: right;
    padding: 10px;
    border-radius: 15px 0;
    background: rgb(250, 172, 29);
    bottom: 0;
    right: 0;
    color: black !important;
    font-family: monospace;
}