/* Scoped commerce styles; the checkout-only mobile navigation exception below
   is explicitly requested. Shared navigation on other pages is unchanged. */
.br-commerce{--co-ink:#073e42;--co-muted:#546d70;--co-surface:#fff;--co-soft:#f0f7f5;--co-border:#dbe6e3;--co-accent:#08786f;--co-gold:#e2b052;direction:rtl;width:min(1120px,calc(100% - 32px));margin:0 auto;padding:28px 0 56px;color:var(--co-ink);font:400 16px/1.85 "Yekan Bakh",sans-serif;text-align:right}
.br-commerce *{box-sizing:border-box}
.br-commerce h1,.br-commerce h2,.br-commerce h3{font-family:"Peyda","Yekan Bakh",sans-serif;color:var(--co-ink);font-weight:800;line-height:1.5;margin:0}
.br-commerce h1{font-size:28px;margin:12px 0 6px}
.br-commerce h2{font-size:21px}.br-commerce p{margin:0 0 14px}.br-commerce-intro{margin-bottom:24px}.br-commerce-intro>p{color:var(--co-muted);font-size:16px}
.br-commerce a{color:var(--co-accent);text-decoration:none}.br-commerce a:hover{text-decoration:underline}.br-commerce-back{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px;font-weight:700}.br-commerce-back span{transform:rotate(180deg);font-size:22px}
.br-commerce .br-commerce-card{background:var(--co-surface);border:1px solid var(--co-border);border-radius:22px;padding:20px;min-width:0;box-shadow:0 8px 28px #073e4205}
.br-commerce-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:20px}.br-commerce-step{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;background:var(--co-soft);color:var(--co-accent);font-weight:800}
.br-commerce .br-commerce-checkout{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:0}.br-commerce .br-commerce-customer{align-self:start}.br-commerce .br-commerce-hint{color:var(--co-muted);font-size:15px;line-height:1.9}.br-commerce-profile{display:grid;gap:12px;margin:0;padding:16px;background:var(--co-soft);border-radius:14px}.br-commerce-profile>div{display:flex;justify-content:space-between;align-items:baseline;gap:12px;flex-wrap:wrap}.br-commerce-profile dt{font-size:14px;color:var(--co-muted)}.br-commerce-profile dd{margin:0;font-weight:700;font-size:17px;overflow-wrap:anywhere}.br-commerce .woocommerce-billing-fields__field-wrapper:not(:empty){margin-top:18px}
.br-commerce .woocommerce form .form-row{padding:0;margin:0 0 18px;float:none;width:100%}.br-commerce .woocommerce form .form-row:last-child{margin-bottom:0}.br-commerce .woocommerce form .form-row label{color:var(--co-ink);line-height:1.8;font-size:16px;font-weight:700;margin-bottom:8px;display:block}.br-commerce .woocommerce-input-wrapper{display:block}.br-commerce .woocommerce form .form-row .required{font:inherit;color:var(--co-muted);text-decoration:none}.br-commerce input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.br-commerce select{font:inherit;color:var(--co-ink);background:var(--co-surface);border:1px solid #9eb7b3;border-radius:12px;min-height:52px;padding:10px 14px;width:100%;box-shadow:none}.br-commerce input:focus-visible,.br-commerce a:focus-visible,.br-commerce button:focus-visible,.br-commerce summary:focus-visible{outline:3px solid var(--co-accent);outline-offset:3px}.br-commerce input::placeholder{color:var(--co-muted);opacity:1}.br-commerce input[type=checkbox],.br-commerce input[type=radio]{accent-color:var(--co-accent);width:18px;height:18px;vertical-align:middle;flex-shrink:0}
.br-commerce-coupon{border:1px solid var(--co-border);border-radius:14px;background:var(--co-surface);margin-bottom:18px;max-width:100%}.br-commerce-coupon summary{padding:13px 18px;min-height:48px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:700;list-style:none}.br-commerce-coupon summary::-webkit-details-marker{display:none}.br-commerce-coupon[open] summary span{transform:rotate(45deg)}.br-commerce-coupon-fields{padding:0 18px 18px}.br-commerce-coupon label{display:block;margin-bottom:8px}.br-commerce-coupon-row{display:flex;gap:10px}.br-commerce-coupon-row input{min-width:0}.br-commerce .br-commerce-coupon-row button{flex:none;white-space:nowrap}.br-commerce #br-coupon-status{margin:10px 0 0;font-size:14px;line-height:1.85;color:var(--co-accent)}.br-commerce #br-coupon-status:empty{display:none}.br-commerce #br-coupon-status.is-error{color:#ad3030}html.dark .br-commerce #br-coupon-status.is-error{color:#ffb7b7}
.br-commerce .woocommerce table.shop_table{border:0;border-collapse:collapse;border-radius:0;margin:0 0 18px;width:100%;font-size:16px;background:transparent}.br-commerce .woocommerce table.shop_table th,.br-commerce .woocommerce table.shop_table td{padding:14px 0;border:0;border-bottom:1px solid var(--co-border);vertical-align:middle;line-height:1.8;background:transparent;color:var(--co-ink)}.br-commerce .woocommerce table.shop_table th{font-weight:700}.br-commerce .woocommerce table.shop_table td:last-child,.br-commerce .woocommerce table.shop_table th:last-child{text-align:left;padding-right:12px}.br-commerce .woocommerce table.shop_table .product-name{width:65%;font-family:"Peyda",sans-serif;font-weight:700}.br-commerce .woocommerce table.shop_table .product-total{white-space:nowrap}.br-commerce .woocommerce table.shop_table thead{font-size:14px;color:var(--co-muted)}.br-commerce .woocommerce table.shop_table .product-quantity{font-family:"Yekan Bakh",sans-serif;font-size:14px;white-space:nowrap}.br-commerce .woocommerce table.shop_table .order-total th,.br-commerce .woocommerce table.shop_table .order-total td{font-size:20px;border-bottom:0;padding-top:20px}.br-commerce .woocommerce-Price-currencySymbol{font-size:.75em;margin-inline-start:3px}.br-commerce .amount{font-family:"Yekan Bakh",sans-serif;font-variant-numeric:tabular-nums}
.br-commerce .woocommerce #payment{background:transparent;border-radius:0}.br-commerce .woocommerce #payment ul.payment_methods{list-style:none;border:0;margin:0;padding:0}.br-commerce .woocommerce #payment ul.payment_methods>li{background:var(--co-soft);border:1px solid var(--co-border);border-radius:14px;padding:16px;line-height:1.8;margin-bottom:16px}.br-commerce #payment .wc_payment_method>label{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;width:calc(100% - 30px);vertical-align:middle;font-weight:800;font-size:17px}.br-commerce .woocommerce #payment ul.payment_methods li img.br-paystar-logo{width:112px;height:auto;max-height:40px;object-fit:contain;margin:0;background:#fff;border-radius:6px;padding:4px}.br-commerce .woocommerce #payment div.payment_box{font:400 14px/1.9 "Yekan Bakh",sans-serif;background:transparent;color:var(--co-muted);padding:10px 0 0;margin:0}.br-commerce .woocommerce #payment div.payment_box:before{display:none}.br-commerce .woocommerce #payment div.payment_box p{margin:0}.br-commerce .woocommerce #payment div.form-row{padding:0;margin:0}.br-commerce .woocommerce-privacy-policy-text,.br-commerce .woocommerce-terms-and-conditions-wrapper{font-size:13px;line-height:1.9;color:var(--co-muted)}.br-commerce .woocommerce-privacy-policy-text p{margin:0 0 14px}.br-commerce .woocommerce form .form-row.woocommerce-invalid input{border-color:#bd3434;box-shadow:0 0 0 1px #bd3434}
.br-commerce .woocommerce button.button,.br-commerce .woocommerce a.button,.br-commerce .button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--co-border);border-radius:12px;padding:12px 18px;min-height:50px;font:700 16px/1.5 "Yekan Bakh",sans-serif;text-decoration:none;background:var(--co-soft);color:var(--co-ink);cursor:pointer;float:none;transition:background .18s,box-shadow .18s}.br-commerce .woocommerce #place_order,.br-commerce .woocommerce a.checkout-button,.br-commerce .br-commerce-primary{width:100%;min-height:56px;background:var(--co-ink);color:var(--co-surface);border:0;font-size:18px;font-weight:800;box-shadow:0 5px 14px #073e4214;margin:8px 0 0}.br-commerce .woocommerce #place_order:hover,.br-commerce .woocommerce a.checkout-button:hover,.br-commerce .br-commerce-primary:hover{background:var(--co-accent);color:#fff;box-shadow:0 6px 20px #08786f25}.br-commerce .woocommerce button:disabled{cursor:wait;opacity:.55}
.br-commerce .woocommerce-info,.br-commerce .woocommerce-message,.br-commerce .woocommerce-error{background:var(--co-soft);color:var(--co-ink);border-top:3px solid var(--co-accent);border-radius:12px;padding:16px 42px 16px 16px;margin:0 0 18px;font:400 15px/1.85 "Yekan Bakh",sans-serif}.br-commerce .woocommerce-error{border-color:#be4141}.br-commerce .woocommerce-error a{color:inherit}.br-commerce .woocommerce-info:before,.br-commerce .woocommerce-message:before,.br-commerce .woocommerce-error:before{top:18px;right:16px}.br-commerce .woocommerce .woocommerce-notices-wrapper:empty{display:none}
.br-commerce .woocommerce-cart-form,.br-commerce .cart_totals{background:var(--co-surface);border:1px solid var(--co-border);border-radius:22px;padding:20px;margin-bottom:18px}.br-commerce .woocommerce .cart-collaterals .cart_totals{float:none;width:100%;margin:0}.br-commerce .cart_totals h2{margin-bottom:18px}.br-commerce .woocommerce .wc-proceed-to-checkout{padding:0}.br-commerce .woocommerce .wc-proceed-to-checkout a.checkout-button{margin:0}.br-commerce .woocommerce table.cart img{width:64px;height:84px;object-fit:contain;border-radius:8px}.br-commerce .woocommerce a.remove{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;font-size:26px;background:var(--co-soft);color:#a12b2b!important}.br-commerce .woocommerce .quantity .qty{width:72px;min-height:44px;padding:6px}.br-commerce .woocommerce table.cart td.actions .coupon{display:flex;gap:8px}.br-commerce .woocommerce table.cart td.actions .coupon input{width:180px}.br-commerce .woocommerce table.cart td.actions>button{margin-top:12px}.br-commerce .woocommerce .return-to-shop a{width:auto}.br-commerce .br-commerce-login{max-width:600px;margin:auto}.br-commerce .br-commerce-login p{color:var(--co-muted);margin-top:12px}
html.dark .br-commerce{--co-ink:#eef8f5;--co-muted:#b1c8c4;--co-surface:#102e31;--co-soft:#173c3e;--co-border:#315153;--co-accent:#a6e4cf}html.dark .br-commerce .woocommerce #place_order,html.dark .br-commerce .woocommerce a.checkout-button,html.dark .br-commerce .br-commerce-primary{background:#a6e4cf;color:#092f32}html.dark .br-commerce .woocommerce #place_order:hover,html.dark .br-commerce .woocommerce a.checkout-button:hover{background:#c4f3e2;color:#092f32}html.dark .br-commerce .woocommerce a.remove{color:#ffb7b7!important}
@media(min-width:900px){.br-commerce{padding-top:36px;padding-bottom:72px}.br-commerce h1{font-size:34px}.br-commerce .br-commerce-checkout{grid-template-columns:minmax(0,1fr);gap:24px;width:min(100%,720px);margin-inline:auto}.br-commerce:has(.br-commerce-checkout)>.br-commerce-intro{width:min(100%,720px);margin-inline:auto}.br-commerce .br-commerce-card{padding:28px}.br-commerce .woocommerce-cart-form{padding:28px}.br-commerce .woocommerce .cart-collaterals{display:flex;justify-content:flex-end}.br-commerce .woocommerce .cart-collaterals .cart_totals{width:48%;padding:28px}}
@media(max-width:767px){.br-commerce{padding-bottom:32px}.br-commerce .woocommerce table.shop_table .product-name{width:auto}.br-commerce .woocommerce table.shop_table .order-total th,.br-commerce .woocommerce table.shop_table .order-total td{font-size:18px}.br-commerce .woocommerce table.cart,.br-commerce .woocommerce table.cart tbody{display:block}.br-commerce .woocommerce table.cart tr.cart_item{display:grid;grid-template-columns:44px minmax(0,1fr);gap:0 12px;border-bottom:1px solid var(--co-border);padding:8px 0 18px;margin-bottom:12px}.br-commerce .woocommerce table.cart tr.cart_item td{border:0;background:none;text-align:right!important;padding:8px 0;width:auto;min-width:0}.br-commerce .woocommerce table.cart tr.cart_item td:before{float:right;font-size:14px;font-weight:400;margin-left:10px;color:var(--co-muted)}.br-commerce .woocommerce table.cart tr.cart_item .product-name:before,.br-commerce .woocommerce table.cart tr.cart_item .product-remove:before{display:none}.br-commerce .woocommerce table.cart tr.cart_item .product-remove{grid-column:1;grid-row:1}.br-commerce .woocommerce table.cart tr.cart_item .product-name{grid-column:2;grid-row:1;align-self:center;font-size:17px}.br-commerce .woocommerce table.cart tr.cart_item .product-price,.br-commerce .woocommerce table.cart tr.cart_item .product-quantity,.br-commerce .woocommerce table.cart tr.cart_item .product-subtotal{grid-column:2}.br-commerce .woocommerce table.cart tr.cart_item .product-thumbnail{display:none}.br-commerce .woocommerce table.cart td.actions{padding:0}.br-commerce .woocommerce table.cart td.actions .coupon{float:none;display:grid;grid-template-columns:minmax(0,1fr) auto;padding:0}.br-commerce .woocommerce table.cart td.actions .coupon input,.br-commerce .woocommerce table.cart td.actions .coupon button{width:100%;margin:0}.br-commerce .woocommerce table.cart td.actions>button{width:100%}.br-commerce .woocommerce .cart-collaterals .cart_totals table tr td{display:flex;justify-content:space-between;gap:12px;padding:12px 0}.br-commerce .woocommerce .cart-collaterals .cart_totals table tr td:before{font-weight:700}.br-commerce .woocommerce #payment .form-row label.woocommerce-form__label{font-size:14px}.br-commerce .woocommerce #payment ul.payment_methods>li{padding:14px}.br-commerce #payment .wc_payment_method>label{font-size:16px;gap:8px}.br-commerce .woocommerce #payment ul.payment_methods li img.br-paystar-logo{width:98px}}
.br-commerce .woocommerce form.br-commerce-checkout{background:transparent!important;border:0!important;border-radius:0;box-shadow:none!important;padding:0}
.br-commerce .woocommerce table.shop_table,.br-commerce .woocommerce table.shop_table :is(thead,tbody,tfoot,tr,th,td){background:transparent!important}
.br-commerce,.br-commerce .woocommerce{font-family:"Yekan Bakh",sans-serif!important}
.br-commerce :where(p,dt,dd,summary,.br-commerce-back){font-family:"Yekan Bakh",sans-serif}
.br-commerce .woocommerce{width:100%!important;margin:0!important}
.br-commerce .woocommerce button.button,.br-commerce .woocommerce a.button{font-size:16px!important;background:var(--co-soft)!important;color:var(--co-ink)!important;border-color:var(--co-border)!important}
.br-commerce .woocommerce #place_order,.br-commerce .woocommerce a.checkout-button,.br-commerce .woocommerce .br-commerce-primary{font-size:18px!important;background:#073e42!important;color:#fff!important;border:0!important}
.br-commerce .woocommerce #place_order:hover,.br-commerce .woocommerce a.checkout-button:hover,.br-commerce .woocommerce .br-commerce-primary:hover{background:#08786f!important}
html.dark .br-commerce .woocommerce #place_order,html.dark .br-commerce .woocommerce a.checkout-button,html.dark .br-commerce .woocommerce .br-commerce-primary{background:#a6e4cf!important;color:#092f32!important}
.br-commerce .woocommerce form .form-row input:focus-visible{outline:3px solid var(--co-accent);outline-offset:3px}
.br-commerce .woocommerce form .form-row.woocommerce-invalid input{border-color:#bd3434!important}
.br-commerce .woocommerce .woocommerce-cart-form .quantity{display:inline-flex;width:auto;max-width:100%}
.br-commerce .woocommerce .woocommerce-cart-form .quantity input.qty{width:72px;max-width:72px;min-width:0}
.br-commerce .br-commerce-fixed-quantity{font-variant-numeric:tabular-nums}
@media(max-width:767px){.br-commerce .woocommerce table.cart tr.cart_item td.product-quantity{display:flex;align-items:center;gap:10px}.br-commerce .woocommerce table.cart tr.cart_item td.product-quantity:before{float:none;margin:0}.br-commerce .woocommerce table.cart tr.cart_item .product-name{padding:8px 0;border:0;text-align:right!important}}
@media(max-width:767px){.br-commerce .br-commerce-card-heading{margin-bottom:14px}.br-commerce .br-commerce-profile{padding:12px;gap:8px}.br-commerce .br-commerce-profile dt{font-size:13px}.br-commerce .br-commerce-customer{padding:18px}.br-commerce .br-commerce-intro{margin-bottom:18px}.br-commerce .br-commerce-intro>p{font-size:15px}.br-commerce .woocommerce #payment div.form-row{padding-bottom:8px}}
/* Checkout finish: matte surfaces, restrained gold, and a clear payment hierarchy.
   Mobile stays single-column; the shared shell remains untouched. */
.br-commerce .br-commerce-sidebar {min-width:0}
.br-commerce {
    --co-gold-ink:#806019;
    --co-coupon-surface:#fbf9f3;
    --co-coupon-border:#e8dfc9;
    --co-total-surface:#073e42;
    --co-total-ink:#fff;
    --co-total-muted:#d1e8e2;
    --co-button:#dda839;
    --co-button-end:#f4d88c;
    --co-button-ink:#07363a;
    --co-total-height:58px;
    --co-payment-height:calc(24px * 1.6 + 38px);
}
.br-commerce:has(.br-commerce-checkout) .br-commerce-intro {margin-bottom:24px}
.br-commerce:has(.br-commerce-checkout) .br-commerce-intro h1 {
    display:flex;align-items:center;gap:13px;letter-spacing:0;line-height:1.6;
}
.br-commerce:has(.br-commerce-checkout) .br-commerce-intro h1::before {
    content:"";display:block;flex:none;width:4px;height:30px;border-radius:8px;background:var(--co-gold);
}
.br-commerce-back {font-size:15px;gap:10px}
.br-commerce .br-commerce-card {
    border-radius:22px;border-color:var(--co-border);
    box-shadow:0 2px 4px #073e4203,0 16px 42px -24px #073e4229;
}
.br-commerce .br-commerce-card-heading {
    gap:12px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--co-border);
}
.br-commerce .br-commerce-card-heading h2 {font-size:22px;font-weight:800;line-height:1.55}
.br-commerce .br-commerce-step {
    width:36px;height:36px;border-radius:11px;border:1px solid var(--co-border);
    background:var(--co-soft);font-size:17px;line-height:1;
}
.br-commerce .br-commerce-order .br-commerce-step {background:var(--co-total-surface);color:var(--co-total-ink);border-color:transparent}
.br-commerce .br-commerce-profile {
    display:grid;gap:0;padding:0;background:none;border-radius:0;
}
.br-commerce .br-commerce-profile>div {padding:10px 0;gap:8px 16px}
.br-commerce .br-commerce-profile>div+div {border-top:1px solid var(--co-border)}
.br-commerce .br-commerce-profile dt {font-size:14px;line-height:1.75}
.br-commerce .br-commerce-profile dd {font-size:18px;font-weight:700;line-height:1.7}
.br-commerce .br-commerce-profile bdi {direction:ltr;font-variant-numeric:tabular-nums;white-space:nowrap}
.br-commerce .woocommerce-billing-fields__field-wrapper:not(:empty) {margin-top:20px}
.br-commerce .woocommerce-billing-fields__field-wrapper:not(:has(.form-row)) {margin:0;display:block}
.br-commerce input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {
    border-color:#a3b9b4;background:var(--co-surface);border-radius:12px;min-height:52px;
    transition:border-color .18s,box-shadow .18s;
}
.br-commerce #billing_phone {direction:ltr;text-align:right;font-variant-numeric:tabular-nums}
.br-commerce .woocommerce form .form-row .required {font-size:14px;white-space:nowrap}
.br-commerce .br-commerce-coupon {
    margin:0 0 20px;border-color:var(--co-coupon-border);background:var(--co-coupon-surface);
    border-radius:13px;
}
.br-commerce .br-commerce-coupon summary {
    justify-content:flex-start;gap:10px;padding:11px 14px;font-size:15px;min-height:54px;
}
.br-commerce .br-commerce-coupon-icon {width:22px;height:22px;flex:none;color:var(--co-gold-ink)}
.br-commerce .br-commerce-coupon-toggle {
    display:grid;place-items:center;margin-inline-start:auto;flex:none;width:28px;height:28px;
    border:1px solid var(--co-coupon-border);border-radius:50%;font-size:20px;line-height:1;
    color:var(--co-gold-ink);transition:transform .18s;
}
.br-commerce .br-commerce-coupon-fields {padding:4px 14px 16px}
.br-commerce .br-commerce-coupon label {font-size:15px;font-weight:600}
.br-commerce .br-commerce-coupon-row {gap:8px}
.br-commerce #br-coupon-code {direction:ltr;text-align:right}
.br-commerce .br-commerce-coupon-row button.button {
    background:var(--co-ink)!important;color:var(--co-surface)!important;border:0!important;
    padding-inline:18px;font-size:15px!important;border-radius:12px;
}
.br-commerce #br-coupon-code[aria-invalid=true] {border-color:#ad3030}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table {
    border-collapse:separate;border-spacing:0;margin:0 0 20px;table-layout:auto;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table th,
.br-commerce .woocommerce .woocommerce-checkout-review-order-table td {
    padding-block:13px;font-size:16px;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table thead th {
    padding-top:0;padding-bottom:10px;color:var(--co-muted);font:500 14px/1.8 "Yekan Bakh",sans-serif;
}
/* Hide column labels visually, retaining their meaning for screen readers.
   Product rows, their prices and the order totals are deliberately untouched. */
.br-commerce .br-commerce-order .woocommerce-checkout-review-order-table thead {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;border:0;
    overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table tbody .product-name {
    width:58%;font:700 17px/1.85 "Peyda","Yekan Bakh",sans-serif;overflow-wrap:anywhere;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .product-quantity {
    display:inline-block;direction:ltr;unicode-bidi:isolate;font-size:13px;font-weight:500;
    color:var(--co-muted);margin-inline:3px;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .product-total .amount {
    font-size:17px;font-weight:600;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .cart-subtotal :is(th,td) {
    font:500 15px/1.8 "Yekan Bakh",sans-serif;color:var(--co-muted);padding-block:14px;border:0;
}
.br-commerce .br-commerce-order .woocommerce-checkout-review-order-table .cart-subtotal {display:none}
.br-commerce .br-commerce-order .woocommerce-checkout-review-order-table tfoot::before {content:"";display:table-row;height:12px}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total :is(th,td) {
    padding:18px 16px;border:0;background:var(--co-total-surface)!important;
    color:var(--co-total-ink);font:700 18px/1.65 "Yekan Bakh",sans-serif;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total th {
    border-start-start-radius:13px;border-end-start-radius:13px;
}
/* Exchange the two block heights, preserving type sizes, widths and colors.
   Table cell height is a minimum, so wrapped/zoomed text can still expand. */
.br-commerce .woocommerce .br-commerce-order .woocommerce-checkout-review-order-table .order-total :is(th,td) {
    height:var(--co-total-height);padding-block:6px;
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total td {
    border-start-end-radius:13px;border-end-end-radius:13px;text-align:left;
    box-shadow:1px 0 0 var(--co-total-surface);
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total .amount {
    font-size:24px;font-weight:800;line-height:1.6;color:var(--co-total-ink);
}
.br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total .woocommerce-Price-currencySymbol {
    font-size:13px;font-weight:500;color:var(--co-total-muted);
}
.br-commerce .woocommerce #payment ul.payment_methods>li {
    position:relative;padding:16px;border-radius:13px;background:var(--co-soft);
    border-color:var(--co-border);margin-bottom:18px;
}
.br-commerce #payment .wc_payment_method>label {font-size:17px;line-height:1.8;min-height:40px}
.br-commerce #payment .br-paystar-title {min-width:0}
.br-commerce #payment .br-paystar-note {display:none}
.br-commerce .woocommerce #payment ul.payment_methods li img.br-paystar-logo {
    width:112px;height:38px;object-fit:contain;flex:none;padding:5px 7px;
    border:1px solid #e6eeeb;border-radius:8px;background:#fff;
}
.br-commerce .woocommerce #payment div.payment_box {font-size:15px;line-height:1.85;padding-top:8px}
.br-commerce .woocommerce #payment .payment_box p {font-family:"Yekan Bakh",sans-serif}
.br-commerce .woocommerce #place_order {
    display:flex;gap:12px;min-height:var(--co-payment-height);margin:0;border-radius:13px;padding:15px 20px;
    background:linear-gradient(110deg,var(--co-button-end),var(--co-button))!important;
    color:var(--co-button-ink)!important;font-size:18px!important;font-weight:800;
    box-shadow:0 7px 18px -9px #8d5f1680,inset 0 1px 0 #ffffff80;
    transition:box-shadow .18s,transform .18s;
}
.br-commerce .woocommerce #place_order::after {
    content:"";display:block;flex:none;width:20px;height:20px;background:currentColor;
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 6-6 6 6 6M4 12h16'/%3E%3C/svg%3E") center/contain no-repeat;
}
.br-commerce .woocommerce #place_order:hover {
    background:linear-gradient(110deg,var(--co-button-end),var(--co-button))!important;
    color:var(--co-button-ink)!important;box-shadow:0 10px 24px -10px #b47e2099,inset 0 1px 0 #ffffff9c;
}
.br-commerce .woocommerce button.button:disabled {opacity:.6;transform:none;box-shadow:none}
.br-commerce .woocommerce .woocommerce-error,
.br-commerce .woocommerce .woocommerce-info,
.br-commerce .woocommerce .woocommerce-message {
    padding:15px 44px 15px 16px!important;line-height:1.85;font-size:15px;
}
.br-commerce .woocommerce .woocommerce-error li {margin:0;font:inherit}
.br-commerce .woocommerce .woocommerce-error a,
.br-commerce .woocommerce .woocommerce-message a {text-decoration:underline;text-underline-offset:3px}
.br-commerce:has(.br-commerce-checkout) .woocommerce-notices-wrapper {max-width:720px;margin-inline:auto}
.br-commerce:has(.br-commerce-checkout) .woocommerce-NoticeGroup-checkout {max-width:100%;min-width:0}
html.dark .br-commerce {
    --co-gold-ink:#efcc82;--co-coupon-surface:#253939;--co-coupon-border:#5b5846;
    --co-total-surface:#a6e4cf;--co-total-ink:#092f32;--co-total-muted:#244e47;
    --co-button:#dda839;--co-button-end:#f4d88c;--co-button-ink:#07363a;
}
html.dark .br-commerce .br-commerce-card {box-shadow:0 18px 36px -24px #0008}
html.dark .br-commerce input:not([type=checkbox]):not([type=radio]):not([type=hidden]) {border-color:#60827c}
html.dark .br-commerce #br-coupon-code[aria-invalid=true] {border-color:#ffb7b7}
html.dark .br-commerce .woocommerce #place_order {color:var(--co-button-ink)!important;background:linear-gradient(110deg,var(--co-button-end),var(--co-button))!important}
html.dark .br-commerce .woocommerce .woocommerce-error {background:#452d32!important;color:#ffd4dc!important;border-color:#79525c!important}
html.dark .br-commerce .woocommerce :is(.woocommerce-info,.woocommerce-message) {background:#1b3f3e!important;color:#e2f6ee!important;border-color:#456760!important}
@media(min-width:600px) {
    .br-commerce .br-commerce-profile {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
    .br-commerce .br-commerce-profile>div {display:grid;gap:5px;padding:2px 0}
    .br-commerce .br-commerce-profile>div+div {border-top:0;border-inline-start:1px solid var(--co-border);padding-inline-start:24px}
    .br-commerce .woocommerce-billing-fields__field-wrapper:not(:empty) {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
    .br-commerce .woocommerce .woocommerce-billing-fields__field-wrapper .form-row {margin:0;min-width:0}
    .br-commerce .woocommerce-billing-fields__field-wrapper>.form-row:only-child {grid-column:1/-1}
}
@media(min-width:900px) {
    /* One native form: customer details on the right, payment on the left. */
    .br-commerce {--co-payment-height:calc(27px * 1.6 + 38px)}
    .br-commerce #payment .br-paystar-note {
        display:inline;color:var(--co-muted);font:500 15px/1.8 "Yekan Bakh",sans-serif;
    }
    .br-commerce:has(.br-commerce-checkout) {
        padding-top:24px;
    }
    .br-commerce:has(.br-commerce-checkout) .br-commerce-checkout {
        grid-template-columns:minmax(300px,1fr) minmax(0,720px);
        column-gap:32px;align-items:start;width:100%;margin:0;
    }
    .br-commerce:has(.br-commerce-checkout) .br-commerce-intro h1 {font-size:36px;margin-top:8px}
    .br-commerce .br-commerce-checkout {row-gap:20px}
    .br-commerce .br-commerce-sidebar {grid-column:1}
    .br-commerce .br-commerce-sidebar>.br-commerce-intro {
        width:auto;margin:0 0 20px;padding-top:8px;
    }
    .br-commerce .br-commerce-order {grid-column:2}
    .br-commerce .br-commerce-sidebar .br-commerce-profile {grid-template-columns:1fr;gap:0}
    .br-commerce .br-commerce-sidebar .br-commerce-profile>div {
        display:flex;justify-content:space-between;gap:8px 16px;padding:10px 0;
    }
    .br-commerce .br-commerce-sidebar .br-commerce-profile>div+div {
        border-inline-start:0;border-top:1px solid var(--co-border);padding-inline-start:0;
    }
    .br-commerce .br-commerce-sidebar .woocommerce-billing-fields__field-wrapper {
        grid-template-columns:minmax(0,1fr);
    }
    .br-commerce .br-commerce-checkout>.woocommerce-NoticeGroup-checkout {grid-column:1/-1}
    .br-commerce .br-commerce-customer {padding:24px 28px}
    .br-commerce .br-commerce-order {padding:28px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total .amount {font-size:27px}
}
@media(min-width:1200px) {
    .br-commerce:has(.br-commerce-checkout) .br-commerce-checkout {column-gap:48px}
}
@media(max-width:899px) {
    /* Hide the mobile dock only on this checkout, including its login gate. */
    body.woocommerce-checkout:has(.br-commerce) {
        --br-bottom-nav-clearance:env(safe-area-inset-bottom,0px);
    }
    body.woocommerce-checkout:has(.br-commerce) #br-bottom-nav {display:none!important}
    body.woocommerce-checkout:has(.br-commerce) .br-footer {
        padding-bottom:calc(env(safe-area-inset-bottom,0px) + 6px)!important;
    }
}
@media(max-width:599px) {
    .br-commerce {--co-total-height:56px;--co-payment-height:calc(22px * 1.6 + 34px)}
    .br-commerce:has(.br-commerce-checkout) {padding-top:16px}
    .br-commerce:has(.br-commerce-checkout) .br-commerce-intro {margin-bottom:18px}
    .br-commerce:has(.br-commerce-checkout) .br-commerce-intro h1 {font-size:28px;gap:10px;margin-top:4px}
    .br-commerce .br-commerce-card {border-radius:18px;padding:18px}
    .br-commerce .br-commerce-card-heading {padding-bottom:13px;margin-bottom:12px;gap:10px}
    .br-commerce .br-commerce-card-heading h2 {font-size:21px}
    .br-commerce .br-commerce-step {width:34px;height:34px;border-radius:10px}
    .br-commerce .br-commerce-profile dd {font-size:17px}
    .br-commerce .br-commerce-coupon {margin-bottom:16px}
    .br-commerce .br-commerce-coupon summary {padding:10px 12px;gap:8px}
    .br-commerce .br-commerce-coupon-fields {padding-inline:12px}
    .br-commerce .br-commerce-coupon-row button.button {padding-inline:13px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table tbody .product-name {width:auto;font-size:16px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .product-total .amount {font-size:16px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total :is(th,td) {font-size:16px;padding:14px 12px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total .amount {font-size:22px}
    .br-commerce .woocommerce #payment ul.payment_methods>li {padding:13px;margin-bottom:16px}
    .br-commerce .woocommerce #payment ul.payment_methods li img.br-paystar-logo {width:98px;height:34px}
    .br-commerce #payment .wc_payment_method>label {font-size:16px;gap:8px}
    .br-commerce .woocommerce #payment div.payment_box {font-size:14px}
    .br-commerce .woocommerce #place_order {font-size:17px!important;gap:8px;padding-inline:12px;min-height:var(--co-payment-height)}
}
@media(max-width:359px) {
    .br-commerce {--co-payment-height:66px}
    .br-commerce .br-commerce-card {padding:15px}
    .br-commerce .br-commerce-profile dt {font-size:13px}
    .br-commerce .br-commerce-profile dd {font-size:16px}
    .br-commerce .br-commerce-coupon summary {font-size:14px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total :is(th,td) {padding-inline:10px}
    .br-commerce .woocommerce .woocommerce-checkout-review-order-table .order-total .amount {font-size:20px}
    .br-commerce .woocommerce #place_order {font-size:16px!important}
}
@media(hover:hover) and (pointer:fine) {
    .br-commerce .woocommerce #place_order:not(:disabled):hover {transform:translateY(-1px)}
    .br-commerce .br-commerce-coupon summary:hover {color:var(--co-gold-ink)}
}
@media(prefers-reduced-motion:reduce){.br-commerce *{scroll-behavior:auto!important;transition:none!important;animation:none!important}.br-commerce .woocommerce #place_order:hover{transform:none!important}}
