:root{
    --esahar-ps-green:#176b5b;
    --esahar-ps-green-dark:#0f5447;
    --esahar-ps-border:#e7e3da;
    --esahar-ps-bg:#fbfaf7;
    --esahar-ps-text:#2b302a;
    --esahar-ps-muted:#6d6a63;
}
.esahar-ps-trust,
.esahar-ps-items,
.esahar-ps-faq{
    direction:rtl;
    clear:both;
    margin:28px 0;
    padding:26px;
    border:1px solid var(--esahar-ps-border);
    border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,var(--esahar-ps-bg) 100%);
    box-shadow:0 12px 35px rgba(38,50,46,.055)
}
.esahar-ps-section-heading>span{
    display:inline-flex;
    margin-bottom:8px;
    padding:5px 10px;
    border:1px solid rgba(23,107,91,.15);
    border-radius:999px;
    background:rgba(23,107,91,.06);
    color:var(--esahar-ps-green);
    font-size:12px;
    font-weight:700
}
.esahar-ps-section-heading h2{
    margin:0 0 8px;
    color:var(--esahar-ps-text);
    font-size:23px;
    line-height:1.7
}
.esahar-ps-section-heading p{
    margin:0;
    color:var(--esahar-ps-muted);
    font-size:14px;
    line-height:1.9
}
.esahar-ps-trust-top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:24px
}
.esahar-ps-trust-top .esahar-ps-section-heading{
    flex:1;
    min-width:0
}
.esahar-ps-actions{
    display:flex;
    flex:0 0 auto;
    gap:10px;
    align-items:center
}
.esahar-ps-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    min-width:160px;
    min-height:44px;
    padding:8px 14px;
    border-radius:12px;
    font-size:13px;
    font-weight:700;
    text-decoration:none!important
}
.esahar-ps-btn svg,
.esahar-ps-icon svg{
    width:23px;
    height:23px;
    fill:currentColor
}
.esahar-ps-btn-primary{
    background:var(--esahar-ps-green);
    color:#fff!important
}
.esahar-ps-btn-primary:hover{
    background:var(--esahar-ps-green-dark)
}
.esahar-ps-btn-secondary{
    border:1px solid rgba(23,107,91,.28);
    background:#fff;
    color:var(--esahar-ps-green)!important
}
.esahar-ps-trust-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:22px
}
.esahar-ps-trust-grid article{
    display:flex;
    align-items:center;
    gap:13px;
    min-height:100px;
    padding:16px;
    border:1px solid #ece7de;
    border-radius:15px;
    background:#fff;
    transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.esahar-ps-trust-grid article:hover{
    transform:translateY(-2px);
    border-color:rgba(23,107,91,.28);
    box-shadow:0 8px 22px rgba(23,107,91,.07)
}
.esahar-ps-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 48px;
    width:48px;
    height:48px;
    border-radius:14px;
    background:rgba(23,107,91,.09);
    color:var(--esahar-ps-green)
}
.esahar-ps-trust-grid h3{
    margin:0 0 4px;
    color:var(--esahar-ps-text);
    font-size:15px;
    line-height:1.7
}
.esahar-ps-trust-grid p{
    margin:0;
    color:var(--esahar-ps-muted);
    font-size:12px;
    line-height:1.9
}
.esahar-ps-items-list{
    margin-top:20px;
    overflow:hidden;
    border:1px solid #ece7de;
    border-radius:14px;
    background:#fff
}
.esahar-ps-set-item{
    display:grid;
    grid-template-columns:minmax(220px,1.4fr) minmax(220px,1fr) 74px;
    align-items:center;
    gap:14px;
    min-height:56px;
    padding:10px 15px;
    border-bottom:1px solid #eeeae2
}
.esahar-ps-set-item:last-child{
    border-bottom:0
}
.esahar-ps-set-item:hover{
    background:#fcfbf8
}
.esahar-ps-item-name{
    color:var(--esahar-ps-text);
    font-size:14px
}
.esahar-ps-item-name span{
    display:inline-block;
    margin-right:6px;
    padding:2px 7px;
    border-radius:999px;
    background:rgba(23,107,91,.08);
    color:var(--esahar-ps-green);
    font-size:12px
}
.esahar-ps-item-spec{
    color:var(--esahar-ps-muted);
    font-size:13px
}
.esahar-ps-item-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:5px 9px;
    border:1px solid rgba(23,107,91,.25);
    border-radius:8px;
    background:#fff;
    color:var(--esahar-ps-green)!important;
    font-size:12px;
    font-weight:800;
    text-decoration:none!important
}
.esahar-ps-item-link:hover{
    background:var(--esahar-ps-green);
    color:#fff!important
}
.esahar-ps-item-missing{
    color:#999;
    font-size:11px;
    text-align:center
}
.esahar-ps-faq-list{
    margin-top:18px
}
.esahar-ps-faq-list article{
    border-bottom:1px solid #ece7de
}
.esahar-ps-faq-list article:last-child{
    border-bottom:0
}
.esahar-ps-faq-question{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    width:100%;
    padding:18px 4px;
    border:0;
    background:transparent;
    color:var(--esahar-ps-text);
    font:inherit;
    font-size:15px;
    font-weight:700;
    text-align:right;
    cursor:pointer
}
.esahar-ps-faq-question b{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 30px;
    width:30px;
    height:30px;
    border-radius:50%;
    background:rgba(23,107,91,.08);
    color:var(--esahar-ps-green);
    font-size:20px;
    font-weight:400;
    transition:transform .2s ease
}
.esahar-ps-faq-question[aria-expanded="true"] b{
    transform:rotate(45deg)
}
.esahar-ps-faq-answer{
    padding:0 4px 18px;
    color:var(--esahar-ps-muted);
    font-size:14px;
    line-height:2
}
.single-product .woocommerce-tabs.wc-tabs-wrapper{
    direction:rtl;
    clear:both;
    margin:30px 0 0;
    padding:0;
    overflow:hidden;
    border:1px solid var(--esahar-ps-border);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 30px rgba(38,50,46,.05)
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs{
    display:flex;
    justify-content:flex-start;
    width:100%;
    margin:0!important;
    padding:0 22px!important;
    overflow-x:auto;
    border:0!important;
    border-bottom:1px solid var(--esahar-ps-border)!important;
    background:var(--esahar-ps-bg)
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs::before,
.single-product .woocommerce-tabs ul.tabs.wc-tabs::after{
    display:none!important
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li{
    position:relative;
    flex:0 0 auto;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li::before,
.single-product .woocommerce-tabs ul.tabs.wc-tabs li::after{
    display:none!important
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li a{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-height:66px;
    padding:0 24px!important;
    color:#343832!important;
    font-size:16px;
    font-weight:600!important;
    text-decoration:none!important;
    white-space:nowrap
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active a{
    color:var(--esahar-ps-green)!important;
    font-weight:800!important
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li.active::after{
    display:block!important;
    content:"";
    position:absolute;
    right:18px;
    bottom:0;
    left:18px;
    height:4px;
    border-radius:4px 4px 0 0;
    background:var(--esahar-ps-green)
}
.single-product .woocommerce-tabs .wc-tab{
    margin:0!important;
    padding:30px 34px 36px!important;
    border:0!important;
    background:#fff;
    line-height:2
}
.esahar-ps-specs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px
}
.esahar-ps-specs>div{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    min-height:66px;
    padding:14px 16px;
    border:1px solid #ece7de;
    border-radius:12px;
    background:#fff
}
.esahar-ps-specs span{
    color:var(--esahar-ps-muted);
    font-size:13px
}
.esahar-ps-specs strong{
    color:var(--esahar-ps-text);
    font-size:14px;
    text-align:left
}
.esahar-ps-empty{
    color:var(--esahar-ps-muted)
}
@media(max-width:991px){
    .esahar-ps-trust-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
@media(max-width:767px){
    .esahar-ps-trust,
    .esahar-ps-items,
    .esahar-ps-faq{
        padding:18px;
        border-radius:15px
    }
    .esahar-ps-trust-top{
        display:block
    }
    .esahar-ps-actions{
        display:grid;
        grid-template-columns:1fr;
        margin-top:16px
    }
    .esahar-ps-btn{
        width:100%;
        min-width:0
    }
    .esahar-ps-trust-grid,
    .esahar-ps-specs{
        grid-template-columns:1fr
    }
    .esahar-ps-set-item{
        grid-template-columns:1fr auto;
        gap:7px 10px;
        padding:12px 14px
    }
    .esahar-ps-item-spec{
        grid-column:1/-1;
        grid-row:2
    }
    .esahar-ps-item-link,
    .esahar-ps-item-missing{
        grid-column:2;
        grid-row:1
    }
    .single-product .woocommerce-tabs ul.tabs.wc-tabs{
        padding:0 8px!important
    }
    .single-product .woocommerce-tabs ul.tabs.wc-tabs li a{
        min-height:56px;
        padding:0 15px!important;
        font-size:14px
    }
    .single-product .woocommerce-tabs .wc-tab{
        padding:22px 18px 26px!important
    }
}

.esahar-ps-trust-grid--single{
    grid-template-columns:repeat(4,minmax(0,1fr))
}
.esahar-ps-trust--single{
    background:
        radial-gradient(circle at 100% 0, rgba(23,107,91,.055), transparent 34%),
        linear-gradient(180deg,#fff 0%,var(--esahar-ps-bg) 100%)
}
.esahar-ps-trust--single .esahar-ps-trust-grid article{
    min-height:92px
}
@media(max-width:1100px){
    .esahar-ps-trust-grid--single{
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
@media(max-width:767px){
    .esahar-ps-trust-grid--single{
        grid-template-columns:1fr
    }
}


/* ترتیب قطعی تب‌های اصلی در قالب RTL */
.single-product .woocommerce-tabs ul.tabs.wc-tabs li.description_tab{
    order:1 !important;
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li.additional_information_tab{
    order:2 !important;
}
.single-product .woocommerce-tabs ul.tabs.wc-tabs li.reviews_tab{
    order:3 !important;
}

/* Quick jump from purchase form to individual set items */
.esahar-ps-items-jump{
    display:flex;align-items:center;justify-content:center;gap:8px;width:100%;
    min-height:42px;margin-top:10px;padding:9px 14px;
    border:1px solid var(--esahar-ps-green);border-radius:8px;background:#fff;
    color:var(--esahar-ps-green)!important;font-size:14px;font-weight:700;
    line-height:1.6;text-decoration:none!important;
    transition:background-color .18s ease,color .18s ease,border-color .18s ease
}
.esahar-ps-items-jump:hover,.esahar-ps-items-jump:focus{
    background:rgba(23,107,91,.06);color:var(--esahar-ps-green)!important;
    border-color:var(--esahar-ps-green);text-decoration:none!important
}
.esahar-ps-items-jump-arrow{font-size:17px;line-height:1}
#esahar-ps-set-items{scroll-margin-top:24px}
@media(max-width:767px){
    .esahar-ps-items-jump{min-height:44px;font-size:13px}
}

/* SEO-friendly internal link on each set item title */
.esahar-ps-item-title-link{
    color:var(--esahar-ps-text)!important;
    text-decoration:none!important
}
.esahar-ps-item-title-link:hover,
.esahar-ps-item-title-link:focus{
    color:var(--esahar-ps-green)!important;
    text-decoration:none!important
}
.esahar-ps-item-title-link strong{color:inherit}
