/* FONT CONFIGURATION
---------------------------------------------------------------------------------------------------- */
/* ----- Webfont: YekanBakh ----- */
@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/YekanBakh/YekanBakhFaNum-Regular.woff2') format('woff2');
}

@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/YekanBakh/YekanBakhFaNum-SemiBold.woff2') format('woff2');
}

@font-face {
  font-family: YekanBakh;
  font-style: normal;
  font-weight: bold;
  src: url('../fonts/YekanBakh/YekanBakhFaNum-Bold.woff2') format('woff2');
}

@font-face {
	font-family: YekanBakh;
	font-style: normal;
	font-weight: 800;
	src: url('../fonts/YekanBakh/YekanBakhFaNum-ExtraBold.woff2') format('woff2');		 
}

/* BASIC STYLES
---------------------------------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  font-family: YekanBakh !important;
}

.main-page-wrapper {
   padding-top: unset !important;
}

.wd-prefooter {
    padding-bottom: unset !important;
}    

.star-rating {
    color: #0053B3 !important;
}

.wd-star-rating .star-rating::after {
    content: var(--star-content, "\f149"); 
    font-family: "woodmart-font";
    color: #0053B3;
    font-size: 16px;
    vertical-align: middle;
}

.star-rating span:before,
.star-rating:before {
    content: unset !important;
}    

.wd-star-rating .star-rating span {
    position: relative; 
    text-indent: 0; 
    overflow: visible; 
    display: inline; 
    font-family: 'YekanBakh';
    font-weight: 700;
    font-size: 12px;
    color: #173E77;
}

.wd-star-rating .star-rating span::before {
    content: unset;
}

.wd-product-cats.woodmart-product-cats {
        display: none;
    }
    
.product-wrapper {
    border: 1px solid #E1E1E1;
    border-radius: 9.6px !important;
}

.wd-hover-tiled .product-wrapper {
    background-color: unset !important;
    box-shadow: unset !important;
}

.product-grid-item :is(.product-image-link,.hover-img) img {
    border-radius: 9.6px !important;
    padding: 25px;
    object-fit: cover;
}

.product-element-top.wd-quick-shop {
    background-color: #fff;
    border-radius: 9.6px 9.6px 0px 0px !important;
    border-bottom: 1px solid #0000001A;
    
}

.wd-buttons.wd-pos-r-t {
    left: unset !important;
    right: 0px !important;
    top: 0px !important;
    background: unset;
    box-shadow: unset;
}

.wd-add-btn.wd-action-btn.wd-style-icon.wd-add-cart-icon.wd-add-cart-btn.woodmart-add-btn {
    display: none;
}

.product-wrapper {
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}


.product-element-bottom {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-element-bottom h3 {
    min-height: 48px; 
    overflow: hidden;
}


.product-rating-price {
    margin-top: auto; 
}


.product-wrapper {
    position: relative;
}

.wd-star-rating {
    position: absolute;
    top: 5px; 
    left: 0px; 
    z-index: 10;
    padding: 2px 6px;
    border-radius: 4px;
}

.star-rating:before {
    color: #0053B3 !important;
}

h3.wd-entities-title {
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.8em !important;
    text-align: center !important;
    color: #221F1F !important;
}

span.price {
    display: flex !important;;
    flex-direction: column-reverse !important;
    align-items: end;
}

.amount {
    color: #0053B3 !important;
    font-weight: 7600 !important;
    font-size: 16px !important;
}

del .amount {
    color: #A7A5A5 !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}

.product-labels.labels-rectangular {
    position: absolute;
    bottom: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
    top: unset !important;
}

span.onsale.product-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    border-radius: 9px;
    padding: 5px ! IMPORTANT;
    background: #D30000; 
}

nav[class*="-pagination"] li .current {
    background-color: #0053B3 !important;
    
}

nav[class*="-pagination"] li .page-numbers {
    border-radius: 5px !important;
}

form.woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon {
    display: none;
}

nav[class*="-pagination"] li .page-numbers {
    color: #6A8EC4 !important;
    background: #FAFAFA;
}

nav[class*="-pagination"] ul {
    display: flex !important;
    justify-content: center;
    gap: 10px; 
}

.owl-carousel.owl-loaded {
    display: flex !important;
}

.owl-carousel :is(.owl-nav.disabled,.owl-dots.disabled) {
    display: block;
}

.owl-carousel .owl-nav,
.owl-carousel .owl-nav .wd-btn-arrow {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important; 
}

.owl-nav.disabled {
    display: flex !important;
    position: absolute;
    width: 100%;
    justify-content: space-between;
    align-self: center;
}

.wd-btn-arrow[class*="next"]:after {
    content: "" !important;
    background-image: url(https://abzarmart.irannovin.co/wp-content/uploads/2025/05/Frame-70.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 100%;
    height: 80%;
    pointer-events: none !important;
}

.wd-btn-arrow[class*="prev"]::after {
    content: "" !important;
    transform: rotate(180deg);
    width: 100%;
    height: 80%;
    background-image: url('https://abzarmart.irannovin.co/wp-content/uploads/2025/05/Frame-70.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none !important;
}

[class*="wd-carousel-spacing-"] .owl-nav>div[class*="prev"] {
    right: calc(-20px + var(--wd-car-sp) / 2) !important;
}

[class*="wd-carousel-spacing-"] .owl-nav>div[class*="next"] {
    left: calc(-20px + var(--wd-car-sp) / 2) !important;
}

.wd-buttons[class*="wd-pos-r"] {
    opacity: 1 !important;
    transform: unset !important;
}

a.open-quick-view.quick-view-button,
.wd-compare-btn.product-compare-button.wd-action-btn.wd-style-icon.wd-compare-icon {
    display: none !important;
}

.product-label {
    min-width: 22px !important;
}

@media (max-width: 767px) {
    .wd-product-cats.woodmart-product-cats {
        display: none;
    }

    .product-wrapper {
        border: 1px solid #E1E1E1;
        border-radius: 9.6px !important;
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        box-sizing: border-box;
        position: relative;
    }

    .wd-hover-tiled .product-wrapper {
        background-color: unset !important;
        box-shadow: unset !important;
    }

    .product-grid-item :is(.product-image-link,.hover-img) img {
        border-radius: 9.6px !important;
        padding: 25px;
        object-fit: cover;
    }

    .product-element-top.wd-quick-shop {
        background-color: #fff;
        border-radius: 9.6px 9.6px 0px 0px !important;
        border-bottom: 1px solid #0000001A;
    }

    /*a.product-image-link {*/
    /*    margin-top: 30px;*/
    /*}*/

    .wd-buttons.wd-pos-r-t {
        left: unset !important;
        right: 0px !important;
        top: 0px !important;
        background: unset;
        box-shadow: unset;
    }

    .wd-add-btn.wd-action-btn.wd-style-icon.wd-add-cart-icon.wd-add-cart-btn.woodmart-add-btn {
        display: none;
    }

    .product-element-bottom {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .product-element-bottom h3 {
        min-height: 48px; 
        overflow: hidden;
    }

    .product-rating-price {
        margin-top: auto; 
    }

    .owl-carousel .owl-stage-outer {
        overflow: unset !important;
    }

    .wd-star-rating {
        position: absolute;
        top: 5px; 
        left: 0px; 
        z-index: 10;
        padding: 2px 6px;
        border-radius: 4px;
    }

    .star-rating:before {
        color: #0053B3 !important;
    }

    h3.wd-entities-title {
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 1.8em !important;
        text-align: center !important;
        color: #221F1F !important;
    }

    span.price {
        display: flex !important;
        flex-direction: column-reverse !important;
        align-items: end;
    }

    .amount {
        color: #0053B3 !important;
        font-weight: 7600 !important;
        font-size: 16px !important;
    }

    del .amount {
        color: #A7A5A5 !important;
        font-weight: 700 !important;
        font-size: 12px !important;
    }

    .product-labels.labels-rectangular {
        position: absolute;
        bottom: 10px !important;
        right: 10px !important;
        z-index: 10 !important;
        top: unset !important;
    }

    span.onsale.product-label {
        font-size: 10px !important;
        font-weight: 700 !important;
        border-radius: 9px;
        padding: 5px !important;
        background: #D30000; 
    }

    nav[class*="-pagination"] li .current {
        background-color: #0053B3 !important;
    }

    nav[class*="-pagination"] li .page-numbers {
        border-radius: 5px !important;
        color: #6A8EC4 !important;
        background: #FAFAFA;
    }

    nav[class*="-pagination"] ul {
        display: flex !important;
        justify-content: center;
        gap: 10px; 
    }

    form.woocommerce-ordering.wd-style-underline.wd-ordering-mb-icon {
        display: none;
    }
    
    .owl-nav {
        display: none !important;
    }
    
    .product-label {
    min-width: 22px !important;
    }
    
}