.tooltip .tooltip-inner {
    font-family: "vazirmatn", serif !important;
}

.tooltip.bs-tooltip-end .tooltip-arrow {
    right: 0 !important;
    left: auto !important;
    top: 25% !important;
    transform: rotate(180deg) !important;
}

.styles_HeaderTextLine__IemQk:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: #81858b;
    z-index: 0;
}

@media (min-width: 1024px) {
    .styles_ProductImagesModal__desktopSliderWrapper__JmoGr {
        width: 60%;
    }
}

.gallery-thumbs {
    width: 300px;
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

.gallery-thumbs .swiper-slide {
    width: 60px;
    height: 100%;
    opacity: 0.4;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.product-marquee-text {
    display: flex;
    flex-direction: column;
}

.product-marquee-text div {
    font-size: 0.9rem;
    color: #999;
    white-space: nowrap;
    text-align: right;
    line-height: 1.5rem;
}

.listItem-bullet-slot {
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
}

.item-quantity-box {
    width: 102px;
    min-height: 44px;
    max-height: 44px;
}

@media (max-width: 1024px) {
    .product-img-container {
        width: 140px;
        height: 140px;
        line-height: 0;
    }
}


.img-wrap {
    text-align: center;
    display: block;
}

[class*=product] .img-wrap img {
    height: 100%;
    /*width: 90%;*/
    display: inline-block;
    -o-object-fit: cover;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.img-wrap img {
    max-width: 100%;
}

.product .text-wrap {
    padding-bottom: 0.5rem;
    padding-top: 0.625rem;
    line-height: 1.25;
}

.product:hover {
    text-decoration: none;
}

.product .price {
    font-weight: 600;
    color: #424750;
}

.product .title {
    font-size: 0.9rem;
    line-height: 2;
}

[class*=product] .title {
    color: #495057;
    display: block;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

[class*=product] p {
    margin-bottom: 0;
}

p:last-child {
    margin-bottom: 0;
}

.price-wrap {
    letter-spacing: -0.7px;
    padding-bottom: 10px;
}

.price-old {
    color: #969696;
    margin-left: 3px;
}

@media (max-width: 640px) {
    .product-category-section-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.product-category-section-grid {
    grid-template-columns: repeat(5, 1fr);
}

/* Single product styles */
.single-product-page a {
    text-decoration: none;
}

.single-product-breadcrumb {
    flex: 1 1 auto;
    font-size: 13px;
}

.single-product-breadcrumb ul {
    list-style: none;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
}

.single-product-breadcrumb ul::-webkit-scrollbar {
    display: none;
}

.single-product-breadcrumb ul {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none;
}

.single-product-breadcrumb ul li {
    padding-left: 5px;
    transition: all 0.5s;
}

.single-product-breadcrumb a {
    color: #8E8E8E;
    font-weight: 400;
    font-style: normal;
}

.rating-stars {
    display: inline-block;
    vertical-align: middle;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    white-space: nowrap;
    clear: both;
}

.rating-stars li.stars-active {
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.rating-stars li.stars-active i {
    color: var(--bs-orange);
}

.rating-stars i {
    font-size: 14px;
    color: #ccc;
    display: inline;
}

.rating-stars li {
    display: block;
    text-overflow: clip;
    white-space: nowrap;
    z-index: 1;
}

.rating-stars i {
    font-size: 14px;
    color: #ccc;
    display: inline;
}

.single-product-tabs {
    border-radius: 0 !important;
}

.single-product-tabs .nav-link.active {
    border-bottom: .25rem solid var(--bs-primary) !important;
    color: var(--bs-primary) !important;
}

@media (min-width: 1024px) {
    .single-product-gallery {
        width: 34%;
    }

    .single-product-desc {
        width: 65%;
    }
}

.single-product-footer {
    display: inherit;
    color: inherit;
    justify-content: inherit;
    align-items: inherit;
}

.lazy-loaded {
    opacity: 1;
    transition: opacity .2s;
    display: inline-block;
}


.product-category-sort-gap-4 {
    grid-column-gap: calc(4 * 4px);
    -webkit-column-gap: calc(4 * 4px);
    column-gap: calc(4 * 4px);
}

.product-category-sort-gap-2 {
    grid-column-gap: calc(2 * 4px);
    -webkit-column-gap: calc(2 * 4px);
    column-gap: calc(2 * 4px);
}

.product-category-sort-gap-5 {
    grid-column-gap: calc(5 * 4px);
    -webkit-column-gap: calc(5 * 4px);
    column-gap: calc(5 * 4px);
}

@media (min-width: 1280px) {
    .product-category-filters-container {
        min-width: 300px;
        width: 300px;
    }
}

@media (min-width: 1024px) {
    .product-category-filters-container {
        order: -1;
        min-width: 270px;
        width: 270px;
    }
}

.product-category {
    width: 100%;
}

.product-category img {
    height: 240px;
    width: 240px;
}

@media (max-width: 640px) {
    .product-img-container {
        width: 118px;
        height: 118px;
        line-height: 0;
    }

    .product-category img {
        height: 118px;
        width: 118px;
        max-width: none !important;
    }

    .product-category .title {
        text-align: right;
    }

    .product-category .text-wrap {
        width: 100%;
    }

    .product-category .price-wrap {
        text-align: left;
    }
}

.single-product-tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.single-product-tooltip .single-product-tooltiptext {
    visibility: hidden;
    width: 100px;
    background-color: #6f6f6f;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    top: 120%;
    left: 50%;
    margin-left: -50px;
}

.single-product-tooltip:hover .single-product-tooltiptext {
    visibility: visible;
}

.single-product-tooltip .single-product-tooltiptext::after {
    content: " ";
    position: absolute;
    bottom: 100%; /* At the top of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #6f6f6f transparent;
}

.product-attribute-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #e3e6f0;
    margin-bottom: 10px;
}

.product-category-ul {
    padding-right: 0;
    margin-bottom: 20px;
    min-height: 42px;
    max-height: 200px;
    overflow: auto;
}

.product-category-li {
    list-style-type: none;
}

.product-sn {
    border: 1px solid #e6e9ed;
    color: #9199a0;
    font-size: 11px;
    border-radius: 5px;
    white-space: pre;
    display: inline-block;
    padding: 1px 5px 0;
    height: 19px;
    line-height: 19px;
}

.all-products-sn {
    border: 1px solid #e6e9ed;
    color: #9199a0;
    font-size: 11px;
    border-radius: 5px;
    white-space: pre;
    display: inline-block;
    padding: 1px 5px 0;
    height: 19px;
    line-height: 19px;
}


.single-product-thumbnail-images {
    display: flex;
}

.single-product-thumbnail-images ul {
    list-style: none;
    justify-content: center;
    display: flex;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 0;
    overflow: auto;
}

.single-product-thumbnail-images ul li img {
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.5s;
    /*margin-left: 10px;*/
}

.single-product-thumbnail-images ul li {
    margin-left: 10px;
}

.single-product-thumbnail-images ul li img:hover {
    border-radius: 5px;
    border: 3px solid #0d6efd;
}

.single-product-price-th {
    width: 30%;
}

.single-product-product-meta {
    border-top: 1px solid #D7D7D7;
    padding-top: 10px;
    line-height: 1.9;
    bottom: 0;
    width: 100%;
    left: 0;
    margin-top: 15px;
}

.single-product-swatches-select {
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

.single-product-swatches-select > div:not(:last-child) {
    margin-left: 15px;
}

@media (min-width: 1025px) {
    .single-product-swatches-select .single-product-colored-swatch, .single-product-swatches-select .single-product-image-swatch {
        width: 45px;
        height: 45px;
    }
}

.single-product-swatches-select .single-product-colored-swatch, .single-product-swatches-select .single-product-image-swatch {
    width: 35px;
    height: 35px;
}

.single-product-swatch-enabled {
    right: 0.31rem;
    top: 0.03rem;
}

.single-product-swatches-select .single-product-swatch-enabled {
    cursor: pointer;
}

.single-product-color-border {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 1px solid #d8d8d8;
    border-radius: 50%;
}

.single-product-swatches-select .single-product-colored-swatch, .single-product-swatches-select .single-product-image-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
}

.single-product-swatches-select > div {
    position: relative;
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 25px;
    border-bottom: 2px solid transparent;
    color: #1B1919;
    vertical-align: middle;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
}

.single-product-attribute input[type="radio"] + label .single-product-attribute-item {
    display: inline-block;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
}

.single-product-attribute input[type="radio"] + label .single-product-attribute-item span {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: -3px -2px 0 0 !important;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 50%;
}

.single-product-attribute-item {
    background-size: contain;
}


.product-item-active {
    background: var(--bs-secondary) !important;
}

.product-list {
    display: grid;
    grid-auto-flow: dense;
    grid-template-rows: auto;
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 640px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-list-withSidebar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-list-withSidebar {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1440px) {
    .product-list {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-list-withSidebar {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1676px) {
    .product-list {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-list-withSidebar {
        grid-template-columns: repeat(5, 1fr);
    }
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    appearance: textfield;
    width: 40px;
    height: 32px;
    font-size: 1.1rem;
    padding: 2px 6px;
}
