/* سافت نیک — ووکامرس (RTL، هماهنگ با رنگ‌ها و کارت‌های قالب) */
.sn-woo-page .woocommerce{color:var(--text)}
.sn-woo-page h1.page-title,.sn-woo-page .product_title{font-size:clamp(24px,4.5vw,38px);font-weight:900}
/* اعلان‌ها */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notice{list-style:none;margin:0 0 22px;padding:16px 20px;border-radius:20px;border:1px solid var(--line);background:var(--chip);color:var(--head);display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before{display:none}
.woocommerce-message{border-color:#16a34a;background:color-mix(in srgb,#16a34a 10%,var(--surface))}
.woocommerce-error{border-color:#dc2626;background:color-mix(in srgb,#dc2626 9%,var(--surface))}
.woocommerce-error li{list-style:none}
.woocommerce-message .button,.woocommerce-info .button{margin-inline-start:auto}
/* مسیر راهنما، مرتب‌سازی */
.woocommerce .woocommerce-breadcrumb{margin:0 0 18px;color:var(--muted);font-size:14px}
.woocommerce .woocommerce-breadcrumb a:hover{color:var(--ac)}
.woocommerce .woocommerce-result-count{float:none;margin:0 0 14px;color:var(--muted)}
.woocommerce .woocommerce-ordering{float:none;margin:0 0 22px}
.woocommerce select,.woocommerce input.input-text,.woocommerce textarea,.woocommerce .select2-container--default .select2-selection--single{width:100%;padding:12px 18px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--head);font:inherit;min-height:50px;line-height:1.7}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered{color:var(--head);line-height:26px;padding:0}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow{height:48px}
.woocommerce .woocommerce-ordering select{width:auto;min-width:220px}
.woocommerce input:focus,.woocommerce select:focus,.woocommerce textarea:focus{outline:2px solid var(--p);outline-offset:1px;border-color:var(--p)}
.woocommerce form .form-row{margin:0 0 16px;padding:0}
.woocommerce form .form-row label{display:block;margin-bottom:6px;font-weight:700;color:var(--head)}
.woocommerce form .form-row .required{color:#dc2626;text-decoration:none}
.woocommerce form .form-row-first,.woocommerce form .form-row-last,.woocommerce-page form .form-row-first,.woocommerce-page form .form-row-last{width:100%;float:none}
fieldset{border:1px solid var(--line);border-radius:20px;padding:18px}
/* چیپ دسته‌ها */
.sn-catbar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.sn-catbar__i{padding:9px 20px;border-radius:99px;border:1px solid var(--line);background:var(--surface);font-weight:700;color:var(--head);transition:.2s}
.sn-catbar__i:hover,.sn-catbar__i.is-on{background:var(--p);color:var(--on-p);border-color:var(--p)}
/* شبکه محصولات */
.woocommerce ul.products{grid-template-columns:repeat(2,1fr);gap:16px}
.woocommerce ul.products li.product{position:relative;display:flex;flex-direction:column;gap:6px;border-radius:var(--r);padding:14px;transition:transform .3s,box-shadow .3s,border-color .3s;text-align:start}
.woocommerce ul.products li.product:hover{transform:translateY(-5px);box-shadow:var(--sh);border-color:var(--p)}
.woocommerce ul.products li.product a img{margin:0 0 12px;border-radius:20px;aspect-ratio:1/1;object-fit:cover;width:100%;background:var(--surface2)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:var(--f-head);font-size:17px;font-weight:800;color:var(--head);padding:0;line-height:1.7}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ac);font-weight:900;font-size:18px}
.woocommerce .price del{color:var(--muted);font-weight:400;opacity:.8;margin-inline-start:8px}
.woocommerce .price ins{text-decoration:none}
.woocommerce ul.products li.product .button{margin-top:auto;text-align:center}
.woocommerce ul.products li.product .star-rating{margin:0 0 6px}
.woocommerce span.onsale{top:12px;inset-inline-start:12px;inset-inline-end:auto;left:auto;right:auto;min-height:0;min-width:0;line-height:1;padding:8px 14px;border-radius:99px;margin:0;font-weight:800}
.sn-digital{position:absolute;top:12px;inset-inline-end:12px;z-index:2;padding:6px 12px;border-radius:99px;background:var(--chip);color:var(--ac);font-size:13px;font-weight:800;border:1px solid var(--line)}
.sn-empty a{color:var(--ac);font-weight:800;text-decoration:underline}
/* دکمه‌ها */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 26px;border-radius:99px;background:var(--p);color:var(--on-p);font-weight:800;border:1px solid var(--p);font-family:var(--f-btn,var(--f-body));line-height:1.6;transition:transform .2s,box-shadow .2s,background .2s}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce button.button.alt:hover,.woocommerce a.button.alt:hover{background:var(--p-d);border-color:var(--p-d);color:var(--on-p);transform:translateY(-2px);box-shadow:var(--sh)}
.woocommerce button.button:disabled,.woocommerce button.button.disabled,.woocommerce a.button.disabled{opacity:.5;cursor:not-allowed}
.woocommerce a.added_to_cart{display:inline-block;margin-top:8px;color:var(--ac);font-weight:800}
/* صفحه محصول */
.woocommerce div.product{display:grid;gap:28px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{float:none;width:100%;margin:0}
.woocommerce div.product div.images img{border-radius:var(--r)}
.woocommerce div.product .woocommerce-product-gallery__trigger{inset-inline-end:14px;inset-inline-start:auto;left:auto;right:auto}
.woocommerce div.product .flex-control-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:12px 0 0;padding:0;list-style:none}
.woocommerce div.product .flex-control-thumbs li{width:auto;float:none}
.woocommerce div.product .flex-control-thumbs img{border-radius:14px;opacity:.7}.woocommerce div.product .flex-control-thumbs img.flex-active,.woocommerce div.product .flex-control-thumbs img:hover{opacity:1}
.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:20px 0}
.woocommerce div.product form.cart .variations{width:100%;margin:0 0 6px;border:0}
.woocommerce div.product form.cart .variations td,.woocommerce div.product form.cart .variations th{display:block;padding:0 0 8px;border:0;text-align:start;background:none}
.woocommerce div.product form.cart .variations label{font-weight:800;color:var(--head)}
.woocommerce div.product form.cart .reset_variations{display:inline-block;margin-top:6px;color:var(--ac)}
.woocommerce div.product form.cart .single_variation_wrap{width:100%}
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.woocommerce .quantity .qty{width:92px;text-align:center;padding:12px 10px}
.woocommerce div.product .product_meta{display:grid;gap:6px;padding-top:16px;border-top:1px dashed var(--line);color:var(--muted);font-size:15px}
.woocommerce div.product .product_meta a{color:var(--ac)}
.sn-digital-note{padding:12px 16px;border-radius:16px;background:var(--chip);color:var(--head);font-size:15px}
.woocommerce div.product .stock{font-weight:800;color:#16a34a}.woocommerce div.product .out-of-stock{color:#dc2626}
.woocommerce div.product .woocommerce-tabs{grid-column:1/-1}
.woocommerce div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 -1px;padding:0;list-style:none;border:0;overflow:visible}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0;border:1px solid var(--line);border-radius:99px;background:var(--surface);padding:0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{display:block;padding:10px 22px;font-weight:800;color:var(--head)}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:var(--p);border-color:var(--p)}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--on-p)}
.woocommerce div.product .woocommerce-tabs .panel{margin:16px 0 0;padding:24px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.woocommerce table.shop_attributes{border:0;width:100%}.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{padding:12px 8px;border:0;border-bottom:1px solid var(--line);background:none;font-style:normal;text-align:start}
.woocommerce #reviews #comments ol.commentlist{padding:0}.woocommerce #reviews #comments ol.commentlist li img.avatar{border-radius:50%;inset-inline-start:0;left:auto;right:auto;width:48px;padding:0;border:0;background:none}
.woocommerce #reviews #comments ol.commentlist li .comment-text{margin:0;margin-inline-start:64px;border:1px solid var(--line);border-radius:20px;padding:14px 18px}
.woocommerce .related.products,.woocommerce .upsells.products{grid-column:1/-1}
.woocommerce .related.products>h2,.woocommerce .upsells.products>h2{font-size:26px}
.woocommerce .star-rating span::before{color:#f59e0b}
/* جدول‌ها (سبد، سفارش‌ها، دانلودها) */
.woocommerce table.shop_table,.woocommerce table.woocommerce-orders-table,.woocommerce table.woocommerce-table--order-downloads,.woocommerce table.woocommerce-table--order-details{border:1px solid var(--line);border-radius:var(--r);border-collapse:separate;border-spacing:0;overflow:hidden;background:var(--surface);width:100%;margin:0 0 24px}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:16px 14px;border:0;border-bottom:1px solid var(--line);text-align:start;vertical-align:middle}
.woocommerce table.shop_table thead th{background:var(--surface2);color:var(--head);font-weight:800}
.woocommerce table.shop_table tr:last-child td,.woocommerce table.shop_table tr:last-child th{border-bottom:0}
.woocommerce-cart table.cart img{width:72px;border-radius:14px}
.woocommerce a.remove{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--chip);color:#dc2626!important;font-size:20px;line-height:1}
.woocommerce a.remove:hover{background:#dc2626;color:#fff!important}
.woocommerce-cart table.cart td.actions{padding:16px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;flex-wrap:wrap;gap:10px;float:none;margin-bottom:12px}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:auto;flex:1 1 160px;margin:0}
.woocommerce-cart .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{float:none;width:100%}
.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:22px}
.woocommerce .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;font-size:18px;padding:16px;margin:0}
.woocommerce .cart-empty{text-align:center;padding:42px 20px;font-size:18px}
.woocommerce .return-to-shop{text-align:center}
/* تسویه‌حساب */
.woocommerce-checkout .col2-set{display:grid;gap:22px;width:100%;float:none}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%}
.woocommerce-checkout h3{font-size:22px}
.woocommerce-checkout #order_review_heading{margin-top:12px}
.woocommerce-checkout #payment{background:var(--surface);border:1px solid var(--line);border-radius:var(--r)}
.woocommerce-checkout #payment ul.payment_methods{padding:18px;border-bottom:1px solid var(--line);list-style:none;margin:0}
.woocommerce-checkout #payment ul.payment_methods li{margin:0 0 10px}
.woocommerce-checkout #payment div.payment_box{background:var(--chip);color:var(--text);border-radius:16px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:18px}
.woocommerce-checkout #payment #place_order{width:100%;font-size:18px;padding:16px}
.woocommerce-checkout .woocommerce-checkout-review-order-table{margin:0}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{border:1px solid var(--line);border-radius:var(--r);padding:22px;background:var(--surface);margin:0 0 22px}
/* حساب کاربری */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.woocommerce-account .woocommerce>*{min-width:0}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:100%}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:10px;display:flex;gap:8px;overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--surface);scrollbar-width:none}
.woocommerce-MyAccount-navigation ul::-webkit-scrollbar{display:none}
.woocommerce-MyAccount-navigation li{flex:none}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 20px;border-radius:99px;font-weight:700;color:var(--head);white-space:nowrap}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation a:hover{background:var(--p);color:var(--on-p)}
.woocommerce-MyAccount-content{padding:24px;border:1px solid var(--line);border-radius:var(--r);background:var(--surface)}
.woocommerce-account #customer_login{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.woocommerce-account #customer_login .u-column1,.woocommerce-account #customer_login .u-column2{float:none;width:100%}
.woocommerce-account #customer_login h2{font-size:24px}
.woocommerce .woocommerce-customer-details address,.woocommerce .woocommerce-Address address{border:1px solid var(--line);border-radius:20px;padding:16px;font-style:normal;background:var(--surface2)}
.woocommerce .woocommerce-order-details__title,.woocommerce .woocommerce-column__title{font-size:22px}
.woocommerce ul.order_details{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:0;margin:0 0 24px;list-style:none}
.woocommerce ul.order_details li{float:none;margin:0;border:1px solid var(--line);border-radius:20px;padding:14px;background:var(--surface);color:var(--muted)}
.woocommerce ul.order_details li strong{display:block;color:var(--head)}
/* صفحه‌بندی و ابزارک‌ها */
.woocommerce nav.woocommerce-pagination{margin-top:32px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{display:inline-flex;flex-wrap:wrap;gap:8px;border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0;float:none}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;padding:10px 14px;border-radius:14px;border:1px solid var(--line);background:var(--surface);color:var(--head)}
.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--p);color:var(--on-p);border-color:var(--p)}
.woocommerce .woocommerce-product-search{display:flex;gap:8px}
@media(min-width:700px){
.woocommerce ul.products{grid-template-columns:repeat(3,1fr);gap:22px}
.woocommerce-checkout .col2-set{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.woocommerce-account #customer_login{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.woocommerce ul.order_details{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:900px){
.woocommerce div.product{grid-template-columns:1fr 1fr;gap:44px;align-items:start}
.woocommerce-cart .woocommerce{display:grid;grid-template-columns:2fr 1fr;gap:28px;align-items:start}
.woocommerce-cart .woocommerce>.woocommerce-notices-wrapper,.woocommerce-cart .woocommerce>.cart-empty,.woocommerce-cart .woocommerce>.return-to-shop{grid-column:1/-1}
.woocommerce-cart .woocommerce-cart-form{grid-column:1}.woocommerce-cart .cart-collaterals{grid-column:2}
.woocommerce-account .woocommerce{grid-template-columns:240px minmax(0,1fr);align-items:start}
.woocommerce-account .woocommerce-MyAccount-navigation ul{flex-direction:column;overflow:visible}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper,.woocommerce-account #customer_login{grid-column:1/-1}
}
@media(min-width:1000px){.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,1fr)}}
/* جدول‌های واکنش‌گرا روی موبایل */
@media(max-width:768px){
.woocommerce table.shop_table_responsive tr td::before,.woocommerce-page table.shop_table_responsive tr td::before{font-weight:800;color:var(--head)}
.woocommerce-cart table.cart img{width:56px}
.woocommerce .woocommerce-ordering select{width:100%}
}

/* ===== حساب کاربری و جدول‌ها: ریسپانسیو کامل (۱.۳.۱) ===== */
.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content{min-width:0;max-width:100%}
.woocommerce-MyAccount-navigation ul{max-width:100%;-webkit-overflow-scrolling:touch}
.woocommerce-MyAccount-content{overflow-wrap:anywhere;word-break:normal}
.woocommerce-MyAccount-content img,.woocommerce-MyAccount-content iframe{max-width:100%;height:auto}
.woocommerce-MyAccount-content h2,.woocommerce-MyAccount-content h3{font-size:clamp(19px,4.6vw,24px)}
.woocommerce-MyAccount-content .woocommerce-Addresses,.woocommerce-account .addresses{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
.woocommerce-MyAccount-content .woocommerce-Addresses .col-1,.woocommerce-MyAccount-content .woocommerce-Addresses .col-2,.woocommerce-account .u-column1,.woocommerce-account .u-column2{float:none;width:100%;max-width:100%}
.woocommerce-account .woocommerce-address-fields .form-row,.woocommerce-EditAccountForm .form-row,.woocommerce-form-row--first,.woocommerce-form-row--last{float:none;width:100%}
.woocommerce-EditAccountForm fieldset{margin:0 0 18px}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions{display:flex;flex-wrap:wrap;gap:8px}
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-actions .button{padding:9px 18px;font-size:14px}
.woocommerce-MyAccount-content .woocommerce-pagination--without-numbers{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:768px){
.woocommerce-account .sn-page{padding-block:28px}
.woocommerce-MyAccount-content{padding:18px 16px}
.woocommerce form.checkout_coupon,.woocommerce form.login,.woocommerce form.register{padding:18px 16px}
.woocommerce ul.order_details{grid-template-columns:minmax(0,1fr)}
/* جدول‌ها: هر ردیف یک کارت با برچسب ستون */
.woocommerce table.shop_table_responsive{border:0;background:none;overflow:visible}
.woocommerce table.shop_table_responsive thead{display:none}
.woocommerce table.shop_table_responsive tbody,.woocommerce table.shop_table_responsive tfoot{display:block}
.woocommerce table.shop_table_responsive tr{display:block;margin:0 0 14px;border:1px solid var(--line);border-radius:20px;background:var(--surface);overflow:hidden}
.woocommerce table.shop_table_responsive tr td,.woocommerce table.shop_table_responsive tr th{display:flex!important;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:11px 16px;border:0!important;border-bottom:1px dashed var(--line)!important;text-align:start!important;float:none}
.woocommerce table.shop_table_responsive tr td:last-child,.woocommerce table.shop_table_responsive tr th:last-child{border-bottom:0!important}
.woocommerce table.shop_table_responsive tr td::before{content:attr(data-title);float:none!important;flex:none;font-weight:800;color:var(--head)}
.woocommerce table.shop_table_responsive tr td:not([data-title])::before,.woocommerce table.shop_table_responsive tr td[data-title=""]::before,.woocommerce table.shop_table_responsive tr td.product-remove::before,.woocommerce table.shop_table_responsive tr td.actions::before{display:none!important;content:none!important}
.woocommerce table.shop_table_responsive tr td.actions,.woocommerce table.shop_table_responsive tr td.product-remove{display:block!important}
.woocommerce-cart table.cart td.actions .coupon{width:100%}
.woocommerce-cart table.cart td.actions .button{width:100%}
}
@media(max-width:400px){
.woocommerce-MyAccount-navigation a{padding:9px 16px;font-size:14px}
.woocommerce-account .woocommerce{gap:16px}
}

/* ۱.۶ */
.sn-supportnote{margin:14px 0 0;padding:12px 16px;border-radius:16px;background:var(--chip);color:var(--muted);font-size:14px}.sn-supportnote a{color:var(--ac)}
.sn-woo .sn-crumbs{margin-bottom:18px}
