/* ==========================================================================
   آسان فوم — سبد خرید، تسویه حساب، تکمیل سفارش و کارت‌های بانکی
   ========================================================================== */

.uz-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.woocommerce-cart .woocommerce, .woocommerce-checkout .woocommerce { min-width: 0; }
.uz-ic, .uz-card svg { flex: none; }

/* ---------- نوار مراحل خرید ---------- */
.uz-steps-bar { display: flex; list-style: none; margin: 0 0 22px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-reset: s; }
.uz-steps-bar li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); text-align: center; }
.uz-steps-bar li:not(:last-child)::after { content: ""; position: absolute; top: 19px; left: calc(-50% + 26px); width: calc(100% - 52px); height: 2px; background: repeating-linear-gradient(to left, var(--line) 0 6px, transparent 6px 11px); }
.uz-steps-bar li.is-done:not(:last-child)::after { background: var(--gold); }
.uz-steps-bar__dot { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #f1efe8; color: var(--muted); border: 2px solid transparent; transition: .3s var(--ease); }
.uz-steps-bar__dot svg { width: 19px; height: 19px; }
.uz-steps-bar li.is-done .uz-steps-bar__dot { background: var(--gold); color: var(--green-950); }
.uz-steps-bar li.is-current .uz-steps-bar__dot { background: var(--green-800); color: var(--gold); box-shadow: 0 0 0 5px rgba(214, 165, 78, .22); }
.uz-steps-bar li.is-current, .uz-steps-bar li.is-done { color: var(--green-900); font-weight: 700; }

/* ---------- سبد خرید ---------- */
.uz-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.uz-cart__list { padding: 6px 0 0; overflow: hidden; }
.uz-cart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.uz-cart__head h2 { display: inline; font-size: 18px; margin: 0; }
.uz-cart__count { margin-inline-start: 8px; padding: 1px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-600); font-size: 12.5px; font-weight: 700; }
.uz-cart__continue { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; font-weight: 700; }
.uz-cart__continue svg { width: 16px; height: 16px; }
.uz-ci { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 20px; border-bottom: 1px solid var(--line); }
.uz-ci__img img { width: 120px; height: 120px; object-fit: cover; border-radius: 12px; background: #eef0ed; }
.uz-ci__name { font-size: 16px; margin: 0 0 6px; }
.uz-ci__name a { color: var(--green-900); }
.uz-ci__facts { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 3px; font-size: 13px; color: var(--muted); }
.uz-ci__facts li { display: flex; align-items: center; gap: 6px; }
.uz-ci__facts svg { width: 15px; height: 15px; color: var(--green-600); }
.uz-ci__facts .is-ok { color: var(--ok); }
.uz-ci__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.uz-ci__qty { display: flex; align-items: center; gap: 12px; }
.uz-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.uz-qty .quantity { margin: 0; }
.uz-qty .qty, .woocommerce .uz-qty .quantity .qty { width: 46px !important; min-height: 40px; border: 0 !important; padding: 0; text-align: center; font-weight: 800; color: var(--green-900); background: transparent; -moz-appearance: textfield; }
.uz-qty .qty::-webkit-inner-spin-button, .uz-qty .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.uz-qty__btn { width: 38px; height: 40px; border: 0; background: none; color: var(--green-700); font-size: 20px; font-weight: 700; cursor: pointer; }
.uz-qty__btn:hover { background: var(--gold-100); }
.uz-ci__remove { display: inline-flex; align-items: center; gap: 4px; color: var(--muted) !important; font-size: 13px; }
.woocommerce a.uz-ci__remove.remove { width: auto; height: auto; border-radius: 8px; padding: 6px 8px; font-weight: 400; line-height: 1; }
.woocommerce a.uz-ci__remove.remove:hover { background: #fdecea; color: var(--err) !important; }
.uz-ci__remove svg { width: 17px; height: 17px; }
.uz-ci__price { text-align: left; display: grid; gap: 2px; }
.uz-ci__price strong { font-size: 17px; color: var(--green-900); }
.uz-ci__price small { color: var(--muted); font-size: 12px; }
.uz-ci__was { display: flex; gap: 6px; align-items: center; justify-content: flex-end; font-size: 12.5px; color: var(--muted); }
.uz-ci__was em { font-style: normal; background: var(--err); color: #fff; border-radius: 999px; padding: 0 8px; font-weight: 700; font-size: 11.5px; }
.uz-cart__tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; background: #fbfaf6; }
.uz-coupon { display: flex; gap: 8px; flex: 1; max-width: 380px; }
.uz-coupon input { flex: 1; min-width: 0; min-height: 42px; padding: 8px 12px; border: 1.5px dashed var(--line); border-radius: 10px; background: #fff; }
.uz-cart__update { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.uz-cart__note { display: flex; gap: 8px; align-items: center; margin: 12px 4px 0; font-size: 13px; color: var(--muted); }
.uz-cart__note svg { width: 16px; height: 16px; }
.uz-cart__side, .uz-co__side { position: sticky; top: 90px; display: grid; gap: 14px; }
.uz-sum { padding: 20px; }
.uz-sum__row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; color: var(--muted); }
.uz-sum__row b { color: var(--ink); font-weight: 700; }
.uz-sum__row.is-save b { color: var(--err); }
.uz-sum__total { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 800; color: var(--green-900); }
.uz-sum__total b { font-size: 18px; }
.uz-sum__go { justify-content: center; }
.uz-sum__go svg { transform: scaleX(-1); }
.uz-sum__hint { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.uz-trust { list-style: none; margin: 0; padding: 14px 16px; display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.uz-trust li { display: flex; gap: 10px; align-items: center; }
.uz-trust svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); }
.uz-trust b { display: block; font-size: 13.5px; color: var(--green-900); }
.uz-trust small { color: var(--muted); font-size: 12px; }
.uz-cart-empty { text-align: center; padding: 48px 20px; }
.uz-cart-empty svg.uz-cart-empty__ic { width: 84px; height: 84px; color: var(--gold); margin: 0 auto 12px; }
.uz-cart-empty__go { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; margin: 24px auto 0; }
.uz-cart-empty__go a { display: grid; gap: 4px; justify-items: center; padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfaf6; color: var(--green-900); transition: .2s var(--ease); }
.uz-cart-empty__go a:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.uz-cart-empty__go svg { width: 30px; height: 30px; color: var(--gold-600); }
.uz-cart-empty__go small { color: var(--muted); }

/* ---------- تسویه حساب ---------- */
.uz-co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 22px; align-items: start; }
.uz-co__card { padding: 20px 22px; }
.uz-co__title { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.uz-co__title > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--green-800); color: var(--gold); }
.uz-co__title > span svg { width: 21px; height: 21px; }
.uz-co__title h2 { font-size: 16.5px; margin: 0; }
.uz-co__title p { margin: 0; font-size: 12.5px; color: var(--muted); }
.uz-co .woocommerce-billing-fields > h3, .uz-co .woocommerce-additional-fields > h3, .uz-co #ship-to-different-address, .uz-co .woocommerce-shipping-fields { display: none; }
.uz-co .woocommerce-billing-fields__field-wrapper { display: flex; flex-wrap: wrap; justify-content: space-between; }
.woocommerce .uz-co form .form-row, .uz-co .form-row { padding: 0; margin: 0 0 14px; }
.uz-co .form-row-first, .uz-co .form-row-last { width: calc(50% - 8px) !important; float: none !important; }
.uz-co .form-row-wide, .uz-co #billing_country_field { width: 100%; }
.uz-co .form-row label { display: block; margin-bottom: 4px; font-size: 13.5px; font-weight: 700; color: var(--green-900); line-height: 1.6; }
.uz-co .form-row .required { color: var(--err); text-decoration: none; }
.uz-co .form-row .optional { display: none; }
.uz-co .form-row input.input-text, .uz-co .form-row textarea, .uz-co .form-row select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfbf9; transition: border-color .2s, box-shadow .2s; }
.uz-co .form-row textarea { min-height: 110px; resize: vertical; }
.uz-co .form-row input.input-text:focus, .uz-co .form-row textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 165, 78, .15); outline: 0; background: #fff; }
.uz-co .form-row.woocommerce-invalid input.input-text, .uz-co .form-row.woocommerce-invalid .select2-selection { border-color: var(--err) !important; }
.uz-co .form-row.woocommerce-validated input.input-text { border-color: #b9e2c9; }
.uz-co #billing_phone, .uz-co #billing_postcode, .uz-co #billing_email { direction: ltr; text-align: right; }
.uz-co .select2-container .select2-selection--single { height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfbf9; }
.uz-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 45px; padding: 0 14px 0 34px; color: var(--ink); }
.uz-co .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; left: 8px; right: auto; }
.uz-co .select2-container--open .select2-selection--single { border-color: var(--gold); }
.select2-dropdown { border: 1.5px solid var(--gold) !important; border-radius: 12px !important; overflow: hidden; font-family: inherit; }
.select2-results__option { padding: 8px 14px !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--green-700) !important; }
.select2-search--dropdown .select2-search__field { border-radius: 8px; min-height: 38px; }
.uz-co__notes .woocommerce-additional-fields__field-wrapper .form-row { margin: 0; }
.uz-co__notes .form-row label { display: none; }
.uz-co__review { padding-bottom: 12px; }
.uz-co__review .uz-co__title p a { font-weight: 700; }

.uz-rv__items { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; max-height: 280px; overflow: auto; }
.uz-rv__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.uz-rv__img { position: relative; }
.uz-rv__img img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: #eef0ed; }
.uz-rv__img em { position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--green-800); color: #fff; font-style: normal; font-size: 11.5px; font-weight: 700; border: 2px solid #fff; }
.uz-rv__name { color: var(--green-900); font-weight: 600; line-height: 1.6; }
.uz-rv__name dl { margin: 2px 0 0; font-size: 12px; color: var(--muted); font-weight: 400; }
.uz-rv__price { font-weight: 700; white-space: nowrap; }
.uz-rv__totals { width: 100%; border-collapse: collapse; margin: 0; font-size: 14px; }
.uz-rv__totals th, .uz-rv__totals td { padding: 8px 0; border-top: 1px dashed var(--line); font-weight: 400; color: var(--muted); text-align: right; vertical-align: top; }
.uz-rv__totals td { text-align: left; color: var(--ink); font-weight: 700; }
.uz-rv__totals td ul#shipping_method { list-style: none; margin: 0; padding: 0; }
.uz-rv__totals td ul#shipping_method li { margin: 0 0 4px; font-weight: 400; }
.uz-rv__totals tr.order-total th, .uz-rv__totals tr.order-total td { padding-top: 12px; border-top: 1px solid var(--line); color: var(--green-900); font-weight: 800; font-size: 16px; }
.uz-rv__totals .woocommerce-shipping-destination, .uz-rv__totals .woocommerce-shipping-calculator { display: none; }

.uz-co #payment { background: none !important; border-radius: 0; margin-top: 8px; }
.uz-co #payment ul.payment_methods { padding: 0 !important; border: 0 !important; margin: 0 0 12px; }
.uz-co #payment ul.payment_methods li { list-style: none; padding: 12px 14px; border: 1.5px solid var(--gold); border-radius: 12px; background: #fffaf0; line-height: 1.7; }
.uz-co #payment ul.payment_methods li label { font-weight: 800; color: var(--green-900); }
.uz-co #payment div.payment_box { margin: 8px 0 0 !important; padding: 0 !important; background: none !important; color: var(--muted) !important; font-size: 13px; }
.uz-co #payment div.payment_box::before { display: none !important; }
.uz-co #payment .place-order { padding: 0 !important; margin: 0; }
.uz-co #payment .woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); }
.uz-co #payment #place_order { width: 100%; float: none; min-height: 54px; border-radius: 14px !important; font-size: 16px !important; font-weight: 800 !important; box-shadow: 0 10px 24px rgba(214, 165, 78, .35); }
.uz-co.processing #place_order { opacity: .7; }
.woocommerce-checkout .blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; border-radius: var(--radius); }
.woocommerce-NoticeGroup-checkout, .woocommerce-checkout .woocommerce-error { grid-column: 1 / -1; }
.woocommerce-error { list-style: none; padding: 14px 18px !important; border: 1px solid #f3c7c3; border-inline-start: 4px solid var(--err); border-radius: 12px; background: #fff6f5 !important; color: var(--err); }
.woocommerce-error::before { display: none; }

/* ---------- تکمیل سفارش ---------- */
.uz-ty { display: grid; gap: 18px; }
.uz-ty .uz-steps-bar { margin: 0; }
.uz-ty__hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 24px; background: linear-gradient(135deg, #fff 0%, #f7fbf8 100%); }
.uz-ty__hero h1 { font-size: 21px; margin: 0 0 4px; color: var(--ok); }
.uz-ty__hero p { margin: 0; color: var(--muted); }
.uz-ty__hero.is-failed { display: block; text-align: center; }
.uz-ty__hero.is-failed h2 { color: var(--err); }
.uz-ty__check svg { width: 64px; height: 64px; }
.uz-ty__check circle { fill: #e8f6ee; stroke: var(--ok); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: uz-draw .7s var(--ease) forwards; }
.uz-ty__check path { fill: none; stroke: var(--ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: uz-draw .45s .55s var(--ease) forwards; }
@keyframes uz-draw { to { stroke-dashoffset: 0; } }
.uz-ty__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.uz-ty__actions svg, .uz-invoice-link svg { width: 17px; height: 17px; }
.uz-ty__meta { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.uz-ty__meta li { position: relative; padding: 14px 16px; border-inline-start: 1px solid var(--line); min-width: 0; }
.uz-ty__meta li:first-child { border: 0; }
.uz-ty__meta small { display: block; color: var(--muted); font-size: 12px; }
.uz-ty__meta b { display: block; color: var(--green-900); font-size: 14.5px; overflow-wrap: anywhere; }
.uz-ty__copy { position: absolute; top: 10px; left: 10px; border: 0; background: var(--gold-100); color: var(--gold-600); border-radius: 8px; padding: 0 8px; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.uz-ty__status { color: #8a5a00 !important; }
.uz-ty__details { padding: 20px 22px; }
.uz-ty__details:empty, .uz-ty__details:not(:has(*)) { display: none; }
.uz-ty__details h2 { font-size: 17px; }
.uz-ty__details table.shop_table { border-radius: 12px; }
.woocommerce-order-details .shop_table, .woocommerce-customer-details address { border-radius: 12px !important; }

/* ---------- پرداخت کارت به کارت ---------- */
.uz-pay { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); scroll-margin-top: 90px; }
.uz-pay__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.uz-pay__head h2 { font-size: 19px; margin: 0 0 2px; }
.uz-pay__head p { margin: 0; color: var(--muted); font-size: 14px; }
.uz-pay__amount { display: grid; justify-items: center; padding: 10px 22px; border-radius: 14px; background: var(--green-900); color: #fff; }
.uz-pay__amount small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.uz-pay__amount strong { color: var(--gold); font-size: 22px; line-height: 1.5; }
.uz-pay__amount strong .woocommerce-Price-amount { color: inherit; }
.uz-pay__copyamount { margin-top: 4px; border: 1px solid rgba(255, 255, 255, .25); background: none; color: #fff; border-radius: 8px; padding: 0 10px; font-size: 12px; cursor: pointer; }
.uz-bankcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.uz-bankcard-wrap { display: grid; gap: 10px; }
.uz-bankcard { position: relative; aspect-ratio: 1.586; padding: clamp(14px, 4.2%, 22px) clamp(16px, 5%, 26px); border-radius: 18px; background: var(--card-bg); color: #fff; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 18px 36px -12px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .25); container-type: inline-size; transition: transform .35s var(--ease); isolation: isolate; }
.uz-bankcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% -10%, rgba(255, 255, 255, .28), transparent 45%), radial-gradient(circle at -10% 120%, rgba(0, 0, 0, .35), transparent 50%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 9px); }
.uz-bankcard::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; left: -22%; bottom: -55%; border-radius: 50%; border: 28px solid rgba(255, 255, 255, .06); z-index: -1; }
.uz-bankcard:hover { transform: translateY(-4px) rotateX(4deg); }
.uz-bankcard__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.uz-bankcard__bank { font-weight: 900; font-size: clamp(15px, 6cqi, 21px); }
.uz-bankcard__brand { font-size: clamp(11px, 3.6cqi, 13px); opacity: .85; padding: 1px 10px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; }
.uz-bankcard__chip { width: clamp(36px, 13cqi, 50px); }
.uz-bankcard__num { font-family: "Courier New", ui-monospace, monospace; font-weight: 700; font-size: clamp(17px, 7.4cqi, 27px); letter-spacing: .06em; text-align: center; white-space: nowrap; text-shadow: 0 2px 3px rgba(0, 0, 0, .35); }
.uz-bankcard__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.uz-bankcard__bottom small { display: block; font-size: clamp(9.5px, 3cqi, 11px); opacity: .7; line-height: 1.4; }
.uz-bankcard__bottom b { font-size: clamp(12px, 4.2cqi, 15px); font-weight: 700; }
.uz-bankcard__iban { text-align: left; min-width: 0; }
.uz-bankcard__iban b { font-family: "Courier New", ui-monospace, monospace; font-size: clamp(9.5px, 3.4cqi, 12.5px); letter-spacing: .02em; }
.uz-bankcard__shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .18) 45%, transparent 60%); background-size: 250% 100%; animation: uz-shine 5s ease-in-out infinite; }
@keyframes uz-shine { 0%, 60% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.uz-bankcard__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.uz-bankcard__actions .uz-btn { flex: 1; justify-content: center; }
.uz-bankcard__actions svg { width: 16px; height: 16px; }
.uz-copy.is-done { background: var(--ok) !important; color: #fff !important; border-color: var(--ok) !important; }
.uz-pay__steps { list-style: none; margin: 24px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uz-pay__steps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #fbfaf6; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.7; }
.uz-pay__steps b { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--green-950); }
.uz-pay__sent { display: flex; gap: 8px; align-items: center; color: var(--ok); font-weight: 700; }
.uz-pay__sent svg { width: 20px; height: 20px; }
.uz-pay__paid { display: flex; gap: 14px; align-items: center; color: var(--ok); }
.uz-pay__paid svg { width: 44px; height: 44px; }
.uz-pay__paid strong { display: block; font-size: 17px; }
.uz-pay__paid span { color: var(--muted); }
.uz-receipt { margin-top: 6px; padding: 18px; border: 1.5px dashed var(--line); border-radius: 14px; background: #fcfbf8; }
.uz-receipt h3 { font-size: 16px; }
.uz-file.is-filled .uz-file__box { border-color: var(--ok); background: #f3fbf5; }

/* ---------- حساب کاربری ---------- */
.woocommerce-orders-table .button.uz-invoice { background: var(--surface) !important; color: var(--green-800) !important; border: 1px solid var(--line) !important; }
.uz-invoice-link { margin: 0 0 14px; }

/* ==========================================================================
   واکنش‌گرا
   ========================================================================== */
@media (max-width: 1100px) {
	.uz-co { grid-template-columns: minmax(0, 1fr) 360px; }
	.uz-ty__meta { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.uz-ty__meta li:nth-child(4) { border: 0; }
	.uz-ty__meta li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
	.uz-cart, .uz-co { grid-template-columns: minmax(0, 1fr); }
	.uz-cart__side, .uz-co__side { position: static; }
	.uz-pay__steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.uz-steps-bar { padding: 10px 6px; margin-bottom: 14px; }
	.uz-steps-bar li { font-size: 11px; gap: 4px; }
	.uz-steps-bar__dot { width: 32px; height: 32px; }
	.uz-steps-bar__dot svg { width: 15px; height: 15px; }
	.uz-steps-bar li:not(:last-child)::after { top: 15px; left: calc(-50% + 20px); width: calc(100% - 40px); }
	.uz-cart__head, .uz-cart__tools { padding: 12px 14px; }
	.uz-ci { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 14px; }
	.uz-ci__img img { width: 84px; height: 84px; }
	.uz-ci__name { font-size: 14.5px; }
	.uz-ci__facts li:not(:first-child) { display: none; }
	.uz-ci__row { align-items: center; }
	.uz-coupon { max-width: none; }
	/* دکمه ادامه خرید همیشه در پایین صفحه در دسترس است */
	.uz-cart__side .uz-sum__go { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); width: auto; box-shadow: 0 10px 28px rgba(0, 0, 0, .25); }
	.woocommerce-cart .uz-cart { padding-bottom: 70px; }
	.uz-co__card { padding: 16px 14px; }
	.uz-co .form-row-first, .uz-co .form-row-last { width: 100% !important; }
	.uz-co .form-row input.input-text, .uz-co .form-row select, .uz-co .form-row textarea { font-size: 16px; } /* جلوگیری از زوم خودکار iOS */
	.uz-ty__hero { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 20px 16px; }
	.uz-ty__hero h1 { font-size: 18px; }
	.uz-ty__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.uz-ty__meta li { border: 0 !important; border-top: 1px solid var(--line) !important; }
	.uz-ty__meta li:first-child { grid-column: 1 / -1; border-top: 0 !important; }
	.uz-pay { padding: 16px 14px; }
	.uz-pay__head { flex-direction: column; align-items: stretch; text-align: center; }
	.uz-bankcards { gap: 18px; }
	.uz-bankcard { border-radius: 14px; }
	.uz-cart-empty__go { grid-template-columns: 1fr; }
	.uz-ty__details { padding: 14px; overflow-x: auto; }
}

/* ---------- اصلاحات چیدمان ---------- */
.uz-shop-page { min-width: 0; }
.uz-co #billing_country_field { display: none !important; }
.uz-rv__totals th, .uz-rv__totals td { background: none !important; }
.uz-shop-page .woocommerce-form-login-toggle .woocommerce-info, .uz-shop-page .woocommerce-form-coupon-toggle .woocommerce-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 18px !important; border: 1px dashed var(--line); border-top: 1px dashed var(--line) !important; border-radius: 12px; font-size: 13.5px; }
.uz-shop-page .woocommerce-info::before { position: static !important; }
.uz-shop-page form.checkout_coupon, .uz-shop-page form.woocommerce-form-login { margin: 0 0 14px !important; padding: 16px !important; border: 1px solid var(--line) !important; border-radius: 12px !important; background: var(--surface); }
.uz-co .woocommerce-account-fields .create-account { margin: 4px 0 0; }
.uz-co .woocommerce-account-fields label.checkbox { display: flex; gap: 8px; align-items: center; font-weight: 400; }

/* نشان تعداد کالا بیرون از کادر اسکرول بریده نشود */
.uz-rv__items { padding: 10px 10px 4px 2px; margin-inline: -2px; }
.uz-rv__img em { top: -8px; right: -8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }

/* نشانی کامل: استان و شهر انتخاب‌شده به‌صورت ثابت (غیرقابل ویرایش) ابتدای فیلد */
.uz-addr { display: flex; align-items: stretch; width: 100%; min-height: 48px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfbf9; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.uz-addr:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(214, 165, 78, .15); background: #fff; }
.uz-addr__pre { flex: none; max-width: 55%; display: flex; align-items: center; gap: 6px; padding: 0 14px 0 10px; background: #f1efe6; border-left: 1px dashed #d8d3c4; color: var(--green-800); font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; cursor: not-allowed; }
.uz-addr__pre svg { width: 14px; height: 14px; flex: none; opacity: .6; }
.uz-addr__pre[hidden] { display: none; }
.uz-co .uz-addr input.input-text { flex: 1; min-width: 0; min-height: 45px; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent !important; }
.uz-co .woocommerce-invalid .uz-addr { border-color: var(--err); }
@media (max-width: 480px) {
	.uz-addr { flex-wrap: wrap; }
	.uz-addr__pre { max-width: none; width: 100%; min-height: 36px; border-left: 0; border-bottom: 1px dashed #d8d3c4; white-space: normal; }
}
.uz-co #billing_first_name_field, .uz-co #billing_last_name_field, .uz-co #billing_phone_field, .uz-co #billing_email_field, .uz-co #billing_state_field, .uz-co #billing_city_field { width: calc(50% - 8px) !important; float: none !important; clear: none !important; }
.uz-co #billing_address_1_field { width: 100% !important; }
.uz-co #billing_postcode_field { width: calc(50% - 8px) !important; }
@media (max-width: 640px) { .uz-co .woocommerce-billing-fields__field-wrapper > .form-row { width: 100% !important; } }
.woocommerce .uz-co .form-row textarea.input-text, .uz-co #order_comments { border: 1.5px solid var(--line) !important; border-radius: 12px; background: #fbfbf9; padding: 10px 14px; }
.woocommerce .uz-co .form-row textarea.input-text:focus { border-color: var(--gold) !important; box-shadow: 0 0 0 4px rgba(214, 165, 78, .15); outline: 0; }
.uz-ci__price, #uz-sum .uz-sum__total b { transition: opacity .2s; }
.uz-ci__price.is-syncing, #uz-sum.is-syncing .uz-sum__total b { opacity: .55; }
.uz-cart-msg { margin: 0 0 12px !important; }
.uz-qty__btn { touch-action: manipulation; user-select: none; -webkit-tap-highlight-color: transparent; }
.uz-qty__btn:active { background: var(--gold-100); transform: scale(.94); }
