/* Banner Section Start */
/* ===== Banner Container ===== */
.ps-home-banner .ps-section__center {
    position: relative;
    width: 100%;

    margin: 10px 0;
    border-radius: 20px;
    overflow: hidden; /* VERY IMPORTANT for radius */
}

/* ===== Owl Full Height ===== */
.ps-home-banner .owl-stage-outer,
.ps-home-banner .owl-stage,
.ps-home-banner .owl-item {
    height: 100% !important;
}

.ps-home-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;   /* 🔥 cover না */
    background: #fff;      /* side gap hide করতে চাইলে */
}

/* ===== Skeleton Overlay ===== */
.skeletonbanner {
    position: absolute;
    inset: 0;
    z-index: 5;
    background-color: #e0e0e0;
    animation: skeleton-loading 1.5s infinite;
}

/* Shimmer Animation */
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

#homepage-5 .ps-home-banner .ps-section__center {
    /* max-width: calc(100% - 270px); */
    max-width: 100%;
}

/* Banner Section end */

/* Load More Start */
.load-more-data {
    background-color: #ec1d24;
    font-size: 14px;
    color: #fff;
}

.spinner-border {
    border: 0.25rem solid #ec1d24;
    border-right-color: transparent !important;
}

/* Load More End */

/* product cart thumbnail */
.ps-product .ps-product__thumbnail .home-product__actions {
    position: absolute !important;
    bottom: 0% !important;
    /* right: -20%; */
    right: -15% !important;
    left: inherit !important;
    transform: translate(-50%, 100%);
}

.ps-product .ps-product__actions {
    display: block;
    flex-flow: row nowrap;
    justify-content: space-between;
    max-width: 200px;
    padding: 10px 10px;
    background-color: rgb(0 0 0 / 0%);
    transition: all 0.5s cubic-bezier(0.7, 0, 0.3, 1) 0s;
}

.ps-product .ps-product__thumbnail .all_product__actions {
    position: absolute !important;
    bottom: 0% !important;
    /* right: -20%; */
    right: -23% !important;
    left: inherit !important;
    transform: translate(-50%, 100%);
}
.ps-product .ps-product__actions li a:hover {
    background-color: #ec1d24;
    color: #ffffff;
}

.ps-block--product-box .ps-block__header ul li > a {
    display: inline-block;
    /* padding-bottom: 2px; */
    /* color: #000; */
    border-bottom: 1px solid #000;
    /* min-width: 60px; */
}

.ps-block--product-box .ps-block__header ul li > a:hover {
    color: #76a8ba;
    border-color: #76a8ba;
}
/* Top Producr End */

/* Delivary Part End */
.delivaryContainer {
    box-shadow: 0 1px 5px rgb(0 0 0 / 10%);
    margin-bottom: 30px;
    background: #fff;
}
.ps-block--site-features.ps-block--site-features-2 {
    padding: 30px 40px;
}

/* Delivary Part End */

/* Footer Part End */
.footerContainer {
    background: #fff;
    box-shadow: 0 1px 5px rgb(0 0 0 / 10%);
}
/* Footer Part End */

/* button-loading start*/

.button-loading {
    border: 1px solid #c4cdd5;
    color: transparent !important;
    cursor: default;
    position: relative;
    text-shadow: none;
    transition: border-color 0.2s ease-out;
}
.button-loading,
.button-loading:active,
.button-loading:focus,
.button-loading:hover {
    color: transparent;
}
.button-loading:before {
    animation: button-loading-spinner 1s linear infinite;
    border: 3px solid;
    border-color: #fff #fff transparent;
    border-radius: 50%;
    content: "";
    height: 18px;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}
.button-loading.btn-fill-out {
    border: 1px solid var(--color-1st);
    color: transparent !important;
}
.button-loading.btn-fill-out:before {
    background-color: transparent;
    border-color: var(--color-1st);
    border-bottom-color: transparent;
    width: 18px;
}
.button-loading.btn-fill-out:after {
    display: none;
}

@keyframes button-loading-spinner {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

.ps-product--quickview .ps-product__actions a.button-loading i,
.ps-product__shopping .ps-product__actions a.button-loading i {
    color: transparent;
}

.ps-product--cart-mobile.content-loading,
.ps-table--shopping-cart.content-loading {
    position: relative;
}

.ps-product--cart-mobile.content-loading:before,
.ps-table--shopping-cart.content-loading:before {
    animation: button-loading-spinner 1s linear infinite;
    border-color: var(--color-1st);
    border-bottom-color: transparent !important;
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    content: "";
    height: 18px;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
    border-color: #76a8ba;
}

.ps-product--cart-mobile.content-loading:after,
.ps-table--shopping-cart.content-loading:after {
    background: rgba(0, 0, 0, 0.02);
    bottom: -10px;
    content: "";
    left: -10px;
    position: absolute;
    right: -10px;
    top: -10px;
}

.shop-url-wrapper.content-loading:before {
    animation: button-loading-spinner 1s linear infinite;
    border-color: var(--color-1st);
    border-bottom-color: transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    content: "";
    height: 18px;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}

.ps-shopping-cart .ps-table--shopping-cart.content-loading:before {
    animation: button-loading-spinner 1s linear infinite;
    border-color: #76a8ba;
    border-bottom-color: transparent;
    border-radius: 50%;
    border-style: solid;
    border-width: 1px;
    content: "";
    height: 18px;
    left: 50%;
    margin-left: -9px;
    margin-top: -9px;
    position: absolute;
    top: 50%;
    width: 18px;
}

/* button-loading end*/

/* Search box start */

#searchProducts {
    position: absolute;
    border-radius: 8px;
    z-index: 999;
    margin-top: 5px;
    /* left: 18px; */
    transform: translateX(-25.5%);
}

/* Search box start */

/* toastter font size */
#toast-container > .toast {
    font-size: 14px; /* Change this value to your desired font size */
}

/* modal close */
.modal-close {
    cursor: pointer;
}

/* All product page design Start*/
.sub-menu > li > a:hover {
    color: #ec1d24;
}
.ps-list--categories .sub-toggle i::before {
    display: none;
}

.ps-list--categories .sub-toggle::after {
    transform: translateX(-50%) rotate(90deg);
}

.ps-list--categories .sub-toggle::after,
.ps-list--categories .sub-toggle::before {
    background-color: #ec1d24 !important;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute !important;
    top: 50%;
    width: 12px;
}

.ps-list--categories .sub-toggle::before {
    transform: translateX(-50%);
}

.ps-list--categories .sub-toggle.active::after {
    display: none;
}

.sub-toggle {
    cursor: pointer;
    display: inline-block;
    display: none;
    height: 36px;
    position: relative;
    transform-style: preserve-3d;
    width: 36px;
}

.sub-toggle:after,
.sub-toggle:before {
    background-color: #000;
    content: "";
    height: 1px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 12px;
}

.sub-toggle:before {
    transform: translateX(-50%);
}

.sub-toggle:after {
    transform: translateX(-50%) rotate(90deg);
}

.sub-toggle.active:after {
    display: none;
}

/* All product page design End */

/* Header Cart Items Card Body Start */
.ps-cart__items .ps-cart__items__body {
    max-height: 490px;
    overflow-x: hidden;
    overflow-y: auto;
}
@media (max-height: 820px) {
    .ps-cart__items .ps-cart__items__body {
        max-height: 350px;
    }
}

.ps-product--cart-mobile .ps-product__content small {
    font-size: 13px;
}

.ps-cart__items .ps-cart__items__body .sold-by a,
.ps-container .ps-section__content .sold-by a {
    color: var(--color-1st);
    font-size: 13px;
}

.ps-cart__items .ps-cart__items__body .sold-by small,
.ps-container .ps-section__content .sold-by small {
    font-size: 13px;
}

/* Custom scrollbar styling */
.ps-cart__items .ps-cart__items__body::-webkit-scrollbar {
    width: 2px; /* Set the width of the scrollbar */
}

.ps-cart__items .ps-cart__items__body::-webkit-scrollbar-thumb {
    background-color: #888; /* Set the color of the scrollbar thumb */
    border-radius: 10px; /* Optional: Round the scrollbar thumb */
}

.ps-cart__items .ps-cart__items__body::-webkit-scrollbar-track {
    background: #f1f1f1; /* Set the color of the scrollbar track */
}

/* Header Cart Items Card Body End */

/* Product details page add to cart design  start*/
.ps-product--full-content
    .ps-product__price-right
    .ps-product__shopping
    .ps-btn {
    margin-bottom: 15px;
}

.ps-product--detail .ps-product__shopping .form-group--number i {
    color: #212529;
    font-size: 15px;
    font-weight: 900;
}

/* input[type=number] upper and lower key hide */

/* For WebKit browsers (Chrome, Safari): */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* For Firefox: */
input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
}
/* Microsoft Edge */
input[type="number"]::-ms-clear,
input[type="number"]::-ms-reveal {
    display: none; /* Edge and IE */
}

/* input[type=number] upper and lower key hide */

.ps-product .ps-product__actions li button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
}
.ps-product .ps-product__actions li a:hover {
    background-color: #ec1d24;
    color: #ffffff;
}

.ps-product__actions a {
    border: none;
    background-color: rgb(232 232 232);
}

.ps-product__content a {
    border: none;
    background-color: #fff;
}

.ps-product__content a:hover {
    color: #ec1d24 !important;
    /* font-weight: 900; */
}

.ps-product--full-content .ps-product__top .ps-product__price-right {
    width: 100%;
    max-width: 270px;
    /* max-height: 270px; */
    max-height: 320px;
}

.ps-product--full-content .ps-product__price-right .ps-product__actions a {
    font-size: 16px;
}
.ps-product--full-content .ps-product__price-right .ps-product__actions a {
    display: inline-block;
    font-size: 20px;
    text-align: center;
    color: #000;
    font-weight: 800;
}

.wish a {
    border: none;
    border-radius: 50%;
    height: 40px;
    line-height: 46px;
    text-align: center;
    width: 40px;
}
.ps-product__shopping .ps-product__actions a:hover {
    background-color: #ec1d24;
    color: #fff !important;
}
/* Product details page add to cart design  End*/

/* Shopping Cart Page Start */
.ps-shopping-cart .btn-cart-button-action:last-child {
    float: right;
}
/* Shopping Cart Page End */

/* All Product Page Start */
/* price range filter start */

.noUi-connect {
    background: #ec1d24;
}

.noUi-handle {
    border: 3px solid #ec1d24;
    border-radius: 50%;
    box-shadow: none;
}

.widget_shop .ps-slider__meta span {
    margin-left: 3px;
    margin-right: 3px;
}

.widget_shop .ps-slider__meta {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.8em;
    color: #000;
}

/* price range filter end */

/* brand filter start */
.widget_shop .ps-checkbox > label:hover {
    color: #ec1d24;
}
.widget_shop .ps-checkbox input[type="checkbox"]:checked ~ label {
    font-weight: 500;
    color: #ec1d24;
}
.widget_shop .ps-checkbox input[type="checkbox"]:checked ~ label:before {
    border-color: #ec1d24;
    background-color: #ffffff;
}

.widget_shop .ps-checkbox > label:after {
    top: 3px;
    left: 7px;
    width: 4px;
    height: 8px;
    border-width: 1px;
    border-color: #ec1d24;
}
/* brand filter end */

/* product loading start*/
.ps-layout--shop .ps-layout__right #products-filter-sidebar {
    align-items: center;
    border: none;
    display: flex;
    justify-content: center;
    padding: 0.5em;
    width: 100%;
}
.ps-layout--shop .ps-tabs {
    position: relative;
}
.ps-layout--shop .ps-tabs .loading {
    /* background: rgba(0, 0, 0, 0.1); */
    bottom: -15px;
    display: none;
    left: -15px;
    position: absolute;
    right: -15px;
    top: 0;
    z-index: 10;
}
.ps-layout--shop .ps-tabs .loading .half-circle-spinner {
    margin: 50px auto;
}

.half-circle-spinner,
.half-circle-spinner * {
    box-sizing: border-box;
}
.half-circle-spinner {
    border-radius: 100%;
    height: 60px;
    margin: 20px auto;
    position: relative;
    width: 60px;
}
.half-circle-spinner .circle {
    border: 3px solid transparent;
    border-radius: 100%;
    content: "";
    height: 100%;
    position: absolute;
    width: 100%;
}
.half-circle-spinner .circle.circle-1 {
    animation: half-circle-spinner-animation 1s infinite;
    border-top-color: #ec1d24;
}
.half-circle-spinner .circle.circle-2 {
    animation: half-circle-spinner-animation 1s infinite alternate;
    border-bottom-color: #ec1d24;
}
@keyframes half-circle-spinner-animation {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

/* product loading start*/
/* All Product Page Start */


/*Cart Page Design */
.cartimage {
    height: 60px;
    width: 60px;
}

.ps-product--cart .ps-product__content a {
    font-size: 16px;
    color: #000;
}

.ps-table--shopping-cart tbody tr td {
    padding: 7px 10px;
}
.cart_price del {
    color: #999;
    margin-left: 5px;
}
.ps-block--shopping-total h3 span {
    color: #ec1d24;
    font-weight: 600;
    float: right;
}
.ps-cart--mini .ps-cart__footer h3 strong {
    float: right;
    color: #ec1d24;
}
.ps-product--cart-mobile .ps-product__content a {
    color: #000;
}

/* Product details */
.ps-product--detail .ps-product__meta p a {
    color: #ec1d24;
}
.short_desc li {
    color: #000!important;
    line-height: 15px!important;
}

.short_desc ul li:before {
    background-color:  #000!important;
}
.ps-product--detail .ps-product__specification p.categories a {
    color: #ec1d24;
}

.ps-product--detail .ps-tab-list li.active a {
    color: #ec1d24;
}
.ps-product--detail .ps-tab-list li a:before {
    background-color:  #ec1d24!important;
}
.related-product-list h5{
    color: #ec1d24!important;
}
.ps-product--detail .ps-product__variants .item.slick-current {
    border-color: #ec1d24;
}
.ps-product--detail .ps-product__price.sale {
    color: #ec1d24;
}
.ps-document a {
    color: #ec1d24;
    font-weight: 600;
    text-decoration: underline;
}

.up:hover, .down:hover {
    color: #ec1d24;
}
