/* Import ../components Products Archive Orange Moon */

@import url(../components/breadcrumb-header-general.css);
@import url(../components/aside-archive.css);
@import url(../components/products-archive.css);
@import url(../components/product-card.css);

/* Sec Content Products Archive Page Orange Moon */

.sec-content-archive {
    margin: 200px auto;
    margin-top: 100px;
}

.products-page #wrapper {
    height: 100vh;
    overflow: visible;
}

/* All Media Queris Products Archive Orange Moon */

@media screen and (max-width: 768px) {
    .sec-content-archive {
        margin-top: 0;
        margin-bottom: 100px;
    }
    
    .products-page .sec-content-archive {
        margin-top: 0;
    }
    .pr__card .woocommerce-loop-product__title{
        font-size: 12px !important;
        line-height: 1.2rem !important;
        padding: 1rem 4px !important;
    }
    .product-brand-thumbnail {
        left: 3px !important;
        top: -12px !important;
    }
}


.pr__card .woocommerce-loop-product__title {
    font-size: clamp(18px, 2vw, 20px);
    font-weight: 600;
    text-align: center;
    font-family: var(--font-secondary);
    color: #2D2E30;
    cursor: default;
    text-transform: uppercase;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.pr__card a {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    background: #fff;
    border: 2px solid #DCDCDC;
    position: relative;
    transition: .4s ease;
    padding: 1rem;
}

.pr__card img {
    width: 100%;
    border-radius: 1rem;
    object-fit: cover;
    height: 100%;
    aspect-ratio: 1;
}

.pr__card:hover a {
    border-color: #f58220;
}

.pr__card {
    width: 100%;
    /* aspect-ratio: 1 / 1.5; */
    overflow: hidden;
    border-radius: 25px;
    background: transparent;
    position: relative;
    z-index: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    margin-inline: auto;
}



ul.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.product-brand-thumbnail img {
    object-fit: contain !important;
}

.product-brand-thumbnail {
    width: 3.5rem;
    position: absolute;
    left: 1rem;
    top: 0;
    z-index: 1;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* تبدیل اعداد به انگلیسی در کارت محصولات - استفاده از IRANSans به جای IRANSansFa */
.product_wrap_price,
.product_wrap_price *,
.product_wrap_price bdi,
.product_wrap_price ins,
.product_wrap_price del,
.product_wrap_price span,
.product_wrap_price .amount,
.pr__card .product_wrap_price,
.pr__card .product_wrap_price *,
.pr__card .product_wrap_price bdi,
.pr__card .product_wrap_price .amount,
.product-card .product_wrap_price,
.product-card .product_wrap_price *,
.product-card .product_wrap_price .amount {
    font-family: IRANSans !important; /* استفاده از IRANSans به جای IRANSansFa برای اعداد انگلیسی */
    font-variant-numeric: normal !important;
    font-feature-settings: "lnum" 1 !important;
    -webkit-font-feature-settings: "lnum" 1 !important;
    font-numeric-variant: normal !important;
    unicode-range: U+0030-0039; /* فقط اعداد انگلیسی */
}

/* اطمینان از نمایش اعداد انگلیسی در تمام المنت‌های قیمت */
.price,
.woocommerce-Price-amount,
.amount,
bdi {
    font-family: IRANSans !important;
    font-feature-settings: "lnum" 1 !important;
    -webkit-font-feature-settings: "lnum" 1 !important;
}

.product_wrap_price bdi,
.product_wrap_price ins {
    font-size: 1.125rem;
}

.product_wrap_price ins {
    text-decoration: none;
}

.product_wrap_price del {
    color: #2d2e30b9;
    text-decoration-color: #2d2e3040;
}

.product_wrap_price del,
.product_wrap_price del bdi {
    font-size: .875rem !important;
    line-height: 1;
}

.product_wrap_price .woocommerce-Price-currencySymbol {
    font-size: 0.8125rem;
}

.product_wrap_price del .woocommerce-Price-currencySymbol {
    display: none;
}

.product_wrap_price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column-reverse;
}

.product_wrap_price {
    min-height: 3rem;
    padding-bottom: .75rem;
}

.call__for__price {
    color: #f58220;
}

body {
    overflow-x: hidden;
}