/*
Theme Name:  ZoomBazar Child
Description: زوم بازار منعطف ترین فروشگاه لوازم جانبی
Author:      ZoomBazar
Author URI:  https://zoombazar.ir
Template:    parskala
Version:     1.0.0
Text Domain: parskala
*/

.my-color-family-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

/* each item */
.my-color-family-item.facetwp-checkbox {
    position: relative;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    user-select: none;
    transition: all .2s ease;
}

/* disabled */
.my-color-family-item.disabled {
    opacity: .35;
    pointer-events: none;
}

/* remove FacetWP default checkbox UI */
.my-color-family-item.facetwp-checkbox:before,
.my-color-family-item.facetwp-checkbox.checked:before,
.facetwp-facet-color_family .facetwp-checkbox:before,
.facetwp-facet-color_family .facetwp-checkbox.checked:before {
    display: none !important;
    content: none !important;
}

.facetwp-facet-color_family .facetwp-checkbox,
.facetwp-facet-color_family .facetwp-checkbox.checked {
    background: transparent !important;
    padding-left: 0 !important;
}

/* outer frame */
.my-color-family-thumb-wrap {
    position: relative;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .18s ease;
}

/* hover */
.my-color-family-item:hover .my-color-family-thumb-wrap {
    border-color: #cfd4dc;
}

/* selected */
.my-color-family-item.checked .my-color-family-thumb-wrap {
    border: 2px solid #ef394e;
    box-shadow: 0 0 0 1px rgba(239, 57, 78, 0.10);
}
#wlr_dob_field {
    display: none !important;
}
/* selected check icon */
.my-color-family-item.checked .my-color-family-thumb-wrap::after {
    content: "✓";
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ef394e;
    color: #fff;
    font-size: 11px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* thumb */
.my-color-family-thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

/* image */
.my-color-family-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 10px;
}

/* fallback color block */
.my-color-family-thumb--fallback {
    border: 1px solid #ddd;
}

/* label under image */
.my-color-family-label {
    display: block !important;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.4;
    color: #555;
    text-align: center;
    white-space: nowrap;
}

/* اگر count هم جایی ساخته شود */
.my-color-family-count {
    display: none !important;
}

/* white/silver/cream border */
.my-color-family-item[data-value="white"] .my-color-family-thumb,
.my-color-family-item[data-value="silver"] .my-color-family-thumb,
.my-color-family-item[data-value="cream"] .my-color-family-thumb {
    border: 1px solid #e5e7eb;
}

/* mobile */
@media (max-width: 767px) {
    .my-color-family-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 8px;
    }

    .my-color-family-thumb {
        width: 36px;
        height: 36px;
    }

    .my-color-family-thumb-wrap {
        padding: 3px;
        border-radius: 10px;
    }

    .my-color-family-label {
        font-size: 10px;
        margin-top: 3px;
    }
}

.zb-device-detect-box {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 99999;
    border: 1px solid #ffffffbf;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(50px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.18),
            inset 0 1px 1px rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 34px;
    padding: 30px 20px 30px;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
    direction: rtl;
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}

.zb-device-detect-box.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity .35s ease, transform .35s ease;
    z-index: 9999999999;
}

.zb-device-detect-header {
    display: block;
    padding: 0;
}

.zb-device-detect-spinner {
    margin: 0 auto 14px;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(33, 146, 238, .22);
    border-top-color: #2192ee;
    border-radius: 50%;
    display: block;
    animation: zb-device-detect-spin .8s linear infinite;
}

.zb-device-detect-box:not(.is-loading) .zb-device-detect-spinner {
    display: none;
}

@keyframes zb-device-detect-spin {
    to { transform: rotate(360deg); }
}

.zb-device-detect-message {
    font-size: 17px;
    line-height: 2;
    color: #181818;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.zb-device-detect-message strong,
.zb-device-detect-message b {
    font-weight: 800;
}

/* Footer contact details */
.footer-s .footer-phone-value {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    color: inherit;
}

.footer-s .footer-phone-contact {
    position: relative;
    display: inline-block;
    z-index: 20;
}

.footer-s .footer-phone-contact::after {
    content: "";
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 290px;
    height: 16px;
}

.footer-s .footer-phone-contact:hover::after {
    display: block;
}

.footer-s .footer-phone-trigger {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.footer-s .footer-phone-trigger:hover .footer-phone-value,
.footer-s .footer-phone-trigger:focus-visible .footer-phone-value {
    color: #1687dc;
}

.footer-s .footer-contact-backdrop {
    display: none;
}

.footer-s .footer-contact-panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 100001;
    width: 290px;
    padding: 24px 18px 18px;
    border: 1px solid #e7e9ed;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(22, 35, 52, .18);
    color: #172b4d;
    direction: rtl;
    text-align: center;
    white-space: normal;
}

.footer-s .footer-phone-contact:hover .footer-contact-panel,
.footer-s .footer-phone-contact.is-open .footer-contact-panel {
    display: block;
}

.footer-s .footer-phone-contact.is-open {
    z-index: 2147483647;
}

.footer-s .footer-phone-contact:hover {
    z-index: 2147483647;
}

.footer-s .footer-contact-panel h2 {
    margin: 0 0 12px;
    color: #18376a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.footer-s .footer-contact-panel p {
    margin: 0 0 18px;
    color: #46566e;
    font-size: 13px;
    line-height: 1.9;
}

.footer-s .footer-contact-close {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #d8e8f8;
    border-radius: 50%;
    background: #fff;
    color: #258de1;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.footer-s .footer-contact-actions {
    display: grid;
    gap: 10px;
}

.footer-s .footer-contact-actions a,
.footer-s .footer-contact-actions button {
    display: flex;
    flex-direction: row-reverse;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid #1687dc;
    border-radius: 12px;
    color: #1687dc;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

.footer-s .footer-contact-actions svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: currentColor;
}

.footer-s .footer-contact-actions .footer-contact-chat {
    background: #1687dc;
    color: #fff;
}

.footer-s .footer-contact-actions a:hover,
.footer-s .footer-contact-actions button:hover,
.footer-s .footer-contact-actions a:focus-visible,
.footer-s .footer-contact-actions button:focus-visible {
    background: #0e6fb8;
    border-color: #0e6fb8;
    color: #fff;
}

.footer-s .footer-address {
    float: right;
    clear: both;
    width: 100%;
    margin-top: 8px;
    color: #000;
    text-align: right;
}

@media (max-width: 767px) {
    body.zb-footer-contact-modal-open {
        overflow: hidden;
    }

    .footer-s .footer-phone-contact::after {
        display: none !important;
    }

    body.zb-footer-contact-modal-open iframe[src*="vardast.chat"] {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .footer-s .footer-phone-contact:hover .footer-contact-panel {
        display: none;
    }

    .footer-s .footer-phone-contact.is-open .footer-contact-panel {
        display: block;
        position: fixed;
        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;
        width: auto;
        max-width: 620px;
        margin: 0 auto;
        padding: 36px 20px 22px;
        border: 2px solid rgba(255, 255, 255, .95);
        border-radius: 28px;
        background: rgba(247, 250, 253, .96);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    }

    .footer-s .footer-phone-contact.is-open .footer-contact-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 100000;
        background: rgba(9, 24, 42, .62);
        backdrop-filter: blur(3px);
    }

    .footer-s .footer-phone-contact.is-open .footer-contact-panel h2 {
        font-size: 20px;
    }

    .footer-s .footer-phone-contact.is-open .footer-contact-panel p {
        font-size: 15px;
    }

    .footer-s .footer-address {
        float: none;
        display: block;
        width: 100%;
        margin: 14px 0 18px;
        padding: 12px 14px;
        border: 1px solid #eceef1;
        border-radius: 12px;
        background: #f8f9fa;
        color: #4b5563;
        font-size: 14px;
        line-height: 1.9;
        text-align: right;
        overflow-wrap: anywhere;
    }

    .footer-s .footer-address .text-number {
        display: block;
        margin: 0 0 4px;
        color: #222;
        font-size: 13px;
        font-weight: 700;
    }

    .footer-s .footer-address span:not(.text-number) {
        display: block;
    }

    .footer-s .main-footer .tell-box .support {
        display: block;
        width: 100%;
        margin: 8px 0 10px;
        color: #4b5563;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.9;
        text-align: right;
    }
}


.zb-device-detect-close {
    position: absolute;
    top: 14px;
    right: 14px;
    left: auto;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #49a7ea;
    font-size: 28px;
    line-height: 28px;
    cursor: pointer;
    padding: 0;
    border-radius: 0;
}

.zb-device-detect-close:hover {
    opacity: .8;
}

.zb-device-detect-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 100%;
}

.zb-device-detect-go {
    display: block;
    border: 0;
    background: #2192ee;
    color: #ffffff;
    border-radius: 999px;
    width: 80%;
    max-width: 320px;
    min-height: 56px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
    text-align: center;
}



.zb-device-detect-go:hover {
    opacity: .96;
    transform: translateY(-1px);
}

.zb-device-detect-iphone-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding: 0;
    width: 100%;
}

.zb-iphone-candidate-btn {
    width: 100%;
    min-height: 46px;
    border: 0;
    background: #2192ee;
    color: #ffffff;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.zb-iphone-candidate-btn:hover {
    opacity: .92;
}

/* دکمه "فعلاً نه" با استفاده از همان close */
#zb-device-detect-close {
    position: absolute;
    background: #ffffff;
    border-radius: 100px;
}

/* اگر خواستی پایین هم "فعلاً نه" داشته باشی با کلاس کمکی */
.zb-device-detect-decline {
    background: transparent;
    border: 0;
    color: #39a3eb;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
}

/* نسخه موبایل خیلی نزدیک به طرح عکس */
@media (max-width: 480px) {
    .zb-device-detect-box {
        left: 8px;
        right: 8px;
        bottom: 10px;
        border-radius: 24px;
        padding: 30px 16px 30px;
    }

    .zb-device-detect-message {
        font-size: 16px;
        line-height: 1.95;
    }

    .zb-device-detect-go {
        min-height: 54px;
        font-size: 15px;
    }
}
.zoom-club {
    background-image: linear-gradient(190deg, #2191ED 0%, #135388 100%);
    border-radius: 30px;
    color: #ffffff;
    padding: 0px 5px;
    margin-right: 12px;
    height: 35px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
.zoom-club span, .zoom-club a{
    color: #fff !important;
}
@media (max-width: 768px) {
    .zoom-club {
        margin-left: 12px;
        padding: 0px;
        height: 45px;
    }
    .zoom-club a{
        margin: 7px !important;
    }
}

#menu-item-293279 .item-icon-title > img {
    animation: zoomClubStarPulse 1.4s ease-in-out infinite;
    transform-origin: center;
    filter:
            brightness(1)
            saturate(1.4)
            drop-shadow(0 0 3px rgba(235, 209, 151, 0.45));
}

@keyframes zoomClubStarPulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
        filter:
                brightness(0.9)
                saturate(1.1)
                drop-shadow(0 0 2px rgba(180, 136, 17, 0.25));
    }

    45% {
        transform: scale(1.18);
        opacity: 1;
        filter:
                brightness(1.35)
                saturate(1.8)
                drop-shadow(0 0 8px rgba(235, 209, 151, 0.75));
    }

    100% {
        transform: scale(1);
        opacity: 0.75;
        filter:
                brightness(0.9)
                saturate(1.1)
                drop-shadow(0 0 2px rgba(180, 136, 17, 0.25));
    }
}

.prk-card-outofstock .thumb-pro,
.prk-card-outofstock .index-title-pro,
.prk-card-outofstock .stock_box,
.prk-card-outofstock .index-prices-pro,
.prk-card-outofstock .ex-badges,
.prk-card-outofstock .author-ar {
    filter: grayscale(1);
    opacity: 0.6;
}
.woocommerce-breadcrumb.rank-math-custom-breadcrumb nav.rank-math-breadcrumb a::after {
    content: none !important;
    display: none !important;
}
.payin4-marketing-text{
    padding: 8px 0 !important;
    border-radius: 8px !important;
    margin: 0 0 10px 0 !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    border: 1px solid #fe6901;
    background: #fff;
    color: #fe6901 !important;
}
.payin4-marketing-text:hover{
    background: #fe6901;
    color: #fff !important;
    transition: 0.5s;
}

.payin4-snapppay-widget-title span {
    display: inline-block;
    transform-origin: center;
    animation: snappPayHeartbeat 2s infinite;
    color: red;
}

@keyframes snappPayHeartbeat {
    0%,
    35%,
    100% {
        transform: scale(1);
    }

    8% {
        transform: scale(1.25);
    }

    16% {
        transform: scale(1);
    }

    24% {
        transform: scale(1.12);
    }

    32% {
        transform: scale(1);
    }
}

.continer .woocommerce .nav-user-dashboard .woocommerce-MyAccount-navigation-link--wt-smart-coupon::before {
    content: "\Eb99";
}

.continer .woocommerce .nav-user-dashboard .woocommerce-MyAccount-navigation-link--loyalty_reward::before {
    content: "\EA82";
}
body .head-archie-pro {
    justify-content: end !important;
}

/* نمایش همیشه آیتم‌های مخفی */
.facetwp-overflow {
    display: block !important;
    height: auto !important;
}

/* مخفی کردن دکمه‌های See more و See less */
.facetwp-toggle {
    display: none !important;
}

/* FiboSearch / DGWT - Recent Searches Digikala Style */
.dgwt-wcas-suggestions-wrapp.dgwt-wcas-has-headings {
    direction: rtl;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    padding: 18px 18px 14px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Header: جستجوهای اخیر + پاک کردن */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline-v2 {
    display: block !important;
    padding: 0 !important;
    margin: 0 0 14px !important;
    background: transparent !important;
    border: 0 !important;
    color: #111;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.8;
    cursor: default;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline-v2 .dgwt-wcas-st {
    display: block;
    width: 100%;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sugg-hist-clear {
    float: left;
    color: #9e9e9e;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition: color 0.2s ease;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sugg-hist-clear:hover {
    color: #ef4056;
}

/* حذف آیکن‌های سرچ‌های اخیر */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-product .dgwt-wcas-si,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-search .dgwt-wcas-si {
    display: none !important;
}

/* آیتم‌های محصول در سابقه جستجو - کپسولی و تمام عرض */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-product {
    display: flex !important;
    align-items: center;
    width: 100%;
    min-height: 46px;
    padding: 9px 18px !important;
    margin: 0 0 10px !important;
    border: 1px solid #e0e0e6;
    border-radius: 999px;
    background: #fff !important;
    color: #23254e !important;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* عبارت‌های سرچ‌شده - چیپ‌های کنار هم */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-search {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    max-width: 100%;
    min-height: 42px;
    padding: 8px 18px !important;
    margin: 0 0 10px 8px !important;
    border: 1px solid #e0e0e6;
    border-radius: 999px;
    background: #fff !important;
    color: #23254e !important;
    box-sizing: border-box;
    vertical-align: top;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-product:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-search:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-selected {
    background: #f7f7f8 !important;
    border-color: #d6d6dc;
}

/* محتوای داخل آیتم‌ها */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp {
    width: 100%;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st {
    padding: 0 !important;
    margin: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-title {
    display: block;
    max-width: 100%;
    color: #23254e;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* فاصله بهتر بین آیتم‌ها */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion {
    text-decoration: none !important;
}

/* موبایل */
@media (max-width: 768px) {
    .dgwt-wcas-suggestions-wrapp.dgwt-wcas-has-headings {
        width: calc(100vw - 24px) !important;
        left: 12px !important;
        right: 12px !important;
        border-radius: 18px;
        padding: 16px 14px 12px;
    }

    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline-v2 {
        font-size: 16px;
    }

    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-title {
        font-size: 14px;
    }

    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-product,
    .dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-search {
        min-height: 40px;
        padding: 7px 14px !important;
    }
}
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-history-product:not(:first-of-type) {
    display: inline-flex !important;
    width: auto !important;
    max-width: 48%;
    margin-left: 8px !important;
}
.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product.dgwt-wcas-suggestion-history-product {
    border: 1px solid #e0e0e6 !important;
}

/* fix checkout style */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 13px 28px !important;
}
i.prk-bale {
    font-size: 22px !important;
    position: relative;
    top: -2px;
}

.prk-shop-description-content p {
    line-height: 28px;
}
.prk-shop-description-content h3 {
    line-height: 44px;
    font-family: prk-font;
}
.prk-shop-description-content ul {
    line-height: 28px;
    font-family: prk-font;
}
.prk-shop-description-mask {
    position: relative;
}

.prk-shop-description-content {
    max-height: 180px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.35s ease;
}

.prk-shop-description-mask:not(.is-open) .prk-shop-description-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
    pointer-events: none;
}

.prk-shop-description-mask.is-open .prk-shop-description-content {
    max-height: none;
}

.mask-handler {
    display: inline-flex;
    margin-top: 12px;
    cursor: pointer;
}

.mask-handler .show-less {
    display: none;
}

.prk-shop-description-mask.is-open .show-more {
    display: none;
}

.prk-shop-description-mask.is-open .show-less {
    display: inline;
}
/* دسکتاپ: عنوان کامل */
.index-title-pro.archive,
.index-title-pro.archive h2,
.index-title-pro.archive h2 a,
.woocommerce-loop-product_title,
.woocommerce-loop-product_title a {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    max-height: none !important;
    height: auto !important;
}

/* موبایل: فقط 3 خط */
@media (max-width: 767px) {
    .index-title-pro.archive h2 a,
    .woocommerce-loop-product_title a {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: normal !important;
    }
}
.subcategories-list .row .item {
    -ms-flex: 0 0 11.111%;
    flex: 0 0 11.111%;
    max-width: 11.111%;
}

.zb-payment-discount-notice {
    margin-top: 66px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    background: #fafafa;
    color: #222;
    font-size: 14px;
    line-height: 1.9;
    border-radius: 6px;
    font-family: 'prk-font' !important;
}

.zb-payment-discount-notice strong {
    font-weight: 700;
}

.zb-payment-discount-notice p {
    margin: 8px 0;
}

.zb-payment-discount-notice ol {
    margin: 8px 20px 0 0;
    padding: 0;
}

.zb-payment-discount-notice li {
    margin-bottom: 6px;
}




.prk-order-summary {
    margin-top: 16px;
}

.prk-order-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.prk-payment-method-row {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 6px;
}

.prk-order-total-row span {
    font-weight: 700;
}
.woocommerce-checkout-review-order-table tr.yith-wcdppm-payment-method,
.woocommerce-checkout-review-order-table tr.order-total {
    display: none !important;
}

/* Start content style */
/* Typography */
#prk_content .prk-shop-description-content{
    direction: rtl;
    text-align: justify;
    color: #444;
    font-size: 15px;
    line-height: 2.2;
}

/* H1 */
#prk_content .prk-shop-description-content h1{
    font-size:20px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:0 0 20px;
}

/* H2 */
#prk_content .prk-shop-description-content h2{
    font-size:18px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:36px 0 16px;
}

/* H3 */
#prk_content .prk-shop-description-content h3{
    font-size:16px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:28px 0 14px;
}

/* H4 */
#prk_content .prk-shop-description-content h4{
    font-size:15px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:24px 0 12px;
}

/* H5 */
#prk_content .prk-shop-description-content h5{
    font-size:14px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:20px 0 10px;
}

/* H6 */
#prk_content .prk-shop-description-content h6{
    font-size:13px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    margin:18px 0 10px;
}

/* Paragraph */
#prk_content .prk-shop-description-content p{
    margin:0 0 16px;
    line-height:2.2;
}

/* Strong */
#prk_content .prk-shop-description-content strong{
    font-weight:700;
    color:#222;
}

/* Lists */
#prk_content .prk-shop-description-content ul,
#prk_content .prk-shop-description-content ol{
    margin:18px 0 24px;
    padding-right:22px;
}

#prk_content .prk-shop-description-content li{
    margin-bottom:10px;
    line-height:2;
}

#prk_content .prk-shop-description-content ul li{
    list-style:disc;
}

#prk_content .prk-shop-description-content ol li{
    list-style:decimal;
}
#prk_content .prk-shop-description-content table{
    width:100%;
    border-collapse:collapse;
    margin:24px 0;
    font-size:14px;
}

#prk_content .prk-shop-description-content th{
    background:#f7f7f7;
    font-weight:700;
}

#prk_content .prk-shop-description-content th,
#prk_content .prk-shop-description-content td{
    padding:12px 14px;
    border:1px solid #e6e6e6;
}
#prk_content .prk-shop-description-content blockquote{
    background:#fafafa;
    border-right:4px solid var(--brand-color);
    color:#444;
    padding:20px 24px;
    margin:24px 0;
    border-radius:8px;
}

#prk_content .prk-shop-description-content blockquote::before{
    display:none;
}
/* End content style */

/* PLP products-per-page selector (FacetWP native integration) */
.prk_count_pages {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.prk_per_page_control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 6px;
}

.prk_per_page_control .facetwp-per-page {
    display: inline-flex;
    margin: 0;
}

.prk_per_page_control .facetwp-per-page-select {
    width: 82px !important;
    min-width: 82px !important;
    height: 34px;
    margin: 0;
    padding: 2px 28px 2px 10px !important;
    border: 1px solid #e0e0e6;
    border-radius: 8px;
    background-color: #fff;
    color: #23254e;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    direction: ltr !important;
    text-align: center !important;
    text-align-last: center !important;
    box-sizing: border-box;
}

.prk_per_page_control .facetwp-per-page-select:focus {
    border-color: #2192ee;
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 146, 238, 0.12);
}

.prk_products_loading_overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(48px, 12vh, 110px) 16px 20px;
    background: rgba(255, 255, 255, 0.76);
    border-radius: 11px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}

.prk-per-page-is-loading .prk_products_loading_overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transition: opacity 0.18s ease;
}

.prk_products_loading_box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 190px;
    max-width: calc(100% - 32px);
    padding: 22px 26px;
    border: 1px solid rgba(33, 146, 238, 0.16);
    border-radius: 16px;
    background: #fff;
    color: #23254e;
    box-shadow: 0 12px 36px rgba(35, 37, 78, 0.14);
}

.prk_products_loading_spinner {
    display: block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(33, 146, 238, 0.2);
    border-top-color: #2192ee;
    border-radius: 50%;
    animation: prkPerPageSpin 0.7s linear infinite;
}

.prk_products_loading_text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.8;
    direction: rtl;
}

.prk-per-page-is-loading .facetwp-per-page-select {
    pointer-events: none;
    opacity: 0.72;
}

@keyframes prkPerPageSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    .prk_count_pages {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .prk_per_page_control {
        margin-left: 2px;
    }

    .prk_per_page_control .facetwp-per-page-select {
        width: 78px !important;
        min-width: 78px !important;
        height: 32px;
        padding-right: 26px !important;
    }
}
