/* Modu Market cart + checkout preview. Native WooCommerce markup and handlers stay intact.
   Every rule requires the preview/live body flag; site chrome and advertisements are untouched. */
body.mms-commerce-active {
  --mmc-purple: #7018c0;
  --mmc-purple-dark: #53108f;
  --mmc-ink: #28232f;
  --mmc-muted: #736d7b;
  --mmc-line: #e8e2ec;
  --mmc-cream: #f7f5f0;
  --mmc-soft: #f5f0fa;
  --mmc-font: "Wanted Sans Variable", "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
body.mms-commerce-active .mms-commerce-shell :is(.mms-commerce-header, .mms-commerce-topline, .mms-commerce-steps, .mms-commerce-preview-note, .woocommerce) {
  box-sizing: border-box;
  color: var(--mmc-ink);
  font-family: var(--mmc-font);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
body.mms-commerce-active .mms-commerce-shell :is(.mms-commerce-header, .mms-commerce-topline, .mms-commerce-steps, .woocommerce) * { box-sizing: border-box; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.woocommerce-cart-form, .woocommerce-shipping-calculator, #customer_details, .woocommerce-additional-fields, form.checkout_coupon, form.woocommerce-form-login) :is(button, input, select, textarea) { font-family: var(--mmc-font); }
body.mms-commerce-active .mms-commerce-shell :is(.mms-commerce-topline, .mms-commerce-steps, .woocommerce) :is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--mmc-purple); outline-offset: 3px; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-preview-note { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 22px; padding: 12px 16px; border: 1px solid #e9d9c4; border-radius: 10px; background: #fff9f0; color: #785c38; font-size: 12px; line-height: 1.65; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-preview-note a { color: #6e4f2b; text-decoration: underline; text-underline-offset: 3px; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 26px; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-brand { color: var(--mmc-ink); font-size: 15px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-brand span { margin-left: 9px; color: var(--mmc-purple); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-back { display: inline-flex; align-items: center; min-height: 44px; color: #6b5e73; font-size: 12px; font-weight: 600; text-decoration: none; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-back:hover { color: var(--mmc-purple); }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-header { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin: 0 0 29px; padding: 27px 30px 28px; border: 1px solid #ece7e0; border-radius: 20px; background: var(--mmc-cream); }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-eyebrow { margin: 0 0 12px; color: var(--mmc-purple); font-size: 10px; font-weight: 750; letter-spacing: .12em; line-height: 1.5; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-header h1 { margin: 0 0 10px; color: var(--mmc-ink); font-family: var(--mmc-font); font-size: clamp(30px, 3.2vw, 42px); font-weight: 780; line-height: 1.2; letter-spacing: -.055em; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-header p:not(.mms-commerce-eyebrow) { margin: 0; color: var(--mmc-muted); font-size: 14px; line-height: 1.8; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps { margin: 0 0 28px; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-header .mms-commerce-steps { flex-shrink: 0; margin: 0 0 4px; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps ol { display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 0; padding: 0; list-style: none; counter-reset: mmc-step; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps li { display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; color: #8c8194; font-size: 12px; font-weight: 600; line-height: 1.5; counter-increment: mmc-step; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps .mms-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 29px; height: 29px; border: 1px solid #e7e0ec; border-radius: 50%; background: #fff; color: #93869d; font-size: 10px; font-weight: 700; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps li:is([aria-current="step"], .is-current) { color: var(--mmc-purple); font-weight: 750; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps li:is([aria-current="step"], .is-current) .mms-step-number { border-color: var(--mmc-purple); background: var(--mmc-purple); color: #fff; }
body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps a { color: inherit; text-decoration: none; }

/* Cart layout. Only the shortcode instance containing the native cart form becomes a grid. */
body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(315px, 1fr); align-items: start; gap: 22px; }
body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) > * { grid-column: 1 / -1; min-width: 0; }
body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) > form.woocommerce-cart-form { grid-column: 1; margin: 0; }
body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals { grid-column: 2; width: 100%; margin: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-collaterals .cart_totals { float: none; width: 100%; margin: 0; padding: 23px 23px 19px; border: 1px solid #ece7e0; border-radius: 17px; background: var(--mmc-cream); }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals > h2 { margin: 0 0 20px; padding: 0; color: var(--mmc-ink); font-family: var(--mmc-font); font-size: 24px; font-weight: 760; line-height: 1.4; letter-spacing: -.045em; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents { width: 100%; margin: 0; border: 1px solid var(--mmc-line); border-collapse: separate; border-spacing: 0; border-radius: 17px; background: #fff; font-size: 13px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents thead th { padding: 14px 10px; border: 0; border-bottom: 1px solid var(--mmc-line); background: #f7f4fa; color: #83728e; font-size: 10px; font-weight: 700; line-height: 1.6; letter-spacing: .02em; text-transform: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents thead th:first-child { border-top-left-radius: 16px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents thead th:last-child { border-top-right-radius: 16px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td { padding: 20px 9px; border: 0; border-bottom: 1px solid var(--mmc-line); background: #fff; color: #584c61; line-height: 1.65; vertical-align: middle; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr:last-child td { border-bottom: 0; border-radius: 0 0 16px 16px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-remove { width: 40px; padding-right: 0; padding-left: 7px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 44px; border-radius: 8px; background: transparent; color: #9a8da3 !important; font-size: 22px; font-weight: 400; line-height: 1; text-decoration: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-remove a.remove:hover { background: #f6edf6; color: #773d84 !important; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-thumbnail { width: 78px; padding-left: 4px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-thumbnail img { display: block; width: 62px; max-width: 62px; height: 62px; margin: 0; border-radius: 9px; background: var(--mmc-cream); object-fit: contain; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-name { min-width: 110px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-name > a { color: #43314d; font-size: 13px; font-weight: 700; line-height: 1.6; letter-spacing: -.025em; text-decoration: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-name dl.variation { margin: 6px 0 0; color: #8b7e94; font-size: 11px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td:is(.product-price, .product-subtotal) { color: #493351; font-size: 13px; font-weight: 650; white-space: nowrap; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.product-quantity { width: 76px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .quantity .qty { width: 62px; min-height: 48px; height: 48px; margin: 0; padding: 9px 5px; border: 1px solid #ded4e6; border-radius: 8px; background: #fff; color: var(--mmc-ink); font-size: 15px; font-weight: 600; line-height: 1.5; text-align: center; box-shadow: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.actions { padding: 18px 17px; background: #fbfafc; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .coupon { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; float: none; margin: 0 0 12px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .coupon input#coupon_code { float: none; width: 155px; min-width: 0; max-width: 100%; min-height: 44px; margin: 0; padding: 10px 12px; border: 1px solid #e1d8e8; border-radius: 8px; background: #fff; color: #4d3c57; font-size: 13px; line-height: 1.5; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form :is(button[name="apply_coupon"], button[name="update_cart"]),
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(form.checkout_coupon, form.woocommerce-form-login, .woocommerce-shipping-calculator) button.button {
  display: inline-flex; align-items: center; justify-content: center; float: none; width: auto; min-height: 44px; height: auto; margin: 0; padding: 10px 14px; border: 1px solid #e0d4e9; border-radius: 8px; background: #fff; color: #6f388f; font-family: var(--mmc-font); font-size: 12px; font-weight: 700; line-height: 1.5; letter-spacing: -.02em; text-transform: none; box-shadow: none;
}
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form button[name="update_cart"] { float: right; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form :is(button[name="apply_coupon"], button[name="update_cart"]):disabled { color: #a89cae; background: #f4f1f6; opacity: .7; cursor: not-allowed; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table { width: 100%; margin: 0 0 18px; border: 0; border-collapse: collapse; background: transparent; font-size: 13px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table :is(th, td) { padding: 14px 0; border: 0; border-bottom: 1px solid #e7e0dc; background: transparent; color: #6a5f70; line-height: 1.7; vertical-align: top; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table th { width: 36%; font-weight: 550; text-align: left; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table td { text-align: right; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table .order-total :is(th, td) { padding-top: 19px; border-bottom: 0; color: #36273e; font-size: 17px; font-weight: 750; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table .order-total .amount { font-size: 25px; font-weight: 760; letter-spacing: -.04em; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.cart_totals, #order_review) #shipping_method { margin: 0; padding: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.cart_totals, #order_review) #shipping_method li { margin: 0 0 8px; padding: 0; font-size: 12px; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.cart_totals, #order_review) #shipping_method label { display: inline; font-weight: 500; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals .woocommerce-shipping-destination { margin: 8px 0 0; color: #8a7d91; font-size: 11px; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .shipping-calculator-button { display: inline-flex; align-items: center; min-height: 40px; color: var(--mmc-purple); font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .wc-proceed-to-checkout { margin: 0; padding: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .wc-proceed-to-checkout a.checkout-button,
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment #place_order,
body.mms-commerce-active .mms-commerce-shell .woocommerce .return-to-shop a.button { display: flex; align-items: center; justify-content: center; width: 100%; height: auto; min-height: 50px; margin: 0 0 14px; padding: 13px 17px; border: 1px solid var(--mmc-purple); border-radius: 9px; background: var(--mmc-purple); color: #fff; -webkit-text-fill-color: #fff; font-family: var(--mmc-font); font-size: 15px; font-weight: 750; line-height: 1.5; letter-spacing: -.025em; text-align: center; text-transform: none; white-space: normal; box-shadow: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .wc-proceed-to-checkout a.checkout-button br { display: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment #place_order:hover { border-color: var(--mmc-purple-dark); background: var(--mmc-purple-dark); color: #fff; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cross-sells { float: none; width: 100%; margin: 0 0 22px; }

/* Native checkout: original input fields, IDs, validation, payment widgets and order remain. */
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(330px, 1fr); align-items: start; gap: 0 28px; margin: 26px 0 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > * { grid-column: 1 / -1; min-width: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > .wcpay-express-checkout-wrapper { grid-column: 1 / -1; margin: 0 0 25px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > #customer_details { grid-column: 1; grid-row: auto / span 3; width: 100%; margin: 0; padding: 25px 27px; border: 1px solid var(--mmc-line); border-radius: 18px; background: #fff; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > #order_review_heading { grid-column: 2; margin: 0; padding: 24px 25px 18px; border: 1px solid #ece7e0; border-bottom: 0; border-radius: 18px 18px 0 0; background: var(--mmc-cream); }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > #order_review { grid-column: 2; margin: 0; padding: 0 25px 24px; border: 1px solid #ece7e0; border-top: 0; border-radius: 0 0 18px 18px; background: var(--mmc-cream); }
/* Optional native-hook wrappers can group checkout sections without moving any fields. */
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > .mms-checkout-customer { grid-column: 1; padding: 25px 27px; border: 1px solid var(--mmc-line); border-radius: 18px; background: #fff; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > .mms-checkout-summary { grid-column: 2; padding: 24px 25px; border: 1px solid #ece7e0; border-radius: 18px; background: var(--mmc-cream); }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details :is(.col-1, .col-2) { float: none; clear: both; width: 100%; min-width: 0; margin: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .mms-checkout-summary, #order_review_heading) h3,
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review_heading { margin: 0 0 20px; color: var(--mmc-ink); font-family: var(--mmc-font); font-size: 24px; font-weight: 750; line-height: 1.4; letter-spacing: -.045em; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details .woocommerce-shipping-fields { margin-top: 20px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details #ship-to-different-address { margin: 0 0 17px; font-size: 15px; font-weight: 650; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details .woocommerce-additional-fields { margin-top: 25px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details .woocommerce-additional-fields h3 { margin-bottom: 16px; font-size: 18px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator, form.checkout_coupon, form.woocommerce-form-login) .form-row { margin: 0 0 17px; padding: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details :is(.form-row-first, .form-row-last) { width: 48%; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator, form.checkout_coupon, form.woocommerce-form-login) label { margin: 0 0 7px; color: #68586f; font-size: 12px; font-weight: 650; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .form-row .optional { color: #9a8ba3; font-size: 11px; font-weight: 450; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .form-row .required { color: #9c3b67; text-decoration: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator, form.checkout_coupon, form.woocommerce-form-login) :is(input.input-text, select, textarea) { width: 100%; max-width: 100%; min-height: 48px; height: auto; margin: 0; padding: 12px 13px; border: 1px solid #dfd5e6; border-radius: 8px; background: #fff; color: #3d3045; font-size: 15px; font-weight: 450; line-height: 1.5; box-shadow: none; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator, form.checkout_coupon, form.woocommerce-form-login) input.input-text::placeholder,
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details textarea::placeholder { color: #a295ab; opacity: 1; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details textarea { min-height: 112px; resize: vertical; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator) .select2-container { width: 100% !important; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator) .select2-container .select2-selection--single { min-height: 48px; height: 48px; border: 1px solid #dfd5e6; border-radius: 8px; background: #fff; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator) .select2-selection--single .select2-selection__rendered { padding: 11px 31px 11px 13px; color: #3d3045; font-family: var(--mmc-font); font-size: 15px; line-height: 24px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator) .select2-selection--single .select2-selection__arrow { height: 46px; right: 7px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-invalid :is(input.input-text, select, .select2-selection--single) { border-color: #b94664; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) input[type="checkbox"] { width: 18px; height: 18px; margin-right: 7px; accent-color: var(--mmc-purple); vertical-align: middle; }
body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout_coupon,
body.mms-commerce-active .mms-commerce-shell .woocommerce form.woocommerce-form-login { margin: 15px 0 25px; padding: 23px; border: 1px solid var(--mmc-line); border-radius: 13px; background: #fbfafc; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(form.checkout_coupon, form.woocommerce-form-login) > p { color: #786b81; font-size: 13px; line-height: 1.8; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) { margin: 0 0 18px; padding: 15px 18px 15px 44px; border: 1px solid #e6dced; border-radius: 10px; background: #faf7fc; color: #6b557a; font-family: var(--mmc-font); font-size: 13px; line-height: 1.8; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error)::before { top: 15px; left: 17px; color: #9b72b3; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-error { border-color: #edcfd7; background: #fff7f8; color: #8b3b53; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-error::before { color: #b04c6a; }
body.mms-commerce-active .mms-commerce-shell .woocommerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error) a { color: #70448b; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table { width: 100%; margin: 0 0 21px; border: 0; border-collapse: collapse; background: transparent; font-size: 13px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table :is(th, td) { padding: 14px 0; border: 0; border-bottom: 1px solid #e6dfdc; background: transparent; color: #685a70; font-size: 13px; line-height: 1.8; vertical-align: top; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table thead th { padding-top: 0; color: #9b8ba6; font-size: 11px; font-weight: 600; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table :is(th, td):last-child { text-align: right; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table td.product-name { width: 66%; padding-right: 14px; color: #4f3e59; font-weight: 600; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table .product-quantity { color: #9b88a7; font-size: 11px; font-weight: 600; white-space: nowrap; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table dl.variation { margin: 6px 0 0; color: #8f7f99; font-size: 11px; font-weight: 450; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table .order-total :is(th, td) { padding: 18px 0 19px; color: #35253e; font-size: 17px; font-weight: 750; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table .order-total .amount { font-size: 25px; letter-spacing: -.04em; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment { border: 0; border-radius: 0; background: transparent; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment ul.payment_methods { margin: 0 0 19px; padding: 0; border: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment ul.payment_methods > li { margin: 0 0 10px; padding: 13px 14px; border: 1px solid #e1d8e6; border-radius: 9px; background: #fff; color: #5a4665; font-size: 13px; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment ul.payment_methods > li > label { color: #49344f; font-size: 13px; font-weight: 650; line-height: 1.7; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment ul.payment_methods input.input-radio { width: 17px; height: 17px; margin-right: 7px; accent-color: var(--mmc-purple); vertical-align: middle; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .payment_box { margin: 12px 0 0; padding: 12px; border-radius: 7px; background: #f6f2f9; color: #756380; font-family: var(--mmc-font); font-size: 12px; line-height: 1.8; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .payment_box::before { border-bottom-color: #f6f2f9; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .place-order { margin: 0; padding: 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .woocommerce-privacy-policy-text { color: #8c7b96; font-size: 11px; line-height: 1.85; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .woocommerce-privacy-policy-text p { margin: 0 0 14px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment .woocommerce-terms-and-conditions-wrapper { color: #74617f; font-size: 12px; line-height: 1.8; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment #place_order { float: none; margin: 18px 0 0; }
body.mms-commerce-active .mms-commerce-shell .woocommerce #payment #place_order:disabled { opacity: .6; cursor: not-allowed; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-empty { padding: 35px 24px 35px 50px; border-color: #e5ddee; border-radius: 16px; background: var(--mmc-cream); color: #685572; font-size: 15px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-empty::before { top: 35px; left: 23px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .return-to-shop { margin: 20px 0 50px; }
body.mms-commerce-active .mms-commerce-shell .woocommerce .return-to-shop a.button { width: auto; max-width: 240px; margin: 0; }

@media (min-width: 1100px) {
  body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) > .cart-collaterals { position: sticky; top: 108px; }
}
@media (max-width: 1050px) {
  body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  body.mms-commerce-active.woocommerce-cart .mms-commerce-shell .woocommerce:has(> form.woocommerce-cart-form) > :is(form.woocommerce-cart-form, .cart-collaterals) { grid-column: 1; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > :is(#customer_details, #order_review_heading, #order_review, .mms-checkout-customer, .mms-checkout-summary) { grid-column: 1; grid-row: auto; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > :is(#customer_details, .mms-checkout-customer) { margin-bottom: 26px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-collaterals .cart_totals { max-width: none; }
}
@media (max-width: 767px) {
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-topline { margin-bottom: 18px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-brand { font-size: 13px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-back { font-size: 11px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header { display: block; margin-bottom: 22px; padding: 23px 22px 24px; border-radius: 16px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header h1 { font-size: 32px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header p:not(.mms-commerce-eyebrow) { font-size: 13px; line-height: 1.75; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps { margin-bottom: 23px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header .mms-commerce-steps { margin: 23px 0 0; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps ol { gap: 12px 17px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps li { gap: 6px; font-size: 11px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps .mms-step-number { width: 25px; height: 25px; font-size: 9px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents { border: 0; border-radius: 0; background: transparent; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item { position: relative; display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 0 14px; margin: 0 0 14px; padding: 20px 16px 16px; border: 1px solid var(--mmc-line); border-radius: 15px; background: #fff; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td { display: block; width: auto; min-width: 0; margin: 0; padding: 8px 0; border: 0; border-radius: 0; background: transparent; text-align: left !important; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-remove { position: absolute; top: 6px; right: 4px; padding: 0; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-remove a.remove { width: 36px; height: 44px; font-size: 21px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail { display: block !important; grid-column: 1; grid-row: 1 / span 2; padding-top: 5px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail::before { content: none; display: none; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail img { width: 78px; max-width: 78px; height: 78px; border-radius: 9px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-name { grid-column: 2; padding: 4px 23px 4px 0; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-name::before { content: none; display: none; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-name > a { font-size: 14px; line-height: 1.65; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-price { grid-column: 2; padding-top: 3px; color: #8e7c9b; font-size: 12px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-price::before { margin-right: 8px; color: #a18faa; font-size: 11px; font-weight: 450; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-quantity { display: flex; align-items: center; justify-content: space-between; grid-column: 1 / -1; margin-top: 12px; padding-top: 13px; border-top: 1px solid #f0eaf4; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-quantity::before { color: #8c7899; font-size: 12px; font-weight: 500; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-subtotal { display: flex; justify-content: space-between; grid-column: 1 / -1; padding-top: 10px; color: #4e345d; font-size: 17px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-subtotal::before { color: #8c7899; font-size: 12px; font-weight: 500; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .quantity .qty { width: 84px; font-size: 16px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents td.actions { margin-top: 5px; padding: 16px; border: 1px solid var(--mmc-line); border-radius: 13px !important; background: #fbfafc; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .coupon { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin: 0 0 12px; padding: 0; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .coupon input#coupon_code { width: 100%; min-height: 48px; font-size: 16px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form .coupon button[name="apply_coupon"] { width: auto; min-height: 48px; padding: 10px 13px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .woocommerce-cart-form button[name="update_cart"] { float: none; width: 100%; min-height: 48px; font-size: 13px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-collaterals .cart_totals { padding: 24px 21px 21px; border-radius: 16px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals > h2 { font-size: 23px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table tr { display: table-row; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table :is(th, td) { display: table-cell; text-align: left !important; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table td { text-align: right !important; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart_totals table td::before { content: none; display: none; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout { margin-top: 20px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > :is(#customer_details, .mms-checkout-customer) { padding: 23px 20px; border-radius: 15px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > #order_review_heading { padding: 24px 20px 17px; border-radius: 15px 15px 0 0; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > #order_review { padding: 0 20px 22px; border-radius: 0 0 15px 15px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > .mms-checkout-summary { padding: 24px 20px; border-radius: 15px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .mms-checkout-summary, #order_review_heading) h3,
  body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review_heading { font-size: 23px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce #customer_details :is(.form-row-first, .form-row-last) { float: none; width: 100%; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator, form.checkout_coupon, form.woocommerce-form-login) :is(input.input-text, select, textarea),
  body.mms-commerce-active .mms-commerce-shell .woocommerce :is(#customer_details, .woocommerce-shipping-calculator) .select2-selection--single .select2-selection__rendered { font-size: 16px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce #order_review table.shop_table td.product-name { width: 65%; padding-right: 10px; font-size: 12px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce #payment ul.payment_methods > li { padding: 13px 12px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .wc-proceed-to-checkout a.checkout-button,
  body.mms-commerce-active .mms-commerce-shell .woocommerce #payment #place_order { min-height: 52px; font-size: 16px; }
}
@media (max-width: 359px) {
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header { padding: 22px 18px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-header h1 { font-size: 29px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps ol { gap: 9px; }
  body.mms-commerce-active .mms-commerce-shell .mms-commerce-steps li { gap: 5px; font-size: 10px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item { grid-template-columns: 64px minmax(0, 1fr); gap: 0 11px; padding-right: 13px; padding-left: 13px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce table.woocommerce-cart-form__contents tr.cart_item td.product-thumbnail img { width: 64px; max-width: 64px; height: 64px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce .cart-collaterals .cart_totals { padding-right: 17px; padding-left: 17px; }
  body.mms-commerce-active .mms-commerce-shell .woocommerce form.checkout > :is(#customer_details, #order_review_heading, #order_review, .mms-checkout-customer, .mms-checkout-summary) { padding-right: 17px; padding-left: 17px; }
}
