﻿
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');

:root {
    /* پالت رنگی هماهنگ با صفحه ورود (سفید + سرمه‌ای + طلایی) */
    --navy-900: #0d1730;
    --navy-800: #152352;
    --navy-700: #1d2f68;
    --gold-500: #c9a227;
    --gold-400: #dcb94e;
    --gold-100: #f5ecce;
    --paper: #ffffff;
    --mist: #f5f7fb;
    --ink: #1b2233;
    --ink-soft: #7a8296;
    --line: #e7eaf2;
    --danger: #d64545;
    --danger-bg: #fdecec;
    --success: #1e8e5a;
    --font-main: 'Vazirmatn', Tahoma, sans-serif;
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 10px 24px -12px rgba(13,23,48,.18);
    --shadow-card-hover: 0 18px 34px -14px rgba(13,23,48,.28);
}

.contains {
    width: 100%;
    min-height: 600px;
    background-color: var(--paper);
    margin-top: 5px;
    font-family: var(--font-main);
}

.cnl textarea, .divtextIamge textarea {
    display: block;
    width: 100%;
    height: 90px;
    padding: 4px 13px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

    .cnl textarea:hover, .divtextIamge textarea:focus {
        border: 1px solid #b9b9b9;
        border-top-color: #a0a0a0;
        -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    }

    .cnl textarea:focus, .divtextIamge textarea:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

.filter-parent-text {
    padding-bottom: 13px;
    display: inline-block;
    min-width: 40px;
}

.filter-text {
    padding: 3px 10px;
    border: 1px solid #dddddd;
    border-radius: 25px;
    margin-right: 20px;
    margin-top: -10px;
    padding-left: 7px;
}

    .filter-text span:first-child {
        padding-left: 4px;
    }

.clearFilter {
    cursor: pointer;
}

.row .cnl {
}

.show {
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ebeced;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.searchPro {
    width: 250px;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    float: right;
    font-family: var(--font-main);
}

.showImage .noData {
    text-align: center;
    font-size: 17px;
    color: var(--ink-soft);
    padding: 60px 0px;
    background: var(--mist);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--line);
}

.searchPro > div {
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    margin-bottom: 12px;
    transition: box-shadow .2s ease;
}

.searchPro .ParnetTitle {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    position: relative;
}

    .searchPro .ParnetTitle ~ ul, .searchPro .ParnetTitle ~ div {
        padding-top: 16px;
    }

    .searchPro .ParnetTitle a {
        color: var(--navy-900);
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
    }

        .searchPro .ParnetTitle a.up::after {
            content: " ";
            background: url(Image/icons/up.png) left no-repeat;
            position: absolute;
            height: 16px;
            left: 20px;
            width: 16px;
            font-size: 16px;
        }

        .searchPro .ParnetTitle a.down::after {
            content: " ";
            background: url(Image/icons/Down.png) left no-repeat;
            position: absolute;
            height: 16px;
            left: 20px;
            width: 16px;
            font-size: 16px;
        }

.searchPro > div:nth-child(2) .ParnetTitle a.down, .searchPro > div:nth-child(2) .ParnetTitle a.up {
    background: none;
}

.searchPro > div:nth-child(2) ul li {
    position: relative;
}

    .searchPro > div:nth-child(2) ul li a {
        color: #6b6b6b;
        line-height: 30px;
        padding-right: 20px;
        font-size: 13px;
    }

        .searchPro > div:nth-child(2) ul li a:hover {
            color: var(--gold-500);
            text-decoration: none;
        }

    .searchPro > div:nth-child(2) ul li:before {
        content: "\f078";
        font-family: FontAwesome;
        position: absolute;
        top: 0px;
        right: 0;
        color: #6b6b6b;
        font-size: 12px;
        line-height: 2.444;
    }

.searchPro > div:nth-child(2) ul.end li:before {
    content: "\f053";
}

.searchPro ul {
    padding-right: 10px;
}

    .searchPro ul li {
        list-style: none;
    }

        .searchPro ul li label {
            font-size: 13px;
            width: 100%;
            margin-bottom: 10px;
            position: relative;
            display: inline-flex;
            font-weight: normal;
            cursor: pointer;
        }

            .searchPro ul li label span {
                display: inline-block;
                margin-top: 1px;
                width: 100%;
                font-family: iranNum;
                margin-right: 15px;
            }

            .searchPro ul li label:before {
                position: absolute;
                width: 4px;
                height: 4px;
                content: " ";
                padding: 9px;
                background: var(--paper);
                border: 1px solid var(--line);
                border-radius: 5px;
                z-index: 100;
            }

            .searchPro ul li label.active:before {
                position: absolute;
                /* width: 10px; */
                font-family: FontAwesome;
                display: inline-table;
                /* height: 10px; */
                top: 0px;
                right: 14px;
                content: "\f00c";
                color: var(--gold-100);
                font-size: 14px;
                line-height: 14px;
                padding: 2px;
                background: var(--navy-800);
                border: 1px solid var(--navy-900);
                border-radius: 5px;
                z-index: 100;
            }

#gal1-button-next, #gal1-button-prev {
    display: block !important;
}

.showImage {
    position: relative;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    width: calc(100% - 280px);
    /*border: 1px solid #ebeced;
    background: #fff;*/
    float: right;
    border-radius: 4px;
    /*box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);*/
}

    .showImage:after, .show:after, #color-Item:after, .tab-pane .row:after {
        clear: both;
        display: table;
        content: "";
    }

    .showImage:before, .show:before, #color-Item:before, .tab-pane .row:before {
        display: table;
        content: "";
    }

.tab-pane .row .cnl {
    padding-right: 30px;
    float: right;
    color: #808080;
}

.tab-pane .row .lbl {
    width: 100px;
    float: right;
}

.galery {
    width: 420px;
    padding: 0px;
    min-height: auto;
    position: relative;
}

.zoomWindowContainer .zoomWindow {
    height: 500px !important;
    top: -50px !important;
    border-width: 1px !important;
}

.pcode div {
    padding-right: 20px;
    padding-top: 5px;
}

.tedCart .pcode {
    padding-right: 0px;
}

    .tedCart .pcode div {
        padding-right: 0px;
        padding-top: 5px;
    }

.info {
    width: 100%;
}

.galery ~ .info {
    width: calc(100% - 420px);
    padding-right: 0px;
}

.show.Rel-pro {
    padding-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
}

    .show.Rel-pro .showTitle {
        margin: 20px;
        margin-right: 10px;
    }

        .show.Rel-pro .showTitle span:first-child {
            font-size: 22px;
            padding-left: 5px;
        }

.info header {
    float: right;
}

    .info header:last-child {
        width: 249px;
        padding-left: 5px;
    }

        .info header:last-child .pcode div {
            padding-right: 0px;
        }

    .info header:nth-child(3) {
        width: calc(100% - 255px);
    }

.odTitle {
    margin-right: 0;
    margin-top: 0;
    padding: 18px 20px;
    background: linear-gradient(90deg, var(--mist) 0%, #ffffff 100%);
    border-radius: var(--radius-md);
    border-right: 4px solid var(--gold-500);
    margin-bottom: 16px;
}

    .odTitle .til {
        font-size: 22px;
        font-weight: 800;
        color: var(--navy-900);
        line-height: 1.6;
    }

    .odTitle .tilname {
        margin-right: 10px;
        color: var(--ink-soft);
        font-size: 14px;
    }

.odesc {
    margin: 0;
    display: block;
}

    .odesc > div:first-child {
        display: none;
    }

    .odesc > div:last-child {
        width: 100%;
        display: block;
        padding: 20px;
        border-radius: var(--radius-md);
        background-color: var(--mist);
        border: 1px solid var(--line);
        color: var(--ink);
        line-height: 1.9;
    }

.titledetails {
    font-weight: bold;
    color: #004ba3;
}

.image-Temp {
    width: 400px !important;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}
/*.image-Temp .zoomWrapper
{
    height:350px!important;
}*/
.colordetails .captions span {
    color: #808080;
}

.zoomWrapper {
    float: none;
}

.image-Temp #zoom_01,
.image-Temp .zoomWrapper {
    order: 1;
    width: 400px !important;
    height: 400px !important;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-sizing: border-box;
}

.show #info {
    padding-bottom: 20px;
}

.SPrice-link {
    height: 80px;
    text-align: center;
    padding-top: 30px;
}

    .SPrice-link a {
        padding: 10px 30px;
        background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
        color: var(--gold-100);
        border-radius: var(--radius-sm);
        font-weight: 600;
        cursor: pointer;
        transition: box-shadow .2s ease, transform .15s ease;
    }

        .SPrice-link a:hover {
            box-shadow: 0 10px 20px -8px rgba(13,23,48,.45);
            transform: translateY(-1px);
        }

.info-header {
    padding: 0px 10px;
    background-color: #f5f6f7;
    margin-bottom: 20px;
}

    .info-header h1 {
        font-size: 19px;
        color: #181e25;
    }

.Pdetails {
    color: #808080;
    margin-right: 0px;
}

    .Pdetails.border {
        padding: 7px 0px;
        padding-left: 20px;
        color: #181e25;
        line-height: 35px;
        border-radius: 20%;
    }

.info header .pr {
    padding: 7px 10px;
    /*background-color: #f2f2f2;*/
    color: #868e95;
    margin-top: 30px;
    line-height: 35px;
    position: relative;
    /*border-top-left-radius: 20%;
    border-top-right-radius: 20%;
    -webkit-border-top-left-radius: 20%;
    -webkit-border-top-right-radius: 20%;
    -moz-border-radius-topleft: 20%;
    -moz-border-radius-topright: 20%;*/
}

    .info header .pr:before {
        content: " ";
        height: 0.5px;
        width: 95%;
        top: -17px;
        right: 2.5%;
        background-color: rgb(125, 136, 146);
        position: absolute;
    }

.info .addCard {
    padding: 7px 10px;
    /*border-bottom-left-radius: 20%;
    border-bottom-right-radius: 20%;
    -webkit-border-bottom-left-radius: 20%;
    -webkit-border-bottom-right-radius: 20%;
    -moz-border-radius-bottomleft: 20%;
    -moz-border-radius-bottomright: 20%;
    background-color: #f2f2f2;*/
    color: #868e95;
    margin-top: 0px !important;
    margin-right: 0px !important;
    line-height: 35px;
    padding-bottom: 40px;
}

.notSelect {
    border: none !important;
    background: transparent;
    /*background-color: blue;*/
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-top: 0px;
    background-size: 20px;
    cursor: not-allowed;
    pointer-events: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding: 7px 0px;
    padding-left: 20px;
    background-color: transparent;
    color: #181e25;
    line-height: 35px;
    border-radius: 20%;
}

    .notSelect option {
        color: #424146;
        background: #ffffff;
    }

.pcode span {
    font-size: 14px;
}

.pcode {
    margin-right: 15px;
    margin-top: 0px;
    min-height: 40px;
}

    .pcode select {
        min-width: 200px;
        height: 40px;
        font-size: 18px;
        font-weight: bold;
    }

        .pcode select.notSelect {
            height: auto !important;
            line-height: initial;
        }

.extra-rd-item {
    display: inline-block;
}

    .extra-rd-item label {
        width: 30px;
        border: 2px solid inherit;
        height: 30px;
        cursor: pointer;
        margin-bottom: -10px;
        border-radius: 50%;
    }

.product-data-comment {
    padding-right: 5px;
    margin-top: -10px;
    margin-bottom: 15px;
}

.product-rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 16px;
    line-height: 30px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #424146;
}

    .product-rating:before {
        content: "★";
        margin-left: 4px;
        color: #ffb500;
        font-size: 28px;
    }

.product-rating-num {
    font-size: 14px;
    padding-right: 2px;
    color: #808080;
}

.extra-rd-item input {
    display: none;
}

    .extra-rd-item input:checked + label {
        border: 2px solid #FF8E19;
    }

.flRight {
    float: right;
}

#gal1 img {
    border: 2px solid #808080;
    width: 100%;
    height: 100%;
}

#color {
    /*background-color:#f5f6f7;*/
    border: 1px solid #dddddd;
    border-radius: 4px;
    box-shadow: 0 2px 0 #dddddd inset;
    -webkit-box-shadow: 0 2px 0 #dddddd inset;
    -moz-box-shadow: 0 2px 0 #dddddd inset;
    -ms-box-shadow: 0 2px 0 #dddddd inset;
    -o-box-shadow: 0 2px 0 #dddddd inset;
}

    #color .header-color {
        padding: 0px 10px;
        background-color: #f5f6f7;
        border-bottom: 1px solid #dddddd;
        text-align: center;
        box-shadow: 0 2px 0 #dddddd inset;
        -webkit-box-shadow: 0 2px 0 #dddddd inset;
        -moz-box-shadow: 0 2px 0 #dddddd inset;
        -ms-box-shadow: 0 2px 0 #dddddd inset;
        -o-box-shadow: 0 2px 0 #dddddd inset;
    }

    #color h3 {
        color: #666;
        margin-top: 0px;
        margin-bottom: 0px;
        font-size: 16px;
    }

#color-Item {
    height: 400px;
    width: 100%;
    margin-top: 10px;
    overflow-y: auto;
}

.colordetails {
    float: right;
    height: 80px;
    width: 80px;
    text-align: center;
    margin-right: 5px;
    margin-left: 5px;
}

.colorStyle {
    width: 100%;
    height: 100%;
}

.colordetails img {
    height: 80px;
    width: 80px;
}

.subgroupItem .headers {
    margin-bottom: 30px;
    margin-top: 40px;
    font-size: 16px;
    color: #0026ff;
}

.tab-pane {
}

.subgroupItem {
    margin-top: 20px;
    margin-right: 30px;
}

    .subgroupItem .htitle {
        margin-top: -24.5px;
        margin-right: 12px;
        font-size: 20px;
        color: #888;
    }

.subgroupItem2 i:before {
    content: "\f04d";
    font-size: .5em;
}

.subgroupItem2 .htitle {
    margin-top: -20px;
    margin-right: 15px;
}

.ditem {
    margin-right: 15px !important;
    margin-bottom: 10px;
}

#sayer .tab-content #Qustions, #sayer .tab-content #Comments {
    padding: 30px 50px;
}

    #sayer .tab-content #Qustions label, #sayer .tab-content #Comments label {
        font-size: 16px;
        margin-bottom: 10px;
    }

    #sayer .tab-content #Qustions .cnl textarea, #sayer .tab-content #Comments .cnl textarea {
        font-size: 14px;
        padding: 20px;
        height: 150px;
    }

.row.ditem .lbl {
    margin-left: 10px;
    background-color: #f7f7f7;
    line-height: 40px;
    padding-right: 5px;
    width: 200px;
    font-size: 14px;
}

.row.ditem .cnl {
    width: calc(100% - 220px);
    background-color: #f7f7f7;
    line-height: 40px;
    padding-right: 5px;
    font-size: 13px;
}

.tab-content {
    margin-bottom: 20px;
}

.tab-pane .row {
    margin-right: 0px;
    margin-left: 0px;
}

.tab-content {
    margin-top: 10px;
}

.tab-pans .headers {
}

.fa-caret-left {
    color: #ff6a00;
    width: 10px;
    height: 10px;
}

#gal1 a {
    width: auto;
    height: 100%;
}

.spectial .spectial-title {
    color: red;
    font-size: 30px;
    font-weight: bold;
    line-height: 40px;
    margin-right: 20px;
}

.spectial .spectial-time {
    float: left;
    margin-left: 20px;
}

.spectial {
    margin-top: 30px;
}

    .spectial > div {
        display: inline-block;
    }

.spectial-time .flipclock {
    display: inherit;
}

.spectial-time ul li, .spectial-time ul {
    float: left;
}

    .spectial-time ul li.flip-title {
        font-size: 14px;
        font-weight: normal;
        text-align: center;
    }

#gal1 {
    order: 2;
    float: none;
    position: relative;
    width: 100%;
    height: 90px;
    margin-top: 10px;
    overflow: hidden !important;
    max-width: 100%;
    box-sizing: border-box;
}

    #gal1 .swiper-wrapper {
        overflow: hidden !important;
        height: 90px !important;
        flex-wrap: nowrap;
    }

    #gal1 .swiper-slide {
        height: 90px !important;
        flex-shrink: 0;
    }


#gal1-button-next {
    /*background-position-y:480px;*/
    background-image: url(Image/arrow-bottom2.png);
    bottom: 0px;
}

#gal1-button-prev {
    /*background-position-y:480px;*/
    top: 0px;
    background-image: url(Image/arrow_top2.png);
}
/*Change the colour*/
.active img {
    border: 1px solid #333 !important;
}

.nav3 {
    background-color: #f5f6f7;
    margin-right: 0px;
    /*border-bottom-color:#b200ff;*/
}

    .nav3 li a {
        padding: 10px 20px;
        font-size: 16px;
    }

    .nav3 > li.active > a, .nav3 > li.active > a:active, .nav3 > li.active > a:focus {
        color: #888;
        border-color: #FF8E19;
        font-weight: normal;
        border-radius: 4px;
        box-shadow: 0 2px 0 #FF8E19 inset, 0 2px 0 #fff;
        -webkit-box-shadow: 0 2px 0 #FF8E19 inset, 0 2px 0 #fff;
        -moz-box-shadow: 0 2px 0 #FF8E19 inset, 0 2px 0 #fff;
        -ms-box-shadow: 0 2px 0 #FF8E19 inset, 0 2px 0 #fff;
        -o-box-shadow: 0 2px 0 #FF8E19 inset, 0 2px 0 #fff;
        border-bottom-color: transparent;
    }

    .nav3 > li {
        -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
        -ms-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15);
        /* box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15); */
    }

        .nav3 > li > a {
            border-radius: 0px !important;
            margin-right: 0px;
            margin-left: 0px;
            transition: 200ms ease;
            -ms-transition: 200ms ease;
            -moz-transition: 200ms ease;
            -webkit-transition: 200ms ease;
            box-shadow: 0 2px 0 transparent inset;
            -webkit-box-shadow: 0 2px 0 transparent inset;
            -ms-box-shadow: 0 2px 0 transparent inset;
            -o-box-shadow: 0 2px 0 transparent inset;
        }

.gallery {
}

.gallerys:after {
    clear: both;
    content: "";
    display: table;
}

.gallerys:before {
    content: "";
    display: table;
}

.galleryItems {
    float: right;
    width: 25% !important;
    position: relative;
    box-sizing: border-box;
    min-height: 1px;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 14px;
}

.gallerys {
    float: right;
    width: 25%;
    position: relative;
    min-height: 1px;
    padding-left: 2px;
    padding-right: 2px;
    margin-top: 5px;
}

.galleryItem {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 10px;
    box-shadow: -2px 3px 5px #666;
}

.gallery {
    width: 100%;
    position: relative;
    overflow: hidden;
}

    .gallery .box1 {
        background-color: var(--paper);
        padding: 8px;
        padding-bottom: 12px;
        border: 1px solid var(--line);
        box-shadow: var(--shadow-card);
        font-family: iranNum;
        border-radius: var(--radius-md);
        transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
        overflow: hidden;
        box-sizing: border-box;
    }

        .gallery .box1:hover {
            border: 1px solid var(--gold-400);
            box-shadow: var(--shadow-card-hover);
            transform: translateY(-3px);
        }

.time span {
    font-size: 15px;
}

.gallery .boxspec1 {
    background-color: #fff;
    position: relative;
    text-align: center;
    padding: 10px;
    height: 380px;
    border-radius: 10px;
    border: 1px solid #dddddd;
    box-shadow: -2px 3px 5px #dddddd;
    font-family: iranNum;
}

.gallery .box2 {
    margin-top: 5px;
    padding: 0px 10px;
    border: 1px solid #666;
    background-color: rgb(248,248,248);
    box-shadow: -2px 3px 5px #666;
}

.gallery .galleryIamgeSpec {
    height: 180px;
    text-align: center;
    display: inline-block;
    margin-top: 2px;
}

.gallery .galleryIamge {
    height: 200px;
    text-align: center;
    position: relative;
}

    .gallery .galleryIamge img:last-child {
        display: none;
    }

    .gallery .galleryIamge:hover img:last-child {
        display: initial;
    }

    .gallery .galleryIamge:hover img:first-child {
        display: none;
    }

.galleryItem .galleryIamge {
    height: 200px;
    position: relative;
}

.gallery .galleryState {
    height: 40px;
}

    .gallery .galleryState .MT {
        color: #3cd418;
        font-size: 14px;
    }

    .gallery .galleryState .NMT {
        color: red;
        font-size: 14px;
    }

.galleryItem img {
    width: 100%;
    height: 100%;
    transition: all 4s ease-in-out;
}

.gallery img {
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 190px;
    min-height: 120px;
    transition: all 4s ease-in-out;
}

.sep .probtn {
    z-index: 1000;
    margin: 10px 10%;
    text-align: center;
    bottom: 0px;
}

.probtnSpec {
    z-index: 1000;
    text-align: center;
    bottom: 0px;
    margin-top: 5px;
}

    .probtnSpec a:not(:first-child) {
        background-color: green;
        display: inline-block;
        cursor: pointer;
        padding: 5px 10px;
        color: #fff;
        font-size: 12px;
    }

    .probtnSpec a:last-child {
        padding: 5px 20px;
    }

    .probtnSpec a div {
        width: 30px;
        height: 30px;
        color: #fff;
        padding-top: 5px;
    }

    .probtnSpec a i {
        font-size: 16px;
    }

.probtn a {
    float: right;
    margin: 0px 10px;
    background-color: rgb(240,240,240);
    cursor: pointer;
}

    .probtn a div {
        width: 34px;
        height: 34px;
        padding: 5px;
    }

        .probtn a div img {
            width: 24px;
            height: 24px;
        }

.galleryPrice {
    min-height: 58px;
    height: auto;
    padding: 5px;
    text-align: center;
    font-family: iranNum;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    box-sizing: border-box;
}

.galleryItems .quick-add {
    position: absolute;
    z-index: 4;
    bottom: 10px;
    left: 20px;
    min-width: 24px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

    .galleryItems .quick-add .default-label {
        position: absolute;
        width: auto;
        height: 27px;
        line-height: 22px;
        display: block;
        text-align: center;
    }

    .galleryItems .quick-add:hover .default-label {
        display: none;
    }

    .galleryItems .quick-add .default-label .icons {
        background: url('Image/Editor/add.png');
        background-size: cover;
        width: 24px;
        height: 24px;
        margin: 4px 0 0 3px;
    }

    .galleryItems .quick-add .hover-label:not(.tablet-add-to-cart) {
        -webkit-transition: all 200ms linear;
        -moz-transition: all 200ms linear;
        -o-transition: all 200ms linear;
        transition: all 200ms linear;
    }

    .galleryItems .quick-add .hover-label {
        width: 24px;
        height: 24px;
        margin-top: 4px;
        line-height: 24px;
        overflow: hidden;
    }

    .galleryItems .quick-add:hover .hover-label {
        width: 180px;
        background: red;
    }

    .galleryItems .quick-add .working-label {
        opacity: 0;
        position: absolute;
        top: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        -moz-background-clip: padding;
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        height: 27px;
        line-height: 27px;
        background: #e40000;
        text-align: center;
        -webkit-transition: all 200ms linear;
        -moz-transition: all 200ms linear;
        -o-transition: all 200ms linear;
        transition: all 200ms linear;
    }

        .galleryItems .quick-add .working-label .icon {
            padding: 5px;
        }

.hover-label {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    text-align: center;
}

.galleryItems .quick-add .hover-label:not(.tablet-add-to-cart) span {
    padding: 0 0 0 20px;
    color: #fff;
    opacity: 0;
    -ms-filter: progid:DXImageTransform.Microsoft.Alpha(opacity=(0));
    filter: alpha(opacity = (0));
    -webkit-transition: opacity 100ms 100ms linear, padding 200ms linear;
    -moz-transition: opacity 100ms 100ms linear, padding 200ms linear;
    -o-transition: opacity 100ms 100ms linear, padding 200ms linear;
    transition: opacity 100ms 100ms linear, padding 200ms linear;
}

.galleryItems .quick-add:hover .hover-label span {
    opacity: 1;
    padding: 0;
}

.galleryItems .quick-add .hover-label:not(.tablet-add-to-cart) span {
    font-size: 15px;
}

.mobile, .ui-loader, #addToCart .ui-btn-text, .wishListAdd .ui-btn-text {
    display: none !important;
    font-size: 0;
    height: 0;
    width: 0;
}

.btn2 {
    display: inline-block;
    margin-bottom: 0;
    width: 50px;
    height: 40px;
    border: 1px solid rgba(125, 136, 146, 0.61);
    text-align: center;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    /*border: 1px solid transparent;*/
    white-space: nowrap;
    padding-top: 5px !important;
    font-size: 18px;
    font-weight: normal;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .btn2:focus,
    .btn2:active:focus,
    .btn2.active:focus,
    .btn2.focus,
    .btn2:active.focus,
    .btn2.active.focus {
        outline: thin dotted;
        outline: 5px auto -webkit-focus-ring-color;
        outline-offset: -2px;
    }

    .btn2:hover,
    .btn2:focus,
    .btn2.focus {
        color: #555555;
        background-color: rgba(0, 0, 0, 0.075);
        text-decoration: none;
    }

    .btn2:active,
    .btn2.active {
        outline: 0;
        background-color: rgba(0, 0, 0, .2);
        background-image: none;
    }

    .btn2.disabled,
    .btn2[disabled],
    fieldset[disabled] .btn2 {
        cursor: not-allowed;
        pointer-events: none;
        opacity: 0.65;
        filter: alpha(opacity=65);
        -webkit-box-shadow: none;
        box-shadow: none;
    }

.Keraya {
    background-color: #fff;
    border-radius: 3px 3px 0 0;
    position: absolute;
    width: 400px;
    padding-right: 0px;
    z-index: 1200;
    border: 1px solid #000;
    box-sizing: border-box;
    display: none;
}

    .all4:hover ~ .Keraya, .arrow:hover ~ .Keraya, .Keraya:hover {
        display: block;
    }

    .Keraya li {
        list-style: none;
        padding: 10px;
        cursor: pointer;
        border-bottom: 1px solid #333;
    }

        .Keraya li span {
            font-size: 20px;
        }

            .Keraya li span.roz {
                float: right;
            }

            .Keraya li span.prices {
                float: left;
            }

        .Keraya li:last-child {
            border-bottom: none;
        }

        .Keraya li:hover {
            background-color: rgba(0, 0, 0, .1);
        }

        .Keraya li.active {
            background-color: #808080;
            cursor: default;
        }

            .Keraya li.active span {
                color: #fff;
                font-weight: bold;
            }

.pcode .Sdate div {
    padding-right: 0px;
    padding-top: 0px;
}

.row .pRight, .row .pLeft {
    width: 48%;
    margin-left: 10px;
    float: right;
}

.showImage .showImage .galleryPrice .pfirst2 {
    font-size: 13px;
    color: #616161;
    display: inline-block;
    padding-right: 4px;
    text-decoration-color: #b200ff;
}

.galleryPriceSpec .pfirst2 {
    font-size: 15px;
    color: #616161;
    line-height: 20px;
    display: inline-block;
    padding-right: 4px;
    text-decoration-color: #b200ff;
}

.galleryPrice .Lpfirst {
    color: #000;
    float: right;
    font-weight: bold;
    width: 80px;
    text-align: left;
}

.galleryPrice .Lpfirst2 {
    color: #000;
    float: right;
    font-weight: bold;
    width: 40px;
    text-align: left;
}

.galleryPrice.pfirst {
    font-size: 14px;
    color: red;
    text-decoration: line-through;
    text-decoration-color: #b200ff;
}

.galleryPrice.pfirst3 {
    font-size: 16px;
    color: red;
    text-decoration: line-through;
    text-decoration-color: #b200ff;
}

.pfirst3 .galleryPrice {
    font-size: 20px;
    color: #616161;
    text-decoration: line-through;
    text-decoration-color: #616161;
    padding-right: 20px;
}

.pfirst3 .discount {
    /* float: left; */
    top: 0px;
    right: 40%;
    font-size: 16px;
    position: absolute;
    background-color: red;
    color: #fff;
    padding: 2px 10px;
    border: 1px solid;
    border-radius: 15px;
}

.galleryPriceSpec .takh {
    text-decoration: line-through;
    display: block;
}

.galleryPrice .takh {
    text-decoration: line-through;
    display: inline-block;
}


.galleryPrice .all {
    color: var(--navy-800);
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
}

.galleryPriceSpec .all {
    color: var(--navy-800);
    font-weight: 700;
    font-size: 18px;
    display: inline-block;
}

.galleryPriceSpec {
    text-align: center;
    padding: 5px;
    font-size: 18px;
    height: 44px;
    font-family: iranNum;
}

.times span {
    font-size: 15px;
}

.values {
    position: relative;
}

.Cards, .Cards:hover {
    padding-top: 10px !important;
    margin-right: 20px;
}

.textVal {
    width: 60px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid rgba(125, 136, 146, 0.61);
    height: 40px;
    font-family: IranNum;
    font-size: 22px;
    line-height: 40px;
}
.pd-specs-row .pcode {
    margin-bottom: 12px;
}

.pd-specs-row {
    padding-bottom: 16px;
}
.addCard .textVal {
    position: relative;
}
/*.addCard .textVal::after
{
    content:" ";
    width:8px;
    height:1px;
 right:50%;
 margin-right:-2px;
 background-color:#868e95;
 position:absolute;
 bottom:-5px;
}*/
.textVal input[type=text] {
    width: 100%;
    height: 100%;
}

.Cards a, .Cards a:hover {
    background-color: green;
    cursor: pointer;
    color: #fff;
    padding: 7px 50px;
    font-size: 16px;
    cursor: pointer;
}

.pr .pcode {
    padding-right: 0px;
    margin-right: 0px;
}

    .pr .pcode.notTedad {
        text-align: center;
        font-size: 16px;
    }

        .pr .pcode.notTedad span {
            background-color: #808080;
            padding: 5px 10px;
            border-radius: 10px;
            color: #fff;
        }

.pr .all3 {
    text-align: right;
    padding-right: 0px;
    margin-right: 0px;
}

    .pr .all3 .galleryPrice {
        color: red;
        font-size: 26px;
    }

.galleryPrice.all3 {
    color: green;
    font-size: 20px;
}

.pcode .arrow {
    width: 5%;
    height: 60px;
    box-sizing: border-box;
    border: 1px solid #d0d0d0;
    border-right: 0;
    padding-top: 8px;
    padding-bottom: 6px;
    position: relative;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.arrow.icon {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 8px 0;
    border-color: #333 transparent transparent;
    top: 25px;
    left: 10px;
}

.galleryPrice.all4 {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-left: 0px;
    padding: 5px;
    padding-left: 100px;
    color: green;
    font-size: 20px;
}

.galleryPrice.all2 {
    text-align: center;
}

.galleryPrice.notTedad {
    font-size: 14px;
    padding: 2px;
}

    .galleryPrice.notTedad span {
        color: #fff;
        background-color: #808080;
        padding: 3px 10px;
        border-radius: 10px;
    }

.galleryPriceSpec .notTedad span {
    color: #fff;
    background-color: #808080;
    padding: 1px 10px;
    font-size: 14px;
    border-radius: 10px;
}

.galleryTitle {
    transition: all .3s ease-in-out;
    color: var(--ink);
    font-size: 14px;
    margin: 10px auto;
    text-align: right;
    font-weight: 500;
}

.gallery .galleryTitle, .gallery .galleryTitleSpec {
    transition: all .3s ease-in-out;
    height: 42px;
    color: var(--ink);
    font-weight: 500;
    font-size: 14px;
    margin: 5px auto;
    text-align: center;
    overflow: hidden;
}

.gallery .galleryTitleSpec {
    height: 60px;
    margin-top: 5px;
}

.gallery .galleryTitle span {
    line-height: 20px;
    padding-bottom: 2px;
    overflow: hidden;
}

.gallery .galleryTitleSpec span {
    line-height: 30px;
    font-size: 16px;
}

.divtr {
    width: 50%;
    height: 50%;
    position: absolute;
    background: rgba(125, 136, 146, 0.61);
    transition: all .4s ease-in-out;
    top: 0;
    right: 0;
}

.info .addCard {
    text-align: center;
    display: inline-block;
    width: 100%;
}

.addCard > div {
    display: inline-flex;
    padding-top: 0px !important;
}

    .addCard > div.Cards a {
        border-radius: 5px;
        padding: 5px 35px;
    }

.values {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    background: var(--paper);
}

.addCard .btnleft,
.addCard .btnright {
    background-image: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--navy-800);
    font-weight: 700;
    padding-top: 0 !important;
}

    .addCard .btnleft::before {
        content: "−";
    }

    .addCard .btnright::before {
        content: "+";
    }

.galleryItems:hover .divtr {
    transform: scale(10,0);
}

.divtl {
    width: 50%;
    height: 50%;
    position: absolute;
    background: rgba(125, 136, 146, 0.61);
    transition: all .4s ease-in-out;
    top: 0;
    left: 0;
}

.galleryItems:hover .divtl {
    transform: scale(10,0);
}

.divbr {
    width: 50%;
    height: 50%;
    position: absolute;
    background: rgba(125, 136, 146, 0.61);
    transition: all .4s ease-in-out;
    bottom: 0;
    right: 0;
}

.galleryItems:hover .divbr {
    transform: scale(0,10);
}

.divbl {
    width: 50%;
    height: 50%;
    position: absolute;
    background: rgba(125, 136, 146, 0.61);
    transition: all .4s ease-in-out;
    bottom: 0;
    left: 0;
}

.galleryItems:hover .divbl {
    transform: scale(0,10);
}

.groupTitle {
    margin-top: 20px;
    margin-right: 5px;
}

    .groupTitle .gTitle {
        font-size: 24px;
        color: #0026ff;
    }

#sayer .tab-content #Qustions .qTitle, #sayer .tab-content #Comments .qTitle {
    font-size: 20px;
    color: #888;
}

#Comments .cnl:nth-child(3), #Comments .cnl:nth-child(4) {
    margin-top: 20px;
}

#Comments .cnl:nth-child(4) {
    margin-top: 0px;
    line-height: 40px;
}

    #Comments .cnl:nth-child(4) * {
        display: inline-block;
    }

#Comments .cnl:nth-child(3) label:last-child {
    float: left;
    margin-left: 20px;
}

.groupTitle .gdesc {
    margin-top: 10px;
    margin-right: 15px;
    color: #333;
    font-size: 16px;
}

.send {
    text-align: left;
    margin: 10px 0px;
}

    .send a {
        background-color: #0026ff;
        padding: 5px 30px;
        color: #fff;
        line-height: 35px;
        margin-top: 10px;
        font-size: 16px;
        border-radius: 5px;
        cursor: pointer;
    }

.qMaster a {
    cursor: pointer;
}

.qMaster {
    margin-top: 10px;
}

.qDetails {
    webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

    .qDetails:first-child {
        margin-top: 25px;
    }

    .qDetails .qDetailsQuestion {
    }

        .qDetails .qDetailsQuestion .qDetailsTitle {
            height: 37px;
            line-height: 37px;
            background: #e8e9eb;
            padding: 0 15px;
            border-radius: 2px 2px 0 0;
        }

.addCard div {
    padding-top: 0px;
    padding-right: 0px;
    margin-top: 2px;
}

    .qDetails .qDetailsQuestion .qDetailsTitle:after, .values:after, .addCard:after, .addCard div:after, .Keraya li:after {
        content: "";
        display: table;
        clear: both;
    }

    .qDetails .qDetailsQuestion .qDetailsTitle:before, .values:before, .addCard:before, .addCard div:before, .Keraya li:before {
        content: "";
        display: table;
    }

.qDetailsTitle .qdtTitle {
    float: right;
    font-size: 14px;
}

.qDetailsTitle .qdtUsers {
    float: left;
    margin-left: 10px;
    font-size: 14px;
}

.qDetailsTitle .qdtTime {
    float: left;
    text-align: left;
    direction: ltr;
    font-size: 14px;
}

.qDetails .qDetailsQuestion .qQuestion {
    color: #555555;
    background: #f5f6f7;
    padding: 17px 15px 23px;
    font-size: 12.7px;
    line-height: 25px;
    padding-bottom: 40px;
}

.aMaster {
    margin: 5px;
}

.amAnsware {
    /* float: right; */
    margin: 10px;
    font-size: 15px;
    text-align: center;
}

    .amAnsware a {
        padding: 7px 10px;
        background-color: #f2f2f2;
        color: #868e95;
        border-radius: 20%;
    }

        .amAnsware a:hover, .amAnsware a:focus, .amAnsware a:active {
            background-color: #e0e0e0;
        }

.amqAnsware {
    float: left;
    margin-top: -28px;
    margin-left: 10px;
    font-size: 14px;
}

.modal-Question {
    margin-bottom: 20px;
}

    .modal-Question .qDetailsTitle {
        height: 37px;
        line-height: 37px;
        background: #66afe9;
        padding: 0 15px;
        border-radius: 2px 2px 0 0;
        color: #fff;
    }

        .modal-Question .qDetailsTitle:after, .aMaster:after, .aqaDetailsTitle:after {
            content: "";
            display: table;
            clear: both;
        }

        .modal-Question .qDetailsTitle:before, .aMaster:before, .aqaDetailsTitle:before {
            content: "";
            display: table;
        }

    .modal-Question .qQuestion {
        color: #333;
        background: rgba(153, 204, 245, 0.60);
        padding: 17px 15px 23px;
        font-size: 12.7px;
        line-height: 25px;
    }

.amAnsware a i {
    vertical-align: middle;
    margin-left: 2px;
}

.AnswareAll {
    margin: 10px;
    display: none;
}

.active {
    display: block;
}

.aqAnsware {
    margin-bottom: 10px;
}

.aqaDetailsTitle .aqaUsers {
    float: right;
    margin-left: 5px;
    font-size: 14px;
}

.aqaDetailsTitle .aqaTime {
    float: left;
    direction: ltr;
    font-size: 14px;
}

.aqaDetailsTitle .aqaTitle {
    float: right;
}

.aqAnsware .aqaDetailsTitle {
    height: 37px;
    line-height: 37px;
    background: #66afe9;
    padding: 0 5px;
    border-radius: 3px 3px 0 0;
    color: #fff;
}
#gal1-button-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: inherit;
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0px;
    width: 24px;
    height: 90px;
    margin-top: 0px;
}

.Pdetails span {
    white-space: pre-wrap !important;
    background-color: transparent !important;
    color: var(--ink) !important;
}

.Pdetails, .Pdetails * {
    background-color: transparent !important;
}

.Pdetails img {
    width: auto;
}

#gal1-button-prev {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-size: inherit;
    position: absolute;
    bottom: 0;
    top: auto;
    right: 0px;
    width: 24px;
    height: 90px;
    margin-top: 0px;
}

#gal1 .swiper-wrapper {
    overflow: hidden;
}

.aqAnsware .aqaAnsware {
    height: 37px;
    line-height: 37px;
    color: #333;
    background: rgba(153, 204, 245, 0.60);
    padding: 0 5px;
    border-radius: 0px 0px 3px 3px;
}

.supply label {
    position: relative;
    display: inline-block;
    margin-bottom: 0px;
    width: 100%;
    height: 40px;
    padding: 10px;
    line-height: 20px;
}

.supply span {
    padding-right: 50px;
}
/* Hide default HTML checkbox */
.supply input {
    display: none;
}

/* The slider */
.supply span:before {
    position: absolute;
    cursor: pointer;
    top: 10px;
    content: " ";
    height: 20px;
    width: 40px;
    right: 10px;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.supply span:after {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    right: 12px;
    top: 12px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

.supply input:checked + span:before {
    background-color: var(--gold-500);
}

.supply input:focus + span:before {
    box-shadow: 0 0 1px var(--gold-500);
}

.supply input:checked + span:after {
    -webkit-transform: translateX(-20px);
    -ms-transform: translateX(-20px);
    transform: translateX(-20px);
}

/* Rounded sliders */
.supply span:before {
    border-radius: 34px;
}

.supply span:after {
    border-radius: 50%;
}

.listHeader {
    border-bottom: 1px solid var(--line);
    position: relative;
    padding: 7px 44px 0px 130px;
    z-index: 2;
    background-color: var(--paper);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.listSort {
    list-style: none;
    line-height: 34px;
    padding: 0;
    margin-top: 1px;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: start;
    justify-content: flex-start;
    min-height: 34px;
}

.listHeader:before {
    content: " ";
    background-image: url('Image/icons/sorting.png');
    width: 24px;
    height: 24px;
    right: 13px;
    top: 12px;
    position: absolute;
    color: #cecece;
}

.listSort:before {
    display: inline-block;
    content: attr(data-label);
    color: #000000;
    margin-left: 5px;
    font-size: 12px;
    font-size: .857rem;
    line-height: 21px;
    vertical-align: middle;
}



.listSort li {
    display: inline-block;
}

    .listSort li a {
        display: block;
        padding: 0 10px;
        position: relative;
        font-size: 12px;
        font-size: .857rem;
        line-height: 25px;
        vertical-align: middle;
        border-radius: var(--radius-sm);
        color: var(--ink-soft);
        transition: background-color .15s ease, color .15s ease;
    }

        .listSort li a.active {
            background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
            color: var(--gold-100);
        }

.groupTitle a {
    color: var(--ink-soft);
    display: inline-block;
    font-size: 13px;
}

    .groupTitle a:hover {
        color: var(--gold-500);
        text-decoration: none;
    }

.groupTitle span {
    margin: 0px 5px;
    display: inline-block;
    background: url('Image/icons/right2.png') center no-repeat;
    padding: 5px;
    opacity: .55;
}

    .groupTitle span:last-child {
        margin: 0px;
        background: none;
        width: auto;
    }

.page {
    width: 100%;
    float: left;
    text-align: left;
    margin-top: 20px;
}

    .page a, .page span {
        color: var(--navy-800);
    }

        .page a:hover {
            color: var(--gold-500);
        }

.AppItem {
    width: 100%;
    display: none;
    align-items: center;
    gap: 10px;
    height: auto;
    padding: 10px 14px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    position: relative;
    z-index: 900002;
}

    .AppItem > div {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        padding: 13px 14px;
        background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
        color: #ffffff;
        border-radius: var(--radius-md);
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 10px -4px rgba(13,23,48,.35);
        transition: box-shadow .15s ease, transform .1s ease;
    }

        .AppItem > div:active {
            transform: scale(.97);
            box-shadow: none;
        }

    .AppItem .listSort:before {
        content: none;
    }

    .AppItem > div:first-child {
        padding: 13px 14px;
    }

    .AppItem > div:last-child {
        margin-right: 0;
        padding: 13px 14px;
        position: relative;
    }

        .AppItem > div:last-child::after {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            border-right: 2px solid #ffffff;
            border-bottom: 2px solid #ffffff;
            transform: rotate(45deg);
            margin-right: 6px;
            margin-bottom: 0px;
        }

    .AppItem .listSort {
        position: absolute;
        z-index: 900001;
        background: var(--paper);
        display: none;
        padding: 8px;
        width: 230px;
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        margin: 0;
        border-radius: var(--radius-md);
        border: 1px solid var(--line);
        box-shadow: var(--shadow-card-hover);
    }

        .AppItem .listSort li {
            display: flex;
            align-items: center;
            border-bottom: 1px solid var(--line);
            width: 100%;
            padding: 9px 6px;
            border-radius: var(--radius-sm);
            transition: background-color .15s ease;
        }

            .AppItem .listSort li:hover {
                background: var(--mist);
            }

            .AppItem .listSort li:last-child {
                border-bottom: none;
            }

            .AppItem .listSort li label {
                color: var(--ink);
                font-size: 14px;
                display: inline-block;
                margin-right: 8px;
                margin-top: 0;
                cursor: pointer;
            }

            .AppItem .listSort li input {
                display: inline-block;
                width: 18px;
                height: 18px;
                accent-color: var(--navy-800);
                cursor: pointer;
            }

.searchPro header {
    height: 54px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    position: fixed;
    top: 0px;
    right: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--navy-900);
    text-align: center;
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
    z-index: 9001111;
}

.searchPro > div.Searchbtn {
    display: none;
    position: fixed;
    text-align: center;
    bottom: 0px;
    right: 0;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: var(--gold-100);
    width: 100%;
    max-width: 420px;
    padding: 14px;
    z-index: 2000000;
    margin-bottom: 0px;
    line-height: 26px;
    font-weight: 700;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 -10px 24px -10px rgba(13,23,48,.35);
}

.searchPro header span {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: url(Image/icons/delete.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .15s ease;
}

    .searchPro header span:hover {
        background-color: var(--mist);
    }

@media(min-width:1760px) {
    .galleryItems {
        width: 16.666667% !important;
    }
}

@media(min-width:1480px) {
    .galleryItems {
        width: 20% !important;
    }
}

@media(max-width:1159px) {
    .searchPro {
        width: 20%;
        margin-right: 5px;
        margin-left: 5px;
    }

    .info header:nth-child(2) {
        width: 100%;
    }

    .info header:last-child {
        width: 100%;
    }

    .searchPro .ParnetTitle a {
        font-size: 12px;
    }

        .searchPro .ParnetTitle a.down:after, .searchPro .ParnetTitle a.up:after {
            left: 6px;
        }

    .SPrice-link a {
        padding: 10px 20px;
        font-size: 11px;
    }

    .searchPro > div:nth-child(2) ul li a {
        font-size: 11px;
    }

    .showImage {
        width: calc(80% - 15px);
        margin-left: 5px;
    }

    .galleryItems {
        width: 33.333% !important;
        padding-left: 6px;
        padding-right: 6px;
    }

    .galery {
        padding: 10px 5px;
    }

    .image-Temp {
        width: 100% !important;
    }

    .galery ~ .info {
        width: calc(100% - 460px);
        padding-left: 5px;
        padding-right: 5px;
    }

    .gallery .galleryTitle span {
        font-size: 12px;
    }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 13px;
    }
}

@media(max-width:980px) {
    .zoomWrapper {
        width: 100% !important;
        max-width: 400px;
    }

    .SPrice-link {
        display: none;
    }

    .searchPro header {
        display: flex;
    }

    .searchPro > div.Searchbtn {
        display: block;
    }

    #gal1 {
        max-width: 400px;
    }

    .searchPro {
        position: fixed;
        width: 100%;
        max-width: 420px;
        padding-top: 60px;
        height: 100%;
        right: 0;
        left: auto;
        z-index: 999999;
        margin: 0;
        padding-bottom: 90px;
        top: 0px;
        overflow: auto;
        background: var(--paper);
        box-shadow: -14px 0 40px -12px rgba(13,23,48,.35);
    }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 15px;
    }

    .gallery .galleryTitle span {
        font-size: 14px;
    }

    .galleryItems {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }

    .showImage {
        width: 100%;
    }

    .listHeader, .searchPro {
        display: none;
    }

    .AppItem {
        display: flex;
    }

    .groupTitle span:last-child {
        font-size: 12px;
        padding: 0px;
    }

    .groupTitle span {
        margin: 0px 3px;
        width: 3px;
        background-size: contain;
        padding: 6px;
    }

    .gallery .boxspec1 {
        height: 380px;
    }



    .show #info {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .info-header {
        position: relative;
        height: auto;
        top: 0;
        width: 100%;
    }

    .galery {
        width: 100%;
        padding: 10px;
        margin-top: 0;
    }
}

@media (max-width: 930px) {

    #gal1-button-prev {
        top: -5px;
    }
}

@media(max-width:860px) {

    .gallery .galleryIamgeSpec {
        height: 165px;
        width: 150px;
    }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 13px;
    }

    .galleryPrice.notTedad {
        padding: 0px;
    }

        .galleryPrice.notTedad span {
            font-size: 13px;
        }
}

@media(max-width:800px) {
    .galery {
        float: none !important;
        text-align: center;
        padding: 10px;
        margin-top: 0;
    }

    .show #info {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media(max-width:700px) {


    .groupTitle a {
        font-size: 11px;
    }

    .groupTitle span:last-child {
        font-size: 11px;
        padding: 0px;
    }

    .groupTitle span {
        margin: 0px 3px;
        width: 3px;
        background-size: contain;
        padding: 5px;
    }

    .galleryItems {
        float: right;
        width: 33.33% !important;
        position: relative;
        box-sizing: border-box;
        min-height: 1px;
        padding-left: 5px;
        padding-right: 5px;
        margin-top: 10px;
    }

    .show {
        margin: 5px;
    }

    .info-header {
        position: relative;
        height: auto;
        top: 0;
        width: 100%;
    }

        .info-header h3 {
            font-size: 17px;
            line-height: 30px;
        }

    .zoomContainer {
        left: auto !important;
        right: 90px;
        width: calc(100% - 90px) !important;
        height: 300px !important;
    }

    .galery {
        width: 100%;
        padding: 10px;
        margin-top: 0;
    }

    .info header:nth-child(3) {
        width: 100%;
    }


    .pcode span {
        font-size: 15px;
    }

    .Pdetails {
        margin-right: 10px;
    }

        .Pdetails.border, .notSelect {
            line-height: 32px;
            padding: 5px 10px;
        }

    .info header .pr {
        margin: 5px;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .info .addCard {
        margin-top: -0.5px !important;
        margin-right: 5px !important;
        margin-left: 5px !important;
        width: calc(100% - 10px);
        padding: 0px 10px;
        padding-bottom: 10px;
    }

    .subgroupItem {
        margin-right: 10px;
    }

        .subgroupItem .headers {
            margin-bottom: 15px;
            margin-top: 20px;
            font-size: 16px;
        }

    .ditem {
        margin-right: 5px !important;
        margin-bottom: 10px;
    }

    .row.ditem .lbl {
        margin-left: 5px;
        line-height: 30px;
        padding-right: 5px;
        width: 160px;
        font-size: 14px;
    }

    .row.ditem .cnl {
        width: calc(100% - 175px);
        line-height: 30px;
        padding-right: 10px;
        text-align: right;
        font-size: 13px;
    }

    #sayer .tab-content #Qustions {
        padding: 10px 10px;
    }

        #sayer .tab-content #Qustions .qTitle {
            font-size: 17px;
        }

        #sayer .tab-content #Qustions .cnl textarea {
            font-size: 13px;
            padding: 8px;
            height: 190px;
        }

    .galery ~ .info {
        width: 100%;
    }

    .image-Temp {
        width: 100% !important;
        height: auto !important;
    }

        .zoomWrapper, .image-Temp #zoom_01 {
            width: 100% !important;
            height: 300px !important;
            position: relative !important;
        }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 12px;
    }

    .gallery .galleryIamge {
        height: 150px;
    }

    .gallery .galleryTitleSpec span {
        font-size: 14px;
        line-height: 22px;
    }

    .galleryPrice.notTedad {
        padding: 0px;
    }

        .galleryPrice.notTedad span {
            font-size: 12px;
        }

    .gallery .galleryTitleSpec {
        height: 56px;
    }

    .gallery .box1 {
        padding: 6px;
        border-radius: var(--radius-sm);
    }



    .gallery .galleryIamgeSpec {
        height: 200px;
        margin-top: 0px;
    }

    .ProSlideSpecial {
        height: 420px;
    }

    .gallery .boxspec1 {
        height: 400px;
    }

    .linkSpec {
        bottom: 3px;
    }
}

@media(max-width:499px) {
    #gal1 {
        width: 100% !important;
        height: 70px !important;
    }

    .show #info {
        padding-right: 5px;
        padding-left: 5px;
    }

    .odTitle .til {
        font-size: 20px;
    }

    .nav3 li a {
        padding: 10px;
        font-size: 13px;
    }

    .odesc {
        display: block;
        margin: 5px;
    }

    .subgroupItem .htitle {
        font-size: 15px;
    }

    .odesc > div:first-child {
        width: 100%;
        height: 140px;
    }

    .odesc > div:last-child {
        width: 100%;
    }

    h4, .h4 {
        font-size: 10px;
    }

    p {
        margin-bottom: 3px;
    }

    .info-header {
        position: relative;
        height: auto;
        right: auto;
        top: 0;
        width: 100%;
    }

    #gal1-button-prev {
        display: flex !important;
    }

    #gal1-button-next {
        display: flex !important;
    }

    header:last-child {
        width: auto;
    }

    .searchPro {
        width: 100%;
        right: 0px;
        margin-right: 0px;
    }

    .groupTitle a {
        font-size: 9px;
    }

    .groupTitle span:last-child {
        font-size: 9px;
        padding: 0px;
    }

    .groupTitle span {
        margin: 0px 3px;
        width: 3px;
        background-size: contain;
        padding: 4px;
    }

    element.style {
    }


    .gallery .boxspec1 {
        border-radius: 5px
    }

    .galleryItems {
        float: right;
        width: 50% !important;
        position: relative;
        box-sizing: border-box;
        min-height: 1px;
        padding-left: 5px;
        padding-right: 5px;
        margin-top: 10px;
    }

    .show {
        margin: 5px;
    }



    .info-header h3 {
        font-size: 15px;
        line-height: 30px;
    }

    .zoomContainer {
        left: auto !important;
        right: 0px;
        width: 100% !important;
        height: 300px !important;
    }

    .galery {
        width: 100%;
        min-height: initial;
        padding: 10px;
        margin-top: 0;
    }
    .pcode span {
        font-size: 13px;
    }

    .Pdetails {
        margin-right: 10px;
    }

        .Pdetails.border, .notSelect {
            line-height: 27px;
            padding: 5px 10px;
        }

    .info header .pr {
        margin: 5px;
        margin-top: 20px;
        margin-bottom: 0px;
    }

    .info .addCard {
        margin-top: -0.5px !important;
        margin-right: 5px !important;
        margin-left: 5px !important;
        width: calc(100% - 10px);
        padding: 0px 10px;
        padding-bottom: 10px;
    }

    .subgroupItem {
        margin-right: 10px;
    }

        .subgroupItem .headers {
            margin-bottom: 15px;
            margin-top: 20px;
            font-size: 14px;
        }

    .ditem {
        margin-right: 5px !important;
        margin-bottom: 10px;
    }

    .row.ditem .lbl {
        margin-left: 5px;
        line-height: 30px;
        padding-right: 5px;
        width: 115px;
        font-size: 12px;
    }

    .row.ditem .cnl {
        width: calc(100% - 130px);
        line-height: 30px;
        padding-right: 10px;
        text-align: right;
        font-size: 11px;
    }

    #sayer .tab-content #Qustions, #sayer .tab-content #Comments {
        padding: 10px 10px;
    }

        #sayer .tab-content #Qustions .qTitle {
            font-size: 15px;
        }

        #sayer .tab-content #Qustions .cnl textarea {
            font-size: 11px;
            padding: 8px;
            height: 171px;
        }

    .galery ~ .info {
        width: 100%;
    }

    .image-Temp {
        width: 100% !important;
        height: auto !important;
    }

        .zoomWrapper, .image-Temp #zoom_01 {
            width: 100% !important;
            height: 250px !important;
            position: relative !important;
        }

    .info-header h1 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .product-title-latin {
        margin-bottom: 10px;
    }

    .zoomWrapper {
        margin-right: 0px;
    }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 12px;
    }

    .gallery .galleryIamge {
        height: 150px;
    }

    .gallery .galleryTitle span, .gallery .galleryTitleSpec span {
        font-size: 12px;
        line-height: 20px;
    }

    .galleryPrice.notTedad {
        padding: 0px;
    }

        .galleryPrice.notTedad span {
            font-size: 12px;
        }

    .gallery .galleryTitle, .gallery .galleryTitleSpec {
        height: 50px;
    }

    .gallery .box1 {
        padding: 6px;
        border-radius: var(--radius-sm);
    }

    .gallery .galleryIamgeSpec {
        height: 160px;
        margin-top: 0px;
    }

    .ProSlideSpecial, .gallery .boxspec1 {
        height: 280px;
    }

    .linkSpec {
        bottom: 3px;
    }
}

.file-Select {
    line-height: normal;
}

    .file-Select button {
        background-color: green;
        height: 30px;
        width: 100px;
        border: 1px solid #04490a;
        color: #fff;
    }

@media(max-width:426px) {
    #Comments .rows {
        position: relative;
    }

    #Comments .cnl:nth-child(3) label:last-child {
        position: absolute;
        top: 280px;
        width: 100px;
        right: 20px;
    }

    #Comments .cnl:nth-child(4) > div {
        float: none;
        display: block;
    }

    .rateq {
        margin-top: 50px;
    }

    .nav3 li a {
        font-size: 11px;
        padding: 10px 5px;
    }

    .galleryPrice .all, .galleryPriceSpec .all, .galleryPrice .takh, .galleryPriceSpec .takh {
        font-size: 12px;
    }

    .showImage .showImage .galleryPrice .pfirst2 {
        font-size: 11px;
    }

    .gallery .galleryIamge {
        height: 130px;
    }

    .gallery .galleryTitle span, .gallery .galleryTitleSpec span {
        font-size: 10px;
        line-height: 18px;
    }

    .galleryPrice.notTedad {
        padding: 0px;
    }

        .galleryPrice.notTedad span {
            font-size: 11px;
        }

    .gallery .galleryTitle, .gallery .galleryTitleSpec {
        height: 40px;
    }

    .gallery .box1 {
        padding: 5px;
    }

    .gallery .galleryIamgeSpec {
        height: 130px;
        margin-top: 0px;
    }

    .ProSlideSpecial {
        height: 310px;
    }

    .gallery .boxspec1 {
        height: 300px;
    }

    .linkSpec {
        bottom: 3px;
    }
}

@media(max-width:386px) {
    .ProSlideSpecial .titleSpec a {
        padding-right: 5px;
        padding-left: 5px;
    }

    #swiper-container-filmstrip3 .discount {
        left: -15px;
    }

    .galleryPrice .all, .galleryPriceSpec .all, .galleryPrice .takh, .galleryPriceSpec .takh {
        font-size: 10px;
    }

    #swiper-container-filmstrip3 .discount div {
        left: 35px;
    }

    #swiper-container-filmstrip3 .discount:before {
        left: 25px;
    }
}

/* ============================================================
   بازطراحی صفحه محصول (Product Detail Redesign)
   تم: سفید + سرمه‌ای + طلایی، هماهنگ با پالت --navy/--gold بالای فایل
   نکته: این بخش فقط ظاهری (رنگ/سایه/انیمیشن/گردی گوشه‌ها) است و
   هیچ چیزی از منطق CMS، دیتا، اسکریپت‌ها یا اندازه/چیدمان اصلی را
   تغییر نمی‌دهد؛ فقط بعضی رنگ‌های خشک قدیمی (خاکستری/آبی/سبز خام)
   با تم جدید جایگزین شده و هاور/انیمیشن اضافه شده است.
   ============================================================ */

@keyframes pdFadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pdShine {
    0% {
        transform: translateX(-120%) skewX(-20deg);
    }

    100% {
        transform: translateX(220%) skewX(-20deg);
    }
}

/* ---------- کانتینر اصلی بخش‌های صفحه محصول ---------- */
.show {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    animation: pdFadeUp .5s ease both;
}

    section.show > .galery,
    .show > .info {
        animation: pdFadeUp .6s ease both;
    }

/* ---------- گالری تصاویر محصول ---------- */
.galery {
    background: transparent;
}

.image-Temp {
    border-radius: var(--radius-md);
}

    .image-Temp #zoom_01 {
        border-radius: var(--radius-md);
        box-shadow: 0 8px 22px -10px rgba(13,23,48,.25);
        transition: box-shadow .3s ease;
    }

    .image-Temp:hover #zoom_01 {
        box-shadow: 0 16px 32px -12px rgba(13,23,48,.35);
    }

#gal1 {
    background: var(--paper);
    border-radius: var(--radius-sm);
}

    #gal1 img {
        border: 1px solid var(--line);
        border-radius: 8px;
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    #gal1 .swiper-slide a:hover img {
        border-color: var(--gold-400);
        box-shadow: 0 4px 10px -4px rgba(13,23,48,.25);
        transform: scale(1.03);
    }

    #gal1 .swiper-slide a.active img {
        border-color: var(--navy-800);
        box-shadow: 0 0 0 2px var(--gold-100);
    }

#gal1-button-next, #gal1-button-prev {
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    transition: background-color .2s ease, transform .15s ease;
}

    #gal1-button-next:hover, #gal1-button-prev:hover {
        background-color: transparent;
        transform: none;
    }

/* ---------- ریبون پیشنهاد ویژه ---------- */
.spectial {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ffffff, var(--gold-100));
    border: 1px solid var(--gold-400);
    border-radius: var(--radius-md);
    padding: 8px 18px;
    margin: 20px 10px 0;
    box-shadow: 0 8px 18px -10px rgba(201,162,39,.4);
}

    .spectial .spectial-title {
        color: var(--danger);
        margin-right: 0;
    }

/* ---------- هدر عنوان محصول ---------- */
.info-header {
    background: linear-gradient(90deg, var(--mist) 0%, #ffffff 100%);
    border-radius: var(--radius-md);
    border-right: 4px solid var(--gold-500);
}

    .info-header h1 {
        color: var(--navy-900);
        font-weight: 800;
    }

.product-title-latin {
    color: var(--ink-soft);
    font-style: italic;
    letter-spacing: .3px;
}

/* ---------- امتیاز محصول ---------- */
.product-rating {
    display: inline-flex;
    background: var(--gold-100);
    color: var(--navy-900);
    padding: 4px 14px;
    border-radius: 999px;
    font-weight: 700;
}

    .product-rating:before {
        color: var(--gold-500);
    }

.product-rating-num {
    color: var(--ink-soft);
}

/* ---------- ردیف‌های مشخصات (شناسه کالا/دسته‌بندی/برند) ---------- */
.pcode .titledetails {
    color: var(--navy-800);
    font-weight: 700;
    white-space: nowrap;
}

.pcode .Pdetails.border {
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 16px;
    white-space: nowrap;
    display: inline-block;
    transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease;
}

    .pcode .Pdetails.border:hover {
        border-color: var(--gold-400);
        box-shadow: 0 4px 10px -4px rgba(13,23,48,.2);
        transform: translateY(-1px);
    }

.pcode a.Pdetails.border {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
}

    .pcode a.Pdetails.border img {
        max-height: 26px;
        transition: transform .25s ease;
    }

    .pcode a.Pdetails.border:hover img {
        transform: scale(1.08);
    }

/* ---------- انتخاب گزینه‌های اضافه (رنگ/نوع کالا) ---------- */
.pcode select:not(.notSelect) {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background-color: var(--paper);
    color: var(--ink);
    padding: 0 10px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .pcode select:not(.notSelect):focus {
        outline: none;
        border-color: var(--gold-400);
        box-shadow: 0 0 0 3px rgba(201,162,39,.18);
    }

.extra-rd-item label {
    box-shadow: 0 0 0 1px var(--line);
    transition: transform .15s ease, box-shadow .2s ease;
}

    .extra-rd-item label:hover {
        transform: scale(1.08);
    }

.extra-rd-item input:checked + label {
    border: 2px solid var(--gold-500);
    box-shadow: 0 0 0 3px var(--gold-100);
}

/* ---------- قیمت نهایی و تخفیف ---------- */
.pr .all3 .galleryPrice {
    display: block;
    text-align: center;
    color: var(--navy-900);
    background: transparent;
    border: none;
    padding: 6px 0;
    font-weight: 800;
}

.pcode.pfirst3 .galleryPrice {
    color: var(--ink-soft);
    text-decoration-color: var(--danger);
}

.pfirst3 .discount {
    background: linear-gradient(135deg, var(--danger), #b23a3a);
    border: none;
    box-shadow: 0 6px 14px -6px rgba(214,69,69,.6);
}

.pr .pcode.notTedad span {
    background: var(--navy-800);
    color: var(--gold-100);
    padding: 6px 18px;
    border-radius: 999px;
    letter-spacing: .3px;
}

/* ---------- باکس افزودن به سبد خرید ---------- */
.info .addCard {
    background: var(--mist);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.btn2 {
    border-radius: 0;
    border: none;
    background-color: transparent;
    transition: background-color .2s ease;
}

    .btn2:hover, .btn2:focus {
        background-color: var(--gold-100);
        border-color: var(--gold-400);
        transform: scale(1.06);
    }

.textVal {
    border: none;
    border-right: 1px solid var(--line);
    border-left: 1px solid var(--line);
    border-radius: 0;
    color: var(--navy-900);
    background: var(--paper);
    font-weight: 700;
}

.addCard > div.Cards a,
.Cards a, .Cards a:hover {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: var(--gold-100);
    border-radius: 999px;
    padding: 10px 46px;
    font-weight: 700;
    letter-spacing: .3px;
    box-shadow: 0 10px 22px -10px rgba(13,23,48,.55);
    transition: box-shadow .25s ease, transform .15s ease;
}

    .Cards a:hover {
        box-shadow: 0 14px 28px -10px rgba(13,23,48,.65);
        transform: translateY(-2px);
    }

    .Cards a::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        width: 40%;
        background: linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
        animation: pdShine 3.2s ease-in-out infinite;
    }

/* ---------- توضیحات محصول ---------- */
header .pcode[itemprop="description"] .Pdetails {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    line-height: 1.9;
    color: var(--ink);
}

/* ---------- عنوان بخش‌های محصولات مرتبط/برگزیده ---------- */
.show.Rel-pro {
    border: none;
    box-shadow: none;
}

    .show.Rel-pro .showTitle {
        position: relative;
        padding-right: 14px;
    }

        .show.Rel-pro .showTitle:before {
            content: "";
            position: absolute;
            right: 0;
            top: 4px;
            bottom: 4px;
            width: 4px;
            border-radius: 3px;
            background: linear-gradient(180deg, var(--gold-500), var(--navy-800));
        }

        .show.Rel-pro .showTitle span:first-child {
            color: var(--navy-900);
            font-weight: 800;
        }

        .show.Rel-pro .showTitle span:last-child {
            color: var(--ink-soft);
            font-size: 14px;
        }

/* ---------- تب‌ها (توضیحات کامل / نظرات / سوالات) ---------- */
.nav3 {
    background-color: var(--paper);
    border-bottom: 1px solid var(--line);
}

    .nav3 li a {
        position: relative;
        color: var(--ink-soft);
        font-weight: 600;
        transition: color .2s ease;
    }

        .nav3 li a:hover {
            color: var(--navy-800);
        }

    .nav3 > li.active > a,
    .nav3 > li.active > a:active,
    .nav3 > li.active > a:focus {
        color: var(--navy-900);
        box-shadow: none;
        background: transparent;
    }

        .nav3 > li.active > a:after {
            content: "";
            position: absolute;
            right: 20px;
            left: 20px;
            bottom: -1px;
            height: 3px;
            border-radius: 3px 3px 0 0;
            background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
        }
#sayer {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 16px 20px 24px;
}

.subgroupItem {
    margin-top: 20px;
    margin-right: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
}

    .subgroupItem .headers {
        color: var(--navy-900);
        font-weight: 800;
        font-size: 18px;
    }

    .subgroupItem .htitle {
        color: var(--ink-soft);
        margin-top: -22px;
    }

.ditem {
    background: var(--mist);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
}

.row.ditem .lbl {
    background-color: transparent;
    color: var(--navy-800);
    font-weight: 700;
    width: auto;
    min-width: 150px;
}

.row.ditem .cnl {
    background-color: transparent;
    width: auto;
    flex: 1;
    color: var(--ink);
}
/* ---------- پرسش و پاسخ / نظرات ---------- */
.qDetails {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: box-shadow .2s ease;
}

    .qDetails:hover {
        box-shadow: var(--shadow-card-hover);
    }

    .qDetails .qDetailsQuestion .qDetailsTitle,
    .modal-Question .qDetailsTitle {
        background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
        color: var(--gold-100);
    }

    .qDetails .qDetailsQuestion .qQuestion,
    .modal-Question .qQuestion {
        background: var(--mist);
        color: var(--ink);
    }

.aqAnsware .aqaDetailsTitle {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    color: var(--gold-100);
}

.aqAnsware .aqaAnsware {
    background: var(--gold-100);
    color: var(--ink);
}

.amAnsware a {
    background: var(--mist);
    color: var(--navy-800);
    border-radius: var(--radius-sm);
    transition: background-color .2s ease;
}

    .amAnsware a:hover, .amAnsware a:focus, .amAnsware a:active {
        background: var(--gold-100);
    }

.send a {
    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 18px -8px rgba(13,23,48,.5);
    transition: box-shadow .2s ease, transform .15s ease;
}

    .send a:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 22px -8px rgba(13,23,48,.6);
    }

/* ---------- منوی اجاره (Keraya) ---------- */
.Keraya {
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card-hover);
}

    .Keraya li {
        border-bottom: 1px solid var(--line);
        transition: background-color .15s ease;
    }

        .Keraya li:hover {
            background-color: var(--mist);
        }

        .Keraya li.active {
            background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
        }

            .Keraya li.active span {
                color: var(--gold-100);
            }

@media (max-width: 800px) {
    .info-header {
        border-right: none;
        border-bottom: 4px solid var(--gold-500);
    }
}

/* ============================================================
   بازطراحی چیدمان صفحه محصول - باکس قیمت/خرید سمت چپ
   (شبیه چیدمان تکنولایف: عکس + عنوان + مشخصات راست، قیمت و خرید چپ)
   یک رنگ تاکیدی (فیروزه‌ای) هم به‌صورت خیلی محدود اضافه شده تا کنار
   تم سرمه‌ای/طلایی کمی روح بگیرد؛ فقط ظاهری است، دیتا دست‌نخورده می‌ماند.
   ============================================================ */
:root {
    --accent-500: #4a7fd6;
    --accent-400: #6f9be0;
    --accent-100: #e9f0fc;
}

.pd-product-section {
    padding: 18px;
    box-sizing: border-box;
}

.pd-main-col {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

    .pd-main-col > .galery {
        flex: 1 1 420px;
        max-width: 520px;
        box-sizing: border-box;
    }

.pd-content-col {
    flex: 3 1 480px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pd-info-price-wrap {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

    .pd-info-price-wrap .info {
        flex: 1 1 460px;
        min-width: 460px;
        width: auto;
    }

.pd-price-box {
    flex: 0 0 260px;
    min-width: 260px;
    max-width: 276px;
    width: auto;
    box-sizing: border-box;
    display: flex;
}

.pd-price-box-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
    border: 1px solid var(--line);
    border-top: 4px solid var(--navy-800);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    padding: 18px 16px 22px;
}

.pd-price-box .pr {
    margin-top: 0;
    padding: 0;
}

    .pd-price-box .pr:before {
        display: none;
    }

.pd-price-box .pcode {
    margin-right: 0;
    min-height: auto;
}

    .pd-price-box .pcode div {
        padding-right: 0;
    }

.pd-price-box .pfirst3 .galleryPrice {
    display: block;
    text-align: center;
    font-size: 15px;
    padding-right: 0;
    margin-bottom: 6px;
}

.pd-price-box .discount {
    position: static;
    display: inline-block;
    margin-bottom: 10px;
}

.pd-price-box .all3 {
    text-align: center;
}

    .pd-price-box .all3 .galleryPrice {
        display: block;
        width: 100%;
        text-align: center;
        font-size: 24px;
    }

.pd-price-box .notTedad {
    text-align: center;
}

.pd-price-box .addCard {
    text-align: center;
    display: block;
    width: 100%;
    margin-top: 16px !important;
    margin-right: 0 !important;
    padding: 0;
    background: transparent;
    border: none;
}

    .pd-price-box .addCard .values {
        display: inline-flex;
        margin-bottom: 12px;
    }

.pd-price-box .btn2:hover, .pd-price-box .btn2:focus {
    background-color: var(--accent-100);
    border-color: var(--accent-500);
}

.pd-price-box .Cards {
    margin-right: 0;
}

    .pd-price-box .Cards a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 12px 20px;
    }

.pd-price-box .min-request-contect {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--ink-soft);
}

.info header {
    float: none;
    width: 100%;
    clear: both;
    padding-left: 0;
}

.info-header {
    margin: 0 0 18px 0;
    padding: 16px 20px;
}

.pd-specs-row {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px 18px 6px;
    margin-bottom: 0;
    clear: both;
}
    .pd-specs-row .pcode {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 6px;
    }
    .pd-specs-row .pcode {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px 6px;
    }

.pd-spec-pair {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px 6px;
    white-space: nowrap;
}
.pd-desc-row {
    width: 100%;
    margin: 0;
    clear: both;
    box-sizing: border-box;
}

    .pd-desc-row > .pcode {
        margin-right: 0 !important;
        min-height: 0;
        width: 100%;
        box-sizing: border-box;
    }

        .pd-desc-row > .pcode > div {
            padding-right: 0 !important;
            padding-top: 0 !important;
            width: 100%;
            box-sizing: border-box;
        }

/* ---------- گالری تصویر: واکنش‌گرا و وسط‌چین ---------- */
.galery {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.image-Temp {
    width: 100% !important;
    max-width: 520px;
    margin: 0 auto;
    box-sizing: border-box;
}

    .image-Temp #zoom_01,
    .image-Temp .zoomWrapper {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1;
    }

#customZoomWrap {
    width: 100% !important;
    max-width: 400px;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

    #customZoomWrap img#zoom_01 {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

#gal1 {
    width: 100% !important;
    max-width: 400px;
    margin: 10px auto 0;
}

@media (max-width: 1300px) {
    .pd-main-col {
        flex-direction: column;
        align-items: center;
    }

        .pd-main-col > .galery {
            max-width: 420px;
            flex: none;
            width: 100%;
        }

    .pd-content-col {
        width: 100%;
        flex: none;
    }
}

@media (max-width: 980px) {
    .pd-info-price-wrap {
        flex-direction: column;
        width: 100%;
    }

    .pd-price-box {
        width: 100%;
        max-width: 100%;
        margin-top: 16px;
    }

    .pd-price-box-inner {
        position: static;
    }
}
.show.Rel-pro .boxItem.swiper-container-filmstrip {
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 6px 0 16px;
}

.show.Rel-pro .swiper-wrapper {
    height: auto !important;
}
.zoomLens {
    display: none !important;
}
#gal1-button-next::after,
#gal1-button-prev::after {
    content: none !important;
    display: none !important;
}
#gal1-button-next,
#gal1-button-prev {
    background-image: none !important;
}

    #gal1-button-next.swiper-button-disabled,
    #gal1-button-prev.swiper-button-disabled {
        opacity: 1;
    }
@media(max-width:980px) {
    .pd-price-box {
        position: fixed;
        bottom: calc(var(--mp-bottomnav-h, 66px) + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999998;
        margin: 0 !important;
        background: var(--paper);
        box-shadow: 0 -8px 20px -10px rgba(13,23,48,.25);
    }

    .pd-price-box-inner {
        border-radius: 0;
        box-shadow: none;
        padding: 10px 16px;
    }

    /* فضای کافی زیر محتوا بذار که کادر قیمت روش نیفته */
    .pd-main-col {
        padding-bottom: 90px;
    }
}
.zoomWindowContainer {
    z-index: 5 !important;
}




.zoomContainer,
.zoomWindowContainer {
    max-width: 400px !important;
    z-index: 5 !important;
}
.zoomWindowContainer,
.zoomContainer {
    display: none !important;
}
#sayer span[style*="background"],
#sayer div[style*="background"] {
    background-color: transparent !important;
    color: var(--ink) !important;
}
#sayer {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    padding: 10px;
}

    #sayer .tab-content,
    #sayer .tab-pane {
        background: var(--paper);
        border-radius: var(--radius-md);
    }

    #sayer h1, #sayer h2, #sayer h3, #sayer h4 {
        color: var(--navy-900);
    }

    #sayer p, #sayer span, #sayer div {
        color: var(--ink);
    }
.show.pd-product-section {
    animation: none;
}
#customZoomWrap {
    position: relative;
    width: 400px;
    height: 400px;
    cursor: crosshair;
}

#customZoomLens {
    display: none;
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(201, 162, 39, .25);
    border: 2px solid var(--gold-500);
    pointer-events: none;
    z-index: 5;
}

#customZoomResult {
    display: none;
    position: absolute;
    top: 0;
    left: -420px;
    width: 400px;
    height: 400px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background-repeat: no-repeat;
    background-color: #fff;
    box-shadow: var(--shadow-card-hover);
    z-index: 50;
}

@media(max-width:980px) {
    #customZoomResult, #customZoomLens {
        display: none !important;
    }
}
.showImage .galleryItems .hs-price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0;
}

.showImage .galleryItems .galleryPrice .pfirst2.takh {
    display: inline-block;
    color: var(--ink-soft);
    font-size: 11.5px;
    text-decoration: line-through;
    font-weight: 400;
    margin-bottom: 0;
}

.showImage .galleryItems .hs-discount-badge {
    display: inline-block;
    direction: ltr;
    background: #c23148;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 999px;
    font-family: iranNum, sans-serif;
    white-space: nowrap;
    letter-spacing: .2px;
}

.showImage .galleryItems .galleryPrice .pfirst2.all {
    display: inline-block;
    color: var(--navy-800);
    font-size: 15px;
    font-weight: 800;
    background: var(--gold-100);
    border-radius: 8px;
    padding: 4px 9px;
}
/* ============================================================
   رفع تداخل اسلایدر فیلتر قیمت با مگامنوی «دسته بندی کالاها»
   تولتیپ‌های bootstrap-slider از کلاس .tooltip بوت‌استرپ
   (z-index: 1070) استفاده می‌کنن و روی منو می‌افتادن.
   با ساختن stacking context روی #pf، هر چیزی داخلش
   حداکثر تا z-index: 1 بالا می‌ره و منو همیشه روش می‌مونه.
   ============================================================ */

.searchPro #pf {
    position: relative;
    z-index: 1;
}

    .searchPro #pf .slider,
    .searchPro #pf .slider-track,
    .searchPro #pf .slider-selection,
    .searchPro #pf .slider-handle {
        z-index: auto !important;
    }

    .searchPro #pf .tooltip,
    .searchPro #pf .tooltip-main,
    .searchPro #pf .tooltip-min,
    .searchPro #pf .tooltip-max {
        z-index: 1 !important;
    }
/* ============================================================
   ردیف قیمت خط‌خورده + بج تخفیف — دقیقا مثل کارت‌های صفحه اصلی
   هر دو روی یک خط، با باسلاین یکسان.
   فقط داخل #pdPriceBox (باکس قیمت صفحه محصول) اعمال می‌شه.
   ============================================================ */
.pd-price-box .pcode.pfirst3 {
    display: flex !important;
    flex-direction: row-reverse !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    position: static !important;
    margin-bottom: 6px;
    line-height: 1;
}

    .pd-price-box .pcode.pfirst3 .galleryPrice {
        display: inline-block;
        margin: 0;
        text-decoration: line-through;
        text-decoration-color: var(--ink-soft);
        color: var(--ink-soft);
        font-size: 13px;
        line-height: 1;
        white-space: nowrap;
        align-self: center;
    }

    .pd-price-box .pcode.pfirst3 .discount {
        position: static !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 3px 8px;
        line-height: 1;
        white-space: nowrap;
        align-self: center;
        font-size: 11px;
    }

        .pd-price-box .pcode.pfirst3 .discount span {
            display: inline-block;
            line-height: 1;
        }
.pd-price-box .pcode.pfirst3 {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
}

    .pd-price-box .pcode.pfirst3 .discount {
        min-height: 0 !important;
        height: auto !important;
    }

/* ============================================================
   لایت‌باکس تمام‌صفحه برای موبایل - نمایش/زوم عکس محصول
   ============================================================ */
.pd-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 999999;
    flex-direction: column;
}

    .pd-lightbox.active {
        display: flex;
    }

.pd-lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 14px;
    flex-shrink: 0;
}

.pd-lightbox-close {
    background: rgba(255,255,255,.1);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pd-lightbox-stage {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: none;
}

    .pd-lightbox-stage img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        user-select: none;
        -webkit-user-drag: none;
        will-change: transform;
        transform-origin: center center;
    }

.pd-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

    .pd-lightbox-nav span {
        width: 10px;
        height: 10px;
        border-right: 2px solid #fff;
        border-top: 2px solid #fff;
        display: block;
    }

.pd-lightbox-prev {
    right: 12px;
}

    .pd-lightbox-prev span {
        transform: rotate(45deg) translate(-1px,1px);
    }

.pd-lightbox-next {
    left: 12px;
}

    .pd-lightbox-next span {
        transform: rotate(-135deg) translate(-1px,1px);
    }

.pd-lightbox-counter {
    text-align: center;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    padding: 10px 0 16px;
    font-family: iranNum, sans-serif;
    flex-shrink: 0;
}

body.pd-lightbox-open {
    overflow: hidden;
}
/* ============================================================
   ردیف قیمت خط‌خورده + بج درصد تخفیف در باکس قیمت صفحه محصول
   (همان ظاهر کارت‌های صفحه اصلی)
   ============================================================ */
.pd-price-box .pd-price-old-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 0 8px;
}

    .pd-price-box .pd-price-old-row .pfirst2.takh {
        display: inline-block;
        min-height: 0;
        padding: 0;
        margin: 0;
        color: var(--ink-soft);
        font-family: iranNum, sans-serif;
        font-size: 12.5px;
        line-height: 1;
        text-decoration: line-through;
        white-space: nowrap;
    }

    .pd-price-box .pd-price-old-row .hs-discount-badge {
        display: inline-block;
        direction: ltr;
        background: #c23148;
        color: #fff;
        font-family: iranNum, sans-serif;
        font-size: 10.5px;
        font-weight: 700;
        line-height: 1;
        padding: 3px 7px;
        border-radius: 999px;
        white-space: nowrap;
        letter-spacing: .2px;
    }

/* فقط برای مارک‌آپ قدیمی (محصولاتی که پارشیال /products/sp قیمت را رندر می‌کند) */
.pd-price-box .pcode.pfirst3 .galleryPrice {
    min-height: 0 !important;
    padding: 0 !important;
}
/* ============================================================
   فیلتر محدوده قیمت (دسکتاپ + موبایل) — سرمه‌ای / طلایی
   شامل رفع تداخل z-index با مگامنو (stacking context روی #pf)
   ============================================================ */

/* ---------- کارت ---------- */
.searchPro .price-filter {
    border-radius: var(--radius-lg);
    overflow: visible;
}

    /* ---------- هدر ---------- */
    .searchPro .price-filter .ParnetTitle {
        display: flex;
        align-items: center;
        padding: 14px 16px 14px 40px;
        background: linear-gradient(180deg, #ffffff 0%, var(--mist) 100%);
        border-bottom: 1px solid var(--line);
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        cursor: pointer;
    }

        .searchPro .price-filter .ParnetTitle a {
            font-size: 14px;
            font-weight: 800;
            color: var(--navy-900);
        }

            /* نوار طلایی کنار عنوان */
            .searchPro .price-filter .ParnetTitle a::before {
                content: "";
                display: inline-block;
                width: 4px;
                height: 15px;
                margin-left: 9px;
                vertical-align: -2px;
                border-radius: 3px;
                background: linear-gradient(180deg, var(--gold-500), var(--navy-800));
            }

            /* فلش با CSS (به جای عکس Down.png / up.png) */
            .searchPro .price-filter .ParnetTitle a.down::after,
            .searchPro .price-filter .ParnetTitle a.up::after {
                content: "";
                position: absolute;
                left: 18px;
                top: 50%;
                width: 8px;
                height: 8px;
                background: none;
                border-right: 2px solid var(--gold-500);
                border-bottom: 2px solid var(--gold-500);
                transform: translateY(-75%) rotate(45deg);
                transition: transform .25s ease;
            }

            .searchPro .price-filter .ParnetTitle a.up::after {
                transform: translateY(-25%) rotate(-135deg);
            }

        /* ---------- بدنه ---------- */
        .searchPro .price-filter .ParnetTitle ~ div {
            padding: 20px 20px 4px;
        }

.searchPro #pf {
    position: relative;
    z-index: 1;
    padding: 14px 8px 30px;
}

    /* ---------- اسلایدر ---------- */
    .searchPro #pf .slider.slider-horizontal {
        width: 100% !important;
        height: 24px;
        z-index: auto !important;
    }

    .searchPro #pf .slider-track {
        height: 6px;
        margin-top: -3px;
        background: #e6e9f2 !important;
        background-image: none !important;
        border-radius: 999px;
        box-shadow: none;
        z-index: auto !important;
    }

    .searchPro #pf .slider-track-low,
    .searchPro #pf .slider-track-high {
        background: transparent !important;
        background-image: none !important;
    }

    .searchPro #pf .slider-selection {
        background: linear-gradient(90deg, var(--gold-400), var(--gold-500)) !important;
        background-image: linear-gradient(90deg, var(--gold-400), var(--gold-500)) !important;
        border-radius: 999px;
        box-shadow: none;
        z-index: auto !important;
    }

    .searchPro #pf .slider-handle {
        width: 24px;
        height: 24px;
        margin-left: -12px;
        margin-top: -9px;
        background: #ffffff !important;
        background-image: none !important;
        border: 3px solid var(--gold-500);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 0 0 4px rgba(201,162,39,.18), 0 6px 12px -4px rgba(13,23,48,.45);
        cursor: grab;
        touch-action: none;
        z-index: auto !important;
        transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
    }

        .searchPro #pf .slider-handle:hover,
        .searchPro #pf .slider-handle:focus {
            outline: none;
            transform: scale(1.12);
            border-color: var(--navy-800);
            box-shadow: 0 0 0 5px rgba(201,162,39,.30), 0 8px 16px -4px rgba(13,23,48,.5);
        }

        .searchPro #pf .slider-handle:active,
        .searchPro #pf .slider-handle.in-dragging {
            cursor: grabbing;
            transform: scale(1.05);
            border-color: var(--navy-800);
        }

    /* ---------- تولتیپ‌ها (عدد کمینه/بیشینه) ---------- */
    .searchPro #pf .tooltip,
    .searchPro #pf .tooltip-main,
    .searchPro #pf .tooltip-min,
    .searchPro #pf .tooltip-max {
        z-index: 1 !important;
        opacity: 1 !important;
    }

    .searchPro #pf .tooltip-inner {
        background: var(--navy-800);
        color: var(--gold-100);
        font-family: var(--font-main);
        font-size: 11.5px;
        font-weight: 600;
        white-space: nowrap;
        max-width: none;
        padding: 4px 10px;
        border-radius: 999px;
        box-shadow: 0 6px 14px -6px rgba(13,23,48,.5);
    }

    .searchPro #pf .tooltip-arrow {
        display: none;
    }

/* ---------- دکمه اعمال محدودیت قیمت (دسکتاپ) ---------- */
.searchPro .price-filter .SPrice-link {
    height: auto;
    padding: 6px 0 16px;
    text-align: center;
}

    .searchPro .price-filter .SPrice-link a {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 16px;
        font-size: 13.5px;
        font-weight: 700;
        letter-spacing: .2px;
        color: var(--gold-100);
        background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
        border-radius: var(--radius-md);
        border-bottom: 3px solid var(--gold-500);
        box-shadow: 0 10px 20px -10px rgba(13,23,48,.55);
        cursor: pointer;
        transition: transform .15s ease, box-shadow .2s ease, color .2s ease;
    }

        .searchPro .price-filter .SPrice-link a:hover {
            color: #ffffff;
            text-decoration: none;
            transform: translateY(-2px);
            box-shadow: 0 14px 26px -10px rgba(13,23,48,.65);
        }

        .searchPro .price-filter .SPrice-link a:active {
            transform: translateY(0) scale(.98);
        }

/* ---------- تبلت باریک: سایدبار ۲۰٪ ---------- */
@media (max-width: 1159px) {
    .searchPro .price-filter .ParnetTitle {
        padding: 12px 10px 12px 30px;
    }

        .searchPro .price-filter .ParnetTitle ~ div {
            padding: 16px 12px 4px;
        }

    .searchPro .price-filter .SPrice-link a {
        font-size: 12px;
        padding: 10px 8px;
    }
}

/* ---------- موبایل (منوی کشویی فیلتر) ---------- */
@media (max-width: 980px) {
    .searchPro .price-filter .ParnetTitle {
        padding: 16px 18px 16px 44px;
    }

        .searchPro .price-filter .ParnetTitle a {
            font-size: 15px;
        }

            .searchPro .price-filter .ParnetTitle a.down::after,
            .searchPro .price-filter .ParnetTitle a.up::after {
                left: 20px;
            }

        .searchPro .price-filter .ParnetTitle ~ div {
            padding: 26px 24px 8px;
        }

    .searchPro #pf {
        padding: 16px 6px 34px;
    }

        /* هندل بزرگ‌تر برای لمس راحت */
        .searchPro #pf .slider.slider-horizontal {
            height: 30px;
        }

        .searchPro #pf .slider-track {
            height: 8px;
            margin-top: -4px;
        }

        .searchPro #pf .slider-handle {
            width: 30px;
            height: 30px;
            margin-left: -15px;
            margin-top: -11px;
            border-width: 4px;
        }

        .searchPro #pf .tooltip-inner {
            font-size: 13px;
            padding: 5px 12px;
        }
}
/* ============================================================
   اصلاح وسط‌چینی اسلایدر + برچسب‌های قیمت بدون پس‌زمینه
   ============================================================ */

/* ریست کانتینر اسلایدر تا جابه‌جایی/مارجین کلاس‌های قدیمی اثر نگذارد */
.searchPro .price-filter #pf {
    float: none !important;
    display: block !important;
    position: relative;
    z-index: 1;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    left: auto !important;
    right: auto !important;
    box-sizing: border-box;
    padding: 14px 14px 36px !important;
}

    .searchPro .price-filter #pf .slider.slider-horizontal {
        display: block !important;
        position: relative;
        width: 100% !important;
        margin: 0 !important;
        left: auto !important;
        right: auto !important;
    }

    /* برچسب‌های قیمت: بدون دورگیر و پس‌زمینه، فقط فونت سرمه‌ای */
    .searchPro .price-filter #pf .tooltip,
    .searchPro .price-filter #pf .tooltip-main,
    .searchPro .price-filter #pf .tooltip-min,
    .searchPro .price-filter #pf .tooltip-max {
        background: transparent !important;
        box-shadow: none !important;
    }

    .searchPro .price-filter #pf .tooltip-inner {
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 6px !important;
        color: var(--navy-800) !important;
        font-family: var(--font-main);
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .searchPro .price-filter #pf .tooltip-arrow {
        display: none !important;
    }

/* موبایل */
@media (max-width: 980px) {
    .searchPro .price-filter #pf {
        padding: 16px 18px 40px !important;
    }

        .searchPro .price-filter #pf .tooltip-inner {
            font-size: 14px;
        }
}
/* ============================================================
   موبایل: فاصله‌ی کادرهای فیلتر از دو لبه‌ی منوی کشویی
   ============================================================ */
@media (max-width: 980px) {
    .searchPro {
        box-sizing: border-box;
        padding-left: 14px;
        padding-right: 14px;
        padding-top: 68px;
        background: var(--mist);
    }
}
/* کادر مرتب‌سازی موبایل: هم‌عرض دکمه‌ی «جدیدترین» */
@media (max-width: 980px) {
    .AppItem .listSort {
        width: 100%;
        min-width: 0;
        left: 0;
        right: 0;
        box-sizing: border-box;
    }
}
/* ============================================================
   چیدمان محصولات با flex به‌جای float
   (رفع خالی‌ماندن زیر کارت‌هایی که ارتفاعشان متفاوت است)
   ============================================================ */
.showImage {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: flex-start;
}

    /* clearfix قدیمی داخل flex لازم نیست */
    .showImage:before,
    .showImage:after {
        display: none;
    }

    /* همه‌ی بخش‌های غیر از کارت محصول (اسلایدر، بنر، نوار مرتب‌سازی، صفحه‌بندی، پیام خالی) تمام‌عرض */
    .showImage > *:not(.galleryItems) {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* کارت‌ها: هم‌قد شدن در هر ردیف */
    .showImage > .galleryItems {
        float: none;
        display: flex;
    }

        .showImage > .galleryItems > a {
            display: block;
            width: 100%;
            color: inherit;
        }

        .showImage > .galleryItems .box1 {
            height: 100%;
        }
    /* حذف حاشیه‌ی مشکی فوکوس/انتخاب روی کارت محصول */
    .showImage .galleryItems a,
    .showImage .galleryItems a:hover,
    .showImage .galleryItems a:focus,
    .showImage .galleryItems a:active,
    .showImage .galleryItems a:focus-visible {
        outline: none !important;
        box-shadow: none;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    /* ============================================================
   صفحه‌بندی (pagination) — سرمه‌ای / طلایی
   ============================================================ */
    .showImage .page {
        float: none;
        text-align: center;
        margin-top: 28px;
    }

        .showImage .page .pagination {
            display: inline-flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin: 0;
            padding: 0;
            border-radius: 0;
        }

            .showImage .page .pagination > li {
                display: inline-block;
                float: none;
            }

                /* همه‌ی دکمه‌ها (لینک و span) */
                .showImage .page .pagination > li > a,
                .showImage .page .pagination > li > span {
                    float: none;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    min-width: 40px;
                    height: 40px;
                    margin: 0;
                    padding: 0 12px;
                    box-sizing: border-box;
                    font-family: iranNum, var(--font-main);
                    font-size: 14px;
                    font-weight: 700;
                    line-height: 1;
                    color: var(--navy-800);
                    background: var(--paper);
                    border: 1px solid var(--line);
                    border-radius: var(--radius-sm);
                    box-shadow: 0 4px 10px -6px rgba(13,23,48,.25);
                    text-decoration: none;
                    outline: none;
                    cursor: pointer;
                    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
                }

                    /* هاور */
                    .showImage .page .pagination > li > a:hover,
                    .showImage .page .pagination > li > a:focus {
                        color: var(--navy-900);
                        background: var(--gold-100);
                        border-color: var(--gold-400);
                        transform: translateY(-2px);
                        box-shadow: 0 8px 16px -8px rgba(13,23,48,.35);
                    }

                /* صفحه‌ی فعلی */
                .showImage .page .pagination > li.active > a,
                .showImage .page .pagination > li.active > span,
                .showImage .page .pagination > li.active > a:hover,
                .showImage .page .pagination > li.active > a:focus {
                    color: var(--gold-100);
                    background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
                    border-color: var(--navy-900);
                    border-bottom: 3px solid var(--gold-500);
                    transform: none;
                    cursor: default;
                    box-shadow: 0 8px 16px -8px rgba(13,23,48,.5);
                }

                /* غیرفعال (اگر CreatePager چنین دکمه‌ای بسازد) */
                .showImage .page .pagination > li.disabled > a,
                .showImage .page .pagination > li.disabled > span {
                    color: var(--ink-soft);
                    background: var(--mist);
                    box-shadow: none;
                    cursor: not-allowed;
                    opacity: .7;
                }

@media (max-width: 499px) {
    .showImage .page .pagination {
        gap: 6px;
    }

        .showImage .page .pagination > li > a,
        .showImage .page .pagination > li > span {
            min-width: 36px;
            height: 36px;
            padding: 0 9px;
            font-size: 13px;
        }
}
/* باکس قیمت تا وقتی عکس بالای صفحه نرفته، سمت چپ مشخصات بماند */
@media (min-width: 981px) {
    .pd-info-price-wrap {
        flex-wrap: nowrap;
    }

        .pd-info-price-wrap .info {
            flex: 1 1 0;
            min-width: 0;
        }

    .pd-price-box {
        flex: 0 0 260px;
    }
}

/* حالت عکس-کنار-محتوا: گالری کمی جمع‌تر تا جا برای مشخصات بماند */
@media (min-width: 1301px) {
    .pd-main-col > .galery {
        flex: 0 1 420px;
    }
}
/* کادر مشخصات: همیشه داخل عرض ستون بمونه و محتواش بشکنه */
.pd-info-price-wrap .info {
    min-width: 0;
}

.info .pd-specs-row {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    float: none;
}

.pd-specs-row .pcode {
    flex-wrap: wrap;
    min-width: 0;
    margin-right: 0;
}

.pd-spec-pair {
    flex-wrap: wrap;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

.pcode .Pdetails.border {
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
}
/* موبایل/تبلت: بخش مشخصات فقط به اندازه محتوای خودش قد بگیره */
@media (max-width: 980px) {
    .pd-info-price-wrap .info {
        flex: 0 0 auto;
        min-width: 0;
        width: 100%;
    }

    .pd-info-price-wrap {
        gap: 0;
    }
}
/* کادر توضیحات: هم‌عرض و هم‌راستای کادرهای عنوان و مشخصات */
.pd-desc-row {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    float: none;
}

    .pd-desc-row > .pcode {
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
        min-height: 0;
        box-sizing: border-box;
    }

        .pd-desc-row > .pcode > div {
            padding: 0 !important;
            width: 100%;
            box-sizing: border-box;
        }

    .pd-desc-row .Pdetails {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

        /* عکس‌ها و جدول‌های داخل توضیحات از کادر بیرون نزنن */
        .pd-desc-row .Pdetails img,
        .pd-desc-row .Pdetails table,
        .pd-desc-row .Pdetails iframe,
        .pd-desc-row .Pdetails video {
            max-width: 100% !important;
            height: auto;
        }

        .pd-desc-row .Pdetails table {
            display: block;
            overflow-x: auto;
        }
/* هم‌راستا کردن کادر توضیحات با کادرهای داخل #info */
@media (max-width: 980px) {
    .pd-desc-row {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 499px) {
    .pd-desc-row {
        padding-left: 5px;
        padding-right: 5px;
    }
}
/* هم‌راستایی دقیق کادر توضیحات با کادرهای عنوان و مشخصات */
.pd-desc-row > .pcode,
.pd-desc-row > .pcode > div,
.pd-desc-row > .pcode > div > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

    .pd-desc-row > .pcode > div > .Pdetails {
        margin: 0 !important;
        box-sizing: border-box;
        width: 100%;
    }
    /* فاصله‌ی داخلی کادر توضیحات */
    .pd-desc-row > .pcode > div > .Pdetails {
        padding: 20px 24px !important;
    }

@media (max-width: 499px) {
    .pd-desc-row > .pcode > div > .Pdetails {
        padding: 14px 16px !important;
    }
}
/* دکمه‌های راست/چپ اسلایدر محصولات مرتبط و برگزیده */
.show.Rel-pro .boxItem {
    position: relative;
}

.pd-rel-nav {
    display: none;
    position: absolute;
    top: 114px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    padding: 0;
    align-items: center;
    justify-content: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 50%;
    box-shadow: var(--shadow-card-hover);
    cursor: pointer;
    z-index: 10;
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
}

    .pd-rel-nav.is-visible {
        display: flex;
    }

    .pd-rel-nav:hover {
        background: var(--gold-100);
        border-color: var(--gold-400);
    }

    .pd-rel-nav:focus {
        outline: none;
    }

    .pd-rel-nav.is-disabled {
        opacity: .35;
        pointer-events: none;
    }

    .pd-rel-nav span {
        display: block;
        width: 9px;
        height: 9px;
        border-top: 2px solid var(--navy-800);
        border-right: 2px solid var(--navy-800);
    }

.pd-rel-nav-right {
    right: 6px;
}

    .pd-rel-nav-right span {
        transform: rotate(45deg);
        margin-left: -3px;
    }

.pd-rel-nav-left {
    left: 6px;
}

    .pd-rel-nav-left span {
        transform: rotate(-135deg);
        margin-right: -3px;
    }

/* ارتفاع عکس کارت‌ها در موبایل کمتر است، پس دکمه‌ها را بالاتر ببر */
@media (max-width: 700px) {
    .pd-rel-nav {
        top: 87px;
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 426px) {
    .pd-rel-nav {
        top: 76px;
    }
}
/* برچسب‌ها */
.tag-master {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px dashed var(--line);
}

    .tag-master .titledetails {
        display: block;
        margin-bottom: 8px;
    }

.tag-pro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .tag-pro a {
        display: inline-block;
        padding: 5px 14px;
        background: var(--mist);
        color: var(--navy-800) !important;
        border: 1px solid var(--line);
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.6;
        text-decoration: none !important;
        transition: background-color .2s ease, border-color .2s ease, transform .15s ease, box-shadow .2s ease;
    }

        .tag-pro a:hover {
            background: var(--gold-100);
            border-color: var(--gold-400);
            color: var(--navy-900) !important;
            transform: translateY(-1px);
            box-shadow: 0 6px 12px -6px rgba(13,23,48,.3);
        }
        .tag-pro a,
        .tag-pro a:hover,
        .tag-pro a:focus,
        .tag-pro a:active,
        .tag-pro a:focus-visible {
            outline: none !important;
            -webkit-tap-highlight-color: transparent;
        }

            .tag-pro a:focus,
            .tag-pro a:active {
                border-color: var(--gold-400);
                background: var(--gold-100);
            }

/* ============================================================
   موبایل: باکس قیمت/خرید پایین صفحه (فشرده و مرتب)
   ============================================================ */
@media (max-width: 980px) {
    .pd-price-box .pd-price-box-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 6px 12px;
        padding: 8px 12px;
        border-top-width: 3px;
        border-radius: 0;
    }

    /* قیمت */
    .pd-price-box .pr {
        flex: 0 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }

        .pd-price-box .pr .pcode.all3 {
            text-align: center;
        }

        .pd-price-box .pr .all3 .galleryPrice {
            font-size: 17px !important;
            line-height: 1.3;
            min-height: 0 !important;
            padding: 0 !important;
            white-space: nowrap;
        }

    .pd-price-box .pd-price-old-row {
        margin: 0 0 2px;
    }

        .pd-price-box .pd-price-old-row .pfirst2.takh {
            font-size: 11px;
        }

        .pd-price-box .pd-price-old-row .hs-discount-badge {
            font-size: 10px;
            padding: 2px 6px;
        }

    /* ردیف تعداد + دکمه افزودن */
    .pd-price-box .addCard {
        flex: 1 1 220px;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        width: auto;
        margin: 0 !important;
        padding: 0 !important;
    }

        .pd-price-box .addCard > div {
            margin: 0 !important;
            padding: 0 !important;
        }

        .pd-price-box .addCard .values {
            flex: 0 0 auto;
            height: 40px;
            margin: 0 !important;
        }

    .pd-price-box .btn2 {
        width: 36px;
        height: 40px;
        padding-top: 0 !important;
    }

    .pd-price-box .textVal {
        width: 38px;
        height: 40px;
        line-height: 40px;
        font-size: 17px;
        padding: 0;
    }

    .pd-price-box .Cards {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
    }

        .pd-price-box .Cards a {
            display: flex !important;
            align-items: center;
            justify-content: center;
            height: 40px;
            padding: 0 10px !important;
            font-size: 14px;
            white-space: nowrap;
        }
}

/* موبایل‌های باریک: قیمت یک ردیف، کنترل‌ها ردیف بعد */
@media (max-width: 400px) {
    .pd-price-box .pr {
        flex: 1 0 100%;
        flex-direction: row-reverse;
        gap: 8px;
    }

    .pd-price-box .pd-price-old-row {
        margin: 0;
    }

    .pd-price-box .addCard {
        flex: 1 0 100%;
    }
}

/* ============================================================
   موبایل: عکس و گالری کوچک‌تر تا نام محصول بدون اسکرول دیده شود
   ============================================================ */
@media (max-width: 700px) {
    .pd-product-section {
        padding: 10px;
    }

    .pd-main-col {
        gap: 8px;
        padding-bottom: 80px;
    }

    .pd-content-col {
        gap: 12px;
    }

    .galery {
        padding: 4px 10px 0;
    }

        .galery .image-Temp #customZoomWrap {
            width: 100% !important;
            max-width: 210px !important;
            margin: 0 auto;
        }

    .image-Temp #customZoomWrap #zoom_01 {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: auto;
    }

    /* نوار تصاویر کوچک */
    #gal1 {
        max-width: 210px !important;
        height: 52px !important;
        margin-top: 6px;
    }

        #gal1 .swiper-wrapper,
        #gal1 .swiper-slide {
            height: 52px !important;
        }

    #gal1-button-next,
    #gal1-button-prev {
        height: 52px;
    }

    .info-header {
        margin-bottom: 10px;
        padding: 10px 14px;
    }
}
/* ============================================================
   موبایل: تعداد دقیقاً وسط، دکمه کوچک‌تر، قیمت راست
   ============================================================ */
@media (max-width: 980px) {
    .pd-price-box .pd-price-box-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 0 10px;
        padding: 8px 14px;
    }

    /* قیمت: ستون راست */
    .pd-price-box .pr {
        grid-column: 1;
        justify-self: start;
        align-items: flex-start;
    }

        .pd-price-box .pr .all3 .galleryPrice {
            font-size: 15px !important;
        }

    /* addCard به ستون‌های گرید باز می‌شود (تعداد وسط، دکمه چپ) */
    .pd-price-box .addCard {
        display: contents !important;
    }

        .pd-price-box .addCard .values {
            grid-column: 2;
            justify-self: center;
            height: 38px;
        }

    .pd-price-box .btn2 {
        width: 32px;
        height: 38px;
    }

    .pd-price-box .textVal {
        width: 34px;
        height: 38px;
        line-height: 38px;
        font-size: 16px;
    }

    .pd-price-box .Cards {
        grid-column: 3;
        justify-self: end;
        flex: none;
    }

        .pd-price-box .Cards a {
            height: 38px;
            padding: 0 14px !important;
            font-size: 12.5px;
            width: auto;
        }
}

/* موبایل‌های باریک: قیمت بالا وسط‌چین، پایین: تعداد وسط + دکمه چپ */
@media (max-width: 400px) {
    .pd-price-box .pd-price-box-inner {
        grid-template-columns: 1fr auto 1fr;
        row-gap: 6px;
    }

    .pd-price-box .pr {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: center;
        flex-direction: row-reverse;
        align-items: center;
        gap: 8px;
    }

    .pd-price-box .addCard .values {
        grid-row: 2;
    }

    .pd-price-box .Cards {
        grid-row: 2;
    }
}
/* ============================================================
   موبایل: قیمت + تعداد + دکمه همیشه در یک خط
   ============================================================ */
@media (max-width: 980px) {
    .pd-price-box .pd-price-box-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 10px;
    }

    /* قیمت: راست */
    .pd-price-box .pr {
        order: 1;
        flex: 1 1 0;
        min-width: 0;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0;
    }

        .pd-price-box .pr .all3 .galleryPrice {
            font-size: 14px !important;
            white-space: nowrap;
        }

    .pd-price-box .pd-price-old-row {
        justify-content: flex-start;
        margin: 0 0 1px;
    }

        .pd-price-box .pd-price-old-row .pfirst2.takh {
            font-size: 10.5px;
        }

    /* addCard باز می‌شود تا تعداد و دکمه هم‌سطح قیمت باشند */
    .pd-price-box .addCard {
        display: contents !important;
    }

        /* تعداد: وسط */
        .pd-price-box .addCard .values {
            order: 2;
            flex: 0 0 auto;
            height: 36px;
            margin: 0 !important;
        }

    .pd-price-box .btn2 {
        width: 30px;
        height: 36px;
    }

    .pd-price-box .textVal {
        width: 32px;
        height: 36px;
        line-height: 36px;
        font-size: 15px;
    }

    /* دکمه: چپ */
    .pd-price-box .Cards {
        order: 3;
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        justify-content: flex-end;
        margin: 0 !important;
        padding: 0 !important;
    }

        .pd-price-box .Cards a {
            height: 36px;
            padding: 0 12px !important;
            font-size: 12px;
            white-space: nowrap;
        }
}

/* خیلی باریک: فقط اندازه‌ها کمی کوچک‌تر، باز هم یک خط */
@media (max-width: 400px) {
    .pd-price-box .pr .all3 .galleryPrice {
        font-size: 12.5px !important;
    }

    .pd-price-box .btn2 {
        width: 26px;
    }

    .pd-price-box .textVal {
        width: 28px;
        font-size: 14px;
    }

    .pd-price-box .Cards a {
        padding: 0 9px !important;
        font-size: 11px;
    }
}

/* ============================================================
   موبایل (مثل دیجی‌کالا): قیمت راست، دکمه بزرگ چپ؛
   بعد از افزودن، دکمه به شمارنده تبدیل می‌شود
   ============================================================ */
@media (max-width: 980px) {
    .pd-price-box .pd-price-box-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between !important;
        gap: 12px !important;
        padding: 10px 14px;
    }

    /* قیمت: راست */
    .pd-price-box .pr {
        order: 1;
        flex: 0 0 auto !important;
        align-items: flex-start !important;
        text-align: right;
        padding-left: 0;
    }

        .pd-price-box .pr::after {
            display: none;
        }

    .pd-price-box .pd-price-old-row {
        justify-content: flex-start;
    }

    .pd-price-box .pr .all3 .galleryPrice {
        font-size: 17px !important;
    }

    /* addCard: فضای باقی‌مانده، چپ */
    .pd-price-box .addCard {
        order: 2;
        display: block !important;
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        height: 46px;
        margin: 0 !important;
        padding: 0 !important;
    }

        /* حالت اول: دکمه بزرگ، تمام عرض */
        .pd-price-box .addCard .Cards {
            position: absolute;
            inset: 0;
            margin: 0 !important;
            padding: 0 !important;
        }

            .pd-price-box .addCard .Cards a {
                display: flex !important;
                align-items: center;
                justify-content: center;
                width: 100%;
                height: 46px;
                padding: 0 10px !important;
                font-size: 15px;
                border-radius: 12px;
                white-space: nowrap;
            }

                .pd-price-box .addCard .Cards a::before {
                    display: none;
                }

        /* شمارنده در حالت اول پنهان */
        .pd-price-box .addCard .values {
            position: absolute;
            inset: 0;
            display: none !important;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            height: 46px;
            margin: 0 !important;
            border: 1px solid var(--line);
            border-radius: 12px;
            background: var(--paper);
            box-shadow: 0 4px 12px -6px rgba(13,23,48,.3);
        }

            .pd-price-box .addCard .values > * {
                float: none !important;
            }

        .pd-price-box .addCard .btn2 {
            width: 48px;
            height: 46px;
            padding-top: 0 !important;
            font-size: 22px;
            color: var(--navy-800);
            flex: 0 0 auto;
        }

        .pd-price-box .addCard .btnleft {
            order: 1;
        }
        /* منها */
        .pd-price-box .addCard .textVal {
            order: 2;
            flex: 1;
            width: auto;
            height: 46px;
            line-height: 46px;
            font-size: 18px;
            border: 0;
        }

        .pd-price-box .addCard .btnright {
            order: 3;
        }
        /* بعلاوه */

        /* حالت دوم: بعد از افزودن، دکمه می‌رود و شمارنده می‌آید */
        .pd-price-box .addCard.is-added .Cards {
            display: none;
        }

        .pd-price-box .addCard.is-added .values {
            display: flex !important;
            animation: pdCounterIn .3s ease both;
        }
}

@keyframes pdCounterIn {
    from {
        opacity: 0;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (max-width: 980px) {
    .pd-price-box .addCard.is-added .Cards {
        display: none !important;
    }

    .pd-price-box .addCard.is-added .values {
        display: flex !important;
        animation: pdCounterIn .3s ease both;
    }
}
/* موبایل: مودال «به سبد اضافه شد» نمایش داده نشود (شمارنده جایش را می‌گیرد) */
@media (max-width: 980px) {
    body.pd-no-cart-modal .modal.btnokCart,
    body.pd-no-cart-modal .modal-backdrop {
        display: none !important;
    }

    body.pd-no-cart-modal.modal-open {
        overflow: auto !important;
        padding-right: 0 !important;
    }
}
/* ============================================================
   موبایل: دکمه ⇄ شمارنده دقیقاً هم‌اندازه و هم‌جا، با انیمیشن مورف
   ============================================================ */
@media (max-width: 980px) {

    /* کادر ثابت: هر دو حالت داخل همین قاب هستند */
    .pd-price-box .addCard {
        flex: 0 0 55% !important;
        width: 55%;
        max-width: 260px;
        height: 46px;
        position: relative;
        overflow: hidden;
        border-radius: 12px;
    }

        /* هر دو لایه کاملاً روی هم، یک اندازه */
        .pd-price-box .addCard .Cards,
        .pd-price-box .addCard .values {
            position: absolute !important;
            inset: 0 !important;
            width: 100% !important;
            height: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            box-sizing: border-box;
            border-radius: 12px;
            display: flex !important;
            transition: opacity .28s ease, transform .35s cubic-bezier(.3, .9, .3, 1.1);
            will-change: opacity, transform;
        }

        /* دکمه */
        .pd-price-box .addCard .Cards {
            opacity: 1;
            transform: scale(1);
            z-index: 2;
        }

            .pd-price-box .addCard .Cards a {
                width: 100%;
                height: 100%;
                border-radius: 12px;
            }

        /* شمارنده: در حالت اول پشت دکمه و کمی کوچک‌تر */
        .pd-price-box .addCard .values {
            opacity: 0;
            transform: scale(.88);
            pointer-events: none;
            z-index: 1;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            background: var(--paper);
            border: 1.5px solid var(--navy-800);
            box-shadow: none;
            overflow: hidden;
        }

        /* بعد از افزودن: دکمه محو می‌شود، شمارنده جایش می‌آید */
        .pd-price-box .addCard.is-added .Cards {
            opacity: 0;
            transform: scale(1.12);
            pointer-events: none;
            display: flex !important; /* پنهان نمی‌شود تا انیمیشن اجرا شود */
        }

        .pd-price-box .addCard.is-added .values {
            opacity: 1;
            transform: scale(1);
            pointer-events: auto;
            z-index: 3;
            animation: none;
        }

        /* محتوای داخل شمارنده */
        .pd-price-box .addCard .btn2 {
            flex: 0 0 25%;
            width: 25%;
            height: 100%;
            padding: 0 !important;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: var(--navy-800);
            border: 0;
            background: transparent;
        }

            .pd-price-box .addCard .btn2:active {
                background: var(--gold-100);
            }

        .pd-price-box .addCard .textVal {
            flex: 1 1 auto;
            width: auto !important;
            height: 100%;
            line-height: 43px;
            font-size: 18px;
            border: 0;
            background: transparent;
            color: var(--navy-900);
        }
}
@media (max-width: 980px) {
    .pd-price-box .addCard .btnright {
        order: 1 !important;
    }
    /* + سمت راست */
    .pd-price-box .addCard .textVal {
        order: 2 !important;
    }

    .pd-price-box .addCard .btnleft {
        order: 3 !important;
    }
    /* − سمت چپ */
}