/* ==========================================================================
   DeshiWear — cart, checkout, order received, my account
   ========================================================================== */

.dw-page--commerce { padding-top: 18px; padding-bottom: 24px; }
.dw-page--commerce .dw-page__title { font-size: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; margin: 6px 0 18px; }

/* ---------- Cart page ---------- */
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .mfc-freeship, .woocommerce-cart .woocommerce > .cross-sells, .woocommerce-cart .woocommerce > .cart-empty, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .wc-empty-cart-message { grid-column: 1 / -1; }
.woocommerce-cart .mfc-freeship { border-radius: var(--dw-radius); }
.woocommerce-cart-form { min-width: 0; }
table.shop_table { width: 100%; border-collapse: collapse; font-size: .875rem; }
table.shop_table th { text-align: left; font-weight: 500; color: #555; padding: 12px 8px; border-bottom: 1px solid var(--dw-line); background: #fafafa; }
table.shop_table td { padding: 14px 8px; border-bottom: 1px solid var(--dw-line); vertical-align: middle; }
table.cart .product-thumbnail { width: 84px; }
table.cart .product-thumbnail img { width: 66px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
table.cart .product-name a { color: #333; }
table.cart .product-name .variation { font-size: .75rem; color: var(--dw-muted); margin: 4px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0 6px; }
table.cart .product-name .variation dd, table.cart .product-name .variation p { margin: 0; }
table.cart a.remove { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 1.1rem; color: var(--dw-sale); }
table.cart a.remove:hover { background: var(--dw-sale); color: #fff; }
table.cart td.actions { border-bottom: 0; padding-top: 18px; vertical-align: middle; }
table.cart td.actions .coupon { display: flex; gap: 8px; float: left; max-width: 400px; }
table.cart td.actions .coupon label { display: none; }
table.cart td.actions .coupon .input-text { flex: 1; min-width: 0; width: auto; }
table.cart td.actions .coupon .button, form.checkout_coupon .button { white-space: nowrap; flex: none; }
table.cart td.actions > .button { float: right; background: #fff; color: #444; border-color: #ddd; }
.cart-collaterals .cart_totals { background: #fafafa; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); padding: 20px; position: sticky; top: calc(var(--dw-header-h) + 60px); }
.cart_totals h2 { font-size: .9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; padding-bottom: 8px; border-bottom: 2px solid var(--dw-accent); display: inline-block; }
.cart_totals table.shop_table th { background: none; color: #444; width: 42%; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 1.0625rem; font-weight: 600; border-bottom: 0; color: var(--dw-ink); }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 48px; font-size: calc(1rem * var(--dw-btn-scale)); background: var(--dw-order-bg); color: var(--dw-order-text); border-radius: var(--dw-btn-radius); }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--dw-order-bg-hover); color: var(--dw-order-text-hover); }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-methods li { margin: 0 0 4px; }
.mfc-rate-eta { display: block; color: var(--dw-muted); font-size: .75rem; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: .75rem; color: var(--dw-muted); }
.cross-sells { margin-top: 40px; }
.cross-sells > h2 { font-size: 1.25rem; text-align: center; }
.cart-empty.woocommerce-info { justify-content: center; padding: 48px 20px; font-size: 1rem; border: 0; background: var(--dw-soft); }
.return-to-shop { text-align: center; }

/* ---------- Checkout ---------- */
.woocommerce-checkout .dw-page__title { margin-bottom: 12px; }
.woocommerce-form-login-toggle .woocommerce-info { background: none; border: 0; border-top: 2px solid var(--dw-accent); border-radius: 0; padding: 12px 6px; }
.woocommerce-form-login-toggle .woocommerce-info a { font-weight: 600; color: var(--dw-ink); }
.dw-checkout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.dw-co-title { display: inline-block; font-size: .9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: var(--dw-ink); margin: 0 0 16px; padding-bottom: 6px; border-bottom: 2px solid var(--dw-accent); }
.dw-co-card { background: #fff; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); padding: 18px 20px 20px; position: sticky; top: calc(var(--dw-header-h) + 60px); box-shadow: 0 1px 10px rgb(0 0 0 / 5%); }
.woocommerce-billing-fields > h3, .woocommerce-additional-fields > h3 { display: none; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 4px; }
.form-row label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; color: #333; }
.form-row-wide, #order_comments_field, .woocommerce-additional-fields__field-wrapper .form-row { grid-column: 1 / -1; }
.form-row label .required { color: var(--dw-sale); text-decoration: none; border: 0; }
.form-row label .optional { color: var(--dw-muted); font-weight: 400; text-transform: none; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--dw-sale); }
.form-row .woocommerce-input-wrapper { display: block; }
.form-row.mfc-visually-hidden { position: absolute !important; }
#billing_country_field.mfc-visually-hidden { display: none; }
#billing_state_field.mfc-area-hidden { display: none; }

/* Inside / outside Dhaka toggle */
.mfc-area .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; gap: 10px; }
.mfc-area input.input-radio { position: absolute; opacity: 0; pointer-events: none; }
.mfc-area label.radio .required, .mfc-area label.radio abbr { display: none; }
.mfc-area label.radio { position: relative; display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 16px 6px 8px; border-radius: 999px; background: #e9e9e9; color: #777; font-size: .75rem; font-weight: 600; letter-spacing: .03em; cursor: pointer; transition: background .2s, color .2s; text-transform: uppercase; }
.mfc-area label.radio::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / 25%); transition: transform .2s; }
.mfc-area input.input-radio:checked + label.radio { background: var(--dw-grad); color: #fff; padding: 6px 8px 6px 16px; flex-direction: row-reverse; }
.mfc-area input.input-radio:focus-visible + label.radio { outline: 2px solid var(--dw-accent); outline-offset: 2px; }

/* Select2/SelectWoo base (in case the WooCommerce stylesheet is disabled) */
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; }
.select2-container { box-sizing: border-box; display: inline-block; position: relative; vertical-align: middle; width: 100% !important; }
.select2-container .select2-selection--single { cursor: pointer; user-select: none; min-height: 42px; padding: 0 34px 0 12px; position: relative; display: flex; align-items: center; }
.select2-container .select2-selection__rendered { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select2-container--default .select2-selection--single .select2-selection__arrow { position: absolute; width: 20px; height: 20px; top: 50%; transform: translateY(-50%); right: 8px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border: solid var(--dw-muted); border-width: 0 1.5px 1.5px 0; display: block; width: 7px; height: 7px; transform: rotate(45deg); margin: 4px auto 0; }
.select2-dropdown { background: #fff; border: 1px solid var(--dw-line); border-radius: 4px; box-sizing: border-box; display: block; position: absolute; left: -100000px; width: 100%; z-index: 1051; box-shadow: 0 12px 30px rgb(0 0 0 / 12%); }
.select2-container--open .select2-dropdown { left: 0; }
.select2-search--dropdown { display: block; padding: 8px; }
.select2-search--dropdown .select2-search__field { width: 100%; box-sizing: border-box; min-height: 38px; }
.select2-search--dropdown.select2-search--hide { display: none; }
.select2-results { display: block; }
.select2-results__options { list-style: none; margin: 0; padding: 0; max-height: 260px; overflow-y: auto; }
.select2-results__option { padding: 8px 12px; user-select: none; font-size: .875rem; }
.select2-results__option[aria-selected] { cursor: pointer; }
.select2-container--default .select2-results__option[aria-selected=true] { background: var(--dw-tint); }
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--dw-accent); color: #fff; }
.select2-close-mask { border: 0; margin: 0; padding: 0; display: block; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 99; background-color: #fff; }
.woocommerce-account-fields, .create-account { grid-column: 1 / -1; }

/* Order overview */
table.woocommerce-checkout-review-order-table { font-size: .8125rem; }
table.woocommerce-checkout-review-order-table thead th { background: none; padding: 0 0 8px; font-size: .75rem; text-transform: uppercase; color: #555; letter-spacing: .02em; }
table.woocommerce-checkout-review-order-table td, table.woocommerce-checkout-review-order-table th { padding: 10px 0; }
table.woocommerce-checkout-review-order-table tfoot th { background: none; font-size: .75rem; text-transform: uppercase; letter-spacing: .02em; color: #444; font-weight: 600; }
.dw-ro-item { display: grid; grid-template-columns: 54px 1fr; gap: 10px; align-items: start; }
.dw-ro-item__img { width: 54px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.dw-ro-item__info { display: flex; flex-direction: column; gap: 1px; }
.dw-ro-item__name { color: #333; line-height: 1.4; }
.dw-ro-item__meta, .dw-ro-item .product-quantity, .dw-ro-item dl { color: var(--dw-muted); font-size: .75rem; margin: 0; }
table.woocommerce-checkout-review-order-table .product-total, table.woocommerce-checkout-review-order-table tfoot td { text-align: right; }
table.woocommerce-checkout-review-order-table .order-total th, table.woocommerce-checkout-review-order-table .order-total td { font-size: 1rem; font-weight: 700; border-bottom: 0; color: var(--dw-ink); }
table.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { text-align: right; }
.dw-ro-coupon td { padding: 12px 0 !important; text-align: left !important; }
.dw-coupon label { display: flex; align-items: center; gap: 6px; font-size: .6875rem; font-weight: 600; text-transform: uppercase; color: #444; margin-bottom: 6px; }
.dw-coupon__row { display: flex; gap: 6px; }
.dw-coupon__row input { min-height: 34px; padding: 4px 10px; font-size: .8125rem; }
.dw-coupon__btn { flex: none; min-height: 34px; padding: 0 16px; border: 0; border-radius: 3px; background: #6b6b6b; color: #fff; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.dw-coupon__btn:hover { background: var(--dw-ink); }
#payment { margin-top: 10px; }
#payment .wc_payment_methods { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
#payment .wc_payment_method { border: 1px solid var(--dw-line); border-radius: 4px; padding: 10px 12px; background: #fff; }
#payment .wc_payment_method:has(input:checked) { border-color: var(--dw-accent); box-shadow: 0 0 0 1px var(--dw-accent); }
#payment .wc_payment_method > label { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 600; cursor: pointer; text-transform: none; }
#payment .wc_payment_method > input { margin-right: 6px; accent-color: var(--dw-accent); }
#payment .wc_payment_method img, .mfc-gateway-icon { max-height: 20px; width: auto; }
#payment .payment_box { margin-top: 8px; font-size: .8125rem; color: var(--dw-muted); }
#payment .payment_box p:last-child { margin: 0; }
.mfc-mobile-banking__numbers { list-style: none; margin: 0 0 12px; padding: 12px; background: var(--dw-tint); border-radius: 4px; display: grid; gap: 4px; color: var(--dw-ink); }
.mfc-mobile-banking .form-row-first, .mfc-mobile-banking .form-row-last { display: inline-flex; width: calc(50% - 6px); }
.woocommerce-terms-and-conditions-wrapper { font-size: .75rem; color: var(--dw-muted); margin-bottom: 12px; }
#place_order { width: auto; min-width: 180px; min-height: 44px; padding: 8px 28px; font-size: calc(.9375rem * var(--dw-btn-scale)); background: var(--dw-order-bg); color: var(--dw-order-text); border-radius: var(--dw-btn-radius); }
#place_order:hover { background: var(--dw-order-bg-hover); color: var(--dw-order-text-hover); }
.woocommerce-checkout form.woocommerce-form-login { background: #fff; border: 1px dashed var(--dw-line); border-radius: var(--dw-radius); padding: 16px; margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.blockUI.blockOverlay { background: rgb(255 255 255 / 60%) !important; }

/* ---------- Order received ---------- */
.woocommerce-order { max-width: 860px; margin: 0 auto; }
.woocommerce-thankyou-order-received { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 500; text-align: center; color: var(--dw-ink); background: var(--dw-soft); border-radius: var(--dw-radius); padding: 28px 22px; margin-bottom: 24px; line-height: 1.6; }
.woocommerce-thankyou-order-received::before { content: ""; display: block; width: 58px; height: 58px; margin: 0 auto 12px; border-radius: 50%; background: var(--dw-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 28px no-repeat; }
ul.woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 0; margin: 0 0 28px; }
ul.woocommerce-order-overview li { background: #fff; border: 1px solid var(--dw-line); border-radius: 4px; padding: 12px; font-size: .75rem; color: var(--dw-muted); }
ul.woocommerce-order-overview li strong { display: block; color: var(--dw-ink); font-size: .9375rem; margin-top: 2px; }
.woocommerce-order-details, .woocommerce-customer-details, .mfc-tracking { margin-top: 28px; }
.woocommerce-order-details__title, .woocommerce-column__title, .mfc-tracking h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .02em; }
.woocommerce-customer-details address { font-style: normal; background: #fff; border: 1px solid var(--dw-line); border-radius: 4px; padding: 16px; line-height: 1.8; font-size: .875rem; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); overflow: hidden; }
.woocommerce-MyAccount-navigation li { margin: 0; border-bottom: 1px solid var(--dw-line); }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 16px; font-size: .875rem; color: #333; }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--dw-grad); color: #fff; }
.woocommerce-MyAccount-navigation a:hover { background: var(--dw-soft); }
.woocommerce-MyAccount-navigation li.is-active a:hover { background: var(--dw-accent); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--dw-sale); }
.woocommerce-MyAccount-content { border: 1px solid var(--dw-line); border-radius: var(--dw-radius); padding: clamp(18px, 3vw, 28px); min-height: 300px; font-size: .9375rem; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.woocommerce-MyAccount-content mark { background: var(--dw-tint); padding: 0 4px; border-radius: 3px; }
.woocommerce-orders-table__cell-order-actions .button { min-height: 32px; padding: 4px 12px; font-size: .75rem; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.u-columns.col2-set, #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
#customer_login h2 { font-size: .9375rem; font-weight: 600; text-transform: uppercase; display: inline-block; padding-bottom: 6px; border-bottom: 2px solid var(--dw-accent); }
.woocommerce-form-login, .woocommerce-form-register { background: #fff; border: 1px solid var(--dw-line); border-radius: var(--dw-radius); padding: 24px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { width: 100%; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; margin-top: 6px; background: var(--dw-btn-bg); color: var(--dw-btn-text); }
.woocommerce-form-login .lost_password { margin: 12px 0 0; font-size: .8125rem; }
.password-input { position: relative; display: block; }
.password-input input { width: 100%; padding-right: 46px; }
.show-password-input { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 34px; height: 34px; border: 0; padding: 0; background: transparent; cursor: pointer; color: var(--dw-muted); border-radius: 4px; }
.show-password-input::before { content: ""; display: block; width: 19px; height: 19px; margin: auto; background: currentColor; -webkit-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'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; 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'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password { color: var(--dw-accent); }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; text-transform: none; }
.woocommerce-LostPassword { font-size: .8125rem; }
.woocommerce-account fieldset { border: 1px solid var(--dw-line); border-radius: 4px; padding: 16px; margin: 20px 0; }

@media (max-width: 1023px) {
	.woocommerce-cart .woocommerce, .dw-checkout { grid-template-columns: 1fr; }
	.dw-co-card, .cart-collaterals .cart_totals { position: static; }
}
@media (max-width: 767px) {
	table.cart thead { display: none; }
	table.cart tr.cart_item { display: grid; grid-template-columns: 76px 1fr auto; grid-template-areas: "thumb name remove" "thumb price price" "thumb qty subtotal"; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--dw-line); }
	table.cart tr.cart_item td { border: 0; padding: 0; }
	table.cart td.product-thumbnail { grid-area: thumb; }
	table.cart td.product-name { grid-area: name; }
	table.cart td.product-remove { grid-area: remove; }
	table.cart td.product-price { grid-area: price; color: var(--dw-muted); font-size: .8125rem; }
	table.cart td.product-quantity { grid-area: qty; }
	table.cart td.product-subtotal { grid-area: subtotal; font-weight: 600; align-self: center; }
	table.cart td::before { display: none; }
	table.cart td.actions .coupon { float: none; max-width: none; margin-bottom: 10px; }
	table.cart td.actions > .button { float: none; width: 100%; }
	.woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	#place_order { width: 100%; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation li { border-bottom: 0; border-right: 1px solid var(--dw-line); }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.u-columns.col2-set, #customer_login { grid-template-columns: 1fr; }
	table.woocommerce-orders-table thead { display: none; }
	table.woocommerce-orders-table tr { display: block; border-bottom: 1px solid var(--dw-line); padding: 10px 0; }
	table.woocommerce-orders-table td { display: flex; justify-content: space-between; border: 0; padding: 4px 0; }
	table.woocommerce-orders-table td::before { content: attr(data-title); color: var(--dw-muted); }
}

/* ---------- Thank you page (My Fashion Core template) ---------- */
.mfc-ty { --ty-ok: #1f9d55; --ty-ok-soft: #e9f7ef; max-width: 980px; margin: 8px auto 0; }
.mfc-ty__hero { text-align: center; padding: 36px 20px 30px; border: 1px solid var(--dw-line); border-radius: 14px; background: linear-gradient(180deg, var(--ty-ok-soft), #fff 70%); }
.mfc-ty__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ty-ok); color: #fff; box-shadow: 0 0 0 10px rgb(31 157 85 / 12%); animation: mfc-ty-pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.mfc-ty__tick { stroke-dasharray: 24; stroke-dashoffset: 24; animation: mfc-ty-draw .45s .35s ease-out forwards; }
@keyframes mfc-ty-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes mfc-ty-draw { to { stroke-dashoffset: 0; } }
.mfc-ty__hero--failed { background: linear-gradient(180deg, #fdf0f0, #fff 70%); }
.mfc-ty__hero--failed .mfc-ty__icon { background: var(--dw-sale); box-shadow: 0 0 0 10px rgb(208 49 45 / 12%); }
.mfc-ty__title { margin: 20px 0 8px; font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 600; line-height: 1.25; color: var(--dw-ink); }
.mfc-ty__lead { max-width: 560px; margin: 0 auto; color: #555; font-size: 1rem; line-height: 1.6; }
.mfc-ty__number { display: inline-flex; align-items: center; gap: 10px; margin: 20px 0 0; padding: 6px 6px 6px 16px; border: 1px dashed #c9c9c9; border-radius: 999px; background: #fff; font-size: .875rem; color: var(--dw-muted); }
.mfc-ty__number strong { color: var(--dw-ink); font-size: 1.0625rem; letter-spacing: .02em; }
.mfc-ty__copy { border: 0; border-radius: 999px; padding: 5px 12px; background: var(--dw-soft); color: var(--dw-ink); font-size: .75rem; font-weight: 600; cursor: pointer; }
.mfc-ty__copy:hover { background: var(--dw-ink); color: #fff; }
.mfc-ty__facts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border: 1px solid var(--dw-line); border-radius: 12px; background: #fff; overflow: hidden; }
.mfc-ty__facts li { padding: 14px 18px; border-left: 1px solid var(--dw-line); }
.mfc-ty__facts li:first-child { border-left: 0; }
.mfc-ty__facts span { display: block; font-size: .75rem; color: var(--dw-muted); margin-bottom: 3px; }
.mfc-ty__facts strong { font-size: .9375rem; color: var(--dw-ink); font-weight: 600; }
.mfc-ty__steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--mfc-steps, 4), minmax(0, 1fr)); counter-reset: s; }
.mfc-ty__steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: .8125rem; color: var(--dw-muted); }
.mfc-ty__steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--dw-line); z-index: 0; }
.mfc-ty__steps li:first-child::before { display: none; }
.mfc-ty__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--dw-line); font-size: .8125rem; font-weight: 600; color: var(--dw-muted); }
.mfc-ty__steps .is-done .mfc-ty__dot { background: var(--ty-ok); border-color: var(--ty-ok); color: #fff; }
.mfc-ty__steps .is-done, .mfc-ty__steps .is-next { color: var(--dw-ink); font-weight: 500; }
.mfc-ty__steps .is-next .mfc-ty__dot { border-color: var(--ty-ok); color: var(--ty-ok); }
.mfc-ty__steps .is-next::before { background: linear-gradient(90deg, var(--ty-ok), var(--dw-line)); }
.mfc-ty__note { margin: 24px 0 0; padding: 14px 18px; border-radius: 10px; background: #fff8e6; border: 1px solid #f3dfa8; color: #6b5310; font-size: .9375rem; line-height: 1.55; }
.mfc-ty__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; margin-top: 22px; align-items: start; }
.mfc-ty__side { display: flex; flex-direction: column; gap: 18px; }
.mfc-ty__card { padding: 20px; border: 1px solid var(--dw-line); border-radius: 12px; background: #fff; }
.mfc-ty__card h2 { margin: 0 0 14px; font-size: 1rem; font-weight: 600; color: var(--dw-ink); text-transform: none; letter-spacing: 0; }
.mfc-ty__items ul { list-style: none; margin: 0; padding: 0; }
.mfc-ty__item { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f1f1; }
.mfc-ty__thumb { position: relative; }
.mfc-ty__thumb img { display: block; width: 58px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--dw-soft); }
.mfc-ty__thumb em { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--dw-ink); color: #fff; font-style: normal; font-size: .6875rem; font-weight: 600; display: grid; place-items: center; }
.mfc-ty__name { font-size: .875rem; line-height: 1.4; color: #333; }
.mfc-ty__name small { display: block; margin-top: 2px; font-size: .75rem; color: var(--dw-muted); }
.mfc-ty__price { font-size: .875rem; font-weight: 600; color: var(--dw-ink); white-space: nowrap; }
.mfc-ty__totals { margin: 12px 0 0; }
.mfc-ty__totals div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .875rem; color: #555; }
.mfc-ty__totals dt, .mfc-ty__totals dd { margin: 0; }
.mfc-ty__totals .is-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--dw-line); font-size: 1rem; font-weight: 600; color: var(--dw-ink); }
.mfc-ty__address address { font-style: normal; font-size: .9rem; line-height: 1.7; color: #444; }
.mfc-ty__cnote { margin: 10px 0 0; font-size: .8125rem; color: #555; }
.mfc-ty__help-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.mfc-ty__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1px solid var(--dw-line); border-radius: 8px; background: #fff; color: var(--dw-ink); font-weight: 500; font-size: .9375rem; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.mfc-ty__btn:hover { border-color: var(--dw-ink); color: var(--dw-ink); }
.mfc-ty__help .mfc-ty__btn { flex: 1 1 120px; }
.mfc-ty__btn--wa { background: #25d366; border-color: #25d366; color: #fff; }
.mfc-ty__btn--wa:hover { background: #1ebe5a; border-color: #1ebe5a; color: #fff; }
.mfc-ty__btn--primary { background: var(--dw-btn-bg); border-color: transparent; color: var(--dw-btn-text); }
.mfc-ty__btn--primary:hover { background: var(--dw-btn-bg-hover); color: var(--dw-btn-text-hover); border-color: transparent; }
.mfc-ty__gateway:empty, .mfc-ty__hooks:empty { display: none; }
.mfc-ty__gateway { margin-top: 18px; font-size: .9rem; color: #555; }
.mfc-ty__gateway p { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--dw-soft); }
.mfc-ty__hooks { margin-top: 18px; }
.mfc-ty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 30px 0 10px; }
.mfc-ty__actions .mfc-ty__btn { min-width: 200px; }
@media (max-width: 760px) {
	.mfc-ty__hero { padding: 28px 16px 24px; }
	.mfc-ty__facts { grid-template-columns: 1fr 1fr; }
	.mfc-ty__facts li:nth-child(odd) { border-left: 0; }
	.mfc-ty__facts li:nth-child(n+3) { border-top: 1px solid var(--dw-line); }
	.mfc-ty__steps { grid-template-columns: 1fr; gap: 0; justify-items: start; padding-left: 4px; }
	.mfc-ty__steps li { flex-direction: row; gap: 12px; text-align: left; padding: 6px 0; }
	.mfc-ty__steps li::before { top: -50%; left: 15px; width: 2px; height: 100%; }
	.mfc-ty__steps .is-next::before { background: linear-gradient(180deg, var(--ty-ok), var(--dw-line)); }
	.mfc-ty__grid { grid-template-columns: 1fr; }
	.mfc-ty__actions .mfc-ty__btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .mfc-ty__icon, .mfc-ty__tick { animation: none; stroke-dashoffset: 0; } }
