:root {
    --accent-red: 238, 89, 92;
}

/*=====================
  2.1  Reset CSS start
==========================*/
* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    cursor: pointer;
}

section,
.section-t-space {
    padding-top: 24px;
}

.section-b-space {
    padding-bottom: 24px;
}

.section-md-t-space {
    padding-top: calc(30px + 10 * (100vw - 320px) / 1600);
}

.section-md-b-space {
    padding-bottom: calc(20px + 20 * (100vw - 320px) / 1600);
}

.text-theme {
    color: rgba(var(--theme-color), 1) !important;
}

    .text-theme.iconsax svg [stroke] {
        stroke: rgba(var(--theme-color), 1);
    }

    .text-theme.iconsax svg [fill] {
        fill: rgba(var(--theme-color), 1);
    }

.text-rating {
    color: rgba(var(--rating), 1);
}

    .text-rating.iconsax svg [stroke] {
        stroke: rgba(var(--rating), 1);
    }

    .text-rating.iconsax svg [fill] {
        fill: rgba(var(--rating), 1);
    }

.text-title {
    color: rgba(var(--title-color), 1) !important;
}

.text-content {
    color: rgba(var(--content-color), 1) !important;
}

.text-theme {
    color: rgba(var(--theme-color), 1) !important;
}

.image-bg {
    background-color: rgba(var(--image-bg), 1);
}

.text-white.iconsax svg [stroke] {
    stroke: rgb(255, 255, 255);
}

.text-white.iconsax svg [fill] {
    fill: rgb(255, 255, 255);
}

.text-title.iconsax svg [stroke] {
    stroke: rgba(var(--title-color), 1);
}

.text-title.iconsax svg [fill] {
    fill: rgba(var(--title-color), 1);
}

.text-content.iconsax svg [stroke] {
    stroke: rgba(var(--content-color), 1);
}

.text-content.iconsax svg [fill] {
    fill: rgba(var(--content-color), 1);
}

.px-20 {
    padding-inline: 20px;
}

.mx-20 {
    margin-inline: 20px;
}

.bottom-space {
    padding-top: 85px;
}

.border-block {
    border-top: 1px solid rgba(var(--theme-color), 0.1);
    border-bottom: 1px solid rgba(var(--theme-color), 0.1);
    padding-block: 15px;
}

.rating-wrap svg {
    width: 16px;
    height: 16px;
}

.w-18 svg {
    width: 18px;
    height: 18px;
}

[dir=rtl] input[type=email],
[dir=rtl] input[type=number],
[dir=rtl] input[type=date] {
    text-align: end;
}

/*=====================
    Tab CSS start
==========================*/
.tab-style-1 .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: unset;
    flex-wrap: unset;
    gap: 20px;
    overflow: auto;
}

.tab-style-1 .nav-link {
    padding: 0;
    font-size: 14px;
    color: rgba(var(--content-color), 1);
    white-space: nowrap;
    position: relative;
    padding-bottom: 5px;
}

    .tab-style-1 .nav-link.active {
        color: rgba(var(--title-color), 1);
    }

        .tab-style-1 .nav-link.active:after {
            content: "";
            position: absolute;
            bottom: 0;
            width: 56px;
            height: 2px;
            border-radius: 3px;
            background-color: rgba(var(--title-color), 1);
            left: 0;
        }

[dir=rtl] .tab-style-1 .nav-link.active:after {
    left: unset;
    right: 0;
}

.tab-style-2 .nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: unset;
    flex-wrap: unset;
    overflow: auto;
}

.tab-style-2 .nav-link {
    font-size: 16px;
    color: rgba(var(--content-color), 1);
    white-space: nowrap;
    position: relative;
    border-radius: 7px;
    padding: 6px 18px;
}

    .tab-style-2 .nav-link.active {
        background-color: rgba(var(--theme-color), 1);
        color: rgb(255, 255, 255);
    }
/*=====================
    Productbox CSS start
==========================*/
.product-box {
    padding: 10px;
    border: 1px solid rgba(var(--theme-color), 0.1);
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 12px rgba(var(--title-color), 0.04);
    box-shadow: 0 2px 12px rgba(var(--title-color), 0.04);
}

    .product-box .product-img {
        position: relative;
        border-radius: 6px;
        overflow: hidden;
    }

        .product-box .product-img img {
            width: 100%;
        }

        .product-box .product-img label {
            background-color: rgba(var(--accent-red), 1);
            color: rgb(255, 255, 255);
            position: absolute;
            top: 0;
            left: 0;
            padding: 2px 4px;
            border-radius: 6px 0 10px 0;
            font-size: 12px;
            font-weight: 500;
        }

[dir=rtl] .product-box .product-img label {
    left: unset;
    right: 0;
    border-radius: 0 6px 0 10px;
}

.product-box .add-icon {
    background: radial-gradient(circle, rgb(83, 133, 252) 0%, rgb(53, 95, 233) 100%);
    width: 30px;
    height: 30px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    border-radius: 100%;
    position: absolute;
    top: -16px;
    right: 10px;
}

[dir=rtl] .product-box .add-icon {
    right: unset;
    left: 10px;
}

.product-box .rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: rgba(var(--rating), 1);
    gap: 6px;
    font-weight: 500;
    line-height: 1;
}

    .product-box .rating .iconsax svg {
        width: 14px;
    }

        .product-box .rating .iconsax svg [fill] {
            fill: rgba(var(--rating), 1);
        }

.product-box .product-content {
    position: relative;
    padding-top: 10px;
}

    .product-box .product-content .bottom-content {
        padding-top: 10px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }

        .product-box .product-content .bottom-content h5 {
            color: rgba(var(--title-color), 1);
            font-weight: 600;
        }

            .product-box .product-content .bottom-content h5 del {
                font-size: 12px;
                font-weight: 400;
                color: rgba(var(--content-color), 1);
            }

.product-box.vertical-product {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    position: relative;
}

    .product-box.vertical-product .add-icon {
        top: unset;
        bottom: 0;
        right: 0;
    }

[dir=rtl] .product-box.vertical-product .add-icon {
    right: unset;
    left: 0;
}

.product-box.vertical-product .product-content {
    padding-top: 0;
    width: calc(100% - 85px - 10px);
}

    .product-box.vertical-product .product-content .product-top {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        gap: 8px;
    }

.product-box.vertical-product .product-img {
    position: unset;
}

    .product-box.vertical-product .product-img a img {
        width: 85px;
        height: 85px;
        -o-object-fit: cover;
        object-fit: cover;
    }

.product-box.wishlist-box {
    position: relative;
    overflow: hidden;
}

    .product-box.wishlist-box .add-icon {
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        border-radius: 4px;
        background: rgba(var(--theme-color), 0.1);
        padding: 1px 6px;
    }

        .product-box.wishlist-box .add-icon [data-icon=trash] svg {
            width: 16px;
            height: 16px;
            margin-left: 7px;
        }

[dir=rtl] .product-box.wishlist-box .add-icon [data-icon=trash] svg {
    margin-left: 0;
    margin-right: 7px;
}

.product-box.wishlist-box .product-content h6 {
    font-size: 12px;
}

.product-box.wishlist-box .buy-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    font-weight: 500;
    font-size: 12px;
    padding: 10px;
    color: rgba(var(--theme-color), 1);
    background-color: rgba(var(--theme-color), 0.3);
    border-radius: 10px 0 0 0;
}

[dir=rtl] .product-box.wishlist-box .buy-btn {
    right: unset;
    left: 0;
    border-radius: 0 10px 0 0;
}

.white-nowrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.swiper.custom-margin {
    margin: -10px -10px 0;
}

    .swiper.custom-margin .product-box {
        margin: 10px 10px 0;
    }

.vertical-box {
    padding: 15px;
    border: 1px solid rgba(var(--theme-color), 0.1);
    border-radius: 10px;
    -webkit-box-shadow: 0 2px 12px rgba(var(--title-color), 0.04);
    box-shadow: 0 2px 12px rgba(var(--title-color), 0.04);
}

    .vertical-box li {
        width: 100%;
    }

        .vertical-box li a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
            gap: 10px;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            width: 100%;
        }

            .vertical-box li a .start-content {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                gap: 10px;
            }

            .vertical-box li a img {
                width: 45px;
                height: 45px;
                border-radius: 8px;
            }

            .vertical-box li a .end-content {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-orient: vertical;
                -webkit-box-direction: normal;
                -ms-flex-direction: column;
                flex-direction: column;
                text-align: right;
            }

            .vertical-box li a del {
                font-size: 12px;
            }

        .vertical-box li + li {
            padding-top: 15px;
            margin-top: 10px;
            border-top: 1px solid rgba(var(--theme-color), 0.1);
        }

/*=====================
                    banner CSS start
                ==========================*/
.banner-wapper {
    position: relative;
}

    .banner-wapper .banner-bg {
        position: relative;
    }

        .banner-wapper .banner-bg .img-bg {
            border-radius: 12px;
        }

        .banner-wapper .banner-bg .banner-content {
            position: absolute;
            top: 20px;
            right: 15px;
            color: rgba(var(--white), 1);
        }

[dir=rtl] .banner-wapper .banner-bg .banner-content {
    text-align: left;
}

.banner-wapper .banner-bg .banner-content h2 {
    color: #fff;
}

.banner-wapper .banner-bg .banner-content h4 {
    width: 62%;
    font-weight: 300;
    margin-top: 4px;
    color: #fff;
}

[dir=rtl] .banner-wapper .banner-bg .banner-content h4 {
    margin-right: auto;
}

.banner-wapper .banner-bg .banner-content h3 {
    width: 100%;
    line-height: 1.5;
    color: #fff;
}

.banner-wapper .banner-bg .more-btn {
    position: absolute;
    bottom: 20px;
    color: #fff;
    left: 15px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    line-height: 1;
}

    .banner-wapper .banner-bg .more-btn .right-arrow {
        --Iconsax-Color: #fff;
    }

.grid-banner .banner-bg .banner-content {
    top: 15px;
}

    .grid-banner .banner-bg .banner-content h3 {
        font-size: calc(14px + 1 * (100vw - 320px) / 1600);
    }

[dir=rtl] .grid-banner .banner-bg .banner-content h3 {
    margin-left: auto;
}

.grid-banner .banner-bg .more-btn {
    bottom: 40px;
}

[dir=rtl] .grid-banner .banner-bg .more-btn {
    text-align: left;
}

.grid-banner .banner-bg .more-btn .right-arrow {
    --Iconsax-Color: #fff;
}

@media (max-width: 375px) {
    .grid-banner .banner-bg .more-btn {
        bottom: 18px;
    }
}

.grid-banner .banner-bg .more-btn h3 {
    font-size: 12px;
}

.grid-banner .banner-bg .more-btn i {
    font-size: 20px;
}

/*=====================
    Title CSS start
==========================*/
.title-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 14px;
}

    .title-main a {
        color: rgba(var(--theme-color), 1);
        font-weight: 500;
    }
/* ---------- Notable Collection CSS ---------- */

.notable-collection-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 17px;
    overflow: auto;
    padding-bottom: 11px;
}

    .notable-collection-list li .notable-collection-box {
        display: block;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        width: 100%;
        height: 100%;
    }

        .notable-collection-list li .notable-collection-box .main-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .notable-collection-list li .notable-collection-box .collection-content {
            position: absolute;
            bottom: 8px;
            padding: 8px 12px;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: rgba(255, 255, 255, 1);
            border-radius: 0;
            color: rgba(var(--title), 1);
            gap: 30px;
            width: calc(100%);
            background-color: rgba(var(--box-bg), 1);
            color: rgba(var(--title-color), 1);
        }

            .notable-collection-list li .notable-collection-box .collection-content[class="dark"] {
                color: #222;
                background-color: #fff;
            }

            .notable-collection-list li .notable-collection-box .collection-content h6 {
                font-weight: 500;
                font-size: 14px;
                white-space: nowrap;
            }

            .notable-collection-list li .notable-collection-box .collection-content img {
                width: 16px;
                height: 16px;
            }

.px-15 {
    padding-inline: 15px !important;
}

.pharmacy-categories-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(var(--light-text), 1);
    background-color: rgba(var(--box-bg), 1);
    border-radius: 100%;
    margin: 0 auto;
}

    .pharmacy-categories-box.active {
        color: rgba(var(--white), 1);
        background-color: rgba(var(--theme-color), 0.1);
    }

        .pharmacy-categories-box.active h6 {
            border-left: 1px solid rgba(var(--white), 1);
        }

.pharmacy-banner-img {
    border-radius: 6px;
}

.pharmacy-product-box {
    padding: 0;
    position: relative;
}

    .pharmacy-product-box .ratings {
        position: absolute;
        top: 15px;
        right: 12px;
    }

[dir="rtl"] .pharmacy-product-box .ratings {
    left: 12px;
    right: unset;
}

.pharmacy-product-box .grocery-product-details {
    background-color: rgba(var(--box-bg), 1);
    padding: 8px 12px;
}

    .pharmacy-product-box .grocery-product-details .cart-btn {
        background-color: rgba(var(--theme-color), 1);
        padding: 5px;
        border-radius: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
    }

.pharmacy-horizontal-product-box {
    background-color: rgba(var(--box-bg), 1);
}

    .pharmacy-horizontal-product-box li {
        border-bottom: 1px dashed rgba(var(--black), 0.06);
        gap: 12px;
    }

    .pharmacy-horizontal-product-box .horizontal-product-img {
        padding: 8px;
        background-color: rgba(var(--white), 1);
        border-radius: 4px;
    }

    .pharmacy-horizontal-product-box h5 {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

.pharmacy-horizontal-product-box2 {
    border-radius: 4px;
    border: 1px solid rgba(var(--box-bg), 1);
    background: rgba(var(--white), 1);
    box-shadow: 0px 2px 15px 0px rgba(var(--black), 0.04);
    display: flex;
    align-items: unset;
    padding: 0;
    gap: 0;
    height: 100%;
}

[dir="rtl"] .pharmacy-horizontal-product-box2 {
    direction: rtl;
}

.pharmacy-horizontal-product-box2 .horizontal-product-img .img {
    width: 80px;
    height: 100%;
}

.pharmacy-horizontal-product-box2 .horizontal-product-details {
    position: relative;
    width: calc(100% - 80px);
    padding: 12px;
}

    .pharmacy-horizontal-product-box2 .horizontal-product-details .add-btn {
        right: 15px;
        bottom: 15px;
    }

[dir="rtl"] .pharmacy-horizontal-product-box2 .horizontal-product-details .add-btn {
    left: 15px;
    right: unset;
}

.discount-banner {
    border-radius: 6px;
}
