/* طرح رویا | سبد خرید، تسویه حساب و رسید سفارش (ووکامرس) */
body.trwd-shop{background:#F4F4F5}
body.trwd-shop #content>.ast-container,body.trwd-shop .site-content>.ast-container{max-width:none;padding:0;display:block}
body.trwd-shop #primary{margin:0;padding:0;width:100%}
body.trwd-shop .elementor-location-header::before{transform:none;background:rgba(14,14,16,.8)}
.trs{--k-ink:#18181B;--k-mu:#71717A;--k-dim:#A1A1AA;--k-ln:#E4E4E7;--k-soft:#F4F4F5;--k-ok:#16A34A;--k-bad:#DC2626;--k-r:22px;--k-e:cubic-bezier(.2,.75,.2,1);background:#F4F4F5;color:#18181B;font-size:15px;line-height:1.9}
.trs svg{flex:none}

/* ---------- هیرو ---------- */
.trs .trs-hero{position:relative;overflow:clip;isolation:isolate;background:#0A0A0B;color:#fff;padding:calc(max(var(--hdr,105px),96px) + 34px) 0 52px}
.trs .trs-hero-grid{position:absolute;inset:0;z-index:-2;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='152' viewBox='0 0 88 152' fill='none' stroke-width='1'%3E%3Cpath d='M26.4 0.0L61.6 0.0M13.2 22.8L30.8 53.2M74.8 22.8L57.2 53.2M-17.6 76.0L17.6 76.0M70.4 76.0L105.6 76.0M57.2 98.8L74.8 129.2M30.8 98.8L13.2 129.2M26.4 152.0L61.6 152.0' stroke='rgba(255,255,255,.04)'/%3E%3Cpath d='M26.4 0.0 13.2 22.9 -13.2 22.9 -26.4 0.0 -13.2 -22.9 13.2 -22.9ZM114.4 0.0 101.2 22.9 74.8 22.9 61.6 0.0 74.8 -22.9 101.2 -22.9ZM70.4 76.0 57.2 98.9 30.8 98.9 17.6 76.0 30.8 53.1 57.2 53.1ZM26.4 152.0 13.2 174.9 -13.2 174.9 -26.4 152.0 -13.2 129.1 13.2 129.1ZM114.4 152.0 101.2 174.9 74.8 174.9 61.6 152.0 74.8 129.1 101.2 129.1Z' stroke='rgba(255,255,255,.06)'/%3E%3C/svg%3E") 0 0/70px 121px;-webkit-mask:radial-gradient(70% 90% at 30% 40%,#000,transparent 75%);mask:radial-gradient(70% 90% at 30% 40%,#000,transparent 75%);animation:trsGrid 18s linear infinite}
@keyframes trsGrid{to{background-position:0 121px}}
.trs .trs-hero-glow{position:absolute;z-index:-1;width:760px;height:760px;left:-160px;top:-340px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.1),transparent);pointer-events:none;animation:trsGlow 12s ease-in-out infinite alternate}
@keyframes trsGlow{to{transform:translate3d(120px,60px,0) scale(1.1)}}
.trs .trs-hero::after{content:"";position:absolute;inset:auto 0 0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent)}
.trs .trs-hero-in{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:28px 40px;align-items:end}
.trs .trs-hero-tx{grid-row:1;grid-column:1;animation:trsUp .8s var(--k-e) both}
.trs .trs-kick{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);font-size:13px;font-weight:700;color:#E4E4E7}
.trs .trs-kick i{width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 0 rgba(255,255,255,.6);animation:trsPing 2s infinite}
@keyframes trsPing{70%{box-shadow:0 0 0 8px rgba(255,255,255,0)}100%{box-shadow:0 0 0 0 rgba(255,255,255,0)}}
.trs .trs-hero h1{margin-top:16px;font-size:clamp(28px,4vw,46px);line-height:1.25;font-weight:900;background:linear-gradient(100deg,#fff 30%,#9A9AA2);-webkit-background-clip:text;background-clip:text;color:transparent}
.trs .trs-hero p{margin-top:10px;max-width:560px;color:#A1A1AA;font-size:15.5px}
.trs .trs-hero-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;font-size:14px;font-weight:700;color:#fff;border-bottom:1px dashed rgba(255,255,255,.35);padding-bottom:2px;transition:border-color .3s}
.trs .trs-hero-link:hover{border-bottom-color:#fff}
.trs .trs-hero-link svg{width:16px;height:16px}

/* مراحل */
.trs .trs-steps{grid-row:1;grid-column:2;display:flex;align-items:center;list-style:none;padding:8px;border-radius:999px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.trs .trs-steps li{display:flex;align-items:center;animation:trsUp .7s calc(var(--i)*.1s) var(--k-e) both}
.trs .trs-steps li+li::before{content:"";width:30px;height:2px;margin:0 4px;border-radius:2px;background:rgba(255,255,255,.14)}
.trs .trs-steps li.is-done+li::before{background:linear-gradient(270deg,#fff,rgba(255,255,255,.4))}
.trs .trs-st{display:flex;align-items:center;gap:10px;padding:5px;padding-inline-end:16px;border-radius:999px;color:#71717A;transition:background .3s}
.trs a.trs-st:hover{background:rgba(255,255,255,.06)}
.trs .trs-st-ic{position:relative;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1.5px solid rgba(255,255,255,.16)}
.trs .trs-st-ic svg{grid-area:1/1;width:18px;height:18px;transition:opacity .4s,transform .5s var(--k-e)}
.trs .trs-st-ic svg+svg{opacity:0;transform:scale(.4)}
.trs .trs-st-t{display:flex;flex-direction:column;line-height:1.35;font-size:14px;font-weight:800;white-space:nowrap}
.trs .trs-st-t small{font-size:11px;font-weight:500;color:#71717A}
.trs .trs-steps .is-done .trs-st{color:#D4D4D8}
.trs .trs-steps .is-done .trs-st-ic{background:#fff;border-color:#fff;color:#0A0A0B}
.trs .trs-steps .is-done .trs-st-ic svg{opacity:0;transform:scale(.4)}
.trs .trs-steps .is-done .trs-st-ic svg+svg{opacity:1;transform:none}
.trs .trs-steps .is-on .trs-st{background:rgba(255,255,255,.08);color:#fff}
.trs .trs-steps .is-on .trs-st-ic{border-color:#fff;color:#fff;animation:trsRing 2.4s infinite}
@keyframes trsRing{0%{box-shadow:0 0 0 0 rgba(255,255,255,.35)}70%,100%{box-shadow:0 0 0 10px rgba(255,255,255,0)}}
@keyframes trsUp{from{opacity:0;transform:translate3d(0,14px,0)}}

/* ---------- بدنه ---------- */
.trs .trs-body{padding:36px 0 64px}
.trs .trs-wc{animation:trsUp .7s .1s var(--k-e) both}
.trs .woocommerce-notices-wrapper:empty{display:none}
.trs a{transition:color .25s}
.trs h2,.trs h3{color:var(--k-ink)}
.trs .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.trs wc-order-attribution-inputs{display:none}
.trs .clear{display:none}
.trs .amount{white-space:nowrap}
.trs .woocommerce-Price-currencySymbol{font-size:.8em;margin-inline-start:3px;opacity:.75}

/* دکمه‌ها */
.trs .trs-btn,.trs .button,.trs button.button,.trs a.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:10px 22px;border-radius:999px;border:0;background:#18181B;color:#fff;font:800 14px/1.4 Vazir,Tahoma,sans-serif;cursor:pointer;text-decoration:none;white-space:nowrap;transition:transform .3s var(--k-e),box-shadow .3s,background .3s,color .3s,opacity .3s}
.trs .trs-btn:hover,.trs .button:hover{background:#000;color:#fff;box-shadow:0 12px 28px -12px rgba(0,0,0,.55);transform:translateY(-1px)}
.trs .trs-btn:active,.trs .button:active{transform:scale(.97)}
.trs .trs-btn svg{width:17px;height:17px}
.trs .trs-btn-g,.trs .button[name=update_cart],.trs .order-again .button{background:#fff;color:#18181B;box-shadow:inset 0 0 0 1.5px var(--k-ln)}
.trs .trs-btn-g:hover,.trs .button[name=update_cart]:hover:not(:disabled),.trs .order-again .button:hover{background:#fff;color:#000;box-shadow:inset 0 0 0 1.5px #18181B}
.trs .button:disabled,.trs .button[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:inset 0 0 0 1.5px var(--k-ln)}

/* فیلدها */
.trs input.input-text,.trs input[type=text],.trs input[type=tel],.trs input[type=email],.trs input[type=time],.trs input[type=number],.trs input[type=password],.trs textarea,.trs select{width:100%;height:50px;padding:0 16px;border:1.5px solid var(--k-ln);border-radius:14px;background:#FAFAFA;color:var(--k-ink);font:500 15px/1.5 Vazir,Tahoma,sans-serif;box-shadow:none;outline:0;transition:border-color .25s,background .25s,box-shadow .25s}
.trs textarea{height:auto;min-height:110px;padding:12px 16px}
.trs input:focus,.trs textarea:focus,.trs select:focus{border-color:#18181B;background:#fff;box-shadow:0 0 0 4px rgba(24,24,27,.07)}
.trs input[type=tel],.trs input[type=email],.trs input[type=time]{direction:ltr;text-align:right}
.trs .form-row{margin:0;padding:0}
.trs .form-row label{display:block;margin-bottom:8px;font-size:13.5px;font-weight:700;line-height:1.7;color:#3F3F46}
.trs .required{color:var(--k-bad);border:0;text-decoration:none}
.trs .woocommerce-invalid input.input-text,.trs .woocommerce-invalid input{border-color:#FCA5A5;background:#FEF2F2}
.trs .woocommerce-validated input.input-text{border-color:#BBF7D0}

/* پیام‌ها */
.trs .woocommerce-error,.trs .woocommerce-info,.trs .woocommerce-message{list-style:none;margin:0 0 18px;padding:14px 18px;border-radius:16px;background:#fff;border:1px solid var(--k-ln);border-inline-start:4px solid #18181B;font-size:14px;line-height:1.9;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px}
.trs .woocommerce-error{border-inline-start-color:var(--k-bad);background:#FEF2F2;border-color:#FECACA;display:block}
.trs .woocommerce-error li{list-style:none;margin:0}
.trs .woocommerce-message{border-inline-start-color:var(--k-ok)}
.trs .woocommerce-message .button,.trs .woocommerce-info .button{min-height:36px;padding:6px 16px;font-size:13px;margin-inline-start:auto;order:2}
.trs .woocommerce-info::before,.trs .woocommerce-message::before,.trs .woocommerce-error::before{display:none}
.trs .woocommerce-NoticeGroup{grid-column:1/-1}

/* ---------- سبد خرید ---------- */
.trs.trs-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.trs.trs-cart .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.trs.trs-cart .woocommerce-cart-form{background:#fff;border:1px solid var(--k-ln);border-radius:var(--k-r);padding:6px 22px 10px}
.trs table,.trs th,.trs td{border:0}
.trs table.shop_table{width:100%;border-collapse:collapse;border:0;margin:0;border-radius:0}
.trs table.cart{position:static;z-index:auto;top:auto;left:auto;width:100%;height:auto;display:table;place-items:normal;border-radius:0;background:none;color:inherit;box-shadow:none;animation:none}
.trs table.cart thead th{padding:14px 8px;border:0;border-bottom:1px solid var(--k-ln);font-size:12.5px;font-weight:700;color:var(--k-mu);text-align:right;background:none}
.trs table.cart td{padding:18px 8px;border:0;border-bottom:1px solid var(--k-ln);vertical-align:middle;background:none}
.trs table.cart tr:last-child td{border-bottom:0}
.trs table.cart .product-remove{width:44px}
.trs table.cart .product-thumbnail{width:84px}
.trs table.cart .product-thumbnail img{width:64px;height:64px;max-width:none;border-radius:16px;object-fit:cover;background:var(--k-soft);box-shadow:inset 0 0 0 1px var(--k-ln)}
.trs table.cart .product-name a{font-weight:800;color:var(--k-ink);line-height:1.8}
.trs table.cart .product-name a:hover{color:#000;text-decoration:underline;text-underline-offset:4px}
.trs table.cart .product-price,.trs table.cart .product-subtotal{font-weight:700;white-space:nowrap}
.trs table.cart .product-subtotal{font-weight:900}
.trs a.remove{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--k-soft);color:var(--k-mu)!important;font-size:20px;line-height:1;text-decoration:none;transition:background .25s,color .25s,transform .3s var(--k-e)}
.trs a.remove:hover{background:#FEE2E2;color:var(--k-bad)!important;transform:rotate(90deg)}
.trs a.remove svg{width:14px;height:14px;fill:currentColor}
.trs .quantity{display:inline-flex}
.trs .quantity .qty{width:74px;height:44px;padding:0 6px;text-align:center;font-weight:800;-moz-appearance:textfield}
.trs table.cart td.actions{padding:16px 0 8px}
.trs td.actions .coupon{display:inline-flex;gap:8px;align-items:center;flex-wrap:wrap}
.trs td.actions .coupon .input-text{width:190px;height:46px}
.trs td.actions .button[name=update_cart]{float:left}
.trs.trs-cart .cart-collaterals{position:sticky;top:calc(var(--hdr0,80px) + 18px)}
.trs .cart_totals{padding:24px;border-radius:var(--k-r);background:#0A0A0B;color:#E4E4E7;box-shadow:0 30px 60px -34px rgba(0,0,0,.55);position:relative;overflow:hidden;isolation:isolate}
.trs .cart_totals::before{content:"";position:absolute;z-index:-1;width:340px;height:340px;left:-120px;top:-170px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,255,255,.12),transparent)}
.trs .cart_totals h2{font-size:18px;font-weight:900;color:#fff;margin-bottom:10px}
.trs .cart_totals table th,.trs .cart_totals table td{padding:12px 0;border:0;border-bottom:1px dashed rgba(255,255,255,.12);background:none;font-size:14px;vertical-align:middle}
.trs .cart_totals table th{font-weight:500;color:#A1A1AA;text-align:right}
.trs .cart_totals table td{text-align:left;color:#fff;font-weight:700}
.trs .cart_totals table td::before{display:none}
.trs .cart_totals .order-total th,.trs .cart_totals .order-total td{border-bottom:0;padding-top:16px;color:#fff;font-weight:900}
.trs .cart_totals .order-total .amount{font-size:22px}
.trs .wc-proceed-to-checkout{margin-top:14px;padding:0}
.trs .wc-proceed-to-checkout a.checkout-button{display:flex;width:100%;min-height:54px;margin:0;font-size:16px;font-weight:900;background:#fff;color:#0A0A0B;position:relative;overflow:hidden;isolation:isolate}
.trs .wc-proceed-to-checkout a.checkout-button::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 30%,rgba(0,0,0,.08) 50%,transparent 70%);transform:translateX(120%);transition:transform .8s var(--k-e)}
.trs .wc-proceed-to-checkout a.checkout-button:hover{background:#fff;color:#000;box-shadow:0 16px 36px -14px rgba(255,255,255,.4)}
.trs .wc-proceed-to-checkout a.checkout-button:hover::after{transform:translateX(-120%)}

/* سبد خالی */
.trs.trs-cart.is-empty .woocommerce{display:flex;flex-direction:column;align-items:center;text-align:center;padding:54px 22px;background:#fff;border:1px solid var(--k-ln);border-radius:26px;max-width:620px;margin-inline:auto}
.trs.trs-cart.is-empty .woocommerce-info{display:block;border:0;background:none;padding:0;margin:0;font-size:17px;font-weight:800}
.trs.trs-cart.is-empty .wc-empty-cart-message::before{content:"";display:block;width:84px;height:84px;margin:0 auto 18px;border-radius:50%;background:#F4F4F5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318181B' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12H6z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E") center/36px no-repeat;animation:trsBob 3s ease-in-out infinite}
@keyframes trsBob{50%{transform:translateY(-6px)}}
.trs.trs-cart.is-empty .return-to-shop{margin-top:22px}

/* ---------- تسویه حساب ---------- */
.trs .woocommerce-form-coupon-toggle .woocommerce-info{border-inline-start-color:#18181B;margin-bottom:12px}
.trs .woocommerce-form-coupon-toggle .showcoupon{font-weight:800;color:var(--k-ink);text-decoration:underline;text-underline-offset:4px}
.trs form.checkout_coupon{margin:0 0 18px;padding:16px;border-radius:18px;background:#fff;border:1px solid var(--k-ln);gap:10px;align-items:center}
.trs form.checkout_coupon:not([style*="none"]){display:flex!important}
.trs form.checkout_coupon>p:not(.form-row){display:none}
.trs form.checkout_coupon .form-row-first{flex:1}
.trs form.checkout_coupon .button{min-height:50px}
.trs.trs-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 400px;grid-template-rows:auto auto auto auto auto 1fr;column-gap:24px;align-items:start}
.trs.trs-checkout form.checkout>*{grid-column:1}
.trs.trs-checkout form.checkout>#customer_details{grid-row:1/span 6}
.trs.trs-checkout form.checkout>#order_review_heading{grid-column:2;grid-row:1}
.trs.trs-checkout form.checkout>#order_review{grid-column:2;grid-row:2/span 5}
.trs.trs-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1;grid-row:auto}
.trs #customer_details .col-1,.trs #customer_details .col-2{float:none;width:auto;max-width:none;padding:0}
.trs #customer_details .col-2:not(:has(textarea,select,input:not([type=hidden]))){display:none}
.trs #customer_details .col-2{margin-top:18px}
.trs .woocommerce-shipping-fields:not(:has(textarea,select,input:not([type=hidden]))),.trs .woocommerce-additional-fields:not(:has(textarea,select,input:not([type=hidden]))){display:none}
.trs .woocommerce-billing-fields,.trs .woocommerce-additional-fields,.trs .woocommerce-shipping-fields:not(:empty){padding:24px;border-radius:var(--k-r);background:#fff;border:1px solid var(--k-ln)}
.trs .woocommerce-billing-fields>h3,.trs .woocommerce-additional-fields>h3{display:flex;align-items:center;gap:10px;margin:0 0 18px;font-size:18px;font-weight:900}
.trs .woocommerce-billing-fields>h3::before{content:"";width:10px;height:10px;border-radius:3px;background:#18181B;transform:rotate(45deg)}
.trs .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.trs .woocommerce-billing-fields__field-wrapper>*{grid-column:1/-1}
.trs .woocommerce-billing-fields__field-wrapper>#billingtime_field,.trs .woocommerce-billing-fields__field-wrapper>#billing_phone_field{grid-column:auto}
.trs .thwcfd-field-heading h3{font-size:15px;font-weight:800;margin:4px 0 0}

/* کارت بانکی */
.trs .trs-bank{display:grid!important;grid-template-columns:minmax(0,350px) minmax(0,1fr);gap:16px 22px;align-items:center;padding:0 0 20px!important;margin-bottom:4px!important;border-bottom:1px dashed var(--k-ln)}
.trs .trs-card{position:relative;overflow:hidden;isolation:isolate;aspect-ratio:1.586;display:flex;flex-direction:column;justify-content:space-between;padding:20px 22px;border-radius:20px;color:#fff;background:radial-gradient(120% 140% at 100% 0%,#3F3F46 0%,#18181B 48%,#050506 100%);box-shadow:0 30px 50px -28px rgba(0,0,0,.65),inset 0 0 0 1px rgba(255,255,255,.08);animation:trsCard .9s var(--k-e) both}
@keyframes trsCard{from{opacity:0;transform:perspective(900px) rotateX(18deg) translateY(16px)}}
.trs .trs-card::before{content:"";position:absolute;z-index:-1;width:260px;height:260px;left:-90px;bottom:-150px;border-radius:50%;border:40px solid rgba(255,255,255,.035)}
.trs .trs-card::after{content:"";position:absolute;z-index:-1;width:180px;height:180px;left:-30px;bottom:-110px;border-radius:50%;border:26px solid rgba(255,255,255,.03)}
.trs .trs-card-sh{position:absolute;inset:0;z-index:-1;background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.13) 50%,transparent 65%);transform:translateX(110%);animation:trsShine 6s 1.2s ease-in-out infinite}
@keyframes trsShine{0%{transform:translateX(110%)}30%,100%{transform:translateX(-110%)}}
.trs .trs-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.trs .trs-card-t{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:#D4D4D8;line-height:1.5}
.trs .trs-card-t svg{width:17px;height:17px}
.trs .trs-chip{display:grid;grid-template-rows:repeat(3,1fr);width:40px;height:30px;padding:6px 0;border-radius:7px;background:linear-gradient(135deg,#F4F4F5,#A1A1AA 60%,#D4D4D8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.15)}
.trs .trs-chip i{border-top:1px solid rgba(0,0,0,.22)}
.trs .trs-card-no{direction:ltr;unicode-bidi:isolate;text-align:left;white-space:pre;font-size:clamp(19px,2.3vw,24px);font-weight:900;letter-spacing:.05em;text-shadow:0 2px 12px rgba(0,0,0,.45)}
.trs .trs-card-b{display:flex;align-items:flex-end;justify-content:space-between;gap:12px}
.trs .trs-card-b small{display:block;font-size:10.5px;color:#A1A1AA;line-height:1.6}
.trs .trs-card-b b{font-size:14px;font-weight:800}
.trs .trs-card-am{text-align:left}
.trs .trs-card-am .woocommerce-Price-currencySymbol{opacity:.6}
.trs .trs-bank-side{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.trs .trs-bank-side p{display:flex;gap:8px;font-size:13.5px;line-height:2;color:var(--k-mu)}
.trs .trs-bank-side p svg{width:18px;height:18px;margin-top:4px}
.trs .trs-copy{display:inline-flex;align-items:center;gap:8px;min-height:46px;padding:10px 20px;border-radius:999px;border:0;background:#18181B;color:#fff;font:800 14px/1.4 Vazir,Tahoma,sans-serif;cursor:pointer;transition:transform .3s var(--k-e),background .3s,box-shadow .3s}
.trs .trs-copy:hover{background:#000;box-shadow:0 12px 26px -12px rgba(0,0,0,.5)}
.trs .trs-copy:active{transform:scale(.96)}
.trs .trs-copy svg{width:17px;height:17px}
.trs .trs-copy.is-ok{background:var(--k-ok)}

/* خلاصه‌ی سفارش (کارت تیره) */
.trs.trs-checkout #order_review_heading{margin:0;padding:24px 24px 4px;border-radius:var(--k-r) var(--k-r) 0 0;background:#0A0A0B;color:#fff;font-size:18px;font-weight:900}
.trs.trs-checkout #order_review{position:relative;padding:4px 24px 24px;border-radius:0 0 var(--k-r) var(--k-r);background:#0A0A0B;color:#E4E4E7;box-shadow:0 34px 60px -36px rgba(0,0,0,.6)}
.trs .woocommerce-checkout-review-order-table th,.trs .woocommerce-checkout-review-order-table td{padding:12px 0;border:0;border-bottom:1px dashed rgba(255,255,255,.1);background:none;font-size:14px;vertical-align:middle;color:#E4E4E7}
.trs .woocommerce-checkout-review-order-table thead th{padding-top:4px;font-size:12px;font-weight:700;color:#71717A;text-align:right}
.trs .woocommerce-checkout-review-order-table thead th.product-total,.trs .woocommerce-checkout-review-order-table td.product-total,.trs .woocommerce-checkout-review-order-table tfoot td{text-align:left}
.trs .woocommerce-checkout-review-order-table td.product-name{font-weight:700;line-height:1.8;padding-inline-end:12px}
.trs .woocommerce-checkout-review-order-table .product-quantity{font-weight:500;color:#A1A1AA}
.trs .woocommerce-checkout-review-order-table tfoot th{font-weight:500;color:#A1A1AA;text-align:right}
.trs .woocommerce-checkout-review-order-table tfoot td{font-weight:700;color:#fff}
.trs .woocommerce-checkout-review-order-table .order-total th,.trs .woocommerce-checkout-review-order-table .order-total td{border-bottom:0;padding-top:16px;color:#fff;font-weight:900}
.trs .woocommerce-checkout-review-order-table .order-total .amount{font-size:22px}
.trs #payment{margin-top:14px;background:none;border-radius:0}
.trs #payment ul.payment_methods{list-style:none;display:grid;gap:10px;margin:0 0 16px;padding:0;border:0}
.trs #payment li.wc_payment_method{margin:0;padding:14px 16px;border-radius:16px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.035);line-height:1.8}
.trs #payment li.wc_payment_method>input{accent-color:#fff;width:17px;height:17px;vertical-align:middle;margin:0;margin-inline-end:8px}
.trs #payment li.wc_payment_method>label{display:inline;font-weight:800;color:#fff;cursor:pointer}
.trs #payment .payment_box{margin:10px 0 0;padding:0;background:none;color:#A1A1AA;font-size:13px;line-height:2.1}
.trs #payment .payment_box::before{display:none}
.trs #payment .payment_box p{margin:0}
.trs #payment .place-order{margin:0;padding:0}
.trs #payment .woocommerce-terms-and-conditions-wrapper{font-size:12.5px;color:#A1A1AA;margin-bottom:10px}
.trs #payment .woocommerce-privacy-policy-text:empty{display:none}
.trs #place_order{display:flex;width:100%;min-height:56px;border-radius:999px;background:#fff;color:#0A0A0B;font-size:16px;font-weight:900;float:none}
.trs #place_order:hover{background:#fff;color:#000;box-shadow:0 16px 36px -14px rgba(255,255,255,.45)}
.trs .blockUI.blockOverlay{border-radius:inherit;background:rgba(10,10,11,.45)!important;opacity:1!important}
.trs .woocommerce-billing-fields .blockUI.blockOverlay{background:rgba(255,255,255,.6)!important}

/* ورود */
.trs .trs-login{display:flex;align-items:center;gap:20px;max-width:820px;margin-inline:auto;padding:28px;border-radius:26px;background:#fff;border:1px solid var(--k-ln);animation:trsUp .7s var(--k-e) both}
.trs .trs-login-ic{display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:20px;background:#0A0A0B;color:#fff}
.trs .trs-login-ic svg{width:28px;height:28px}
.trs .trs-login h2{font-size:19px;font-weight:900}
.trs .trs-login p{margin-top:4px;color:var(--k-mu);font-size:14px}
.trs .trs-login .trs-btn{margin-inline-start:auto;min-height:52px;padding:12px 26px}

/* اعتماد */
.trs .trs-trust{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:24px}
.trs .trs-trust li{display:flex;align-items:center;gap:12px;padding:14px 16px;border-radius:18px;background:#fff;border:1px solid var(--k-ln);font-size:12.5px;color:var(--k-mu);line-height:1.7}
.trs .trs-trust svg{width:38px;height:38px;padding:9px;border-radius:12px;background:var(--k-soft);color:#18181B}
.trs .trs-trust b{display:block;font-size:14px;color:var(--k-ink)}

/* ---------- رسید ---------- */
.trs .trs-rc{position:relative;overflow:hidden;margin-bottom:22px;padding:28px;border-radius:26px;background:#fff;border:1px solid var(--k-ln);animation:trsUp .7s var(--k-e) both}
.trs .trs-rc::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,#18181B,#71717A,#18181B);background-size:200% 100%;animation:trsBar 4s linear infinite}
@keyframes trsBar{to{background-position:-200% 0}}
.trs .trs-rc-h{display:flex;align-items:center;gap:16px}
.trs .trs-rc-ic{display:grid;place-items:center;flex:none;width:60px;height:60px;border-radius:50%;background:#0A0A0B;color:#fff;box-shadow:0 0 0 8px rgba(10,10,11,.06);animation:trsPop .7s .2s var(--k-e) both}
.trs .trs-rc-ic svg{width:28px;height:28px;stroke-width:2.4;stroke-dasharray:30;stroke-dashoffset:30;animation:trsDraw .6s .6s ease-out forwards}
@keyframes trsPop{from{transform:scale(.4);opacity:0}}
@keyframes trsDraw{to{stroke-dashoffset:0}}
.trs .trs-rc.is-bad .trs-rc-ic{background:var(--k-bad);box-shadow:0 0 0 8px rgba(220,38,38,.1)}
.trs .trs-rc h2{font-size:clamp(18px,2.2vw,22px);font-weight:900}
.trs .trs-rc-h p{margin-top:4px;font-size:14px;color:var(--k-mu)}
.trs .trs-pill{display:inline-block;padding:1px 12px;border-radius:999px;background:var(--k-soft);color:var(--k-ink);font-size:13px;font-weight:800}
.trs .trs-rc-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0}
.trs .trs-rc-g div{padding:14px 16px;border-radius:16px;background:var(--k-soft)}
.trs .trs-rc-g dt{font-size:12px;color:var(--k-mu)}
.trs .trs-rc-g dd{margin:2px 0 0;font-size:15px;font-weight:800}
.trs .trs-rc-g .amt dd{font-size:18px;font-weight:900}
.trs .trs-rc-a{display:flex;flex-wrap:wrap;gap:10px}
.trs .trs-wc.has-rc .woocommerce-thankyou-order-received,.trs .trs-wc.has-rc .woocommerce-order-overview{display:none}
.trs .woocommerce-order{display:grid;gap:20px}
.trs .woocommerce-order>p{padding:16px 20px;border-radius:18px;background:#fff;border:1px solid var(--k-ln);border-inline-start:4px solid #18181B;font-size:14px;color:#3F3F46}
.trs .woocommerce-order>p.woocommerce-notice--error{border-inline-start-color:var(--k-bad);background:#FEF2F2}
.trs .woocommerce-order>p.order-actions,.trs .woocommerce-order>p:has(>.button){display:flex;flex-wrap:wrap;gap:10px;border:0;padding:0;background:none}
.trs .woocommerce-order-overview{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;padding:0;margin:0}
.trs .woocommerce-order-overview li{padding:14px 16px;border-radius:16px;background:#fff;border:1px solid var(--k-ln);font-size:12.5px;color:var(--k-mu)}
.trs .woocommerce-order-overview li strong{display:block;font-size:15px;color:var(--k-ink)}
.trs .woocommerce-order section{padding:24px;border-radius:var(--k-r);background:#fff;border:1px solid var(--k-ln)}
.trs .woocommerce-order section h2{margin-bottom:14px;font-size:17px;font-weight:900}
.trs .woocommerce-order table.shop_table th,.trs .woocommerce-order table.shop_table td{padding:12px 6px;border:0;border-bottom:1px solid var(--k-ln);background:none;font-size:14px;text-align:right;vertical-align:middle}
.trs .woocommerce-order table.shop_table thead th{font-size:12.5px;color:var(--k-mu);font-weight:700}
.trs .woocommerce-order table.shop_table .product-total,.trs .woocommerce-order table.shop_table tfoot td{text-align:left}
.trs .woocommerce-order table.shop_table tfoot th{font-weight:500;color:var(--k-mu)}
.trs .woocommerce-order table.shop_table tfoot tr:last-child th,.trs .woocommerce-order table.shop_table tfoot tr:last-child td{border-bottom:0}
.trs .woocommerce-order table.shop_table .product-name a{font-weight:800;color:var(--k-ink)}
.trs .woocommerce-order table.shop_table .product-quantity{color:var(--k-mu);font-weight:500}
.trs .woocommerce-order table.custom-fields{margin-top:14px;border-radius:16px;background:var(--k-soft)}
.trs .woocommerce-order table.custom-fields th,.trs .woocommerce-order table.custom-fields td{padding:12px 16px;border-bottom:1px solid #fff}
.trs .woocommerce-order table.custom-fields td{text-align:left;font-weight:800;direction:ltr}
.trs .woocommerce-order .order-again{margin-top:14px}
.trs .woocommerce-order .download-file .button{min-height:36px;padding:6px 14px;font-size:13px}
.trs .woocommerce-customer-details address{font-style:normal;padding:14px 16px;border-radius:16px;background:var(--k-soft);border:0;line-height:2;color:#3F3F46}
.trs .woocommerce-customer-details address p{display:flex;gap:6px;margin:0}
.trs .woocommerce-customer-details--phone,.trs .woocommerce-customer-details--email{direction:ltr;justify-content:flex-end}
.trs .woocommerce-customer-details--phone::before,.trs .woocommerce-customer-details--email::before{display:none}
.trs .woocommerce-bacs-bank-details h2{font-size:17px;font-weight:900;margin-bottom:10px}
.trs ul.wc-bacs-bank-details{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;padding:0}
.trs ul.wc-bacs-bank-details li{padding:12px 14px;border-radius:14px;background:var(--k-soft);font-size:12.5px;color:var(--k-mu)}
.trs ul.wc-bacs-bank-details li strong{display:block;font-size:14px;color:var(--k-ink)}

/* ---------- راهنمای پرداخت ---------- */
.trs .trs-guide{padding:70px 0 80px;background:#fff;border-top:1px solid var(--k-ln)}
.trs .trs-sh{text-align:center;max-width:620px;margin:0 auto 34px}
.trs .trs-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--k-mu)}
.trs .trs-eyebrow::before,.trs .trs-eyebrow::after{content:"";width:18px;height:1.5px;background:currentColor;opacity:.5}
.trs .trs-sh h2{margin-top:8px;font-size:clamp(24px,3vw,34px);font-weight:900}
.trs .trs-sh p{margin-top:6px;color:var(--k-mu)}
.trs .trs-gl{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.trs .trs-gl li{display:flex;flex-direction:column;overflow:hidden;border-radius:var(--k-r);background:var(--k-soft);border:1px solid var(--k-ln);transition:transform .4s var(--k-e),box-shadow .4s}
.trs .trs-gl li:hover{transform:translateY(-4px);box-shadow:0 26px 44px -30px rgba(0,0,0,.35)}
.trs .trs-gl-img{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;background:#E4E4E7;cursor:zoom-in;padding:0;border:0;border-radius:0}
.trs .trs-gl-img img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .6s var(--k-e)}
.trs .trs-gl li:hover .trs-gl-img img{transform:scale(1.04)}
.trs .trs-gl-tx{position:relative;padding:22px 20px 20px}
.trs .trs-gl-n{position:absolute;top:-20px;right:18px;display:grid;place-items:center;width:40px;height:40px;border-radius:14px;background:#0A0A0B;color:#fff;font-size:16px;font-weight:900;box-shadow:0 0 0 4px var(--k-soft)}
.trs .trs-gl h3{margin-top:10px;font-size:16px;font-weight:900}
.trs .trs-gl p{margin-top:4px;font-size:13.5px;line-height:2;color:#52525B}

/* بزرگ‌نمایی و پیام */
.trs .trs-lb{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;padding:20px;background:rgba(10,10,11,.88);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);animation:trsFade .3s}
.trs .trs-lb[hidden]{display:none}
.trs .trs-lb img{max-width:min(94vw,1100px);max-height:86vh;border-radius:16px;box-shadow:0 40px 80px -30px #000;animation:trsZoom .4s var(--k-e)}
.trs .trs-lb-x{position:absolute;top:18px;left:18px;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.1)!important;color:#fff!important}
.trs .trs-lb-x svg{width:20px;height:20px}
@keyframes trsFade{from{opacity:0}}
@keyframes trsZoom{from{transform:scale(.92);opacity:0}}
.trs .trs-toast{position:fixed;left:50%;bottom:28px;z-index:99999;transform:translate(-50%,30px);opacity:0;pointer-events:none;padding:12px 20px;border-radius:14px;background:#0A0A0B;color:#fff;font:700 14px/1.6 Vazir,Tahoma,sans-serif;box-shadow:0 20px 40px -16px rgba(0,0,0,.6);border:1px solid rgba(255,255,255,.14);transition:transform .45s var(--k-e),opacity .45s}
.trs .trs-toast.is-on{transform:translate(-50%,0);opacity:1}

/* ---------- واکنش‌گرا ---------- */
@media (max-width:1024px){
	.trs .trs-hero-in{grid-template-columns:minmax(0,1fr)}
	.trs .trs-steps{grid-row:1;grid-column:1;justify-self:start}
	.trs .trs-hero-tx{grid-row:2}
	.trs.trs-cart .woocommerce,.trs.trs-checkout form.checkout{grid-template-columns:minmax(0,1fr);grid-template-rows:none}
	.trs.trs-checkout form.checkout>*{grid-column:1!important;grid-row:auto!important}
	.trs.trs-checkout form.checkout>#order_review_heading{margin-top:22px}
	.trs.trs-cart .cart-collaterals{position:static}
	.trs .trs-rc-g{grid-template-columns:repeat(2,minmax(0,1fr))}
	.trs .trs-gl{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
	.trs{font-size:14.5px}
	.trs .trs-hero{padding:calc(max(var(--hdr,80px),70px) + 22px) 0 30px}
	.trs .trs-hero-in{gap:18px}
	.trs .trs-hero h1{margin-top:12px}
	.trs .trs-hero p{font-size:14px}
	.trs .trs-steps{justify-self:stretch;padding:6px}
	.trs .trs-steps li{flex:1 1 auto;min-width:0}
	.trs .trs-steps li:first-child{flex:0 1 auto}
	.trs .trs-steps li+li::before{flex:1;min-width:10px;width:auto}
	.trs .trs-st{gap:7px;padding:3px;padding-inline-end:10px}
	.trs .trs-st-ic{width:32px;height:32px}
	.trs .trs-st-ic svg{width:15px;height:15px}
	.trs .trs-st-t{font-size:12px}
	.trs .trs-st-t small{display:none}
	.trs .trs-steps li:not(.is-on) .trs-st-t{display:none}
	.trs .trs-steps li:not(.is-on) .trs-st{padding-inline-end:3px}
	.trs .trs-body{padding:22px 0 44px}
	.trs.trs-cart .woocommerce-cart-form{padding:4px 16px 8px}
	.trs table.cart thead{display:none}
	.trs table.cart tbody,.trs table.cart tr{display:block}
	.trs table.cart tr.cart_item{display:grid;grid-template-columns:60px minmax(0,1fr) auto;grid-template-areas:"img name rm" "img qty sub";gap:8px 12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--k-ln)}
	.trs table.cart tr.cart_item td{display:block;padding:0;border:0;width:auto!important;text-align:right}
	.trs table.cart tr.cart_item td::before{display:none}
	.trs table.cart .product-thumbnail{grid-area:img;display:block!important}
	.trs table.cart .product-thumbnail img{width:60px;height:60px}
	.trs table.cart .product-name{grid-area:name;font-size:14px}
	.trs table.cart .product-remove{grid-area:rm}
	.trs table.cart .product-price{display:none!important}
	.trs table.cart .product-quantity{grid-area:qty}
	.trs table.cart .product-subtotal{grid-area:sub;text-align:left!important}
	.trs a.remove{width:32px;height:32px}
	.trs .quantity .qty{width:64px;height:40px}
	.trs table.cart td.actions{display:flex;flex-direction:column;gap:10px;padding:14px 0 6px}
	.trs td.actions .coupon{display:flex;width:100%}
	.trs td.actions .coupon .input-text{flex:1;width:auto;min-width:0}
	.trs td.actions .button[name=update_cart]{float:none;width:100%}
	.trs .cart_totals{padding:20px}
	.trs .woocommerce-billing-fields,.trs .woocommerce-additional-fields{padding:18px}
	.trs .woocommerce-billing-fields__field-wrapper{grid-template-columns:minmax(0,1fr);gap:14px}
	.trs .woocommerce-billing-fields__field-wrapper>*{grid-column:1!important}
	.trs .trs-bank{grid-template-columns:minmax(0,1fr)}
	.trs .trs-card{max-width:400px;width:100%;padding:18px 18px}
	.trs .trs-bank-side{flex-direction:column-reverse}
	.trs .trs-copy{width:100%;justify-content:center}
	.trs.trs-checkout #order_review_heading{padding:20px 18px 2px}
	.trs.trs-checkout #order_review{padding:4px 18px 20px}
	.trs form.checkout_coupon:not([style*="none"]){flex-direction:column;align-items:stretch}
	.trs .trs-login{flex-direction:column;text-align:center;padding:24px 20px}
	.trs .trs-login .trs-btn{margin:0;width:100%}
	.trs .trs-trust{grid-template-columns:minmax(0,1fr);gap:8px}
	.trs .trs-rc{padding:22px 18px}
	.trs .trs-rc-h{align-items:flex-start}
	.trs .trs-rc-ic{width:50px;height:50px}
	.trs .trs-rc-g{gap:8px;margin:18px 0}
	.trs .trs-rc-g div{padding:12px}
	.trs .trs-rc-a .trs-btn{flex:1 1 100%}
	.trs .woocommerce-order section{padding:18px}
	.trs .trs-guide{padding:48px 0 56px}
	.trs .trs-gl{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 16px 18px;margin:0 -16px;scrollbar-width:none;overscroll-behavior-x:contain}
	.trs .trs-gl::-webkit-scrollbar{display:none}
	.trs .trs-gl li{scroll-snap-align:center}
}
@media (prefers-reduced-motion:reduce){.trs *,.trs *::before,.trs *::after{animation:none!important;transition:none!important}}

/* چاپ رسید */
@media print{
	body.trwd-shop{background:#fff}
	body.trwd-shop .elementor-location-header,body.trwd-shop .elementor-location-footer,body.trwd-shop footer,.trs .trs-hero,.trs .trs-rc-a,.trs .order-again,.trs .trs-toast,#wpadminbar,.xoo-wsc-modal,.xoo-wsc-basket{display:none!important}
	.trs,.trs .trs-body{background:#fff;padding:0}
	.trs .trs-rc,.trs .woocommerce-order section{border:1px solid #ccc;box-shadow:none;break-inside:avoid}
	.trs *{animation:none!important}
}
/* ===== سبک‌سازی رندر ===== */
.trs .trs-hero-glow{animation:none!important}
/* شبکه‌ی متحرک هیرو: الگو در یک لایه‌ی داخلی با transform جابه‌جا می‌شود (ماسک محوشونده ثابت می‌ماند، کل هیرو هر فریم دوباره نقاشی نمی‌شود) */
.trs .trs-hero-grid{background:none!important;animation:none!important;overflow:hidden}
.trs .trs-hero-grid::before{content:"";position:absolute;left:0;right:0;top:-121px;bottom:0;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='152' viewBox='0 0 88 152' fill='none' stroke-width='1'%3E%3Cpath d='M26.4 0.0L61.6 0.0M13.2 22.8L30.8 53.2M74.8 22.8L57.2 53.2M-17.6 76.0L17.6 76.0M70.4 76.0L105.6 76.0M57.2 98.8L74.8 129.2M30.8 98.8L13.2 129.2M26.4 152.0L61.6 152.0' stroke='rgba(255,255,255,.04)'/%3E%3Cpath d='M26.4 0.0 13.2 22.9 -13.2 22.9 -26.4 0.0 -13.2 -22.9 13.2 -22.9ZM114.4 0.0 101.2 22.9 74.8 22.9 61.6 0.0 74.8 -22.9 101.2 -22.9ZM70.4 76.0 57.2 98.9 30.8 98.9 17.6 76.0 30.8 53.1 57.2 53.1ZM26.4 152.0 13.2 174.9 -13.2 174.9 -26.4 152.0 -13.2 129.1 13.2 129.1ZM114.4 152.0 101.2 174.9 74.8 174.9 61.6 152.0 74.8 129.1 101.2 129.1Z' stroke='rgba(255,255,255,.06)'/%3E%3C/svg%3E") 0 0/70px 121px;animation:trsGridT 18s linear infinite;will-change:transform}
@keyframes trsGridT{to{transform:translate3d(0,121px,0)}}
@media (prefers-reduced-motion:reduce){.trs .trs-hero-grid::before{animation:none}}
