
.wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none}


.svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}


img.wp-smiley, img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
}



:root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;}
:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}
:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}
:root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;}

.woocommerce form .form-row .required { visibility: visible; }



.wp-block-font-awesome-icon svg::before,
.wp-rich-text-font-awesome-icon svg::before {content: unset;}


.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n+4):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
}
@media screen and (max-height: 1024px) {
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+3):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}
@media screen and (max-height: 640px) {
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload),
    .e-con.e-parent:nth-of-type(n+2):not(.e-lazyloaded):not(.e-no-lazyload) * {
        background-image: none !important;
    }
}

body{font-family:iranyekan;font-weight:400;font-style:normal;}

/**** المان نوشته ها ****/
.postle-img-box img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

.postle-img-box .swiper-slide {
    position: relative;
}

.postle-img-box span svg {
    margin-left: 7px;
}

.postle-img-box span {
    padding: 4px 10px;
    background-color: var(--colormain);
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 12px;
    color: #eeeeee;
    font-size: 13px;
    transition: all 200ms ease-in-out;
}

.postle-img-box .swiper-slide > div {
    position: absolute;
    z-index: 10;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.postle-img-box .swiper-slide > div {
    position: absolute;
    z-index: 10;
    top: 0px;
    width: 100%;
    text-align: center;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #ddd;
    border-radius: 12px;
    opacity: 0;
    display: flex;
    transition: 200ms ease-in-out;
    visibility: hidden;
}

.postle-img-box:hover .swiper-slide > div {
    opacity: 0.8;
    visibility: visible;
}

.postle-img-box .postle-details {

}

.postle-img-box .swiper-slide > div > div {

}

.postle-img-box .swiper-slide > div > div > div {
    font-size: 27px;
    margin-bottom: 16px;
    font-weight: 700;
    color: #484848;
}

.postle-img-box .swiper-slide > p {

}

.postle-list {

}

.postle-list img {
    border-radius: 12px;
    height: 175px;
    width: 100%;
    object-fit: cover;
}

.postle-img-box:hover span {
    top: 0;
    opacity: 0;
}

.postle-details-list a {
    margin-top: 18px;
    font-size: 15px;
    background-color: var(--colormain);
    color: #fff;
    border-radius: 12px;
    padding: 5px 10px;
}

.postle-details-list span {
    margin-top: 18px;
    font-size: 15px;
    background-color: var(--colormain);
    color: #fff;
    border-radius: 12px;
    padding: 5px 10px;
}

.postle-details-list a svg {
    margin-left: 7px;
}

.swiper-slide {
    border-radius: 12px;
}

/**** المان نوشته ها ****/


/**** المان اسلایدر محصولات ****/
.product-slider-element {
    border-radius: 12px;
    padding: 20px;
    padding-top: 0;
}

.product-slider-element .pse-right {
    padding: 15px 0;
}

.pse-first-img {

}

.pse-second-img {
    width: 65%;
    margin: 20px 0;
}

.product-slide-element {
    padding: 15px;
    background-color: #fff;
    border-radius: 12px;
    min-height: 335px;
    position: relative;

}

.product-slider .swiper-slide {
    transition: all 200ms ease-in-out;
    margin-top: 20px;
}

.product-slider .swiper-slide:hover {
    box-shadow: 0px 0px 3px 0px #ffffff;
    transform: translateY(-5px);
}

.product-slider .swiper-slide:hover a p {
    color: var(--colormain);
}

.product-slider .swiper-slide:hover .pse-message {
    visibility: visible;
    opacity: 1;
    right: 10px;
}

.product-slide-element img {
    border-radius: 12px;
    padding: 10px;
    height: auto;
}

.product-slide-element p {
    margin: 12px 0;
    line-height: 28px;
    font-size: 14px;
    color: #616161;
    transition: all 200ms ease-in-out;
}

.product-slide-element .pse-message {
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    text-align: center;
    background-color: var(--colormain);
    border-radius: 12px;
    color: #ffffff;
    position: absolute;
    top: 10px;
    right: 0;
    box-shadow: 0px 1px 4px var(--colormain);
    visibility: hidden;
    opacity: 0;
    transition: all 200ms ease-in-out;
    display: flex;
    align-items: center;
}

.product-slide-element .pse-message svg {
    margin-left: 5px;
}

.product-slide-element .pse-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    left: 15px;
    bottom: 15px;
    width: 100%;
}

.product-slide-element .pse-percentage {
    text-decoration: none;
    font-size: 14px;
    padding: 4px 8px;
    text-align: center;
    background-color: var(--colormain);
    border-radius: 12px;
    color: #ffffff;
    position: absolute;
    bottom: 24px;
    visibility: visible;
    opacity: 1;
    box-shadow: 0px 1px 4px var(--colormain);
    transition: all 200ms ease-in-out;
}

.product-slide-element .pse-price-box del {
    width: 100%;
    text-align: left;
    padding: 0;
    color: #a4a3a3;
    font-size: 14px;
    text-decoration: line-through;
    text-decoration-color: #ddd;
}

.product-slide-element .pse-price {
    width: 100%;
    text-decoration: none;
    text-align: center;
    font-size: 17px;
    text-shadow: 0px 2px 3px #ddd;
    color: #4b4b4b;
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
}

.product-slide-element .pse-price > del .woocommerce-Price-currencySymbol {
    display: none;
}

.product-slide-element .pse-price-box > div {
    text-align: left;
}

.product-slide-element .woocommerce-Price-amount > bdi .woocommerce-Price-currencySymbol {
    margin-right: 4px;
    font-size: 9px;
    color: #717171;
}

@media only screen and (max-width: 992px) {
    .product-slide-element {
        padding: 15px;
        background-color: #fff;
        border-radius: 12px;
        min-height: 440px;
        position: relative;
    }

    .product-slide-element .pse-message {
        visibility: visible;
        opacity: 1;
        right: 10px;
    }
}


/**** المان فهرست محصولات ****/
.ple-box {
    margin-bottom: 20px; /* فاصله بین آیتم‌ها */
    position: relative;  /* جهت قرارگیری overlay به صورت absolute */
    display: flex;
    align-items: center;
}
.ple-right {
    width: 80%;
    position: relative; /* برای قابلیت موقعیت‌یابی badge در داخل آن */
}
.ple-right img {
    padding: 22px;
    height: 140px;
    object-fit: cover;
    width: 140px;
    display: block;
}
/* استایل badge شماره محصول */
.product-list-element .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--colormain);
    color: #fff;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    z-index: 2;
}
.ple-left {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}
.ple-left > div {
    font-size: 14px;
    margin-bottom: 9px;
    line-height: 28px;
}
.ple-left > span {
    color: var(--colormain);
    font-size: 14px;
    text-shadow: 0px 2px 2px #ddd;
    font-weight: bold;
}
/* overlay کامل روی کل آیتم (تصویر + عنوان + قیمت) */
.ple-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: silver; /* یا می‌توانید از rgba(128,128,128,0.7) استفاده کنید */
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px); /* افکت بلور */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
/* نمایش overlay هنگام هاور روی کل آیتم */
.ple-box:hover .ple-full-overlay {
    opacity: 0.96;
    border-radius: 8px;
}
.ple-full-overlay svg{
    margin-left: 6px;
    margin-bottom: 1px;
    font-size: 15px;
}
/**** واکنشگرایی (ریسپانسیو) ****/
@media (max-width: 768px) {
    .ple-box {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
    /* تنظیم مجدد تصویر در موبایل؛ عرض کامل یا حداکثر سایز دلخواه */
    .ple-right {
        margin: 0 auto;
        width: 100%;
        max-width: 200px; /* می‌توانید این مقدار را تغییر دهید */
    }
    .ple-right img {
        padding: 20px;
        width: 100%;
        height: auto;
    }
    .product-list-element .product-badge {
        width: 32px;
        height: 32px;
        font-size: 16px;
        line-height: 32px;
        top: 10px;
        left: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* تنظیم استایل بخش اطلاعات و عنوان به صورت مرکز */
    .ple-left {
        border: none;
        padding: 10px 0;
    }
    .ple-left > div, .ple-left > span {
        text-align: center;
        width: 100%;
    }
    /* در موبایل ممکن است نیازی به overlay هاور نباشد؛
اگر قصد دارید overlay همیشه فعال باشد یا بر اساس رویداد تپ فعال شود، می‌توانید آن را نگه دارید */
    .ple-full-overlay {
        /* برای نمایش overlay می‌توانید به جای display:none از opacity:0 به همراه جاوااسکریپت تپ استفاده کنید */
        opacity: 0;
        display: flex;
    }

}
/**** المان فهرست محصولات ****/

/* استایل‌های اختصاصی irn-ams - نسخه لوکس */
:root {
    --irnamscolormain: var(--colormain); /* رنگ اصلی که می‌توانید از تنظیمات تم تغییر دهید */
    --irnamscolormain-light: rgba(255, 87, 34, 0.1);
    --irnamscolormain-dark: var(--third);
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #fff;
    --bg-dark: #1a1a1a;
}

.irn-ams-product-list-wrapper {
    display: flex;
    gap: 0;
    direction: rtl;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    height: 600px;
    position: relative;
}

.irn-ams-product-list {
    width: 35%;
    background: linear-gradient(135deg, var(--irnamscolormain) 0%, var(--irnamscolormain-dark) 100%);
    padding: 25px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) var(--irnamscolormain-dark);
    position: relative;
    z-index: 1;
}

.irn-ams-product-list .active .ams-list-price {
    color: var(--colormain);
}

.discount-badge svg{
    margin-left: 5px;
}
.irn-ams-product-list::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect fill="rgba(255,255,255,0.03)" width="50" height="50" x="0" y="0"></rect></svg>');
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: -1;
}

.irn-ams-product-list::-webkit-scrollbar {
    width: 6px;
}

.irn-ams-product-list::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.irn-ams-product-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.irn-ams-product-list-item {
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.irn-ams-product-list-item::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent var(--bg-light);
    opacity: 0;
    transition: all 0.3s ease;
}

.irn-ams-product-list-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.irn-ams-product-list-item.active {
    background: var(--bg-light);
    color: var(--irnamscolormain);
    transform: translateX(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.irn-ams-product-list-item.active::after {
    opacity: 1;
    right: 10px;
}

.irn-ams-product-list-item .product-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: var(--bg-light);
    color: var(--irnamscolormain);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.irn-ams-product-list .active .product-badge {
    position: absolute;
    left: 15px;
    bottom: 15px;
    background: var(--irnamscolormain);
    color: var(--bg-light);
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.irn-ams-product-display {
    width: 65%;
    background: var(--bg-light);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    position: relative;
}

.irn-ams-product-featured {
    position: relative;
}

.irn-ams-product-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-bottom: 25px;
}

.irn-ams-product-image:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.irn-ams-product-image img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.irn-ams-product-info {
    margin-top: 15px;
}

.irn-ams-product-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
    position: relative;
    display: inline-block;
}

.irn-ams-product-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 50px;
    height: 3px;
    background: var(--irnamscolormain);
    border-radius: 3px;
}

.irn-ams-product-price {
    font-size: 24px;
    color: var(--irnamscolormain);
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.irn-ams-product-price del {
    font-size: 18px;
    color: #999;
    font-weight: normal;
}

.irn-ams-product-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.irn-ams-product-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.irn-ams-product-meta-item i {
    color: var(--irnamscolormain);
    font-size: 16px;
}

.irn-ams-btn-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--irnamscolormain);
    color: var(--text-light);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 87, 34, 0.4);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.irn-ams-btn-buy::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.irn-ams-btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 87, 34, 0.6);
}

.irn-ams-btn-buy:hover::before {
    left: 100%;
}

.irn-ams-btn-icon {
    margin-left: 10px;
    font-size: 20px;
}

/* افکت‌های ویژه */
.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--irnamscolormain);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.5);
    z-index: 2;
    animation: pulse 2s infinite;
}

.discount-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--second);
    color: var(--text-light);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 5px 15px var(--second);
    z-index: 2;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .irn-ams-product-list-wrapper {
        flex-direction: column;
        height: auto;
    }

    .irn-ams-product-list, .irn-ams-product-display {
        width: 100%;
    }

    .irn-ams-product-list {
        padding: 20px;
        max-height: 300px;
    }

    .irn-ams-product-display {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .irn-ams-product-list-wrapper {
        flex-direction: column;
        height: auto;
    }

    .irn-ams-product-list {
        width: 100%;
        height: auto;
    }

    .irn-ams-product-display {
        padding: 20px;
    }
}

/* === متغیرهای رنگ === */
:root {
    --irn-pt-main: var(--colormain);
    --irn-pt-second: var(--colormain-gradient);
    --irn-pt-third: var(--second);
    --irn-pt-bg: #f7f7f7;
    --irn-pt-text: #333;
    --irn-pt-border-radius: 8px;
}
/* === استایل اصلی === */
.irn-pt-container {
    display: flex;
    gap: 30px;
    direction: rtl;
}

.irn-pt-container .woocommerce-Price-amount > bdi {
    font-size: 17px;
}

.irn-pt-container .woocommerce-Price-amount > bdi > .woocommerce-Price-currencySymbol {
    margin-right: 2px;
    font-size: 12px;
}

/* تب‌های عمودی با آیکن */
.irn-pt-vertical-tabs {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.irn-pt-v-tab {
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    border-radius: var(--irn-pt-border-radius);
    display: flex;
    align-items: center;
    gap: 8px;
}

.irn-pt-v-tab:hover,
.irn-pt-v-tab.active {
    background: #eee;
}

.irn-pt-v-tab.active .irn-pt-tab-indicator {
    width: 3px;
    height: 100%;
    background: var(--irn-pt-main);
    position: absolute;
    right: 0;
    top: 0;
    border-radius: 3px 0 0 3px;
}

.irn-pt-category-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
}

/* اسلایدر محصولات */
.irn-pt-slider-wrapper {
    flex: 1;
    overflow: hidden;
}

.irn-pt-swiper {
    padding: 10px 0;
    margin: 0 -10px;
}

.irn-pt-swiper > div > div {
    padding: 0 10px;
    box-sizing: border-box;
}

.irn-pt-tab-content {
    display: none;
}

.irn-pt-tab-content.active {
    display: block;
}

/* کارت محصول */
.irn-pt-product-card {
    background: white;
    border-radius: var(--irn-pt-border-radius);
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.irn-pt-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 56, 56, 0.15);
}

/* برچسب تخفیف جدید */
.irn-pt-discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--irn-pt-main), var(--irn-pt-second));
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(255, 56, 56, 0.3);
}

.irn-pt-discount-percent {
    font-size: 14px;
    font-weight: bold;
}

.irn-pt-discount-text {
    font-size: 11px;
}

/* تصویر محصول */
.irn-pt-product-thumb {
    padding: 15px;
    text-align: center;
}

.irn-pt-product-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: calc(var(--irn-pt-border-radius) - 2px);
}

/* اطلاعات محصول */
.irn-pt-product-info {
    padding: 0 15px 15px;
}

.irn-pt-product-title {
    margin: 0 0 10px;
    font-size: 14px;
    text-align: right;
    line-height: 28px;
}

.irn-pt-product-title a {
    color: var(--irn-pt-text);
    text-decoration: none;
}

/* قیمت‌گذاری جدید */
.irn-pt-price-wrapper {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.irn-pt-price-row {
    display: flex;
    justify-content: end;
    align-items: center;
}

.irn-pt-price-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.irn-pt-toman {
    color: #999;
    font-size: 11px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    padding-left: 5px;
}

.irn-pt-price {
    color: var(--irn-pt-main);
    font-weight: bold;
    font-size: 15px;
}

.irn-pt-regular-price {
    color: #999;
    font-size: 12px;
    text-decoration: line-through;
}

.irn-pt-sale-price {
    color: var(--irn-pt-main);
    font-weight: bold;
    font-size: 15px;
    text-decoration: none;
}

.irn-pt-out-of-stock {
    color: #ff3838;
    font-size: 12px;
    text-align: right;
}

/* دکمه سبد خرید جدید */
.irn-pt-add-to-cart {
    margin-top: 15px;
    text-align: center;
}

.irn-pt-add-to-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, var(--irn-pt-main), var(--irn-pt-second));
    color: white;
    padding: 10px 20px;
    border-radius: var(--irn-pt-border-radius);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 56, 56, 0.4);
}

.irn-pt-add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 56, 56, 0.6);
    background: linear-gradient(to right, var(--irn-pt-second), var(--irn-pt-main));
    color: #ffffff;
}

.irn-pt-add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            to bottom right,
            rgba(255, 255, 255, 0.4),
            rgba(255, 255, 255, 0.2),
            rgba(255, 255, 255, 0)
    );
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.irn-pt-add-to-cart-btn:hover::before {
    left: 100%;
}

.irn-pt-cart-icon {
    fill: white;
    width: 16px;
    height: 16px;
    margin-left: 8px;
}

.irn-pt-btn-text {
    transition: all 0.3s;
}

.irn-pt-out-of-stock-btn {
    background: #f5f5f5;
    color: #999;
    border: none;
    padding: 10px 15px;
    border-radius: var(--irn-pt-border-radius);
    cursor: not-allowed;
}

/* ناوبری اسلایدر */
.irn-pt-swiper-next,
.irn-pt-swiper-prev {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--irn-pt-main);
}

.irn-pt-swiper-next:after,
.irn-pt-swiper-prev:after {
    font-size: 16px;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .irn-pt-container {
        flex-direction: column;
    }

    .irn-pt-vertical-tabs {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .irn-pt-v-tab {
        white-space: nowrap;
    }

    .irn-pt-v-tab.active .irn-pt-tab-indicator {
        width: 100%;
        height: 3px;
        top: auto;
        bottom: -5px;
        right: 0;
        border-radius: 3px 3px 0 0;
    }
}

.irn-section-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
    position: relative;
    animation: fadeIn 1s ease-in-out;
}

.irn-icon {
    font-size: 24px;
    margin: 0 8px;
    vertical-align: middle;
}


.irn-section-title {
    text-align: center;
    padding: 0 20px;
    font-size: 26px;
    color: #222;
    font-weight: 800;
    margin: 0;
    position: relative;
    background: linear-gradient(to right, var(--colormain), var(--second));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 2s infinite linear;
}

.irn-title-line {
    flex-grow: 1;
    height: 3px;
    background: linear-gradient(
            to right,
            var(--colormain),
            var(--second)
    );
    position: relative;
    border-radius: 50px;
    animation: lineMove 2s infinite linear;
}

.irn-left-line {
    margin-right: 20px;
    background: linear-gradient(to left, var(--colormain), var(--second));
}

.irn-right-line {
    margin-left: 20px;
    background: linear-gradient(to right, var(--colormain), var(--second));
}

@media (max-width: 768px) {
    .irn-section-title {
        font-size: 20px;
        padding: 0 15px;
    }

    .irn-title-line {
        display: none;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 200%;
    }
}

@keyframes lineMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}


/**** المان محصولان شگفت انگیز عمودی ****/
.amzp {
    padding: 10px;
}

.amzp:hover .amzp-title a {
    color: var(--colormain);
}

.amazing_product1 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
}

.amazing_product1 .swiper-wrapper {
    text-align: center;
}

.amzp-box {
    background-color: #ffffff;
}

.amzp-box img {
    padding: 50px 45px 30px 45px;
    border-radius: 8px;
}

.amzp-price {
    margin-top: 10px;
    color: var(--colormain);
    text-shadow: 0px 2px 2px #ddd;
    font-weight: 600;
}

.amzp-title {
    text-align: right;
    width: 100%;
    line-height: 28px;
}

.amzp-roban-text {
    position: absolute;
    right: 9px;
    top: 9px;
    font-size: 14px;
    background-color: var(--colormain);
    padding: 7px 10px;
    border-radius: 12px;
    color: #fff;
    text-shadow: 0px 1px 0px #ddd;
    box-shadow: 0px 1px 4px var(--colormain);
}

.amzp-roban-text svg {
    margin-left: 3px;
}

.amzp-roban-percent {
    position: absolute;
    left: 9px;
    top: 9px;
    font-size: 14px;
    background-color: var(--colormain);
    padding: 7px 10px;
    border-radius: 12px;
    color: #fff;
    text-shadow: 0px 1px 0px #ddd;
    box-shadow: 0px 1px 4px var(--colormain);
}

.amzp-price ins {
    color: #fff !important;
    padding: 6px 10px;
    background-image: linear-gradient(to left, var(--colormain), var(--colormain-gradient));
    text-shadow: 0 0 BLACK;
    border-radius: 12px;
    font-size: 14px;
    box-shadow: 0px 1px 4px var(--colormain);
}

.amzp-price ins span.woocommerce-Price-currencySymbol {
    font-size: 12px;
    margin-right: 4px;
}

.amzp-box del {
    display: none;
}

/**** المان محصولان شگفت انگیز عمودی ****/


/* استایل‌های پایه */
.irana-story-container {
    padding: 0;
    overflow:hidden;
}

.irana-story-slide {
    width: 80px;
    text-align: center;
    cursor: pointer;
}

/* سبک کاور دایره‌ای */
.story-cover {
    width: 70px;
    height: 70px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--colormain), #ff8a00);
    position: relative;
}

.story-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid white;
}

.story-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-title {
    font-size: 12px;
    margin-top: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* دکمه لایک در آیکون استوری (لیست) */
.story-like-wrapper {
    margin-top: 3px;
}

.story-like-wrapper .story-like-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 12px;
}

.story-like-wrapper .story-like-btn i.fas {
    color: #ff0050;
}

.story-like-wrapper .story-like-count {
    font-size: 10px;
    margin-left: 2px;
}

/* استایل ویوئر استوری */
.irana-story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.story-viewer-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

/* محتوای مدیا (ویدئو/تصویر، کپشن) در ویوئر */
.story-viewer-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: auto;
    text-align: center;
    display: flex;
    align-items: center;
    height: 100vh;
    justify-content: center;
}

.story-viewer-loading {
    color: #ffffff;
}

.story-media-wrapper {
    position: relative;
}

.story-viewer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* بهبود نمایش مدیا */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

/* دکمه لایک در ویوئر (پایین سمت چپ مدیا) */
.story-like-btn-viewer {
    position: absolute;
    bottom: 25%;
    right: 10px;
    background: var(--colormain);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.3s;
}

.story-like-btn-viewer:hover {
    background: rgba(255, 0, 80, 1);
}

.story-like-btn-viewer svg {
    margin-left: 5px;
}

/* دکمه‌های ناوبری (قبلی و بعدی) بر روی مدیا */
.story-viewer-prev,
.story-viewer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.story-viewer-prev:hover,
.story-viewer-next:hover {
    transform: translateY(-50%) !important;
}

.story-viewer-prev {
    left: -20px;
}

.story-viewer-next {
    right: -20px;
}

/* استایل مدیا (ویدئو/تصویر) */
.story-media-wrapper .story-media {
    border-radius: 10px;
    max-height: 80vh;
    object-fit: cover;
}

/* استایل کپشن استوری */
.story-caption {
    margin-top: 15px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

.story-viewer-caption p {
    margin-top: 15px;
    text-align: center;
    color: #fff;
    font-size: 14px;
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .irana-story-viewer {
        padding: 0 10px;
    }

    .story-viewer-prev,
    .story-viewer-next {
        padding: 8px 12px;
        font-size: 14px;
    }

    .story-like-btn-viewer {
        padding: 6px 10px;
        font-size: 12px;
    }
}
:root {
    --bs-primary: var(--colormain) !important;
}