/* Layer Figures — cart, checkout, thank you, add to cart */

/* header cart: stays visible on every width */
@media (max-width: 1100px) {
    .header-wrap__cart { display: flex !important; flex-shrink: 0; }
}

/* product page */
.product-info__buy { display: flex; flex-direction: column; gap: 8px; }
.qty { display: inline-flex; align-items: stretch; width: fit-content; height: 54px; border: 1.5px solid #c9c2b8; background: #fff; }
.qty__btn { width: 48px; border: none; background: none; font: 500 20px 'DM Sans', sans-serif; color: #14161a; cursor: pointer; transition: background .3s; }
.qty__btn:hover { background: #f3ede5; }
.qty input, .woocommerce .quantity input.qty { width: 56px; border: none; border-inline: 1.5px solid #c9c2b8; background: none; text-align: center; font: 500 16px 'DM Sans', sans-serif; color: #14161a; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button, .woocommerce input.qty::-webkit-outer-spin-button, .woocommerce input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; background: #fbf8f4; }
[data-add-cart] { position: relative; }
[data-add-cart].is-loading { opacity: .6; pointer-events: none; }
[data-add-cart].is-added { background: #14161a; }

/* toast after add to cart */
.cart-toast { position: fixed; right: 24px; bottom: 24px; z-index: 1000; display: flex; flex-direction: column; gap: 6px; width: 380px; max-width: calc(100vw - 32px); padding: 24px; background: #fff; box-shadow: 0 24px 60px rgba(20, 22, 26, .16); opacity: 0; visibility: hidden; transform: translateY(16px); transition: .3s; }
.cart-toast.is-open { opacity: 1; visibility: visible; transform: none; }
.cart-toast__title { padding-right: 32px; font: 800 22px/26px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.cart-toast.is-error .cart-toast__title { color: #ff4a2b; }
.cart-toast__text { font-size: 15px; line-height: 22px; color: #2a3038; }
.cart-toast__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.cart-toast__actions[hidden] { display: none; }
.cart-toast__actions .btn { width: 100%; padding: 15px 12px; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; }
.cart-toast__close { position: absolute; top: 16px; right: 16px; width: 28px; height: 28px; border: none; background: none; cursor: pointer; }
.cart-toast__close::before, .cart-toast__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin-left: -8px; background: #14161a; transform: rotate(45deg); }
.cart-toast__close::after { transform: rotate(-45deg); }

/* body overflow-x:hidden makes body a scroll box and breaks sticky; clip keeps the same look without that */
body.is-shop-page { overflow-x: clip; overflow-y: visible; }

/* page head with steps */
.page-head--shop { padding-bottom: 8px; }
.shop-head__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.shop-steps { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shop-steps__item { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: #5c6470; }
.shop-steps__item + .shop-steps__item::before { content: ''; width: 28px; height: 1.5px; margin-right: 0; background: #d9d2c8; }
.shop-steps__item a { display: flex; align-items: center; gap: 8px; color: inherit; }
.shop-steps__item span { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid #c9c2b8; border-radius: 50%; font-size: 13px; font-weight: 700; }
.shop-steps__item.is-current { color: #14161a; }
.shop-steps__item.is-current span { border-color: #ff4a2b; background: #ff4a2b; color: #fff; }
.shop-steps__item.is-done span { border-color: #14161a; background: #14161a; color: #fff; }

.shop-page { padding: 32px 0 0; }
.shop-page--received { padding-top: 40px; }

/* generic Woo bits */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #place_order { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 15px 24px; border: none; border-radius: 0; background: #ff4a2b; color: #fff; font: 700 15px/1.2 'DM Sans', sans-serif; letter-spacing: .3px; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: .3s; }
.woocommerce .button:hover, .woocommerce #place_order:hover { background: #e8391b; }
.woocommerce .button:disabled, .woocommerce .button.disabled, .woocommerce .button:disabled[disabled] { opacity: .5; cursor: default; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 24px; padding: 16px 20px; border-left: 4px solid #14161a; background: #fff; font-size: 15px; line-height: 22px; color: #2a3038; list-style: none; }
.woocommerce-message { border-color: #2f9e5b; }
.woocommerce-error { flex-direction: column; align-items: flex-start; border-color: #ff4a2b; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 44px; padding: 10px 18px; font-size: 13px; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button), .woocommerce-error a { color: #ff4a2b; text-decoration: underline; }
.woocommerce .blockUI.blockOverlay { background: rgba(251, 248, 244, .55) !important; opacity: 1 !important; }
.woocommerce .cart_totals .blockUI.blockOverlay { background: rgba(243, 237, 229, .6) !important; }
@keyframes lf-spin { to { transform: rotate(360deg); } }
.woocommerce .blockUI.blockOverlay::after, tr.is-updating td.product-subtotal::after { content: ''; position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 2.5px solid rgba(20, 22, 26, .15); border-top-color: #ff4a2b; border-radius: 50%; animation: lf-spin .7s linear infinite; }
.woocommerce-cart-form .blockUI.blockOverlay::after { display: none; }
tr.cart_item td { transition: opacity .2s; }
tr.is-updating td.product-subtotal { position: relative; color: transparent !important; }
tr.is-updating td.product-subtotal::after { left: auto; right: 0; width: 20px; height: 20px; margin: -10px 0 0; }
tr.is-updating td.product-subtotal * { color: transparent !important; }
tr.is-removing td { opacity: .35; }
.is-cart-updating .cart_totals .order-total strong, .is-cart-updating .cart_totals .cart-subtotal td { opacity: .35; transition: opacity .2s; }
.is-cart-updating .wc-proceed-to-checkout a.checkout-button { opacity: .6; pointer-events: none; }
.woocommerce-Price-amount { white-space: nowrap; }

/* ---------- cart ---------- */
.woocommerce-cart .shop-page .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px 56px; align-items: start; }
.woocommerce-cart .shop-page .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .shop-page .woocommerce > .wc-empty-cart-message, .woocommerce-cart .shop-page .woocommerce > .cart-empty, .woocommerce-cart .shop-page .woocommerce > .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart-form { min-width: 0; }
.woocommerce table.shop_table.cart { width: 100%; border-collapse: collapse; border: none; margin: 0; }
.woocommerce table.cart thead th { padding: 0 0 14px; border-bottom: 1px solid #d9d2c8; font-size: 13px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: #5c6470; text-align: left; }
.woocommerce table.cart thead th.product-subtotal, .woocommerce table.cart td.product-subtotal { text-align: right; }
.woocommerce table.cart td { padding: 20px 0; border-bottom: 1px solid #d9d2c8; vertical-align: middle; font-size: 16px; color: #14161a; }
.woocommerce table.cart td.product-remove { width: 36px; padding-right: 8px; }
.woocommerce table.cart td.product-thumbnail { width: 112px; padding-right: 20px; }
.woocommerce table.cart td.product-thumbnail img { display: block; width: 96px; height: 120px; object-fit: cover; }
.woocommerce table.cart td.product-name a { font: 700 19px/24px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.woocommerce table.cart td.product-name a:hover { color: #ff4a2b; }
.woocommerce table.cart td.product-price { color: #5c6470; }
.woocommerce table.cart td.product-subtotal { font-weight: 700; }
.woocommerce a.remove { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 1.5px solid #c9c2b8; border-radius: 50%; font-size: 18px; line-height: 1; color: #5c6470 !important; text-decoration: none; transition: .3s; }
.woocommerce a.remove:hover { border-color: #ff4a2b; background: #ff4a2b; color: #fff !important; }
dl.variation { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 8px; margin: 8px 0 0; font-size: 14px; line-height: 20px; color: #5c6470; }
dl.variation dt { font-weight: 500; }
dl.variation dd { margin: 0; }
dl.variation dd p { margin: 0; }
.woocommerce .quantity { display: inline-flex; align-items: stretch; height: 48px; border: 1.5px solid #c9c2b8; background: #fff; }
.woocommerce .quantity input.qty { width: 48px; height: 100%; margin: 0; padding: 0; border: none; border-inline: 1.5px solid #c9c2b8; border-radius: 0; background: none; font: 500 16px/1 'DM Sans', sans-serif; color: #14161a; text-align: center; box-sizing: border-box; }
.woocommerce .quantity input.qty:focus { outline: none; background: #fbf8f4; }
.quantity__btn { width: 40px; padding: 0; border: none; background: none; font: 500 20px/1 'DM Sans', sans-serif; color: #14161a; cursor: pointer; transition: background .3s; }
.quantity__btn:hover { background: #f3ede5; }
.woocommerce table.cart td.actions { padding: 20px 0 0; border: none; text-align: right; }
.woocommerce table.cart td.actions .coupon { display: none; }
.woocommerce table.cart td.actions [name="update_cart"] { min-height: 44px; padding: 10px 18px; border: 1.5px solid #14161a; background: none; color: #14161a; font-size: 13px; }
.woocommerce table.cart td.actions [name="update_cart"]:hover:not(:disabled) { background: #14161a; color: #fff; }
.woocommerce table.cart td.actions [name="update_cart"] { display: none !important; }
.woocommerce table.cart tr:has(> td.actions) { display: none !important; }

.cart-collaterals { position: sticky; top: 130px; width: 100%; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { float: none; width: 100%; padding: 32px; background: #f3ede5; }
.cart-collaterals .cross-sells { display: none; }
.cart_totals h2, #order_review_heading, .woocommerce-checkout h3 { margin: 0 0 20px; font: 800 26px/30px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.cart_totals table.shop_table, #order_review table.shop_table { width: 100%; margin: 0; border: none; border-collapse: collapse; }
.cart_totals table th, .cart_totals table td, #order_review table th, #order_review table td { padding: 14px 0; border-top: 1px solid #d9d2c8; background: none; font-size: 15px; line-height: 22px; color: #14161a; text-align: left; vertical-align: top; }
.cart_totals table th, #order_review tfoot th { width: 38%; padding-right: 12px; font-weight: 500; color: #5c6470; }
.cart_totals table td, #order_review tfoot td { text-align: right; }
.cart_totals tr:first-child th, .cart_totals tr:first-child td { border-top: none; }
.cart_totals .order-total th, .cart_totals .order-total td, #order_review .order-total th, #order_review .order-total td { padding-top: 18px; font-size: 18px; font-weight: 700; color: #14161a; }
.cart_totals .order-total strong, #order_review .order-total strong { font: 800 26px/30px 'Bricolage Grotesque', sans-serif; }
.cart_totals table.shop_table, .cart_totals table.shop_table tbody, #order_review table.shop_table tfoot { display: block; }
.cart_totals table.shop_table tr { display: grid; grid-template-columns: 38% minmax(0, 1fr); border-top: 1px solid #d9d2c8; }
.cart_totals table.shop_table tr:first-child { border-top: none; }
.cart_totals table.shop_table tr th, .cart_totals table.shop_table tr td { display: block; width: auto; border: none; }
.cart_totals tr.woocommerce-shipping-totals, #order_review tr.woocommerce-shipping-totals { grid-template-columns: minmax(0, 1fr) !important; }
tr.woocommerce-shipping-totals th { padding-bottom: 10px !important; }
tr.woocommerce-shipping-totals td { padding-top: 0 !important; text-align: left !important; }
tr.woocommerce-shipping-totals td::before { display: none !important; }
ul#shipping_method { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; text-align: left; }
ul#shipping_method li { position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border: 1.5px solid #d9d2c8; background: #fff; text-indent: 0; transition: border-color .3s; }
ul#shipping_method li:hover { border-color: #8a909a; }
ul#shipping_method li:has(input:checked) { border-color: #14161a; }
ul#shipping_method input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: #ff4a2b; }
ul#shipping_method input[type="hidden"] + label { padding-left: 0; }
ul#shipping_method label { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; cursor: pointer; }
ul#shipping_method label::after { content: ''; position: absolute; inset: 0; }
.ship-opt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ship-opt__name { font-size: 15px; font-weight: 600; line-height: 20px; color: #14161a; }
.ship-opt__time { font-size: 13px; line-height: 18px; color: #5c6470; }
.ship-opt__price { flex-shrink: 0; font-size: 15px; font-weight: 700; color: #14161a; }
.woocommerce-shipping-destination { margin: 10px 0 0; font-size: 13px; line-height: 19px; color: #5c6470; text-align: left; }
.woocommerce-shipping-calculator { text-align: left; }
.shipping-calculator-button { display: inline-block; margin-top: 6px; font-size: 14px; color: #ff4a2b; text-decoration: underline; }
.shipping-calculator-form { margin-top: 14px; }
.wc-proceed-to-checkout { padding: 24px 0 0; }
.wc-proceed-to-checkout a.checkout-button { width: 100%; }
.wc-proceed-to-checkout a.checkout-button::after { content: ''; width: 18px; height: 14px; background: url(../img/main/ic-arrow.svg) center / contain no-repeat; }
.cart-trust { display: flex; flex-direction: column; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 14px; line-height: 20px; color: #2a3038; }
.cart-trust li { position: relative; padding-left: 24px; }
.cart-trust li::before { content: ''; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid #2f9e5b; border-bottom: 2px solid #2f9e5b; transform: rotate(-45deg); }

.cart-empty.woocommerce-info { justify-content: center; padding: 40px 24px 8px; border: none; background: none; font: 800 30px/36px 'Bricolage Grotesque', sans-serif; color: #14161a; text-align: center; }
.cart-empty.woocommerce-info::before { display: none; }
.return-to-shop { margin: 0 0 40px; text-align: center; }
.return-to-shop .button { display: inline-flex; }
.wc-empty-cart-message { text-align: center; }

/* ---------- forms (shipping calculator, checkout) ---------- */
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; }
.woocommerce form .form-row label { margin: 0; font-size: 14px; font-weight: 600; line-height: 20px; color: #14161a; }
.woocommerce form .form-row .required { color: #ff4a2b; text-decoration: none; border: none; }
.woocommerce form .form-row .optional { font-weight: 400; color: #5c6470; }
.woocommerce form .form-row .woocommerce-input-wrapper { display: block; width: 100%; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; height: 54px; padding: 0 18px; border: 1.5px solid #c9c2b8; border-radius: 0; background: #fff; font: 16px 'DM Sans', sans-serif; color: #14161a; box-shadow: none; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.woocommerce form .form-row textarea { height: 120px; padding: 14px 18px; line-height: 24px; }
.woocommerce form .form-row input.input-text::placeholder, .woocommerce form .form-row textarea::placeholder { color: #8a909a; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: #14161a; }
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: #ff4a2b !important; }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: #c9c2b8; }
.woocommerce form .form-row .checkbox, .woocommerce form .form-row .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; cursor: pointer; }
.woocommerce form .form-row input[type="checkbox"] { flex-shrink: 0; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #ff4a2b; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { float: none; width: auto; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0 14px; }
.woocommerce-billing-fields__field-wrapper > *, .woocommerce-shipping-fields__field-wrapper > * { grid-column: 1 / -1; }
.woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-shipping-fields__field-wrapper .form-row-first { grid-column: 1 / span 3; }
.woocommerce-billing-fields__field-wrapper .form-row-last, .woocommerce-shipping-fields__field-wrapper .form-row-last { grid-column: 4 / span 3; }
.woocommerce-billing-fields__field-wrapper .form-row-third { grid-column: span 2; }
.woocommerce-billing-fields__field-wrapper #billing_city_field { grid-column: 1 / span 2; }
.woocommerce form .form-row .description { font-size: 13px; color: #5c6470; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 54px; border: 1.5px solid #c9c2b8; border-radius: 0; background: #fff; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 44px 0 18px; font: 16px/51px 'DM Sans', sans-serif; color: #14161a; }
.woocommerce-checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 12px; height: 51px; }
.woocommerce-checkout .select2-container--open .select2-selection--single { border-color: #14161a; }
.select2-dropdown { border: 1.5px solid #14161a !important; border-radius: 0 !important; font: 15px 'DM Sans', sans-serif; }
.select2-search--dropdown .select2-search__field { height: 44px; padding: 0 12px; border: 1.5px solid #c9c2b8 !important; font-size: 16px !important; }
.select2-results__option { padding: 10px 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: #ff4a2b !important; color: #fff; }

/* ---------- checkout ---------- */
.field-error { display: block; margin-top: 2px; font-size: 13px; line-height: 18px; color: #d92d20; }
.woocommerce form .form-row.has-error input.input-text, .woocommerce form .form-row.has-error .select2-selection, .woocommerce form .form-row.has-error textarea { border-color: #d92d20 !important; }
.woocommerce form .form-row.has-error input[type="checkbox"] { outline: 1.5px solid #d92d20; outline-offset: 1px; }
.woocommerce-terms-and-conditions-wrapper .field-error { margin-top: 6px; }
.woocommerce-NoticeGroup-checkout.is-inline { margin: 0 0 16px; }
.woocommerce-NoticeGroup-checkout.is-inline .woocommerce-error { margin: 0; padding: 12px 16px; font-size: 14px; }
.woocommerce-checkout .shop-page form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: auto auto auto auto auto 1fr; gap: 0 48px; align-items: start; }
.woocommerce-checkout .shop-page form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
.woocommerce-checkout form.checkout > wc-order-attribution-inputs { display: none; }
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element { grid-column: 1; grid-row: 2; padding: 24px 28px 0; background: #fff; }
.woocommerce-checkout form.checkout > #wc-stripe-express-checkout-button-separator { grid-column: 1; grid-row: 3; margin: 0 !important; padding: 16px 28px 24px; background: #fff; font-size: 13px; letter-spacing: .4px; color: #5c6470; text-align: center; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 4; min-width: 0; }
.woocommerce-checkout form.checkout > .co-panel--pay { grid-column: 1; grid-row: 5; }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 2 / -1; align-self: start; position: sticky; top: 130px; padding: 28px; background: #f3ede5; }
.woocommerce .col2-set, .woocommerce-page .col2-set { display: block; width: 100%; }
.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 { float: none; width: 100%; max-width: none; padding: 28px 28px 10px; background: #fff; }
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 { display: none; }
.woocommerce-billing-fields > h3 { display: none; }
.co-panel { margin-top: 16px; padding: 28px; background: #fff; }
.co-sub, .woocommerce form .co-sub.form-row { display: flex; flex-direction: row; align-items: center; gap: 12px; margin: 10px 0 18px; font: 800 22px/26px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.co-panel > .co-sub { margin-top: 0; }
.woocommerce form .woocommerce-billing-fields__field-wrapper > .co-sub:first-child { margin-top: 0; }
.woocommerce form .woocommerce-billing-fields__field-wrapper > .co-sub:not(:first-child) { margin-top: 16px; }
.co-sub span { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #14161a; font: 700 13px/1 'DM Sans', sans-serif; color: #fff; }
.woocommerce form .form-row .description { margin: 0; font-size: 13px; line-height: 18px; color: #5c6470; }

.co-summary-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.co-summary-title { margin: 0; font: 800 24px/28px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.co-summary-head a { font-size: 14px; color: #5c6470; text-decoration: underline; }
.co-summary-head a:hover { color: #ff4a2b; }
#order_review table.shop_table thead { display: none; }
#order_review table.shop_table tbody { display: block; }
#order_review table.shop_table tbody tr.cart_item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid #d9d2c8; }
#order_review table.shop_table tbody tr.cart_item td { padding: 0; border: none; }
#order_review table.shop_table tfoot tr { display: grid; grid-template-columns: 38% minmax(0, 1fr); border-top: 1px solid #d9d2c8; }
#order_review table.shop_table tfoot tr:first-child { border-top: none; }
#order_review table.shop_table tfoot th, #order_review table.shop_table tfoot td { width: auto; border: none; }
#order_review td.product-name { display: block; min-height: 70px; padding-left: 70px !important; position: relative; font-weight: 600; line-height: 20px; }
#order_review td.product-name > img { position: absolute; left: 0; top: 0; width: 56px; height: 70px; object-fit: cover; }
#order_review td.product-name .co-name { margin-right: 4px; }
#order_review td.product-name .product-quantity { font-weight: 500; color: #5c6470; }
#order_review td.product-name dl.variation { margin-top: 2px; font-weight: 400; }
#order_review td.product-total { text-align: right; font-weight: 600; }

#payment { margin: 0; background: none !important; border-radius: 0 !important; }
#payment ul.payment_methods { margin: 0 0 20px; padding: 0 !important; border: none !important; list-style: none; }
#payment ul.payment_methods li { margin: 0 0 10px; padding: 16px; border: 1.5px solid #c9c2b8; background: #fff; line-height: 22px; }
#payment ul.payment_methods li:only-child { margin: 0; padding: 0; border: none; }
#payment ul.payment_methods li:only-child > input, #payment ul.payment_methods li:only-child > label { display: none; }
#payment ul.payment_methods li > input { width: 18px; height: 18px; margin: 0 10px 0 0; vertical-align: -3px; accent-color: #ff4a2b; }
#payment ul.payment_methods li > label { font-weight: 600; color: #14161a; cursor: pointer; }
#payment ul.payment_methods li img { max-height: 22px; margin-left: 6px; vertical-align: middle; }
#payment div.payment_box { margin: 0 !important; padding: 0 !important; background: none !important; font-size: 14px; line-height: 20px; color: #2a3038; }
#payment ul.payment_methods li:not(:only-child) div.payment_box { margin-top: 14px !important; }
#payment div.payment_box::before { display: none !important; }
#payment div.payment_box > p { margin: 0 0 14px; padding: 10px 14px; background: #f6dccb; font-size: 13px; }
#payment div.payment_box fieldset { margin: 0; padding: 0; border: none; }
#payment .wc-stripe-upe-element, #payment .StripeElement { overflow: hidden; }
#wc-stripe-hidden-style-input { position: absolute !important; left: -9999px !important; width: 1px !important; }
#payment .place-order { margin: 0; padding: 8px 0 0 !important; }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 18px; font-size: 13px; line-height: 19px; color: #5c6470; }
.woocommerce-privacy-policy-text p { margin: 0 0 12px; }
.woocommerce-terms-and-conditions-wrapper a { color: #14161a; text-decoration: underline; }
.woocommerce-terms-and-conditions-wrapper .form-row { margin-bottom: 0 !important; }
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { font-size: 14px; color: #14161a; }
.woocommerce #place_order { width: 100%; min-height: 58px; font-size: 16px; }
.co-panel--pay .cart-trust { flex-direction: row; flex-wrap: wrap; gap: 6px 20px; margin-top: 16px; font-size: 13px; color: #5c6470; }
/* ---------- thank you ---------- */
.order-done .thanks-wrap__badge strong { font-weight: 700; }
.order-done .page-head-wrap__text strong { color: #14161a; }
.order-done__main { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 760px; padding-bottom: 40px; }
.order-done__badge.is-failed { background: #f6dccb; }
.order-done__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.order-sum { width: 100%; }
.order-sum__items { margin: 0 0 8px; padding: 0; list-style: none; border-top: 1px solid #d9d2c8; }
.order-sum__item { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid #d9d2c8; }
.order-sum__item img { flex-shrink: 0; width: 72px; height: 90px; object-fit: cover; }
.order-sum__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 20px; color: #5c6470; }
.order-sum__text strong { font: 700 18px/24px 'Bricolage Grotesque', sans-serif; color: #14161a; }
.order-sum__price { font-weight: 700; color: #14161a; white-space: nowrap; }
.order-sum__totals .is-total dd { font: 800 22px/28px 'Bricolage Grotesque', sans-serif; }
.order-sum__totals .is-total dt { color: #14161a; font-weight: 600; }
.order-done .thanks-wrap__tip { width: 100%; }
.order-done .next { position: sticky; top: 110px; }

/* ---------- adaptive ---------- */
@media (max-width: 1100px) {
    .woocommerce-cart .shop-page .woocommerce { grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 32px; }
    .woocommerce-checkout .shop-page form.checkout { grid-template-columns: minmax(0, 1fr) 360px; gap: 0 28px; }
    .cart_totals, .woocommerce-checkout #order_review { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 991px) {
    .woocommerce-cart .shop-page .woocommerce { grid-template-columns: minmax(0, 1fr); }
    .cart-collaterals { position: static; }
    .woocommerce-checkout .shop-page form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
    .woocommerce-checkout .shop-page form.checkout { display: flex; flex-direction: column; align-items: stretch; }
    .woocommerce-checkout #customer_details { order: 3; }
    .woocommerce-checkout #order_review { order: 4; align-self: stretch; position: static; margin-top: 16px; }
    .woocommerce-checkout form.checkout > .co-panel--pay { order: 5; }
    .order-done .next { position: static; }
}
@media (max-width: 768px) {
    .shop-head__row { align-items: flex-start; flex-direction: column; gap: 16px; }
    .shop-steps__item { font-size: 14px; }
    .shop-steps__item + .shop-steps__item::before { width: 14px; }
    .shop-page { padding-top: 20px; }
    .woocommerce table.shop_table_responsive.cart thead { display: none; }
    .woocommerce table.shop_table_responsive.cart tbody tr.cart_item { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; grid-template-areas: "img name remove" "img price price" "img qty sub"; gap: 6px 14px; padding: 18px 0; border-bottom: 1px solid #d9d2c8; }
    .woocommerce table.shop_table_responsive.cart tbody tr.cart_item td { display: block; padding: 0; border: none; text-align: left !important; }
    .woocommerce table.shop_table_responsive.cart tbody tr.cart_item td::before { display: none; }
    .woocommerce table.cart tr.cart_item td.product-thumbnail { grid-area: img; display: block !important; width: auto; padding: 0; }
    .woocommerce table.cart tr.cart_item td.product-thumbnail img { width: 88px; height: 110px; }
    .woocommerce table.cart tr.cart_item td.product-name { grid-area: name; }
    .woocommerce table.cart tr.cart_item td.product-name a { font-size: 17px; line-height: 22px; }
    .woocommerce table.cart tr.cart_item td.product-remove { grid-area: remove; width: auto; padding: 0; }
    .woocommerce table.cart tr.cart_item td.product-price { grid-area: price; font-size: 14px; }
    .woocommerce table.cart tr.cart_item td.product-quantity { grid-area: qty; }
    .woocommerce table.cart tr.cart_item td.product-subtotal { grid-area: sub; align-self: center; text-align: right !important; }
    .woocommerce table.shop_table_responsive.cart tbody tr:not(.cart_item) { display: block; }
    .woocommerce table.shop_table_responsive.cart tbody tr:not(.cart_item) td { display: block; border: none; }
    .woocommerce table.cart td.actions { padding-top: 14px; }

    .woocommerce table.shop_table_responsive tr:nth-child(2n) td { background: none; }
    .woocommerce .cart_totals table.shop_table_responsive tr { display: grid; grid-template-columns: 38% minmax(0, 1fr); border-top: 1px solid #d9d2c8; }
    .woocommerce .cart_totals table.shop_table_responsive tr:first-child { border-top: none; }
    .woocommerce .cart_totals table.shop_table_responsive tr th { display: block; border: none; }
    .woocommerce .cart_totals table.shop_table_responsive tr td { display: block; border: none; text-align: right !important; }
    .woocommerce .cart_totals table.shop_table_responsive tr td::before { display: none; }
    .woocommerce .cart_totals tr.woocommerce-shipping-totals { grid-template-columns: minmax(0, 1fr); }
    .woocommerce .cart_totals tr.woocommerce-shipping-totals th { padding-bottom: 0; }
    .woocommerce table.shop_table_responsive.cart tbody tr:not(.cart_item) td.actions { padding: 10px 0 0; }
    .woocommerce .quantity { height: 44px; }
    .woocommerce .quantity input.qty { width: 44px; }
    .quantity__btn { width: 38px; }
    .woocommerce .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { padding: 24px 20px; }
    .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1, .co-panel { padding-left: 20px; padding-right: 20px; }
    .woocommerce-checkout form.checkout > #wc-stripe-express-checkout-element { padding: 20px 20px 0; }
    .woocommerce-checkout form.checkout > #wc-stripe-express-checkout-button-separator { padding: 14px 20px 20px; }
    .co-sub { font-size: 20px; line-height: 24px; }
    .cart_totals h2, #order_review_heading, .woocommerce-checkout h3 { font-size: 22px; line-height: 26px; }
    .order-sum__item { gap: 14px; }
    .order-sum__item img { width: 60px; height: 75px; }
}
@media (max-width: 576px) {
    .woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .woocommerce-billing-fields__field-wrapper > *, .woocommerce-billing-fields__field-wrapper .form-row-first, .woocommerce-billing-fields__field-wrapper .form-row-last, .woocommerce-billing-fields__field-wrapper .form-row-third, .woocommerce-billing-fields__field-wrapper #billing_city_field, .woocommerce-shipping-fields__field-wrapper .form-row-first, .woocommerce-shipping-fields__field-wrapper .form-row-last { grid-column: 1 / -1; }
    .woocommerce-billing-fields__field-wrapper #billing_state_field { grid-column: 1 / span 1; }
    .woocommerce-billing-fields__field-wrapper #billing_postcode_field { grid-column: 2 / span 1; }
    .cart-toast { right: 16px; bottom: 16px; padding: 20px; }
    .shop-steps__item { gap: 6px; font-size: 13px; }
    .shop-steps__item span { width: 26px; height: 26px; font-size: 12px; }
    .shop-steps { gap: 6px; }
    .shop-steps__item + .shop-steps__item::before { width: 10px; }
}

/* checkout submit: loader sits on the Place order button, the form is only locked */
form.checkout.processing > .blockUI.blockOverlay { background: transparent !important; cursor: progress !important; }
form.checkout.processing > .blockUI.blockOverlay::after { display: none; }
.woocommerce form.checkout.processing #place_order { position: relative; z-index: 1001; color: transparent !important; pointer-events: none; }
.woocommerce form.checkout.processing #place_order::after { content: ''; position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: lf-spin .7s linear infinite; }

/* payment: one method, the card is entered on Stripe's page */
.lf-pay-method { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid #14161a; background: #fff; }
.lf-pay-method__icon { flex-shrink: 0; width: 28px; height: 28px; background: url(../img/main/ic-card.svg) center / contain no-repeat; }
.lf-pay-method__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lf-pay-method__text strong { font-size: 16px; font-weight: 700; line-height: 22px; color: #14161a; }
.lf-pay-method__text span { font-size: 14px; line-height: 20px; color: #5c6470; }
#payment div.payment_box > p.lf-pay-test { margin: 12px 0 0; }
.woocommerce #place_order::after { content: ''; width: 18px; height: 14px; margin-left: 12px; background: url(../img/main/ic-arrow.svg) center / contain no-repeat; display: inline-block; vertical-align: -1px; }
.woocommerce form.checkout.processing #place_order::after { width: 22px; height: 22px; margin: -11px 0 0 -11px; background: none; display: block; }
#payment .woocommerce-info, #payment .woocommerce-notice { display: block; margin: 0; }
