:root {
	--wd-text-font: iranyekan;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 14px;
	--wd-title-font: iranyekan;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: iranyekan;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: iranyekan;
	--wd-widget-title-font: iranyekan;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: iranyekan;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(205,169,109);
	--wd-alternative-color: #fbbc34;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(205,169,109);
	--btn-accented-bgcolor-hover: rgb(24,51,53);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: rgb(205,169,109);
	--wd-link-color-hover: rgb(30,73,73);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 233px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(24,51,53);
	background-image: none;
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 8px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

rs-slides :is([data-type=text],[data-type=button]) {
font-family: iranyekan !important;
}
rs-slides :is(h1,h2,h3,h4,h5,h6)[data-type=text] {
font-family: iranyekan !important;
}

.wd-page-title {
background-color: #e8e8e8;
}

@font-face {
	font-family: "Rokh";
	src: url("//pooshneh.com/wp-content/uploads/2026/06/RokhFaNum-Light.woff") format("woff");
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//pooshneh.com/wp-content/uploads/2026/06/RokhFaNum-Medium.woff") format("woff");
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//pooshneh.com/wp-content/uploads/2026/06/RokhFaNum-Bold.woff") format("woff");
	font-weight: 600;
	font-style: normal;
}

@font-face {
	font-family: "Rokh";
	src: url("//pooshneh.com/wp-content/uploads/2026/06/RokhFaNum-ExtraBold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
}

.woodmart-button-wrapper.inline-element {
    margin-bottom: 0px;
}
.product-grid-item .wd-product-countdown, .product-grid-item .wd-stock-progress-bar {
    margin-bottom: 10px;
}
.wd-hover-standard .wd-add-btn {
    margin-top: 5px;
    margin-bottom: 15px;
}
.promo-banner .promo-banner-image {
    border-radius: 15px;
}
.product-grid-item.woodmart-hover-tiled .hover-img img, .product-grid-item.woodmart-hover-tiled .product-image-link img {
    width: 100%;
    padding: 20px;
}
.woodmart-hover-tiled .product-wrapper {
    border-radius: 10px;
    overflow: hidden;
	background: #fff;
}
.labels-rectangular .product-label {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 15px;
    margin-right: 5px;
}
.product-grid-item.wd-hover-standard {
    text-align: center;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.blog-design-masonry .post-title {
    font-size: 16px !important;
}

.single-product .tm-options-totals {
    display: none !important;
}

/* =========================================================
   فرم سفارش پرده پوشنه
   نسخه نهایی – فرم‌های 140 و 300
   تور + پارچه
========================================================= */


/* =========================================================
   متغیرهای طراحی
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions) {
    --pooshneh-gold: rgb(178, 153, 52);
    --pooshneh-gold-dark: rgb(126, 106, 34);
    --pooshneh-gold-soft: rgba(178, 153, 52, 0.08);
    --pooshneh-gold-focus: rgba(178, 153, 52, 0.22);

    --pooshneh-dark: #183335;
    --pooshneh-ink: #24231f;
    --pooshneh-text: #4a4841;
    --pooshneh-muted: #858177;

    --pooshneh-line: #e7e2d7;
    --pooshneh-line-dark: #ccc6b9;

    --pooshneh-surface: #f7f5ef;
    --pooshneh-surface-light: #fbfaf7;
    --pooshneh-white: #ffffff;
}


/* =========================================================
   فرم اصلی ThemeComplete EPO
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options {

    box-sizing: border-box;

    width: 100% !important;

    margin: 24px 0 18px !important;
    padding: 0 !important;

    color: var(--pooshneh-text) !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   سکشن‌های اصلی فرم
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install {

    box-sizing: border-box;

    width: 100% !important;

    margin: 0 !important;
    padding: 27px 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid var(--pooshneh-line) !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}


/* حذف تزئینات خودکار */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing::after,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions::after,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install::after,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary::after {

    content: none !important;
    display: none !important;
}


/* =========================================================
   عنوان بخش‌ها
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing
.tm-epo-element-label,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions
.tm-epo-element-label,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install
.tm-epo-element-label {

    position: relative;

    margin: 0 0 5px !important;
    padding: 0 14px 0 0 !important;

    color: var(--pooshneh-ink) !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
}


/* نقطه طلایی عنوان‌ها */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing
.tm-epo-element-label::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions
.tm-epo-element-label::before,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install
.tm-epo-element-label::before {

    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 4px;
    height: 4px;

    background: var(--pooshneh-gold);

    border-radius: 50%;

    transform: translateY(-50%);
}


/* ستاره فیلدهای الزامی */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-epo-required {

    color: var(--pooshneh-gold-dark) !important;
}


/* توضیحات */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-sewing
.tm-description,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions
.tm-description,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-install
.tm-description {

    margin: 0 0 15px !important;

    color: var(--pooshneh-muted) !important;

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.tm-description p {

    margin: 0 !important;
}


/* =========================================================
   نوع دوخت
========================================================= */


/*
   کلاس فعلی فیلد:
   pooshneh-sewing-type

   ThemeComplete کلاس wrapper را با پسوند -ul می‌سازد.
*/

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul {

    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;
    max-width: none !important;

    margin: 16px 0 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul > li,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul > li.tmcp-field-wrap {

    display: block !important;

    width: 100% !important;

    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
.tmcp-field-wrap-inner,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
.tc-field-label-wrap,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
.tc-label-wrap {

    display: flex !important;

    width: 100% !important;
    height: 100% !important;
}


/* رادیوی اصلی مخفی */

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-sewing-type {

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
.tc-input-wrap {

    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* کارت نوع دوخت */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
label {

    position: relative !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;

    width: 100% !important;

    min-width: 0 !important;
    min-height: 54px !important;

    height: 100% !important;

    margin: 0 !important;

    padding: 11px 38px 11px 14px !important;

    color: #44413a !important;

    background: var(--pooshneh-surface-light) !important;

    border: 1px solid #ded9cd !important;

    border-radius: 3px !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    line-height: 1.6 !important;

    text-align: center !important;

    cursor: pointer !important;

    user-select: none !important;

    outline: 0 !important;

    box-shadow: none !important;

    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


/* دایره انتخاب */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
label::before {

    content: "" !important;

    position: absolute !important;

    top: 50% !important;
    right: 14px !important;

    box-sizing: border-box;

    width: 14px !important;
    height: 14px !important;

    background: var(--pooshneh-white) !important;

    border: 1px solid #aaa597 !important;

    border-radius: 50% !important;

    transform: translateY(-50%) !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}


/* Hover */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
label:hover {

    color: var(--pooshneh-ink) !important;

    background: var(--pooshneh-gold-soft) !important;

    border-color: rgba(178, 153, 52, 0.65) !important;

    transform: translateY(-1px) !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
label:hover::before {

    border-color: var(--pooshneh-gold) !important;
}


/* گزینه انتخاب‌شده */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
li:has(input.pooshneh-sewing-type:checked)
label {

    color: var(--pooshneh-white) !important;

    background: var(--pooshneh-dark) !important;

    border-color: var(--pooshneh-dark) !important;

    transform: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
li:has(input.pooshneh-sewing-type:checked)
label::before {

    background: var(--pooshneh-gold) !important;

    border-color: var(--pooshneh-gold) !important;

    box-shadow:
        inset 0 0 0 4px var(--pooshneh-dark) !important;
}


/* فوکوس */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-sewing-type-ul
li:has(input.pooshneh-sewing-type:focus-visible)
label {

    outline: 2px solid var(--pooshneh-gold-focus) !important;

    outline-offset: 2px !important;
}


/* =========================================================
   عرض و ارتفاع پنجره
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-dimensions
.tc-section-fields
> .tc-row {

    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 20px !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-width-div,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-height-div {

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-width-ul
label,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-height-ul
label {

    position: relative !important;

    display: block !important;

    width: 100% !important;
}


/* ورودی عددی */

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-width,

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-height {

    box-sizing: border-box;

    width: 100% !important;

    min-height: 52px !important;

    margin: 0 !important;

    padding: 0 14px 0 76px !important;

    color: var(--pooshneh-ink) !important;

    background: var(--pooshneh-surface) !important;

    border: 0 !important;

    border-bottom: 1px solid var(--pooshneh-line-dark) !important;

    border-radius: 2px 2px 0 0 !important;

    font-size: 15px !important;
    font-weight: 500 !important;

    outline: none !important;

    box-shadow: none !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease;
}


/* واحد سانتی متر */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-width-ul
label::after,

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-window-height-ul
label::after {

    content: "سانتی‌متر";

    position: absolute;

    top: 50%;
    left: 14px;

    color: var(--pooshneh-muted);

    font-size: 11px !important;
    font-weight: 400 !important;

    pointer-events: none;

    transform: translateY(-50%);
}


/* Hover */

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-width:hover,

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-height:hover {

    background: #f3f0e8 !important;

    border-bottom-color:
        rgba(178, 153, 52, 0.7) !important;
}


/* Focus */

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-width:focus,

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-height:focus {

    background: #faf7ed !important;

    border-bottom:
        2px solid var(--pooshneh-gold) !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-width::placeholder,

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-height::placeholder {

    color: #aaa69c !important;

    opacity: 1 !important;
}


/* =========================================================
   درخواست خدمات نصب
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-installer-request-ul {

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-installer-request-ul
> li {

    margin: 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-installer-request-ul
label {

    display: flex !important;

    align-items: center !important;

    box-sizing: border-box;

    width: 100% !important;

    min-height: 50px !important;

    margin: 0 !important;

    padding: 13px 0 !important;

    color: var(--pooshneh-text) !important;

    background: transparent !important;

    border: 0 !important;

    border-top:
        1px solid var(--pooshneh-line) !important;

    border-bottom:
        1px solid var(--pooshneh-line) !important;

    border-radius: 0 !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    cursor: pointer !important;

    box-shadow: none !important;
}


/* Checkbox */

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-installer-request {

    flex: 0 0 auto;

    width: 17px !important;
    height: 17px !important;

    margin: 0 0 0 10px !important;

    accent-color: var(--pooshneh-gold) !important;
}


/* حالت انتخاب‌شده */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-installer-request-ul
li:has(input.pooshneh-installer-request:checked)
label {

    color: var(--pooshneh-dark) !important;

    background:
        rgba(178, 153, 52, 0.055) !important;
}


/* =========================================================
   خلاصه سفارش / متراژ
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary {

    box-sizing: border-box;

    width: 100% !important;

    margin: 8px 0 14px !important;

    padding: 18px 22px !important;

    background: var(--pooshneh-surface) !important;

    border: 0 !important;

    border-top:
        1px solid rgba(178, 153, 52, 0.42) !important;

    border-radius: 3px !important;

    outline: 0 !important;

    box-shadow: none !important;
}


/* عنوان خلاصه */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.tm-epo-element-label {

    margin: 0 0 8px !important;

    color: var(--pooshneh-dark) !important;

    font-size: 17px !important;
    font-weight: 700 !important;

    line-height: 1.8 !important;
}


/* توضیحات خلاصه */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.tm-description {

    margin: 0 0 9px !important;

    color: var(--pooshneh-muted) !important;

    font-size: 12px !important;

    line-height: 1.9 !important;
}


/* Dynamic Calculation قابل نمایش */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.cpf-type-dynamic:not(.tc-hidden) {

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* عنوان و مقدار متراژ */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.cpf-type-dynamic:not(.tc-hidden)
.tmcp-field-wrap-inner {

    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 24px !important;
}


/* عنوان متراژ */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.cpf-type-dynamic:not(.tc-hidden)
.tm-epo-field-label {

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--pooshneh-muted) !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    line-height: 1.8 !important;
}


/* مقدار متراژ */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.tc-result-wrap {

    display: inline-flex !important;

    align-items: baseline !important;

    gap: 5px !important;

    margin: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.tc-result {

    color: var(--pooshneh-dark) !important;

    font-size: 23px !important;
    font-weight: 700 !important;

    line-height: 1.4 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.after-amount {

    color: var(--pooshneh-gold-dark) !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


/* Dynamic مربوط به قیمت واقعی مخفی بماند */

body.single-product:has(.pooshneh-curtain-dimensions)
.pooshneh-curtain-summary
.cpf-type-dynamic.tc-hidden {

    display: none !important;
}


/* =========================================================
   Totals افزونه EPO
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals {

    box-sizing: border-box;

    width: 100% !important;

    margin: 0 0 18px !important;

    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}


/* مبلغ گزینه‌ها مخفی */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-options-totals,

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-options-totals {

    display: none !important;
}


/* ردیف مبلغ نهایی */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals,

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals {

    box-sizing: border-box;

    margin: 0 !important;

    padding-top: 16px !important;
    padding-bottom: 16px !important;

    border-top:
        1px solid var(--pooshneh-line) !important;

    border-bottom:
        1px solid var(--pooshneh-line) !important;
}


/* عنوان مبلغ */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals {

    color: var(--pooshneh-muted) !important;

    font-size: 13px !important;
    font-weight: 500 !important;
}


/* اضافه شدن عبارت با احتساب دوخت */
/* عبارت توضیحی کنار مبلغ نهایی */
body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals::after {
    content: "با احتساب دوخت و نوار پرده" !important;

    display: inline-block;

    margin-right: 6px;

    color: #111111 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.7;
}


/* مبلغ */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals {

    color: var(--pooshneh-dark) !important;

    font-size: 21px !important;
    font-weight: 700 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals
.amount {

    color: var(--pooshneh-dark) !important;

    font-size: 21px !important;
    font-weight: 700 !important;
}


/* =========================================================
   قیمت پایه محصول
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.summary > .price::before {

    content: "قیمت هر متر پارچه: ";

    color: var(--pooshneh-muted);

    font-size: 12px;
    font-weight: 500;
}


/* =========================================================
   تعداد محصول
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.quantity {

    flex: 0 0 94px !important;

    width: 94px !important;

    margin: 0 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.quantity
input.qty {

    width: 54px !important;

    min-height: 52px !important;

    color: var(--pooshneh-dark) !important;

    background: var(--pooshneh-surface-light) !important;

    border:
        1px solid var(--pooshneh-line) !important;

    border-radius: 2px !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.quantity
.minus,

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.quantity
.plus {

    color: var(--pooshneh-dark) !important;

    background: transparent !important;

    border-color: var(--pooshneh-line) !important;

    box-shadow: none !important;
}


/* =========================================================
   دکمه افزودن به سبد خرید
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.single_add_to_cart_button {

    min-height: 52px !important;

    padding: 0 28px !important;

    color: #201f1b !important;

    background: var(--pooshneh-gold) !important;

    border: 0 !important;

    border-radius: 2px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    outline: 0 !important;

    box-shadow: none !important;

    transition:
        color 0.18s ease,
        background-color 0.18s ease;
}


body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.single_add_to_cart_button:hover {

    color: var(--pooshneh-white) !important;

    background: var(--pooshneh-dark) !important;

    transform: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.single_add_to_cart_button:focus-visible {

    outline:
        2px solid var(--pooshneh-gold-focus) !important;

    outline-offset: 3px !important;
}


/* غیرفعال */

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.single_add_to_cart_button.disabled,

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart
.single_add_to_cart_button:disabled {

    color: #8f8b82 !important;

    background: #ece9e1 !important;

    cursor: not-allowed !important;

    opacity: 1 !important;
}


/* =========================================================
   چیدمان دکمه خرید – محصول ساده
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
form.cart:not(.variations_form) {

    display: flex !important;

    align-items: stretch !important;

    justify-content: flex-start !important;

    gap: 8px !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
form.cart:not(.variations_form)
.single_add_to_cart_button {

    flex: 0 0 230px !important;

    width: 230px !important;
    max-width: 230px !important;

    margin: 0 !important;
}


/* =========================================================
   چیدمان محصول متغیر
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.woocommerce-variation-add-to-cart {

    display: flex !important;

    align-items: stretch !important;

    justify-content: flex-start !important;

    gap: 8px !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.woocommerce-variation-add-to-cart
.single_add_to_cart_button {

    flex: 0 0 230px !important;

    width: 230px !important;
    max-width: 230px !important;

    margin: 0 !important;
}


/* =========================================================
   خطاهای اعتبارسنجی
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-error,

body.single-product:has(.pooshneh-curtain-dimensions)
.tc-error {

    margin-top: 7px !important;

    color: #9d2a22 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    line-height: 1.8 !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-width.tm-error,

body.single-product:has(.pooshneh-curtain-dimensions)
input.pooshneh-window-height.tm-error {

    background: #fff7f6 !important;

    border-bottom-color: #b42318 !important;
}


/* =========================================================
   تبلت
========================================================= */

@media (max-width: 1024px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   موبایل
========================================================= */

@media (max-width: 767px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-sewing,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-dimensions,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-install {

        padding: 22px 0 !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 7px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul
    label {

        min-height: 50px !important;

        padding:
            10px 34px 10px 8px !important;

        font-size: 12px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul
    label::before {

        right: 11px !important;

        width: 13px !important;
        height: 13px !important;
    }


    /* عرض و ارتفاع زیر هم */

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-dimensions
    .tc-section-fields
    > .tc-row {

        grid-template-columns: 1fr !important;

        gap: 18px !important;
    }


    /* خلاصه */

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-summary {

        padding: 18px 16px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-curtain-summary
    .cpf-type-dynamic:not(.tc-hidden)
    .tmcp-field-wrap-inner {

        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 6px !important;
    }


    /* خرید */

    body.single-product:has(.pooshneh-curtain-dimensions)
    form.cart:not(.variations_form),

    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart {

        display: grid !important;

        grid-template-columns:
            90px minmax(0, 1fr) !important;

        gap: 7px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    form.cart
    .quantity {

        width: 90px !important;

        flex-basis: 90px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    form.cart
    .single_add_to_cart_button {

        width: 100% !important;
        max-width: none !important;

        min-height: 50px !important;

        margin: 0 !important;

        padding-right: 18px !important;
        padding-left: 18px !important;

        flex: 1 1 auto !important;
    }
}


/* =========================================================
   موبایل کوچک
========================================================= */

@media (max-width: 420px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul {

        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul
    label {

        padding-right: 30px !important;
        padding-left: 6px !important;
    }
}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-sewing-type-ul
    label,

    body.single-product:has(.pooshneh-curtain-dimensions)
    input.pooshneh-window-width,

    body.single-product:has(.pooshneh-curtain-dimensions)
    input.pooshneh-window-height,

    body.single-product:has(.pooshneh-curtain-dimensions)
    form.cart
    .single_add_to_cart_button {

        transition: none !important;
    }
}
/* =========================================================
   هم‌تراز کردن عرض و ارتفاع پنجره
========================================================= */

/* دسکتاپ و تبلت */
@media (min-width: 768px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-window-width-div .tm-description,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-window-height-div .tm-description {

        min-height: 52px !important;
        margin-bottom: 15px !important;
    }
}


/* موبایل */
@media (max-width: 767px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-window-width-div .tm-description,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .pooshneh-window-height-div .tm-description {

        min-height: 0 !important;
        margin-bottom: 15px !important;
    }
}
/* =========================================================
   تکمیل استایل صفحه محصول پرده پوشنه
   انتخاب ویژگی + مقایسه/علاقه‌مندی + اطلاعات محصول + اشتراک
========================================================= */


/* =========================================================
   1) بخش انتخاب رنگ / ویژگی محصول
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations {

    width: 100% !important;

    margin: 18px 0 4px !important;
    padding: 0 0 26px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid var(--pooshneh-line) !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations tbody,

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations tr {

    display: block !important;

    width: 100% !important;
}


/* عنوان ویژگی مثل «رنگ» */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations th.label {

    position: relative;

    display: block !important;

    width: 100% !important;

    margin: 0 0 8px !important;
    padding: 0 14px 0 0 !important;

    color: var(--pooshneh-ink) !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;

    text-align: right !important;
}


/* نقطه طلایی کنار عنوان */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations th.label::before {

    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 4px;
    height: 4px;

    background: var(--pooshneh-gold);

    border-radius: 50%;

    transform: translateY(-50%);
}


/* خانه انتخاب */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations td.value {

    display: block !important;

    width: 100% !important;

    padding: 0 !important;

    text-align: right !important;
}


/* Select رنگ و سایر ویژگی‌ها */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations select {

    box-sizing: border-box;

    width: 100% !important;
    min-height: 52px !important;

    margin: 0 !important;

    padding-right: 14px !important;
    padding-left: 42px !important;

    color: var(--pooshneh-ink) !important;

    background-color: var(--pooshneh-surface) !important;

    border: 0 !important;
    border-bottom: 1px solid var(--pooshneh-line-dark) !important;
    border-radius: 2px 2px 0 0 !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    outline: 0 !important;

    box-shadow: none !important;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations select:hover {

    background-color: #f3f0e8 !important;

    border-bottom-color:
        rgba(178, 153, 52, .70) !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form > table.variations select:focus {

    background-color: #faf7ed !important;

    border-bottom:
        2px solid var(--pooshneh-gold) !important;

    box-shadow: none !important;
}


/* لینک پاک‌کردن انتخاب */

body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form
.reset_variations {

    display: inline-block;

    margin-top: 8px !important;

    color: var(--pooshneh-muted) !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    text-decoration: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.variations_form
.reset_variations:hover {

    color: var(--pooshneh-gold-dark) !important;
}


/* =========================================================
   2) مقایسه و علاقه‌مندی
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-compare-btn,

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-wishlist-btn {

    display: inline-flex !important;

    align-items: center !important;

    margin: 18px 0 0 14px !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.wd-compare-btn a,

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-wishlist-btn a {

    display: inline-flex !important;

    align-items: center !important;

    gap: 7px !important;

    min-height: 36px !important;

    padding: 0 !important;

    color: var(--pooshneh-text) !important;

    background: transparent !important;

    border: 0 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.wd-compare-btn a:hover,

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-wishlist-btn a:hover {

    color: var(--pooshneh-gold-dark) !important;
}


/* آیکون‌ها */

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-compare-btn .wd-action-icon,

body.single-product:has(.pooshneh-curtain-dimensions)
.wd-wishlist-btn .wd-action-icon {

    color: var(--pooshneh-dark) !important;
}


/* =========================================================
   3) اطلاعات محصول
   شناسه / دسته / برچسب
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta {

    box-sizing: border-box;

    width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 18px 0 !important;

    border-top: 1px solid var(--pooshneh-line) !important;
    border-bottom: 1px solid var(--pooshneh-line) !important;

    color: var(--pooshneh-muted) !important;

    font-size: 12px !important;
    line-height: 2 !important;
}


/* هر ردیف جدا */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta > span {

    display: flex !important;

    align-items: baseline !important;

    flex-wrap: wrap !important;

    gap: 4px !important;

    margin: 0 !important;
    padding: 2px 0 !important;
}


/* عنوان‌ها: شناسه محصول، دسته، برچسب */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta .meta-label {

    color: var(--pooshneh-ink) !important;

    font-weight: 600 !important;
}


/* خود SKU */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta .sku {

    color: var(--pooshneh-muted) !important;
}


/* لینک دسته‌ها و برچسب‌ها */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta a {

    color: var(--pooshneh-text) !important;

    font-weight: 500 !important;

    text-decoration: none !important;

    transition: color .18s ease;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta a:hover {

    color: var(--pooshneh-gold-dark) !important;
}


/* جداکننده برچسب‌ها */

body.single-product:has(.pooshneh-curtain-dimensions)
.product_meta .meta-sep {

    color: var(--pooshneh-line-dark) !important;
}


/* =========================================================
   4) اشتراک‌گذاری
========================================================= */

body.single-product:has(.pooshneh-curtain-dimensions)
.product-share {

    display: flex !important;

    align-items: center !important;

    flex-wrap: wrap !important;

    gap: 7px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 14px 0 0 !important;
}


/* عنوان اشتراک */

body.single-product:has(.pooshneh-curtain-dimensions)
.product-share .share-title {

    margin: 0 0 0 5px !important;

    color: var(--pooshneh-ink) !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


/* آیکون شبکه اجتماعی */

body.single-product:has(.pooshneh-curtain-dimensions)
.product-share .wd-social-icon {

    color: var(--pooshneh-muted) !important;

    opacity: .82;

    transition:
        color .18s ease,
        opacity .18s ease,
        transform .18s ease;
}


body.single-product:has(.pooshneh-curtain-dimensions)
.product-share .wd-social-icon:hover {

    color: var(--pooshneh-gold-dark) !important;

    opacity: 1;

    transform: translateY(-1px);
}


/* =========================================================
   5) موبایل
========================================================= */

@media (max-width: 767px) {

    body.single-product:has(.pooshneh-curtain-dimensions)
    .variations_form > table.variations {

        margin-top: 14px !important;
        padding-bottom: 20px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .variations_form > table.variations select {

        min-height: 50px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .wd-compare-btn,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .wd-wishlist-btn {

        margin-top: 14px !important;
        margin-left: 10px !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .product_meta {

        margin-top: 14px !important;
        padding: 15px 0 !important;
    }


    body.single-product:has(.pooshneh-curtain-dimensions)
    .product-share {

        padding-top: 12px !important;
    }
}
/* =========================================================
   FIX نهایی موبایل محصولات متغیر پرده
   جلوگیری از جمع شدن فرم EPO در یک ستون
========================================================= */

@media (max-width: 767px) {

    /* ساختار اصلی بخش خرید محصول متغیر */
    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart {

        display: grid !important;

        grid-template-columns:
            90px minmax(0, 1fr) !important;

        gap: 7px !important;

        width: 100% !important;
        max-width: 100% !important;

        align-items: stretch !important;
    }


    /* خود فرم محاسبه پرده باید تمام عرض باشد */
    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart
    > .tm-extra-product-options {

        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    /* بخش مبلغ نهایی هم تمام عرض باشد */
    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart
    > .tc-totals-form {

        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* فیلدهای داخلی فرم نیز عرض کامل داشته باشند */
    body.single-product:has(.pooshneh-curtain-dimensions)
    #tm-extra-product-options,

    body.single-product:has(.pooshneh-curtain-dimensions)
    #tm-extra-product-options-fields,

    body.single-product:has(.pooshneh-curtain-dimensions)
    .tm-extra-product-options-field {

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    /* تعداد در ستون کوچک */
    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart
    > .quantity {

        grid-column: 1 !important;

        width: 90px !important;
        max-width: 90px !important;

        margin: 0 !important;
    }


    /* دکمه خرید در ستون بزرگ */
    body.single-product:has(.pooshneh-curtain-dimensions)
    .woocommerce-variation-add-to-cart
    > .single_add_to_cart_button {

        grid-column: 2 !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
    }
}

/* =========================================================
   فرم سفارش پرده زبرا پوشنه
   هماهنگ با استایل فرم‌های تور و پارچه
========================================================= */


/* =========================================================
   متغیرهای طراحی
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions) {
    --pooshneh-gold: rgb(178, 153, 52);
    --pooshneh-gold-dark: rgb(126, 106, 34);
    --pooshneh-gold-soft: rgba(178, 153, 52, 0.08);
    --pooshneh-gold-focus: rgba(178, 153, 52, 0.22);

    --pooshneh-dark: #183335;
    --pooshneh-ink: #24231f;
    --pooshneh-text: #4a4841;
    --pooshneh-muted: #858177;

    --pooshneh-line: #e7e2d7;
    --pooshneh-line-dark: #ccc6b9;

    --pooshneh-surface: #f7f5ef;
    --pooshneh-surface-light: #fbfaf7;
    --pooshneh-white: #ffffff;
}


/* =========================================================
   فرم اصلی EPO
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options {
    box-sizing: border-box;

    width: 100% !important;
    max-width: 100% !important;

    margin: 24px 0 18px !important;
    padding: 0 !important;

    color: var(--pooshneh-text) !important;
    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}


/* =========================================================
   سکشن ابعاد و امکانات
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options {
    box-sizing: border-box;

    width: 100% !important;

    margin: 0 !important;
    padding: 27px 0 !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom: 1px solid var(--pooshneh-line) !important;
    border-radius: 0 !important;

    outline: 0 !important;
    box-shadow: none !important;
}


/* حذف تزئینات احتمالی */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions::before,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions::after,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options::before,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options::after,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary::before,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   عنوان فیلدها
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions
.tm-epo-element-label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options
.tm-epo-element-label {
    position: relative;

    margin: 0 0 5px !important;
    padding: 0 14px 0 0 !important;

    color: var(--pooshneh-ink) !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
}


/* نقطه طلایی */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions
.tm-epo-element-label::before,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options
.tm-epo-element-label::before {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 4px;
    height: 4px;

    background: var(--pooshneh-gold);

    border-radius: 50%;

    transform: translateY(-50%);
}


/* ستاره Required */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-epo-required {
    color: var(--pooshneh-gold-dark) !important;
}


/* توضیحات */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions
.tm-description,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options
.tm-description {
    margin: 0 0 15px !important;

    color: var(--pooshneh-muted) !important;

    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.9 !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-description p {
    margin: 0 !important;
}


/* =========================================================
   عرض و ارتفاع
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-dimensions
.tc-section-fields
> .tc-row {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 20px !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-width-div,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-height-div {
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-width-ul label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-height-ul label {
    position: relative !important;

    display: block !important;

    width: 100% !important;
}


/* ورودی */

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-width,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-height {
    box-sizing: border-box;

    width: 100% !important;
    min-height: 52px !important;

    margin: 0 !important;

    padding: 0 14px 0 76px !important;

    color: var(--pooshneh-ink) !important;
    background: var(--pooshneh-surface) !important;

    border: 0 !important;
    border-bottom: 1px solid var(--pooshneh-line-dark) !important;
    border-radius: 2px 2px 0 0 !important;

    font-size: 15px !important;
    font-weight: 500 !important;

    outline: none !important;
    box-shadow: none !important;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}


/* واحد سانتی‌متر */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-width-ul label::after,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-height-ul label::after {
    content: "سانتی‌متر";

    position: absolute;

    top: 50%;
    left: 14px;

    color: var(--pooshneh-muted);

    font-size: 11px !important;
    font-weight: 400 !important;

    pointer-events: none;

    transform: translateY(-50%);
}


/* Hover / Focus */

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-width:hover,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-height:hover {
    background: #f3f0e8 !important;

    border-bottom-color:
        rgba(178, 153, 52, .7) !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-width:focus,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-height:focus {
    background: #faf7ed !important;

    border-bottom:
        2px solid var(--pooshneh-gold) !important;

    box-shadow: none !important;
}


/* =========================================================
   فاصله و جداکننده آپشن‌ها
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-cover-div,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-color-trigger-div,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-div,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-trigger-div,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-div {
    width: 100% !important;

    margin: 0 !important;
    padding: 20px 0 !important;

    border-bottom: 1px solid var(--pooshneh-line) !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-options
.tc-row
> .cpf-element:last-child {
    border-bottom: 0 !important;
}


/* =========================================================
   Checkboxهای زبرا
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-cover-ul,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-color-trigger-ul,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-trigger-ul {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-cover-ul > li,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-color-trigger-ul > li,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-trigger-ul > li {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-cover-ul label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-color-trigger-ul label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-trigger-ul label {
    display: flex !important;

    align-items: center !important;

    box-sizing: border-box;

    width: 100% !important;
    min-height: 50px !important;

    margin: 0 !important;
    padding: 13px 0 !important;

    color: var(--pooshneh-text) !important;

    background: transparent !important;

    border: 0 !important;

    font-size: 14px !important;
    font-weight: 500 !important;

    cursor: pointer !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-cover,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-color-trigger,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-end-design-trigger {
    flex: 0 0 auto;

    width: 17px !important;
    height: 17px !important;

    margin: 0 0 0 10px !important;

    accent-color: var(--pooshneh-gold) !important;
}


/* انتخاب‌شده */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-cover-ul
li:has(input:checked)
label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-color-trigger-ul
li:has(input:checked)
label,

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-trigger-ul
li:has(input:checked)
label {
    color: var(--pooshneh-dark) !important;

    background:
        rgba(178, 153, 52, .055) !important;
}


/* =========================================================
   رنگ قاب و زنجیر
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul {
    display: grid !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;

    margin: 12px 0 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul > li {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* رادیو مخفی */

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-frame-color {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
.tc-input-wrap {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;
}


/* کارت رنگ */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
label {
    position: relative !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box;

    width: 100% !important;
    min-height: 54px !important;

    margin: 0 !important;

    padding: 11px 38px 11px 14px !important;

    color: #44413a !important;

    background: var(--pooshneh-surface-light) !important;

    border: 1px solid #ded9cd !important;
    border-radius: 3px !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    text-align: center !important;

    cursor: pointer !important;

    box-shadow: none !important;

    transition:
        color .18s ease,
        background-color .18s ease,
        border-color .18s ease;
}


/* دایره */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
label::before {
    content: "" !important;

    position: absolute !important;

    top: 50% !important;
    right: 14px !important;

    box-sizing: border-box;

    width: 14px !important;
    height: 14px !important;

    background: var(--pooshneh-white) !important;

    border: 1px solid #aaa597 !important;
    border-radius: 50% !important;

    transform: translateY(-50%) !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
label:hover {
    background: var(--pooshneh-gold-soft) !important;

    border-color:
        rgba(178, 153, 52, .65) !important;
}


/* انتخاب‌شده */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
li:has(input.pooshneh-zebra-frame-color:checked)
label {
    color: var(--pooshneh-white) !important;

    background: var(--pooshneh-dark) !important;

    border-color: var(--pooshneh-dark) !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-frame-color-ul
li:has(input.pooshneh-zebra-frame-color:checked)
label::before {
    background: var(--pooshneh-gold) !important;

    border-color: var(--pooshneh-gold) !important;

    box-shadow:
        inset 0 0 0 4px var(--pooshneh-dark) !important;
}


/* =========================================================
   طرح انتهای پرده
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul {
    display: grid !important;

    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;

    gap: 10px !important;

    width: 100% !important;

    margin: 14px 0 0 !important;
    padding: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
> li {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* رادیو واقعی مخفی */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.tc-input-wrap {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;
}


/* کارت طرح */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
label {
    display: block !important;

    box-sizing: border-box;

    width: 100% !important;
    min-height: 86px !important;

    margin: 0 !important;
    padding: 10px !important;

    color: var(--pooshneh-text) !important;

    background: var(--pooshneh-surface-light) !important;

    border: 1px solid #ded9cd !important;
    border-radius: 3px !important;

    text-align: center !important;

    cursor: pointer !important;

    overflow: hidden !important;

    box-shadow: none !important;

    transition:
        background-color .18s ease,
        border-color .18s ease;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.tc-label-wrap {
    display: flex !important;

    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    width: 100% !important;
}


/* عکس طرح */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.tmhexcolorimage:not(.tm-transparent-swatch) {
    display: block !important;

    width: 100% !important;
    height: 82px !important;

    margin: 0 !important;

    background: var(--pooshneh-white) !important;

    border: 1px solid var(--pooshneh-line) !important;
    border-radius: 2px !important;

    overflow: hidden !important;
}


/* تا وقتی عکس واقعی نداریم مربع خالی نشان نده */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.tm-transparent-swatch {
    display: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.tc-image {
    width: 100% !important;
    height: 100% !important;

    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
.radio-image-label-inline {
    width: 100% !important;

    color: inherit !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    text-align: center !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
label:hover {
    background: var(--pooshneh-gold-soft) !important;

    border-color:
        rgba(178, 153, 52, .65) !important;
}


/* انتخاب‌شده */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-end-design-ul
li:has(input.pooshneh-zebra-end-design:checked)
label {
    color: var(--pooshneh-dark) !important;

    background:
        rgba(178, 153, 52, .10) !important;

    border-color: var(--pooshneh-gold) !important;

    box-shadow:
        inset 0 0 0 1px var(--pooshneh-gold) !important;
}


/* =========================================================
   خلاصه سفارش / مترمربع
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary {
    box-sizing: border-box;

    width: 100% !important;

    margin: 8px 0 14px !important;

    padding: 18px 22px !important;

    background: var(--pooshneh-surface) !important;

    border: 0 !important;

    border-top:
        1px solid rgba(178, 153, 52, .42) !important;

    border-radius: 3px !important;

    outline: 0 !important;
    box-shadow: none !important;
}


/* Dynamic قابل نمایش */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.cpf-type-dynamic:not(.tc-hidden) {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.cpf-type-dynamic:not(.tc-hidden)
.tmcp-field-wrap-inner {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 24px !important;
}


/* عنوان */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.tm-epo-field-label {
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: var(--pooshneh-muted) !important;

    font-size: 13px !important;
    font-weight: 500 !important;
}


/* عدد */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.tc-result-wrap {
    display: inline-flex !important;

    align-items: baseline !important;

    gap: 5px !important;

    margin: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.tc-result {
    color: var(--pooshneh-dark) !important;

    font-size: 23px !important;
    font-weight: 700 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.after-amount {
    color: var(--pooshneh-gold-dark) !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


/* Dynamic قیمت مخفی */

body.single-product:has(.pooshneh-zebra-dimensions)
.pooshneh-zebra-summary
.cpf-type-dynamic.tc-hidden {
    display: none !important;
}


/* =========================================================
   مبلغ نهایی
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals {
    box-sizing: border-box;

    width: 100% !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}


/* مبلغ گزینه‌ها مخفی */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-options-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-options-totals {
    display: none !important;
}


/* ردیف نهایی */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals {
    box-sizing: border-box;

    margin: 0 !important;

    padding-top: 16px !important;
    padding-bottom: 16px !important;

    border-top:
        1px solid var(--pooshneh-line) !important;

    border-bottom:
        1px solid var(--pooshneh-line) !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals {
    color: var(--pooshneh-muted) !important;

    font-size: 13px !important;
    font-weight: 500 !important;
}


/* مبلغ نهایی سفارش */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals::after {
    content: " سفارش" !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals
.amount {
    color: var(--pooshneh-dark) !important;

    font-size: 21px !important;
    font-weight: 700 !important;
}


/* =========================================================
   قیمت پایه محصول
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.summary-inner > p.price::before {
    content: "قیمت هر مترمربع: ";

    color: var(--pooshneh-muted);

    font-size: 12px;
    font-weight: 500;

    margin-left: 5px;
}


/* =========================================================
   انتخاب ویژگی / رنگ محصول ووکامرس
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations {
    width: 100% !important;

    margin: 18px 0 4px !important;
    padding: 0 0 26px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom:
        1px solid var(--pooshneh-line) !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
tbody,

body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
tr {
    display: block !important;

    width: 100% !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
th.label {
    position: relative;

    display: block !important;

    width: 100% !important;

    margin: 0 0 8px !important;
    padding: 0 14px 0 0 !important;

    color: var(--pooshneh-ink) !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-align: right !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
th.label::before {
    content: "";

    position: absolute;

    top: 50%;
    right: 0;

    width: 4px;
    height: 4px;

    background: var(--pooshneh-gold);

    border-radius: 50%;

    transform: translateY(-50%);
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
td.value {
    display: block !important;

    width: 100% !important;

    padding: 0 !important;

    text-align: right !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
> table.variations
select {
    box-sizing: border-box;

    width: 100% !important;
    min-height: 52px !important;

    margin: 0 !important;

    padding-right: 14px !important;
    padding-left: 42px !important;

    color: var(--pooshneh-ink) !important;

    background-color:
        var(--pooshneh-surface) !important;

    border: 0 !important;

    border-bottom:
        1px solid var(--pooshneh-line-dark) !important;

    border-radius: 2px 2px 0 0 !important;

    font-size: 13px !important;
    font-weight: 500 !important;

    outline: 0 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.variations_form
.reset_variations {
    display: inline-block;

    margin-top: 8px !important;

    color: var(--pooshneh-muted) !important;

    font-size: 11px !important;
    font-weight: 500 !important;

    text-decoration: none !important;
}


/* =========================================================
   تعداد و افزودن به سبد
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.quantity {
    flex: 0 0 94px !important;

    width: 94px !important;

    margin: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.quantity
input.qty {
    width: 54px !important;

    min-height: 52px !important;

    color: var(--pooshneh-dark) !important;

    background: var(--pooshneh-surface-light) !important;

    border:
        1px solid var(--pooshneh-line) !important;

    border-radius: 2px !important;

    font-size: 14px !important;
    font-weight: 600 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.quantity
.minus,

body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.quantity
.plus {
    color: var(--pooshneh-dark) !important;

    background: transparent !important;

    box-shadow: none !important;
}


/* دکمه خرید */

body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.single_add_to_cart_button {
    min-height: 52px !important;

    padding: 0 28px !important;

    color: #201f1b !important;

    background: var(--pooshneh-gold) !important;

    border: 0 !important;
    border-radius: 2px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    outline: 0 !important;
    box-shadow: none !important;

    transition:
        color .18s ease,
        background-color .18s ease;
}


body.single-product:has(.pooshneh-zebra-dimensions)
form.cart
.single_add_to_cart_button:hover {
    color: var(--pooshneh-white) !important;

    background: var(--pooshneh-dark) !important;
}


/* محصول متغیر */

body.single-product:has(.pooshneh-zebra-dimensions)
.woocommerce-variation-add-to-cart {
    display: flex !important;

    flex-wrap: wrap !important;

    align-items: stretch !important;

    gap: 8px !important;

    width: 100% !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.woocommerce-variation-add-to-cart
> .tm-extra-product-options,

body.single-product:has(.pooshneh-zebra-dimensions)
.woocommerce-variation-add-to-cart
> .tc-totals-form {
    flex: 0 0 100% !important;

    width: 100% !important;
    max-width: 100% !important;

    min-width: 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.woocommerce-variation-add-to-cart
> .single_add_to_cart_button {
    flex: 0 0 230px !important;

    width: 230px !important;
    max-width: 230px !important;

    margin: 0 !important;
}


/* =========================================================
   خطاها
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-error,

body.single-product:has(.pooshneh-zebra-dimensions)
.tc-error {
    margin-top: 7px !important;

    color: #9d2a22 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    line-height: 1.8 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-width.tm-error,

body.single-product:has(.pooshneh-zebra-dimensions)
input.pooshneh-zebra-height.tm-error {
    background: #fff7f6 !important;

    border-bottom-color: #b42318 !important;
}


/* =========================================================
   مقایسه و علاقه‌مندی
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.wd-compare-btn,

body.single-product:has(.pooshneh-zebra-dimensions)
.wd-wishlist-btn {
    display: inline-flex !important;

    align-items: center !important;

    margin: 18px 0 0 14px !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.wd-compare-btn a,

body.single-product:has(.pooshneh-zebra-dimensions)
.wd-wishlist-btn a {
    display: inline-flex !important;

    align-items: center !important;

    gap: 7px !important;

    min-height: 36px !important;

    padding: 0 !important;

    color: var(--pooshneh-text) !important;

    background: transparent !important;

    border: 0 !important;

    font-size: 12px !important;
    font-weight: 500 !important;

    box-shadow: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.wd-compare-btn a:hover,

body.single-product:has(.pooshneh-zebra-dimensions)
.wd-wishlist-btn a:hover {
    color: var(--pooshneh-gold-dark) !important;
}


/* =========================================================
   اطلاعات محصول
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.product_meta {
    box-sizing: border-box;

    width: 100% !important;

    margin: 18px 0 0 !important;
    padding: 18px 0 !important;

    border-top:
        1px solid var(--pooshneh-line) !important;

    border-bottom:
        1px solid var(--pooshneh-line) !important;

    color: var(--pooshneh-muted) !important;

    font-size: 12px !important;
    line-height: 2 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product_meta
> span {
    display: flex !important;

    align-items: baseline !important;

    flex-wrap: wrap !important;

    gap: 4px !important;

    margin: 0 !important;
    padding: 2px 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product_meta
.meta-label {
    color: var(--pooshneh-ink) !important;

    font-weight: 600 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product_meta a {
    color: var(--pooshneh-text) !important;

    font-weight: 500 !important;

    text-decoration: none !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product_meta a:hover {
    color: var(--pooshneh-gold-dark) !important;
}


/* =========================================================
   اشتراک‌گذاری
========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
.product-share {
    display: flex !important;

    align-items: center !important;

    flex-wrap: wrap !important;

    gap: 7px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 14px 0 0 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product-share
.share-title {
    margin: 0 0 0 5px !important;

    color: var(--pooshneh-ink) !important;

    font-size: 12px !important;
    font-weight: 600 !important;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product-share
.wd-social-icon {
    color: var(--pooshneh-muted) !important;

    opacity: .82;
}


body.single-product:has(.pooshneh-zebra-dimensions)
.product-share
.wd-social-icon:hover {
    color: var(--pooshneh-gold-dark) !important;

    opacity: 1;
}


/* =========================================================
   تبلت
========================================================= */

@media (max-width: 1024px) {

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul {
        grid-template-columns:
            repeat(3, minmax(0, 1fr)) !important;
    }
}


/* =========================================================
   موبایل
========================================================= */

@media (max-width: 767px) {

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-dimensions,

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-options {
        padding: 22px 0 !important;
    }


    /* ابعاد زیر هم */

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-dimensions
    .tc-section-fields
    > .tc-row {
        grid-template-columns: 1fr !important;

        gap: 18px !important;
    }


    /* طرح‌ها دو ستونه */

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 7px !important;
    }


    /* خلاصه */

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-summary {
        padding: 18px 16px !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-summary
    .cpf-type-dynamic:not(.tc-hidden)
    .tmcp-field-wrap-inner {
        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 6px !important;
    }


    /* ویژگی محصول */

    body.single-product:has(.pooshneh-zebra-dimensions)
    .variations_form
    > table.variations {
        margin-top: 14px !important;

        padding-bottom: 20px !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .variations_form
    > table.variations
    select {
        min-height: 50px !important;
    }


    /* ساختار خرید محصول متغیر */

    body.single-product:has(.pooshneh-zebra-dimensions)
    .woocommerce-variation-add-to-cart {
        display: grid !important;

        grid-template-columns:
            90px minmax(0, 1fr) !important;

        gap: 7px !important;

        width: 100% !important;
        max-width: 100% !important;

        align-items: stretch !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .woocommerce-variation-add-to-cart
    > .tm-extra-product-options,

    body.single-product:has(.pooshneh-zebra-dimensions)
    .woocommerce-variation-add-to-cart
    > .tc-totals-form {
        grid-column: 1 / -1 !important;

        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;

        margin-left: 0 !important;
        margin-right: 0 !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    #tm-extra-product-options,

    body.single-product:has(.pooshneh-zebra-dimensions)
    #tm-extra-product-options-fields,

    body.single-product:has(.pooshneh-zebra-dimensions)
    .tm-extra-product-options-field {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .woocommerce-variation-add-to-cart
    > .quantity {
        grid-column: 1 !important;

        width: 90px !important;
        max-width: 90px !important;

        margin: 0 !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .woocommerce-variation-add-to-cart
    > .single_add_to_cart_button {
        grid-column: 2 !important;

        width: 100% !important;
        max-width: none !important;

        margin: 0 !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .wd-compare-btn,

    body.single-product:has(.pooshneh-zebra-dimensions)
    .wd-wishlist-btn {
        margin-top: 14px !important;
        margin-left: 10px !important;
    }


    body.single-product:has(.pooshneh-zebra-dimensions)
    .product_meta {
        margin-top: 14px !important;

        padding: 15px 0 !important;
    }
}


/* =========================================================
   موبایل کوچک
========================================================= */

@media (max-width: 420px) {

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-frame-color-ul {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }

    body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;
    }
}
/* =========================
   اصلاح موبایل: رنگ قاب و زنجیر زبرا
========================= */
@media (max-width: 767px) {

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul > li {
    width: 100% !important;
    margin: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tmcp-field-wrap-inner,
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-field-label-wrap,
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul label.tm-epo-field-label.fullwidth {
    width: 100% !important;
    display: block !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-label-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 64px !important;
    padding: 10px 12px !important;
    box-sizing: border-box !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-input-wrap {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tm-label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-label-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-label-text {
    font-size: 14px !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .tc-price-wrap,
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .price.tc-price,
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .woocommerce-Price-amount.amount,
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .woocommerce-Price-currencySymbol {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul .price.tc-price {
    display: block !important;
    white-space: nowrap !important;
  }
}

/* اگر گوشی خیلی باریک بود، تک‌ستونه شود */
@media (max-width: 380px) {
  body.single-product:has(.pooshneh-zebra-dimensions) .pooshneh-zebra-frame-color-ul {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   استایل یکپارچه تمام مبالغ نهایی
   پرده پارچه‌ای + پرده زبرا
========================================================= */


/* عنوان مبلغ نهایی */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals {
    color: #111111 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}


/* عبارت توضیحی کنار عنوان */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals::after,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dt.tm-final-totals::after {
    display: inline-block;

    margin-right: 6px;

    color: #111111 !important;

    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}


/* عدد مبلغ نهایی */

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals,

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals .amount,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals .amount {
    color: #111111 !important;

    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}
/* رنگ عدد مبلغ نهایی سفارش */
body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals,

body.single-product:has(.pooshneh-curtain-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals .amount,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals,

body.single-product:has(.pooshneh-zebra-dimensions)
.tm-extra-product-options-totals
dd.tm-final-totals .amount {
    color: #CEAA6F !important;

    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}
/* =========================================================
   POOSHNEH — فرم شید تک، دبل و اسکرین
   نسخه مستقل از صفر — هماهنگ با فرم تور
   محل استفاده: انتهای Custom CSS وودمارت
========================================================= */

body.single-product:has(.pooshneh-shid-dimensions) {
  --ps-gold: #b29934;
  --ps-gold-dark: #7e6a22;
  --ps-gold-price: #ceaa6f;
  --ps-gold-soft: rgba(178, 153, 52, 0.08);
  --ps-gold-focus: rgba(178, 153, 52, 0.22);
  --ps-dark: #183335;
  --ps-ink: #24231f;
  --ps-text: #4a4841;
  --ps-muted: #858177;
  --ps-line: #e7e2d7;
  --ps-line-dark: #ccc6b9;
  --ps-surface: #f7f5ef;
  --ps-surface-light: #fbfaf7;
  --ps-white: #fff;
}

/* ---------- ساختار اصلی ---------- */

body.single-product:has(.pooshneh-shid-dimensions) .tm-extra-product-options,
body.single-product:has(.pooshneh-shid-dimensions) #tm-extra-product-options,
body.single-product:has(.pooshneh-shid-dimensions) #tm-extra-product-options-fields,
body.single-product:has(.pooshneh-shid-dimensions) .tm-extra-product-options-field {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions) .tm-extra-product-options {
  margin: 24px 0 18px !important;
  padding: 0 !important;
  color: var(--ps-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-section,
    .pooshneh-shid-lining-section,
    .pooshneh-shid-dimensions,
    .pooshneh-shid-options
  ) {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 27px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ps-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-section,
    .pooshneh-shid-lining-section,
    .pooshneh-shid-dimensions,
    .pooshneh-shid-options,
    .pooshneh-shid-summary
  )::before,
body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-section,
    .pooshneh-shid-lining-section,
    .pooshneh-shid-dimensions,
    .pooshneh-shid-options,
    .pooshneh-shid-summary
  )::after {
  content: none !important;
  display: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions) .tc-hidden {
  display: none !important;
}

/* ---------- عنوان‌ها و توضیحات ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-div,
    .pooshneh-shid-lining-div,
    .pooshneh-shid-lining-color-div,
    .pooshneh-shid-width-div,
    .pooshneh-shid-height-div,
    .pooshneh-shid-mount-type-div,
    .pooshneh-shid-chain-direction-div,
    .pooshneh-shid-end-design-div,
    .pooshneh-shid-frame-color-div,
    .pooshneh-shid-weight-design-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
  position: relative !important;
  margin: 0 0 5px !important;
  padding: 0 14px 0 0 !important;
  color: var(--ps-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-div,
    .pooshneh-shid-lining-div,
    .pooshneh-shid-lining-color-div,
    .pooshneh-shid-width-div,
    .pooshneh-shid-height-div,
    .pooshneh-shid-mount-type-div,
    .pooshneh-shid-chain-direction-div,
    .pooshneh-shid-end-design-div,
    .pooshneh-shid-frame-color-div,
    .pooshneh-shid-weight-design-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  width: 4px !important;
  height: 4px !important;
  background: var(--ps-gold) !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-shid-dimensions) .tm-epo-required {
  color: var(--ps-gold-dark) !important;
}

body.single-product:has(.pooshneh-shid-dimensions) .tm-description {
  margin: 0 0 15px !important;
  color: var(--ps-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

body.single-product:has(.pooshneh-shid-dimensions) .tm-description p {
  margin: 0 !important;
}

/* ---------- کارت‌های انتخابی متنی ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-lining-color-ul {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) :is(.tmcp-field-wrap-inner, .tc-field-label-wrap, .tc-label-wrap) {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    input.pooshneh-shid-type,
    input.pooshneh-shid-lining,
    input.pooshneh-shid-lining-color,
    input.pooshneh-shid-mount-type,
    input.pooshneh-shid-chain-direction,
    input.pooshneh-shid-frame-color,
    input.pooshneh-shid-weight-design
  ),
body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) label {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 10px 38px 10px 12px !important;
  color: #44413a !important;
  background: var(--ps-surface-light) !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: none !important;
  transition: color .18s ease, background-color .18s ease,
    border-color .18s ease, transform .18s ease;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  box-sizing: border-box !important;
  width: 14px !important;
  height: 14px !important;
  background: var(--ps-white) !important;
  border: 1px solid #aaa597 !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  transition: background-color .18s ease, border-color .18s ease,
    box-shadow .18s ease;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) label:hover {
  color: var(--ps-ink) !important;
  background: var(--ps-gold-soft) !important;
  border-color: rgba(178, 153, 52, 0.65) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) li:has(input:checked) label {
  color: var(--ps-white) !important;
  background: var(--ps-dark) !important;
  border-color: var(--ps-dark) !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) li:has(input:checked) label::before {
  background: var(--ps-gold) !important;
  border-color: var(--ps-gold) !important;
  box-shadow: inset 0 0 0 4px var(--ps-dark) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) li:has(input:focus-visible) label {
  outline: 2px solid var(--ps-gold-focus) !important;
  outline-offset: 2px !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-type-ul,
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-lining-color-ul,
    .pooshneh-shid-mount-type-ul,
    .pooshneh-shid-chain-direction-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  max-width: 100% !important;
  color: var(--ps-gold-dark) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-lining-ul,
    .pooshneh-shid-frame-color-ul,
    .pooshneh-shid-weight-design-ul
  ) li:has(input:checked)
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  color: #ddc68b !important;
}

/* ---------- عرض و ارتفاع ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-dimensions .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(.pooshneh-shid-width-div, .pooshneh-shid-height-div) {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(.pooshneh-shid-width-ul, .pooshneh-shid-height-ul) label {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(input.pooshneh-shid-width, input.pooshneh-shid-height) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 14px 0 76px !important;
  color: var(--ps-ink) !important;
  background: var(--ps-surface) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ps-line-dark) !important;
  border-radius: 2px 2px 0 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(.pooshneh-shid-width-ul, .pooshneh-shid-height-ul) label::after {
  content: "سانتی‌متر" !important;
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  color: var(--ps-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(input.pooshneh-shid-width, input.pooshneh-shid-height):hover {
  background: #f3f0e8 !important;
  border-bottom-color: rgba(178, 153, 52, 0.7) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(input.pooshneh-shid-width, input.pooshneh-shid-height):focus {
  background: #faf7ed !important;
  border-bottom: 2px solid var(--ps-gold) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(input.pooshneh-shid-width, input.pooshneh-shid-height)::placeholder {
  color: #aaa69c !important;
  opacity: 1 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(input.pooshneh-shid-width, input.pooshneh-shid-height).tm-error {
  background: #fff7f6 !important;
  border-bottom-color: #b42318 !important;
}

/* ---------- گزینه‌های نصب و تجهیزات ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-options .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 20px !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(.pooshneh-shid-mount-type-div, .pooshneh-shid-chain-direction-div) {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-div,
    .pooshneh-shid-end-design-trigger-div,
    .pooshneh-shid-end-design-div,
    .pooshneh-shid-color-trigger-div,
    .pooshneh-shid-color-normal-note-div,
    .pooshneh-shid-frame-color-div,
    .pooshneh-shid-weight-design-trigger-div,
    .pooshneh-shid-weight-design-div
  ) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* عنوان تکراری ردیف‌های چک‌باکس پنهان می‌شود؛ متن خود گزینه باقی می‌ماند */
body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-div,
    .pooshneh-shid-end-design-trigger-div,
    .pooshneh-shid-color-trigger-div,
    .pooshneh-shid-weight-design-trigger-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
  display: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-ul,
    .pooshneh-shid-end-design-trigger-ul,
    .pooshneh-shid-color-trigger-ul,
    .pooshneh-shid-weight-design-trigger-ul
  ) {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-ul,
    .pooshneh-shid-end-design-trigger-ul,
    .pooshneh-shid-color-trigger-ul,
    .pooshneh-shid-weight-design-trigger-ul
  ) > li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-ul,
    .pooshneh-shid-end-design-trigger-ul,
    .pooshneh-shid-color-trigger-ul,
    .pooshneh-shid-weight-design-trigger-ul
  ) label {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 14px !important;
  color: var(--ps-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ps-line) !important;
  border-bottom: 1px solid var(--ps-line) !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    input.pooshneh-shid-cover,
    input.pooshneh-shid-end-design-trigger,
    input.pooshneh-shid-color-trigger,
    input.pooshneh-shid-weight-design-trigger
  ) {
  flex: 0 0 auto !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 0 0 10px !important;
  accent-color: var(--ps-gold) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(
    .pooshneh-shid-cover-ul,
    .pooshneh-shid-end-design-trigger-ul,
    .pooshneh-shid-color-trigger-ul,
    .pooshneh-shid-weight-design-trigger-ul
  ) li:has(input:checked) label {
  color: var(--ps-dark) !important;
  background: rgba(178, 153, 52, 0.055) !important;
}

/* یادداشت رنگ */
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-color-normal-note-div .tm-epo-element-label {
  margin: -10px 0 0 !important;
  padding: 0 !important;
  color: var(--ps-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

/* ---------- طرح‌های تصویری انتهای پرده ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  input.pooshneh-shid-end-design,
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul label {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 7px !important;
  color: var(--ps-text) !important;
  background: var(--ps-surface-light) !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: border-color .18s ease, box-shadow .18s ease,
    transform .18s ease;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul label:hover {
  border-color: rgba(178, 153, 52, 0.75) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul li:has(input:checked) label {
  border-color: var(--ps-dark) !important;
  box-shadow: 0 0 0 2px var(--ps-dark) !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul img.tc-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 7px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-label-text {
  color: var(--ps-ink) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  max-width: 100% !important;
  color: var(--ps-gold-dark) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* ---------- خلاصه متراژ ---------- */

body.single-product:has(.pooshneh-shid-dimensions) .pooshneh-shid-summary {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 22px 0 32px !important;
  padding: 18px 22px !important;
  background: var(--ps-surface) !important;
  border: 0 !important;
  border-top: 1px solid rgba(178, 153, 52, 0.42) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tmcp-field-wrap-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tm-epo-field-label {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--ps-dark) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .tc-result-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .tc-result {
  color: var(--ps-dark) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .after-amount {
  color: var(--ps-gold-dark) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-summary .cpf-type-dynamic.tc-hidden {
  display: none !important;
}

/* ---------- مبلغ نهایی ---------- */

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals
  :is(dt.tm-options-totals, dd.tm-options-totals) {
  display: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals {
  padding: 16px 0 !important;
  color: #111 !important;
  border-top: 1px solid var(--ps-line) !important;
  border-bottom: 1px solid var(--ps-line) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals::after {
  content: none !important;
  display: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  padding: 18px 0 !important;
  color: var(--ps-gold-price) !important;
  border-bottom: 1px solid var(--ps-line) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals
  :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
  max-width: 100% !important;
  color: var(--ps-gold-price) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* ---------- تبلت ---------- */

@media (max-width: 1024px) {
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ---------- موبایل ---------- */

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-shid-dimensions) .tm-extra-product-options {
    margin-top: 18px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-type-section,
      .pooshneh-shid-lining-section,
      .pooshneh-shid-dimensions,
      .pooshneh-shid-options
    ) {
    padding: 22px 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-dimensions .tc-section-fields > .tc-row,
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-options .tc-section-fields > .tc-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-cover-div,
      .pooshneh-shid-end-design-trigger-div,
      .pooshneh-shid-end-design-div,
      .pooshneh-shid-color-trigger-div,
      .pooshneh-shid-color-normal-note-div,
      .pooshneh-shid-frame-color-div,
      .pooshneh-shid-weight-design-trigger-div,
      .pooshneh-shid-weight-design-div
    ) {
    grid-column: 1 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-lining-color-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-type-ul,
      .pooshneh-shid-lining-ul,
      .pooshneh-shid-lining-color-ul,
      .pooshneh-shid-mount-type-ul,
      .pooshneh-shid-chain-direction-ul,
      .pooshneh-shid-frame-color-ul,
      .pooshneh-shid-weight-design-ul
    ) {
    gap: 7px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-type-ul,
      .pooshneh-shid-lining-ul,
      .pooshneh-shid-lining-color-ul,
      .pooshneh-shid-mount-type-ul,
      .pooshneh-shid-chain-direction-ul,
      .pooshneh-shid-frame-color-ul,
      .pooshneh-shid-weight-design-ul
    ) label {
    min-height: 50px !important;
    padding: 9px 32px 9px 7px !important;
    font-size: 12px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-type-ul,
      .pooshneh-shid-lining-ul,
      .pooshneh-shid-lining-color-ul,
      .pooshneh-shid-mount-type-ul,
      .pooshneh-shid-chain-direction-ul,
      .pooshneh-shid-frame-color-ul,
      .pooshneh-shid-weight-design-ul
    ) label::before {
    right: 11px !important;
    width: 13px !important;
    height: 13px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(.pooshneh-shid-width-div, .pooshneh-shid-height-div) .tm-description {
    min-height: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    :is(
      .pooshneh-shid-cover-ul,
      .pooshneh-shid-end-design-trigger-ul,
      .pooshneh-shid-color-trigger-ul,
      .pooshneh-shid-weight-design-trigger-ul
    ) label {
    padding-right: 0 !important;
    padding-left: 0 !important;
    font-size: 13px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-summary {
    margin: 18px 0 28px !important;
    padding: 18px 16px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
    .tmcp-field-wrap-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals,
  body.single-product:has(.pooshneh-shid-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals
    :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
    font-size: 21px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    form.cart:not(.variations_form),
  body.single-product:has(.pooshneh-shid-dimensions)
    .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    form.cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-shid-dimensions)
    form.cart > .tc-totals-form,
  body.single-product:has(.pooshneh-shid-dimensions)
    .woocommerce-variation-add-to-cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-shid-dimensions)
    .woocommerce-variation-add-to-cart > .tc-totals-form {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions) form.cart > .quantity,
  body.single-product:has(.pooshneh-shid-dimensions)
    .woocommerce-variation-add-to-cart > .quantity {
    grid-column: 1 !important;
    width: 90px !important;
    max-width: 90px !important;
    margin: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    form.cart > .single_add_to_cart_button,
  body.single-product:has(.pooshneh-shid-dimensions)
    .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  body.single-product:has(.pooshneh-shid-dimensions)
    :is(.pooshneh-shid-width-div, .pooshneh-shid-height-div) .tm-description {
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product:has(.pooshneh-shid-dimensions) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* اصلاح باکس مبلغ نهایی فرم شید — انتهای CSS وودمارت قرار بگیرد */

body.single-product:has(.pooshneh-shid-dimensions)
  form.cart > .tc-totals-form,
body.single-product:has(.pooshneh-shid-dimensions)
  .woocommerce-variation-add-to-cart > .tc-totals-form {
  display: block !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  :is(.tc-epo-totals, .tm-extra-product-options-totals) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-shid-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  text-align: right !important;
}
/* =========================================================
   POOSHNEH — فرم شید پلیسه
   هماهنگ با فرم شید سراسری و فرم تور
   محل استفاده: انتهای Custom CSS وودمارت
========================================================= */

body.single-product:has(.pooshneh-pleated-dimensions) {
  --pp-gold: #b29934;
  --pp-gold-dark: #7e6a22;
  --pp-gold-price: #ceaa6f;
  --pp-gold-soft: rgba(178, 153, 52, 0.08);
  --pp-gold-focus: rgba(178, 153, 52, 0.22);
  --pp-dark: #183335;
  --pp-ink: #24231f;
  --pp-text: #4a4841;
  --pp-muted: #858177;
  --pp-line: #e7e2d7;
  --pp-line-dark: #ccc6b9;
  --pp-surface: #f7f5ef;
  --pp-surface-light: #fbfaf7;
  --pp-white: #fff;
}

/* ---------- ساختار اصلی فرم ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .tm-extra-product-options,
    #tm-extra-product-options,
    #tm-extra-product-options-fields,
    .tm-extra-product-options-field
  ) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options {
  margin: 24px 0 18px !important;
  padding: 0 !important;
  color: var(--pp-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-guide,
    .pooshneh-pleated-dimensions,
    .pooshneh-pleated-options
  ) {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 27px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pp-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-guide,
    .pooshneh-pleated-dimensions,
    .pooshneh-pleated-options,
    .pooshneh-pleated-summary
  )::before,
body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-guide,
    .pooshneh-pleated-dimensions,
    .pooshneh-pleated-options,
    .pooshneh-pleated-summary
  )::after {
  content: none !important;
  display: none !important;
}

/* ---------- راهنمای اندازه‌گیری ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-guide .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-pvc-note-div,
    .pooshneh-pleated-glass-note-div
  ) {
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-pvc-note-div,
    .pooshneh-pleated-glass-note-div
  ) .tm-epo-element-label {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 12px 14px !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-pvc-note-div .tm-epo-element-label {
  color: var(--pp-dark) !important;
  background: rgba(24, 51, 53, 0.055) !important;
  border: 1px solid rgba(24, 51, 53, 0.16) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-glass-note-div .tm-epo-element-label {
  color: var(--pp-gold-dark) !important;
  background: var(--pp-gold-soft) !important;
  border: 1px solid rgba(178, 153, 52, 0.22) !important;
}

/* ---------- عنوان‌ها و توضیحات ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-width-div,
    .pooshneh-pleated-height-div,
    .pooshneh-pleated-frame-color-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
  position: relative !important;
  margin: 0 0 5px !important;
  padding: 0 14px 0 0 !important;
  color: var(--pp-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(
    .pooshneh-pleated-width-div,
    .pooshneh-pleated-height-div,
    .pooshneh-pleated-frame-color-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  width: 4px !important;
  height: 4px !important;
  background: var(--pp-gold) !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions) .tm-epo-required {
  color: var(--pp-gold-dark) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions) .tm-description {
  margin: 0 0 15px !important;
  color: var(--pp-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions) .tm-description p {
  margin: 0 !important;
}

/* ---------- عرض و ارتفاع ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-dimensions .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(.pooshneh-pleated-width-div, .pooshneh-pleated-height-div) {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(.pooshneh-pleated-width-ul, .pooshneh-pleated-height-ul) label {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(input.pooshneh-pleated-width, input.pooshneh-pleated-height) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 14px 0 76px !important;
  color: var(--pp-ink) !important;
  background: var(--pp-surface) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pp-line-dark) !important;
  border-radius: 2px 2px 0 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(.pooshneh-pleated-width-ul, .pooshneh-pleated-height-ul) label::after {
  content: "سانتی‌متر" !important;
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  color: var(--pp-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(input.pooshneh-pleated-width, input.pooshneh-pleated-height):hover {
  background: #f3f0e8 !important;
  border-bottom-color: rgba(178, 153, 52, 0.7) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(input.pooshneh-pleated-width, input.pooshneh-pleated-height):focus {
  background: #faf7ed !important;
  border-bottom: 2px solid var(--pp-gold) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(input.pooshneh-pleated-width, input.pooshneh-pleated-height)::placeholder {
  color: #aaa69c !important;
  opacity: 1 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(input.pooshneh-pleated-width, input.pooshneh-pleated-height).tm-error {
  background: #fff7f6 !important;
  border-bottom-color: #b42318 !important;
}

/* ---------- انتخاب رنگ قاب ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-div {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul
  :is(.tmcp-field-wrap-inner, .tc-field-label-wrap, .tc-label-wrap) {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  input.pooshneh-pleated-frame-color,
body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul label {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 10px 38px 10px 12px !important;
  color: #44413a !important;
  background: var(--pp-surface-light) !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: none !important;
  transition: color .18s ease, background-color .18s ease,
    border-color .18s ease, transform .18s ease;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  box-sizing: border-box !important;
  width: 14px !important;
  height: 14px !important;
  background: var(--pp-white) !important;
  border: 1px solid #aaa597 !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul label:hover {
  color: var(--pp-ink) !important;
  background: var(--pp-gold-soft) !important;
  border-color: rgba(178, 153, 52, 0.65) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul li:has(input:checked) label {
  color: var(--pp-white) !important;
  background: var(--pp-dark) !important;
  border-color: var(--pp-dark) !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul li:has(input:checked) label::before {
  background: var(--pp-gold) !important;
  border-color: var(--pp-gold) !important;
  box-shadow: inset 0 0 0 4px var(--pp-dark) !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul li:has(input:focus-visible) label {
  outline: 2px solid var(--pp-gold-focus) !important;
  outline-offset: 2px !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  max-width: 100% !important;
  color: var(--pp-gold-dark) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-frame-color-ul li:has(input:checked)
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  color: #ddc68b !important;
}

/* ---------- خلاصه متراژ ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 22px 0 32px !important;
  padding: 18px 22px !important;
  background: var(--pp-surface) !important;
  border: 0 !important;
  border-top: 1px solid rgba(178, 153, 52, 0.42) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tmcp-field-wrap-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tm-epo-field-label {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pp-dark) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .tc-result-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .tc-result {
  color: var(--pp-dark) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .after-amount {
  color: var(--pp-gold-dark) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .pooshneh-pleated-summary .cpf-type-dynamic.tc-hidden {
  display: none !important;
}

/* ---------- مبلغ نهایی؛ تمام‌عرض و دو ردیف مانند تور ---------- */

body.single-product:has(.pooshneh-pleated-dimensions)
  form.cart > .tc-totals-form,
body.single-product:has(.pooshneh-pleated-dimensions)
  .woocommerce-variation-add-to-cart > .tc-totals-form {
  display: block !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  :is(.tc-epo-totals, .tm-extra-product-options-totals) {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals
  :is(dt.tm-options-totals, dd.tm-options-totals) {
  display: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  display: block !important;
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: right !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals {
  padding: 16px 0 !important;
  color: #111 !important;
  border-top: 1px solid var(--pp-line) !important;
  border-bottom: 1px solid var(--pp-line) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals::after {
  content: none !important;
  display: none !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  padding: 18px 0 !important;
  color: var(--pp-gold-price) !important;
  border-bottom: 1px solid var(--pp-line) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
}

body.single-product:has(.pooshneh-pleated-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals
  :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
  max-width: 100% !important;
  color: var(--pp-gold-price) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* ---------- موبایل ---------- */

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-pleated-dimensions)
    .tm-extra-product-options {
    margin-top: 18px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    :is(
      .pooshneh-pleated-guide,
      .pooshneh-pleated-dimensions,
      .pooshneh-pleated-options
    ) {
    padding: 22px 0 !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-guide .tc-section-fields > .tc-row,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-dimensions .tc-section-fields > .tc-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    :is(.pooshneh-pleated-width-div, .pooshneh-pleated-height-div)
    .tm-description {
    min-height: 0 !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-frame-color-ul {
    gap: 7px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-frame-color-ul label {
    min-height: 50px !important;
    padding: 9px 32px 9px 7px !important;
    font-size: 12px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-frame-color-ul label::before {
    right: 11px !important;
    width: 13px !important;
    height: 13px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-summary {
    margin: 18px 0 28px !important;
    padding: 18px 16px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .pooshneh-pleated-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
    .tmcp-field-wrap-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals
    :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
    font-size: 21px !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    form.cart:not(.variations_form),
  body.single-product:has(.pooshneh-pleated-dimensions)
    .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    form.cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-pleated-dimensions)
    form.cart > .tc-totals-form,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .woocommerce-variation-add-to-cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .woocommerce-variation-add-to-cart > .tc-totals-form {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    form.cart > .quantity,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .woocommerce-variation-add-to-cart > .quantity {
    grid-column: 1 !important;
    width: 90px !important;
    max-width: 90px !important;
    margin: 0 !important;
  }

  body.single-product:has(.pooshneh-pleated-dimensions)
    form.cart > .single_add_to_cart_button,
  body.single-product:has(.pooshneh-pleated-dimensions)
    .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  body.single-product:has(.pooshneh-pleated-dimensions)
    :is(.pooshneh-pleated-width-div, .pooshneh-pleated-height-div)
    .tm-description {
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product:has(.pooshneh-pleated-dimensions) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
/* =========================================================
   POOSHNEH — فرم شید طرح رومن
   هماهنگ با فرم شید سراسری، پلیسه و تور
   محل استفاده: انتهای Custom CSS وودمارت
========================================================= */

body.single-product:has(.pooshneh-roman-dimensions) {
  --pr-gold: #b29934;
  --pr-gold-dark: #7e6a22;
  --pr-gold-price: #ceaa6f;
  --pr-gold-soft: rgba(178, 153, 52, 0.08);
  --pr-gold-focus: rgba(178, 153, 52, 0.22);
  --pr-dark: #183335;
  --pr-ink: #24231f;
  --pr-text: #4a4841;
  --pr-muted: #858177;
  --pr-line: #e7e2d7;
  --pr-line-dark: #ccc6b9;
  --pr-surface: #f7f5ef;
  --pr-surface-light: #fbfaf7;
  --pr-white: #fff;
}

/* ---------- ساختار اصلی ---------- */

body.single-product:has(.pooshneh-roman-dimensions) .tm-extra-product-options,
body.single-product:has(.pooshneh-roman-dimensions) #tm-extra-product-options,
body.single-product:has(.pooshneh-roman-dimensions) #tm-extra-product-options-fields,
body.single-product:has(.pooshneh-roman-dimensions) .tm-extra-product-options-field {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions) .tm-extra-product-options {
  margin: 24px 0 18px !important;
  padding: 0 !important;
  color: var(--pr-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-section,
    .pooshneh-roman-lining-section,
    .pooshneh-roman-dimensions,
    .pooshneh-roman-options
  ) {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 27px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pr-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-section,
    .pooshneh-roman-lining-section,
    .pooshneh-roman-dimensions,
    .pooshneh-roman-options,
    .pooshneh-roman-summary
  )::before,
body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-section,
    .pooshneh-roman-lining-section,
    .pooshneh-roman-dimensions,
    .pooshneh-roman-options,
    .pooshneh-roman-summary
  )::after {
  content: none !important;
  display: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions) .tc-hidden {
  display: none !important;
}

/* ---------- عنوان‌ها و توضیحات ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-div,
    .pooshneh-roman-lining-div,
    .pooshneh-roman-lining-color-div,
    .pooshneh-roman-width-div,
    .pooshneh-roman-height-div,
    .pooshneh-roman-mount-type-div,
    .pooshneh-roman-chain-direction-div,
    .pooshneh-roman-end-design-div,
    .pooshneh-roman-frame-color-div,
    .pooshneh-roman-weight-design-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
  position: relative !important;
  margin: 0 0 5px !important;
  padding: 0 14px 0 0 !important;
  color: var(--pr-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-div,
    .pooshneh-roman-lining-div,
    .pooshneh-roman-lining-color-div,
    .pooshneh-roman-width-div,
    .pooshneh-roman-height-div,
    .pooshneh-roman-mount-type-div,
    .pooshneh-roman-chain-direction-div,
    .pooshneh-roman-end-design-div,
    .pooshneh-roman-frame-color-div,
    .pooshneh-roman-weight-design-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 0 !important;
  width: 4px !important;
  height: 4px !important;
  background: var(--pr-gold) !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-roman-dimensions) .tm-epo-required {
  color: var(--pr-gold-dark) !important;
}

body.single-product:has(.pooshneh-roman-dimensions) .tm-description {
  margin: 0 0 15px !important;
  color: var(--pr-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

body.single-product:has(.pooshneh-roman-dimensions) .tm-description p {
  margin: 0 !important;
}

/* ---------- کارت‌های انتخابی متنی ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-lining-color-ul {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) :is(.tmcp-field-wrap-inner, .tc-field-label-wrap, .tc-label-wrap) {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    input.pooshneh-roman-type,
    input.pooshneh-roman-lining,
    input.pooshneh-roman-lining-color,
    input.pooshneh-roman-mount-type,
    input.pooshneh-roman-chain-direction,
    input.pooshneh-roman-frame-color,
    input.pooshneh-roman-weight-design
  ),
body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) label {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 54px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 10px 38px 10px 12px !important;
  color: #44413a !important;
  background: var(--pr-surface-light) !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.55 !important;
  text-align: center !important;
  cursor: pointer !important;
  user-select: none !important;
  box-shadow: none !important;
  transition: color .18s ease, background-color .18s ease,
    border-color .18s ease, transform .18s ease;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) label::before {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  right: 14px !important;
  box-sizing: border-box !important;
  width: 14px !important;
  height: 14px !important;
  background: var(--pr-white) !important;
  border: 1px solid #aaa597 !important;
  border-radius: 50% !important;
  transform: translateY(-50%) !important;
  transition: background-color .18s ease, border-color .18s ease,
    box-shadow .18s ease;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) label:hover {
  color: var(--pr-ink) !important;
  background: var(--pr-gold-soft) !important;
  border-color: rgba(178, 153, 52, 0.65) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) li:has(input:checked) label {
  color: var(--pr-white) !important;
  background: var(--pr-dark) !important;
  border-color: var(--pr-dark) !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) li:has(input:checked) label::before {
  background: var(--pr-gold) !important;
  border-color: var(--pr-gold) !important;
  box-shadow: inset 0 0 0 4px var(--pr-dark) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) li:has(input:focus-visible) label {
  outline: 2px solid var(--pr-gold-focus) !important;
  outline-offset: 2px !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-type-ul,
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-lining-color-ul,
    .pooshneh-roman-mount-type-ul,
    .pooshneh-roman-chain-direction-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  max-width: 100% !important;
  color: var(--pr-gold-dark) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-lining-ul,
    .pooshneh-roman-frame-color-ul,
    .pooshneh-roman-weight-design-ul
  ) li:has(input:checked)
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  color: #ddc68b !important;
}

/* ---------- عرض و ارتفاع ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-dimensions .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(.pooshneh-roman-width-div, .pooshneh-roman-height-div) {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(.pooshneh-roman-width-ul, .pooshneh-roman-height-ul) label {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(input.pooshneh-roman-width, input.pooshneh-roman-height) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 14px 0 76px !important;
  color: var(--pr-ink) !important;
  background: var(--pr-surface) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--pr-line-dark) !important;
  border-radius: 2px 2px 0 0 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  outline: none !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(.pooshneh-roman-width-ul, .pooshneh-roman-height-ul) label::after {
  content: "سانتی‌متر" !important;
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  color: var(--pr-muted) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  pointer-events: none !important;
  transform: translateY(-50%) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(input.pooshneh-roman-width, input.pooshneh-roman-height):hover {
  background: #f3f0e8 !important;
  border-bottom-color: rgba(178, 153, 52, 0.7) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(input.pooshneh-roman-width, input.pooshneh-roman-height):focus {
  background: #faf7ed !important;
  border-bottom: 2px solid var(--pr-gold) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(input.pooshneh-roman-width, input.pooshneh-roman-height)::placeholder {
  color: #aaa69c !important;
  opacity: 1 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(input.pooshneh-roman-width, input.pooshneh-roman-height).tm-error {
  background: #fff7f6 !important;
  border-bottom-color: #b42318 !important;
}

/* ---------- گزینه‌های نصب و تجهیزات ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-options .tc-section-fields > .tc-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px 20px !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(.pooshneh-roman-mount-type-div, .pooshneh-roman-chain-direction-div) {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-div,
    .pooshneh-roman-end-design-trigger-div,
    .pooshneh-roman-end-design-div,
    .pooshneh-roman-color-trigger-div,
    .pooshneh-roman-color-note-div,
    .pooshneh-roman-frame-color-div,
    .pooshneh-roman-weight-design-trigger-div,
    .pooshneh-roman-weight-design-div
  ) {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* عنوان تکراری ردیف‌های چک‌باکس پنهان می‌شود؛ متن خود گزینه باقی می‌ماند */
body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-div,
    .pooshneh-roman-end-design-trigger-div,
    .pooshneh-roman-color-trigger-div,
    .pooshneh-roman-weight-design-trigger-div
  ) > .tc-element-inner-wrap > .tc-row > .tm-epo-element-label {
  display: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-ul,
    .pooshneh-roman-end-design-trigger-ul,
    .pooshneh-roman-color-trigger-ul,
    .pooshneh-roman-weight-design-trigger-ul
  ) {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-ul,
    .pooshneh-roman-end-design-trigger-ul,
    .pooshneh-roman-color-trigger-ul,
    .pooshneh-roman-weight-design-trigger-ul
  ) > li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-ul,
    .pooshneh-roman-end-design-trigger-ul,
    .pooshneh-roman-color-trigger-ul,
    .pooshneh-roman-weight-design-trigger-ul
  ) label {
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 13px 14px !important;
  color: var(--pr-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--pr-line) !important;
  border-bottom: 1px solid var(--pr-line) !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.7 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    input.pooshneh-roman-cover,
    input.pooshneh-roman-end-design-trigger,
    input.pooshneh-roman-color-trigger,
    input.pooshneh-roman-weight-design-trigger
  ) {
  flex: 0 0 auto !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 0 0 10px !important;
  accent-color: var(--pr-gold) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(
    .pooshneh-roman-cover-ul,
    .pooshneh-roman-end-design-trigger-ul,
    .pooshneh-roman-color-trigger-ul,
    .pooshneh-roman-weight-design-trigger-ul
  ) li:has(input:checked) label {
  color: var(--pr-dark) !important;
  background: rgba(178, 153, 52, 0.055) !important;
}

/* یادداشت رنگ */
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-color-note-div .tm-epo-element-label {
  margin: -10px 0 0 !important;
  padding: 0 !important;
  color: var(--pr-muted) !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.9 !important;
}

/* ---------- طرح‌های تصویری انتهای پرده ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul > li {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  input.pooshneh-roman-end-design,
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul label {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 7px !important;
  color: var(--pr-text) !important;
  background: var(--pr-surface-light) !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: border-color .18s ease, box-shadow .18s ease,
    transform .18s ease;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul label:hover {
  border-color: rgba(178, 153, 52, 0.75) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul li:has(input:checked) label {
  border-color: var(--pr-dark) !important;
  box-shadow: 0 0 0 2px var(--pr-dark) !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul img.tc-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 7px !important;
  object-fit: cover !important;
  border-radius: 5px !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-label-text {
  color: var(--pr-ink) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(.tc-price-wrap, .price.tc-price, .woocommerce-Price-amount.amount) {
  max-width: 100% !important;
  color: var(--pr-gold-dark) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* ---------- خلاصه متراژ ---------- */

body.single-product:has(.pooshneh-roman-dimensions) .pooshneh-roman-summary {
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 22px 0 32px !important;
  padding: 18px 22px !important;
  background: var(--pr-surface) !important;
  border: 0 !important;
  border-top: 1px solid rgba(178, 153, 52, 0.42) !important;
  border-radius: 3px !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tmcp-field-wrap-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
  .tm-epo-field-label {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pr-dark) !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.8 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .tc-result-wrap {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .tc-result {
  color: var(--pr-dark) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  overflow-wrap: anywhere !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .after-amount {
  color: var(--pr-gold-dark) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-summary .cpf-type-dynamic.tc-hidden {
  display: none !important;
}

/* ---------- مبلغ نهایی ---------- */

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals
  :is(dt.tm-options-totals, dd.tm-options-totals) {
  display: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  box-sizing: border-box !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals {
  padding: 16px 0 !important;
  color: #111 !important;
  border-top: 1px solid var(--pr-line) !important;
  border-bottom: 1px solid var(--pr-line) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.7 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals::after {
  content: none !important;
  display: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  padding: 18px 0 !important;
  color: var(--pr-gold-price) !important;
  border-bottom: 1px solid var(--pr-line) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  overflow: hidden !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals
  :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
  max-width: 100% !important;
  color: var(--pr-gold-price) !important;
  font-size: 23px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

/* ---------- تبلت ---------- */

@media (max-width: 1024px) {
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

/* ---------- موبایل ---------- */

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-roman-dimensions) .tm-extra-product-options {
    margin-top: 18px !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-type-section,
      .pooshneh-roman-lining-section,
      .pooshneh-roman-dimensions,
      .pooshneh-roman-options
    ) {
    padding: 22px 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-dimensions .tc-section-fields > .tc-row,
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-options .tc-section-fields > .tc-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-cover-div,
      .pooshneh-roman-end-design-trigger-div,
      .pooshneh-roman-end-design-div,
      .pooshneh-roman-color-trigger-div,
      .pooshneh-roman-color-note-div,
      .pooshneh-roman-frame-color-div,
      .pooshneh-roman-weight-design-trigger-div,
      .pooshneh-roman-weight-design-div
    ) {
    grid-column: 1 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-lining-color-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-type-ul,
      .pooshneh-roman-lining-ul,
      .pooshneh-roman-lining-color-ul,
      .pooshneh-roman-mount-type-ul,
      .pooshneh-roman-chain-direction-ul,
      .pooshneh-roman-frame-color-ul,
      .pooshneh-roman-weight-design-ul
    ) {
    gap: 7px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-type-ul,
      .pooshneh-roman-lining-ul,
      .pooshneh-roman-lining-color-ul,
      .pooshneh-roman-mount-type-ul,
      .pooshneh-roman-chain-direction-ul,
      .pooshneh-roman-frame-color-ul,
      .pooshneh-roman-weight-design-ul
    ) label {
    min-height: 50px !important;
    padding: 9px 32px 9px 7px !important;
    font-size: 12px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-type-ul,
      .pooshneh-roman-lining-ul,
      .pooshneh-roman-lining-color-ul,
      .pooshneh-roman-mount-type-ul,
      .pooshneh-roman-chain-direction-ul,
      .pooshneh-roman-frame-color-ul,
      .pooshneh-roman-weight-design-ul
    ) label::before {
    right: 11px !important;
    width: 13px !important;
    height: 13px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(.pooshneh-roman-width-div, .pooshneh-roman-height-div) .tm-description {
    min-height: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    :is(
      .pooshneh-roman-cover-ul,
      .pooshneh-roman-end-design-trigger-ul,
      .pooshneh-roman-color-trigger-ul,
      .pooshneh-roman-weight-design-trigger-ul
    ) label {
    padding-right: 0 !important;
    padding-left: 0 !important;
    font-size: 13px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-summary {
    margin: 18px 0 28px !important;
    padding: 18px 16px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-summary .tc-section-fields > .tc-row > .cpf-type-dynamic:first-child
    .tmcp-field-wrap-inner {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 6px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals,
  body.single-product:has(.pooshneh-roman-dimensions)
    .tm-extra-product-options-totals dd.tm-final-totals
    :is(.price, .amount, bdi, .woocommerce-Price-currencySymbol) {
    font-size: 21px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    form.cart:not(.variations_form),
  body.single-product:has(.pooshneh-roman-dimensions)
    .woocommerce-variation-add-to-cart {
    display: grid !important;
    grid-template-columns: 90px minmax(0, 1fr) !important;
    gap: 7px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    align-items: stretch !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    form.cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-roman-dimensions)
    form.cart > .tc-totals-form,
  body.single-product:has(.pooshneh-roman-dimensions)
    .woocommerce-variation-add-to-cart > .tm-extra-product-options,
  body.single-product:has(.pooshneh-roman-dimensions)
    .woocommerce-variation-add-to-cart > .tc-totals-form {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions) form.cart > .quantity,
  body.single-product:has(.pooshneh-roman-dimensions)
    .woocommerce-variation-add-to-cart > .quantity {
    grid-column: 1 !important;
    width: 90px !important;
    max-width: 90px !important;
    margin: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    form.cart > .single_add_to_cart_button,
  body.single-product:has(.pooshneh-roman-dimensions)
    .woocommerce-variation-add-to-cart > .single_add_to_cart_button {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
}

@media (min-width: 768px) {
  body.single-product:has(.pooshneh-roman-dimensions)
    :is(.pooshneh-roman-width-div, .pooshneh-roman-height-div) .tm-description {
    min-height: 46px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.single-product:has(.pooshneh-roman-dimensions) * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   تمام‌عرض شدن باکس مبلغ نهایی رومن
========================================================= */

body.single-product:has(.pooshneh-roman-dimensions)
  form.cart > .tc-totals-form,
body.single-product:has(.pooshneh-roman-dimensions)
  .woocommerce-variation-add-to-cart > .tc-totals-form {
  display: block !important;
  flex: 0 0 100% !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  :is(.tc-epo-totals, .tm-extra-product-options-totals) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-roman-dimensions)
  .tm-extra-product-options-totals dd.tm-final-totals {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  text-align: right !important;
}
/* =========================================================
   POOSHNEH — ریل ساده و مینیمال
   ========================================================= */

body.single-product:has(.pooshneh-rail-dimensions) {
    --pr-green: #153637;
    --pr-gold: #c7a23c;
    --pr-price: #d2a75f;
    --pr-text: #242424;
    --pr-muted: #8b8983;
    --pr-bg: #f7f4ee;
    --pr-border: #e2d9c7;
    --pr-radius: 7px;
}

/* فرم اصلی */
body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options-fields,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-dimensions,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-supports {
    width: 100%;
    max-width: 100%;
}

body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options-fields,
body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options-fields ul {
    padding-inline: 0;
    list-style: none;
}

/* فاصله و جداکننده بخش‌ها */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-dimensions {
    padding: 32px 0 28px;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-supports {
    padding: 38px 0 32px;
    border-top: 1px solid var(--pr-border);
}

/* عنوان فیلدها */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-dimensions h3,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-supports h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: var(--pr-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-dimensions h3::before,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-supports h3::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--pr-gold);
}

/* ستاره اجباری */
body.single-product:has(.pooshneh-rail-dimensions)
.tm-epo-required {
    order: 3;
    margin: 0;
    color: var(--pr-gold);
}

/* توضیحات */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-dimensions .tm-description,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-supports .tm-description {
    margin: 0 0 22px;
    color: var(--pr-muted);
    font-size: 12px;
    line-height: 2;
}

body.single-product:has(.pooshneh-rail-dimensions)
.tm-description p {
    margin: 0;
}

/* ورودی طول و تعداد پایه */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-length-div .tc-element-container,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-quantity-div .tc-element-container {
    position: relative;
    width: 100%;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-length-ul,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-quantity-ul {
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-length-ul .tmcp-field-wrap,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-quantity-ul .tmcp-field-wrap {
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-length-ul label,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-quantity-ul label {
    position: relative;
    display: block;
    width: 100%;
}

/* واحد طول */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-length-ul label::after {
    content: "سانتی‌متر";
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--pr-muted);
    font-size: 11px;
    pointer-events: none;
}

/* واحد تعداد */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-quantity-ul label::after {
    content: "عدد";
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--pr-muted);
    font-size: 11px;
    pointer-events: none;
}

body.single-product:has(.pooshneh-rail-dimensions)
input.pooshneh-rail-length,
body.single-product:has(.pooshneh-rail-dimensions)
input.pooshneh-rail-support-quantity {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 18px 0 90px;
    border: 0;
    border-bottom: 1px solid #cfc4ae;
    border-radius: 0;
    outline: none;
    background: var(--pr-bg);
    color: var(--pr-text);
    font-size: 13px;
    line-height: 52px;
    box-shadow: none;
    appearance: textfield;
}

body.single-product:has(.pooshneh-rail-dimensions)
input.pooshneh-rail-support-quantity {
    padding-left: 55px;
}

body.single-product:has(.pooshneh-rail-dimensions)
input.pooshneh-rail-length:focus,
body.single-product:has(.pooshneh-rail-dimensions)
input.pooshneh-rail-support-quantity:focus {
    border-bottom-color: var(--pr-gold);
    background: #faf8f3;
    box-shadow: none;
}

body.single-product:has(.pooshneh-rail-dimensions)
input[type="number"]::-webkit-inner-spin-button,
body.single-product:has(.pooshneh-rail-dimensions)
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* نوع پایه */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-div {
    margin-bottom: 30px;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul > li {
    min-width: 0;
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul label {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--pr-border);
    border-radius: var(--pr-radius);
    background: #fff;
    cursor: pointer;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul label:hover {
    border-color: #c7b891;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-label-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-input-wrap {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--pr-gold);
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-label {
    min-width: 0;
    width: 100%;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-label-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-label-text {
    color: var(--pr-text);
    font-size: 13px;
    font-weight: 600;
}

/* قیمت داخل گزینه پایه */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-price-wrap {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 55%;
    margin: 0;
    color: var(--pr-gold);
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .tc-price,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul .amount {
    color: inherit;
    font-size: inherit;
    white-space: normal;
}

/* حالت انتخاب‌شده */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul label:has(input[type="radio"]:checked) {
    border-color: var(--pr-green);
    background: var(--pr-green);
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul
label:has(input[type="radio"]:checked) .tc-label-text {
    color: #fff;
}

body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul
label:has(input[type="radio"]:checked) .tc-price-wrap,
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-support-type-ul
label:has(input[type="radio"]:checked) .amount {
    color: #d7b84e;
}

/* عنوان محاسبات داخلی فرم نمایش داده نشود */
body.single-product:has(.pooshneh-rail-dimensions)
.pooshneh-rail-summary {
    display: none !important;
}

/* =========================================================
   مبلغ نهایی
   ========================================================= */

body.single-product:has(.pooshneh-rail-dimensions)
.tc-totals-form {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 28px;
    padding: 0;
}

body.single-product:has(.pooshneh-rail-dimensions)
.tc-epo-totals,
body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options-totals {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* مبلغ گزینه‌ها مخفی باشد */
body.single-product:has(.pooshneh-rail-dimensions)
dt.tm-options-totals,
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-options-totals {
    display: none !important;
}

/* عنوان مبلغ نهایی */
body.single-product:has(.pooshneh-rail-dimensions)
dt.tm-final-totals {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid var(--pr-border);
    border-bottom: 1px solid var(--pr-border);
    color: var(--pr-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    text-align: right;
}

/* قیمت نهایی */
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--pr-border);
    text-align: right;
}

body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals .price,
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals .amount,
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals bdi,
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals .woocommerce-Price-currencySymbol {
    color: var(--pr-price);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
}

body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals .price,
body.single-product:has(.pooshneh-rail-dimensions)
dd.tm-final-totals .amount {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* رفع floatهای افزونه */
body.single-product:has(.pooshneh-rail-dimensions)
.tm-extra-product-options-totals::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================
   موبایل
   ========================================================= */

@media (max-width: 767px) {
    body.single-product:has(.pooshneh-rail-dimensions)
    .tm-extra-product-options,
    body.single-product:has(.pooshneh-rail-dimensions)
    .tm-extra-product-options-fields,
    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-dimensions,
    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-supports,
    body.single-product:has(.pooshneh-rail-dimensions)
    .tc-totals-form {
        width: 100%;
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-dimensions {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-supports {
        padding-top: 28px;
        padding-bottom: 26px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-support-type-ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-support-type-ul .tc-label-wrap {
        gap: 8px;
        padding: 11px 10px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-support-type-ul .tc-label-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-support-type-ul .tc-price-wrap {
        max-width: 100%;
        text-align: right;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    input.pooshneh-rail-length,
    body.single-product:has(.pooshneh-rail-dimensions)
    input.pooshneh-rail-support-quantity {
        min-width: 0;
        font-size: 12px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    dt.tm-final-totals {
        padding: 16px 0;
        font-size: 14px;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    dd.tm-final-totals {
        padding: 18px 0;
    }

    body.single-product:has(.pooshneh-rail-dimensions)
    dd.tm-final-totals .price,
    body.single-product:has(.pooshneh-rail-dimensions)
    dd.tm-final-totals .amount,
    body.single-product:has(.pooshneh-rail-dimensions)
    dd.tm-final-totals bdi,
    body.single-product:has(.pooshneh-rail-dimensions)
    dd.tm-final-totals .woocommerce-Price-currencySymbol {
        max-width: 100%;
        font-size: 20px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 370px) {
    body.single-product:has(.pooshneh-rail-dimensions)
    .pooshneh-rail-support-type-ul {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   POOSHNEH — Roman shade end-design cards fix
   Scope: Roman shade only
   Paste at the END of Woodmart Custom CSS.
   ========================================================= */

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  direction: rtl !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul > li {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(.tmcp-field-wrap-inner, .tc-field-label-wrap) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The plugin puts image, title and price inside tc-label-wrap. */
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul label {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #252525 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul label > .tc-label-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden !important;
  color: #252525 !important;
  background: #fffdfa !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .18s ease, box-shadow .18s ease,
    transform .18s ease !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul label:hover > .tc-label-wrap {
  border-color: #b29934 !important;
  box-shadow: 0 7px 20px rgba(36, 35, 31, .08) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(label:has(input:checked), li.tc-active label)
  > .tc-label-wrap {
  border: 2px solid #153637 !important;
  border-radius: 7px !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Neutralize the older selected-state rectangle on the label itself. */
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul li:has(input:checked) label,
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul li.tc-active label {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(.tc-input-wrap, input.pooshneh-roman-end-design) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 112px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  object-fit: cover !important;
  background: #f7f4ee !important;
  border: 0 !important;
  border-radius: 5px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Remove the plugin's second selected rectangle around the image. */
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul li:has(input:checked)
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch),
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul li.tc-active
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul
  :is(.tc-label, .radio-image-label-inline) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 4px 5px !important;
  float: none !important;
  color: #252525 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-label-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #252525 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Keeps 1,000,000 Toman completely inside each image card. */
body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-price-wrap {
  position: static !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  direction: rtl !important;
  text-align: center !important;
  transform: none !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-roman-dimensions)
  .pooshneh-roman-end-design-ul .tc-price-wrap
  :is(
    .price.tc-price,
    .woocommerce-Price-amount.amount,
    bdi,
    .woocommerce-Price-currencySymbol
  ) {
  position: static !important;
  display: inline !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1024px) {
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-div,
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-div > .tc-element-inner-wrap,
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-div .tc-element-container {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul label > .tc-label-wrap {
    padding: 5px !important;
    border-radius: 7px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul
    :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
    height: 104px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul
    :is(.tc-label, .radio-image-label-inline) {
    padding: 7px 2px 4px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul .tc-label-text {
    font-size: 11px !important;
  }

  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul .tc-price-wrap,
  body.single-product:has(.pooshneh-roman-dimensions)
    .pooshneh-roman-end-design-ul .tc-price-wrap
    :is(
      .price.tc-price,
      .woocommerce-Price-amount.amount,
      bdi,
      .woocommerce-Price-currencySymbol
    ) {
    font-size: 9px !important;
    white-space: nowrap !important;
  }
}
/* =========================================================
   POOSHNEH — Single, double and screen shade end-design cards fix
   Scope: shared single, double and screen shade form only
   Paste at the END of Woodmart Custom CSS.
   ========================================================= */

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  direction: rtl !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul > li {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(.tmcp-field-wrap-inner, .tc-field-label-wrap) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The plugin puts image, title and price inside tc-label-wrap. */
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul label {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #252525 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul label > .tc-label-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden !important;
  color: #252525 !important;
  background: #fffdfa !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .18s ease, box-shadow .18s ease,
    transform .18s ease !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul label:hover > .tc-label-wrap {
  border-color: #b29934 !important;
  box-shadow: 0 7px 20px rgba(36, 35, 31, .08) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(label:has(input:checked), li.tc-active label)
  > .tc-label-wrap {
  border: 2px solid #153637 !important;
  border-radius: 7px !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Neutralize the older selected-state rectangle on the label itself. */
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul li:has(input:checked) label,
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul li.tc-active label {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(.tc-input-wrap, input.pooshneh-shid-end-design) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 112px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  object-fit: cover !important;
  background: #f7f4ee !important;
  border: 0 !important;
  border-radius: 5px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Remove the plugin's second selected rectangle around the image. */
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul li:has(input:checked)
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch),
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul li.tc-active
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul
  :is(.tc-label, .radio-image-label-inline) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 4px 5px !important;
  float: none !important;
  color: #252525 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-label-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #252525 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Keeps 1,000,000 Toman completely inside each image card. */
body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-price-wrap {
  position: static !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  direction: rtl !important;
  text-align: center !important;
  transform: none !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-shid-dimensions)
  .pooshneh-shid-end-design-ul .tc-price-wrap
  :is(
    .price.tc-price,
    .woocommerce-Price-amount.amount,
    bdi,
    .woocommerce-Price-currencySymbol
  ) {
  position: static !important;
  display: inline !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1024px) {
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-div,
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-div > .tc-element-inner-wrap,
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-div .tc-element-container {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul label > .tc-label-wrap {
    padding: 5px !important;
    border-radius: 7px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul
    :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
    height: 104px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul
    :is(.tc-label, .radio-image-label-inline) {
    padding: 7px 2px 4px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul .tc-label-text {
    font-size: 11px !important;
  }

  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul .tc-price-wrap,
  body.single-product:has(.pooshneh-shid-dimensions)
    .pooshneh-shid-end-design-ul .tc-price-wrap
    :is(
      .price.tc-price,
      .woocommerce-Price-amount.amount,
      bdi,
      .woocommerce-Price-currencySymbol
    ) {
    font-size: 9px !important;
    white-space: nowrap !important;
  }
}
/* =========================================================
   POOSHNEH — Zebra shade end-design cards fix
   Scope: Zebra shade only
   Paste at the END of Woodmart Custom CSS.
   ========================================================= */

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  direction: rtl !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul > li {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(.tmcp-field-wrap-inner, .tc-field-label-wrap) {
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* The plugin puts image, title and price inside tc-label-wrap. */
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul label {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #252525 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  cursor: pointer !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul label > .tc-label-wrap {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 6px !important;
  overflow: hidden !important;
  color: #252525 !important;
  background: #fffdfa !important;
  border: 1px solid #ded9cd !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  transform: none !important;
  transition: border-color .18s ease, box-shadow .18s ease,
    transform .18s ease !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul label:hover > .tc-label-wrap {
  border-color: #b29934 !important;
  box-shadow: 0 7px 20px rgba(36, 35, 31, .08) !important;
  transform: translateY(-1px) !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(label:has(input:checked), li.tc-active label)
  > .tc-label-wrap {
  border: 2px solid #153637 !important;
  border-radius: 7px !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Neutralize the older selected-state rectangle on the label itself. */
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul li:has(input:checked) label,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul li.tc-active label {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(.tc-input-wrap, input.pooshneh-zebra-end-design) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: 112px !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  object-fit: cover !important;
  background: #f7f4ee !important;
  border: 0 !important;
  border-radius: 5px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Exact Zebra markup: the plugin marks the LI as tc-active. */
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap
  > label {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active::before,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active::after,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner::before,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner::after,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap::before,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap::after,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap
  > label::before,
#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap
  > label::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  > .tmcp-field-wrap-inner
  > .tc-field-label-wrap
  > label
  > .tc-label-wrap {
  overflow: hidden !important;
  background: #fffdfa !important;
  background-clip: padding-box !important;
  border: 2px solid #153637 !important;
  border-radius: 7px !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

#tm-extra-product-options-fields
  .pooshneh-zebra-end-design-ul
  > li.tmhexcolorimage-li-nowh.tc-active
  img.tc-image.radio-image {
  border: 0 !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}

/* Remove the plugin's second selected rectangle around the image. */
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul li:has(input:checked)
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch),
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul li.tc-active
  :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(.tc-label, .radio-image-label-inline) {
  display: block !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 8px 4px 5px !important;
  float: none !important;
  color: #252525 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul .tc-label-text {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: #252525 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* Keeps 1,000,000 Toman completely inside each image card. */
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul .tc-price-wrap {
  position: static !important;
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  direction: rtl !important;
  text-align: center !important;
  transform: none !important;
  white-space: nowrap !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul .tc-price-wrap
  :is(
    .price.tc-price,
    .woocommerce-Price-amount.amount,
    bdi,
    .woocommerce-Price-currencySymbol
  ) {
  position: static !important;
  display: inline !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #9b8129 !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

@media (max-width: 1024px) {
  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-div,
  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-div > .tc-element-inner-wrap,
  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-div .tc-element-container {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 12px !important;
    padding-inline: 0 !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul label > .tc-label-wrap {
    padding: 5px !important;
    border-radius: 7px !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul
    :is(img.tc-image, img.radio-image, .tm-transparent-swatch) {
    height: 104px !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul
    :is(.tc-label, .radio-image-label-inline) {
    padding: 7px 2px 4px !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul .tc-label-text {
    font-size: 11px !important;
  }

  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul .tc-price-wrap,
  body.single-product:has(.pooshneh-zebra-dimensions)
    .pooshneh-zebra-end-design-ul .tc-price-wrap
    :is(
      .price.tc-price,
      .woocommerce-Price-amount.amount,
      bdi,
      .woocommerce-Price-currencySymbol
    ) {
    font-size: 9px !important;
    white-space: nowrap !important;
  }
}

/* Final cleanup: Zebra's plugin state can draw a second sharp rectangle. */
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul > li,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul > li > .tmcp-field-wrap-inner,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul .tc-field-label-wrap,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul label,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(.tc-label, .tc-label-inner, .radio-image-label-inline) {
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(
    li,
    .tmcp-field-wrap-inner,
    .tc-field-label-wrap,
    label,
    label > .tc-label-wrap,
    .tc-label,
    .tc-label-inner,
    .radio-image-label-inline
  )::before,
body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(
    li,
    .tmcp-field-wrap-inner,
    .tc-field-label-wrap,
    label,
    label > .tc-label-wrap,
    .tc-label,
    .tc-label-inner,
    .radio-image-label-inline
  )::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.single-product:has(.pooshneh-zebra-dimensions)
  .pooshneh-zebra-end-design-ul
  :is(label:has(input:checked), li.tc-active label)
  > .tc-label-wrap {
  border: 2px solid #153637 !important;
  border-radius: 7px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Pooshneh — Simple/Minimal rail wall-size cards */

.pooshneh-rail-wall-size-ul {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pooshneh-rail-wall-size-ul > .tmcp-field-wrap {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pooshneh-rail-wall-size-ul .tmcp-field-wrap-inner,
.pooshneh-rail-wall-size-ul .tc-field-label-wrap,
.pooshneh-rail-wall-size-ul label.tm-epo-field-label {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

.pooshneh-rail-wall-size-ul label.tm-epo-field-label {
  display: block !important;
  cursor: pointer;
}

.pooshneh-rail-wall-size-ul label.tm-epo-field-label > .tc-label-wrap {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  height: 100% !important;
  padding: 9px !important;
  overflow: hidden;
  background: #fbfaf7;
  border: 1px solid #e4dac8 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pooshneh-rail-wall-size-ul label.tm-epo-field-label:hover > .tc-label-wrap {
  border-color: #b99a55 !important;
  background: #fff;
}

/* The whole card is the selected state; remove ThemeComplete's inner image frame. */
.pooshneh-rail-wall-size-ul label.tm-epo-field-label:has(input:checked) > .tc-label-wrap {
  padding: 8px !important;
  background: #f7f7f3;
  border: 2px solid #143b3b !important;
  box-shadow: 0 0 0 1px rgba(20, 59, 59, .06) !important;
}

.pooshneh-rail-wall-size-ul .tc-input-wrap {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pooshneh-rail-wall-size-ul img.tc-image.radio-image {
  display: block !important;
  width: 100% !important;
  height: 200px !important;
  min-height: 200px !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f3ede3 !important;
  border: 1px solid transparent !important;
  border-radius: 7px !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* ThemeComplete limits inline thumbnails to 42px; this selector must outrank it. */
.tm-extra-product-options .pooshneh-rail-wall-size-ul img.tc-image.radio-image.tc-image-inline {
  max-height: none !important;
}

.pooshneh-rail-wall-size-ul label:has(input:checked) img.tc-image.radio-image,
.pooshneh-rail-wall-size-ul input:checked ~ img.tc-image.radio-image {
  border-color: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.pooshneh-rail-wall-size-ul .tc-label.radio-image-label-inline {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  text-align: center !important;
}

.pooshneh-rail-wall-size-ul .tc-label-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-height: 48px;
}

.pooshneh-rail-wall-size-ul .tc-label-text {
  color: #202a2a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.65 !important;
  text-align: center !important;
}

.pooshneh-rail-wall-size-ul .pooshneh-rail-live-price,
.pooshneh-rail-wall-size-ul .tc-price-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  color: #bd9140 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
}

.pooshneh-rail-wall-size-ul .tc-price-wrap .price,
.pooshneh-rail-wall-size-ul .tc-price-wrap .amount,
.pooshneh-rail-wall-size-ul .tc-price-wrap bdi,
.pooshneh-rail-wall-size-ul .tc-price-wrap .woocommerce-Price-currencySymbol {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
}

@media (max-width: 767px) {
  .pooshneh-rail-wall-size-ul {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .pooshneh-rail-wall-size-ul label.tm-epo-field-label > .tc-label-wrap {
    display: grid !important;
    grid-template-columns: 128px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 144px;
    padding: 8px !important;
  }

  .pooshneh-rail-wall-size-ul label.tm-epo-field-label:has(input:checked) > .tc-label-wrap {
    padding: 7px !important;
  }

  .pooshneh-rail-wall-size-ul img.tc-image.radio-image {
    align-self: center !important;
    width: 128px !important;
    height: 128px !important;
    min-height: 128px !important;
    max-height: none !important;
    padding: 0 !important;
    object-fit: contain !important;
  }

  .pooshneh-rail-wall-size-ul .tc-label.radio-image-label-inline {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    text-align: right !important;
  }

  .pooshneh-rail-wall-size-ul .tc-label-inner {
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 0;
  }

  .pooshneh-rail-wall-size-ul .tc-label-text {
    font-size: 13px !important;
    text-align: right !important;
  }

  .pooshneh-rail-wall-size-ul .pooshneh-rail-live-price,
  .pooshneh-rail-wall-size-ul .tc-price-wrap {
    justify-content: flex-start !important;
    font-size: 12px !important;
  }
}

@media (max-width: 380px) {
  .pooshneh-rail-wall-size-ul label.tm-epo-field-label > .tc-label-wrap {
    grid-template-columns: 108px minmax(0, 1fr) !important;
    gap: 10px !important;
    min-height: 128px;
  }

  .pooshneh-rail-wall-size-ul img.tc-image.radio-image {
    width: 108px !important;
    height: 112px !important;
    min-height: 112px !important;
  }
}

/* =========================================================
   POOSHNEH — فرم ریل لوله‌ای
   Scope: فقط محصولاتی که فرم ریل لوله‌ای دارند
   محل استفاده: انتهای Woodmart > Custom CSS
   ========================================================= */

body.single-product:has(.pooshneh-tubular-dimensions) {
    --ptr-green: #153637;
    --ptr-gold: #c7a23c;
    --ptr-price: #d2a75f;
    --ptr-text: #242424;
    --ptr-muted: #8b8983;
    --ptr-bg: #f7f4ee;
    --ptr-border: #e2d9c7;
    --ptr-radius: 7px;
}

/* ساختار اصلی فرم */
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options,
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-fields,
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-dimensions,
    .pooshneh-tubular-finials,
    .pooshneh-tubular-supports) {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options {
    margin: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-fields,
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-fields ul {
    padding-inline: 0;
    list-style: none;
}

/* بخش‌بندی فرم */
body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-dimensions {
    padding: 32px 0 28px;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finials, .pooshneh-tubular-supports) {
    padding: 34px 0 30px;
    border-top: 1px solid var(--ptr-border);
}

/* عنوان فیلدها */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-dimensions,
    .pooshneh-tubular-finials,
    .pooshneh-tubular-supports) h3 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0 0 14px;
    padding: 0;
    color: var(--ptr-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-dimensions,
    .pooshneh-tubular-finials,
    .pooshneh-tubular-supports) h3::before {
    content: "";
    flex: 0 0 4px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--ptr-gold);
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-epo-required {
    order: 3;
    margin: 0;
    color: var(--ptr-gold);
}

/* توضیحات راهنما */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-dimensions, .pooshneh-tubular-supports)
.tm-description {
    width: 100%;
    margin: 0 0 20px;
    color: var(--ptr-muted);
    font-size: 12px;
    line-height: 2;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-description p {
    margin: 0;
}

/* ورودی طول و تعداد پایه */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-length-div,
    .pooshneh-tubular-support-quantity-div)
.tc-element-container {
    position: relative;
    width: 100%;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-length-ul,
    .pooshneh-tubular-support-quantity-ul) {
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-length-ul,
    .pooshneh-tubular-support-quantity-ul)
.tmcp-field-wrap {
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-length-ul,
    .pooshneh-tubular-support-quantity-ul) label {
    position: relative;
    display: block;
    width: 100%;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-length-ul label::after,
body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-support-quantity-ul label::after {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--ptr-muted);
    font-size: 11px;
    pointer-events: none;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-length-ul label::after {
    content: "سانتی‌متر";
}

body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-support-quantity-ul label::after {
    content: "عدد";
}

body.single-product:has(.pooshneh-tubular-dimensions)
input.pooshneh-tubular-length,
body.single-product:has(.pooshneh-tubular-dimensions)
input.pooshneh-tubular-support-quantity {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 52px;
    margin: 0;
    padding: 0 18px 0 90px;
    border: 0;
    border-bottom: 1px solid #cfc4ae;
    border-radius: 0;
    outline: none;
    background: var(--ptr-bg);
    color: var(--ptr-text);
    font-size: 13px;
    line-height: 52px;
    box-shadow: none;
    appearance: textfield;
}

body.single-product:has(.pooshneh-tubular-dimensions)
input.pooshneh-tubular-support-quantity {
    padding-left: 55px;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(input.pooshneh-tubular-length,
    input.pooshneh-tubular-support-quantity):focus {
    border-bottom-color: var(--ptr-gold);
    background: #faf8f3;
    box-shadow: none;
}

body.single-product:has(.pooshneh-tubular-dimensions)
input[type="number"]::-webkit-inner-spin-button,
body.single-product:has(.pooshneh-tubular-dimensions)
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

/* فاصله میان فیلدهای بخش پایه */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-support-type-div,
    .pooshneh-tubular-ceiling-color-div,
    .pooshneh-tubular-wall-color-div) {
    margin-bottom: 28px;
}

/* تمام انتخاب‌های رادیویی به‌شکل کارت */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) {
    display: grid;
    gap: 10px;
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-ceiling-color-ul) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-wall-color-ul) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) > li {
    min-width: 0;
    width: 100%;
    margin: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) label {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ptr-border);
    border-radius: var(--ptr-radius);
    background: #fff;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease,
                color .2s ease, box-shadow .2s ease;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) label:hover {
    border-color: #c7b891;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-label-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-width: 0;
    padding: 13px 15px;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-input-wrap {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) input[type="radio"] {
    width: 15px;
    height: 15px;
    margin: 0;
    accent-color: var(--ptr-gold);
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-label {
    min-width: 0;
    width: 100%;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-label-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-label-text {
    color: var(--ptr-text);
    font-size: 13px;
    font-weight: 600;
}

/* قیمت داخل کارت */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul) .tc-price-wrap {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 58%;
    margin: 0;
    color: var(--ptr-gold);
    font-size: 10px;
    line-height: 1.5;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul)
:is(.tc-price, .amount) {
    color: inherit;
    font-size: inherit;
    white-space: normal;
}

/* حالت انتخاب‌شده */
body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul)
label:has(input[type="radio"]:checked) {
    border-color: var(--ptr-green);
    background: var(--ptr-green);
    box-shadow: 0 6px 16px rgba(21, 54, 55, .08);
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-support-type-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul)
label:has(input[type="radio"]:checked) .tc-label-text {
    color: #fff;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.pooshneh-tubular-finial-quantity-ul,
    .pooshneh-tubular-ceiling-color-ul,
    .pooshneh-tubular-wall-color-ul)
label:has(input[type="radio"]:checked)
:is(.tc-price-wrap, .tc-price, .amount) {
    color: #d7b84e;
}

/* پیشنهاد تعداد پایه */
body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-support-suggestion {
    width: 100%;
    margin-top: 10px;
    padding: 10px 13px;
    border-right: 2px solid var(--ptr-gold);
    border-radius: 0 5px 5px 0;
    background: #fbf8f1;
    color: #6f6b63;
    font-size: 11px;
    line-height: 1.9;
}

/* محاسبه داخلی فرم نمایش داده نشود */
body.single-product:has(.pooshneh-tubular-dimensions)
.pooshneh-tubular-summary {
    display: none !important;
}

/* =========================================================
   مبلغ نهایی
   ========================================================= */

body.single-product:has(.pooshneh-tubular-dimensions)
.tc-totals-form {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 28px;
    padding: 0;
}

body.single-product:has(.pooshneh-tubular-dimensions)
:is(.tc-epo-totals, .tm-extra-product-options-totals) {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0;
    padding: 0;
}

/* ردیف‌های محاسباتی داخلی مخفی و فقط مبلغ نهایی نمایش داده شود */
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-totals dt.tm-options-totals,
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-totals dd.tm-options-totals {
    display: none !important;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-totals dt.tm-final-totals,
body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-totals dd.tm-final-totals {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-align: right !important;
}

body.single-product:has(.pooshneh-tubular-dimensions)
dt.tm-final-totals {
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid var(--ptr-border);
    border-bottom: 1px solid var(--ptr-border);
    color: var(--ptr-text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
}

body.single-product:has(.pooshneh-tubular-dimensions)
dd.tm-final-totals {
    margin: 0;
    padding: 22px 0;
    border-bottom: 1px solid var(--ptr-border);
}

body.single-product:has(.pooshneh-tubular-dimensions)
dd.tm-final-totals :is(.price, .amount, bdi,
    .woocommerce-Price-currencySymbol) {
    color: var(--ptr-price);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.5;
}

body.single-product:has(.pooshneh-tubular-dimensions)
dd.tm-final-totals :is(.price, .amount) {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

body.single-product:has(.pooshneh-tubular-dimensions)
.tm-extra-product-options-totals::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================================
   موبایل
   ========================================================= */

@media (max-width: 767px) {
    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.tm-extra-product-options,
        .tm-extra-product-options-fields,
        .pooshneh-tubular-dimensions,
        .pooshneh-tubular-finials,
        .pooshneh-tubular-supports,
        .tc-totals-form) {
        width: 100%;
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    .pooshneh-tubular-dimensions {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-finials, .pooshneh-tubular-supports) {
        padding-top: 28px;
        padding-bottom: 26px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-support-type-ul,
        .pooshneh-tubular-wall-color-ul) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-finial-quantity-ul,
        .pooshneh-tubular-ceiling-color-ul) {
        gap: 8px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-finial-quantity-ul,
        .pooshneh-tubular-support-type-ul,
        .pooshneh-tubular-ceiling-color-ul,
        .pooshneh-tubular-wall-color-ul) .tc-label-wrap {
        gap: 8px;
        padding: 11px 10px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-finial-quantity-ul,
        .pooshneh-tubular-ceiling-color-ul,
        .pooshneh-tubular-wall-color-ul) .tc-label-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-finial-quantity-ul,
        .pooshneh-tubular-ceiling-color-ul,
        .pooshneh-tubular-wall-color-ul) .tc-price-wrap {
        max-width: 100%;
        text-align: right;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(input.pooshneh-tubular-length,
        input.pooshneh-tubular-support-quantity) {
        min-width: 0;
        font-size: 12px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    .pooshneh-tubular-support-suggestion {
        font-size: 10.5px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    dt.tm-final-totals {
        padding: 16px 0;
        font-size: 14px;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    dd.tm-final-totals {
        padding: 18px 0;
    }

    body.single-product:has(.pooshneh-tubular-dimensions)
    dd.tm-final-totals :is(.price, .amount, bdi,
        .woocommerce-Price-currencySymbol) {
        max-width: 100%;
        font-size: 20px;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 370px) {
    body.single-product:has(.pooshneh-tubular-dimensions)
    :is(.pooshneh-tubular-support-type-ul,
        .pooshneh-tubular-wall-color-ul) {
        grid-template-columns: 1fr;
    }
}
