.furever-commerce-heading { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.furever-order-steps { margin-bottom: 2rem; }
.furever-order-steps ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .5rem; padding: 0; list-style: none; }
.furever-order-steps li { display: flex; align-items: center; gap: .4rem; border-top: 4px solid var(--primary); padding-top: .75rem; font-size: .75rem; color: var(--muted-foreground); }
.furever-order-steps li[aria-current] { color: var(--foreground); font-weight: 600; }
.furever-step-number { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-size: .65rem; }
.furever-commerce .woocommerce { color: var(--foreground); }
.furever-commerce .woocommerce form.checkout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,1fr); gap: 0 2.5rem; align-items: start; }
.furever-commerce #customer_details { grid-column: 1; grid-row: 1 / span 4; width: 100%; }
.furever-commerce #customer_details > div { float: none; width: 100%; }
.furever-commerce #customer_details::before, .furever-commerce #customer_details::after { display: none; }
.furever-commerce #order_review_heading, .furever-commerce #order_review { grid-column: 2; width: 100%; }
.furever-commerce #order_review_heading { margin: 0 0 1.25rem; }
.furever-commerce .woocommerce #order_review_heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.furever-commerce #order_review_heading a { font: 500 .8rem/1.5 var(--font-body, sans-serif); text-decoration: underline; text-underline-offset: .2em; }
.furever-commerce .woocommerce h2, .furever-commerce .woocommerce h3 { font-size: 1.6rem; font-weight: 500; margin-bottom: 1.25rem; }
.furever-commerce .woocommerce h3 label { font: inherit; }
.furever-commerce .woocommerce form .form-row { padding: 0; margin-bottom: 1rem; }
.furever-commerce .woocommerce form .form-row label { margin-bottom: .4rem; line-height: 1.6; font-size: .9rem; }
.furever-commerce .woocommerce form .form-row input.input-text, .furever-commerce .woocommerce form .form-row textarea,
.furever-commerce .woocommerce form .form-row select, .furever-commerce .select2-container .select2-selection--single {
    width: 100%; min-height: 3rem; padding: .7rem 1rem; border: 1px solid var(--input); border-radius: .875rem;
    background: var(--surface); color: var(--foreground); font: inherit;
}
.furever-commerce .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.5; }
.furever-commerce .select2-container .select2-selection--single .select2-selection__arrow { top: .7rem; right: .5rem; }
.furever-commerce input[type="checkbox"], .furever-commerce input[type="radio"] { accent-color: var(--primary); }
.furever-commerce .woocommerce-billing-fields, .furever-commerce .woocommerce-shipping-fields, .furever-commerce .woocommerce-additional-fields {
    border: 1px solid var(--border); border-radius: 1.5rem; padding: 1.75rem; background: var(--surface); margin-bottom: 1.5rem;
}
.furever-commerce .woocommerce .woocommerce-shipping-fields { padding: .75rem 1.25rem; }
.furever-commerce .woocommerce form.checkout #ship-to-different-address { float: none; margin: 0; font-family: var(--font-body, sans-serif); font-size: 1rem; font-weight: 500; line-height: 1.5; }
.furever-commerce .woocommerce #ship-to-different-address > label { display: flex; align-items: center; gap: .65rem; min-height: 2.75rem; margin: 0; cursor: pointer; }
.furever-commerce .woocommerce #ship-to-different-address input.input-checkbox { position: static; flex: 0 0 1.1rem; width: 1.1rem; height: 1.1rem; margin: 0; }
.furever-commerce .woocommerce .woocommerce-shipping-fields .shipping_address { padding-top: 1.25rem; }
.furever-commerce .woocommerce .woocommerce-shipping-fields .form-row:last-child { margin-bottom: 0; }
.furever-commerce .woocommerce :is(a.button,button.button,input.button) {
    min-height: 2.75rem; padding: .8rem 1.5rem; border: 1px solid transparent; border-radius: 999px; background: var(--primary);
    color: var(--primary-foreground); font: inherit; font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
}
.furever-commerce .woocommerce :is(a.button,button.button,input.button):hover { background: var(--foreground); color: var(--background); }
.furever-commerce .woocommerce :is(a,button,input,select,textarea):focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; }
.furever-commerce .woocommerce #place_order { width: 100%; float: none; }
.furever-commerce .woocommerce #payment { background: var(--card); border-radius: 1.25rem; }
.furever-commerce .woocommerce #payment ul.payment_methods { border-color: var(--border); }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method { display: grid; grid-template-columns: 1.1rem minmax(0,1fr); column-gap: .75rem; row-gap: .5rem; padding: .5rem 0; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method::before, .furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method::after { content: none; display: none; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method > input.input-radio { position: static; width: 1rem; height: 1rem; margin: 0; align-self: center; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method > label { display: flex; align-items: center; justify-content: space-between; gap: .75rem; min-height: 2.5rem; margin: 0; line-height: 1.45; cursor: pointer; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method > input.input-radio { grid-column: 1; grid-row: 1; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method > label { grid-column: 2; grid-row: 1; min-width: 0; }
.furever-commerce .woocommerce #payment ul.payment_methods > li.wc_payment_method > .payment_box { grid-column: 1 / -1; min-width: 0; width: 100%; margin: .5rem 0; }
.furever-commerce .woocommerce #payment ul.payment_methods label .furever-payment-icons { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .35rem; max-width: 48%; flex-shrink: 0; }
.furever-commerce .woocommerce #payment ul.payment_methods label img { float: none !important; display: inline-block; width: auto; max-width: 5rem; height: 1.6rem; max-height: 1.6rem; margin: 0 !important; object-fit: contain; vertical-align: middle; }
.furever-commerce .woocommerce #payment ul.payment_methods label img.ppcp-card-icon { max-width: 2.5rem; }
.furever-commerce #payment { scroll-margin-top: 7rem; }
.furever-commerce .woocommerce h3.furever-payment-heading { margin: 1.5rem 0 .75rem; }
.furever-address-help { margin: 0 0 1rem; font-size: .85rem; color: var(--muted-foreground); line-height: 1.6; }
.furever-checkout-item-summary { display: block; margin-top: .4rem; color: var(--muted-foreground); font-size: .8rem; line-height: 1.6; }
.furever-item-details { margin-top: .65rem; font-size: .8rem; }
.furever-item-details > summary { color: var(--primary); cursor: pointer; padding: .35rem 0; }
.furever-item-details[open] > summary { margin-bottom: .5rem; }
.furever-notes-disclosure > summary { font-weight: 500; cursor: pointer; }
.furever-notes-disclosure[open] > summary { margin-bottom: 1rem; }
.furever-checkout-jump { display: none; }
.furever-checkout-jump[hidden] { display: none !important; }
.furever-commerce .woocommerce #payment div.payment_box { background: var(--surface); color: var(--foreground); border-radius: .75rem; }
.furever-commerce .woocommerce #payment div.payment_box::before { border-bottom-color: var(--surface); }
.furever-commerce .woocommerce .woocommerce-terms-and-conditions-wrapper { font-size: .85rem; line-height: 1.7; }
.furever-commerce .woocommerce #payment .woocommerce-privacy-policy-text > p:first-child::before { content: ""; display: inline-block; width: .95rem; height: 1.1rem; margin-right: .4rem; vertical-align: -.15em; background-color: currentColor; -webkit-mask: url('../icons/lock.svg') center / contain no-repeat; mask: url('../icons/lock.svg') center / contain no-repeat; }
.furever-commerce .furever-checkout-consents { min-width: 0; padding: 1.25rem; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--surface); }
.furever-commerce .furever-checkout-consents legend { padding: 0 .4rem; font-size: .85rem; font-weight: 600; }
.furever-commerce .furever-checkout-consents legend.screen-reader-text { padding: 0; }
.furever-commerce .furever-checkout-consents > details:first-of-type { margin-top: 0; }
.furever-commerce .furever-checkout-consents .furever-order-essentials { margin: 0 .75rem .75rem; }
.furever-commerce .furever-checkout-consents.furever-consent-needs-attention { border-color: var(--destructive); box-shadow: 0 0 0 2px var(--destructive); }
.furever-commerce .furever-consent-error { margin: 1rem 0; color: var(--destructive); font-size: .85rem; line-height: 1.6; }
.furever-commerce .woocommerce .furever-checkout-consents .form-row { margin: 0; }
.furever-commerce .woocommerce .furever-checkout-consents .form-row + .form-row { border-top: 1px solid var(--border); margin-top: 1.25rem; padding-top: 1.25rem; }
.furever-commerce .woocommerce .furever-checkout-consents .furever-consent-label { display: flex; align-items: flex-start; gap: .75rem; margin: 0; font-size: .85rem; line-height: 1.7; cursor: pointer; }
.furever-commerce .woocommerce .furever-checkout-consents input.input-checkbox { position: static; flex: 0 0 1.1rem; width: 1.1rem; height: 1.1rem; margin: .2rem 0 0; }
.furever-commerce .furever-consent-optional { color: var(--muted-foreground); }
.furever-commerce .furever-delivery-notices { margin: 1.5rem 0; padding: 1.25rem; border: 1px solid var(--border); border-radius: 1.25rem; background: var(--card); font-size: .85rem; line-height: 1.7; }
.furever-commerce .furever-delivery-notices h3 { margin: 0 0 .5rem; font: inherit; font-weight: 600; }
.furever-commerce .furever-delivery-notices ul { margin: 0; padding-left: 1.15rem; list-style: disc; }
.furever-commerce .furever-delivery-notices li + li { margin-top: .5rem; }
.furever-commerce .furever-consent-help { display: block; padding-left: 1.85rem; margin-top: .6rem; font-size: .75rem; color: var(--muted-foreground); line-height: 1.6; overflow-wrap: anywhere; }
/* Payment sequence: gateway, concise disclosures, consent, submit. */
.furever-commerce .woocommerce #payment .furever-checkout-consents { padding: 1rem 0 0; margin: .75rem 0 1.25rem; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: transparent; }
.furever-commerce .furever-payment-summary { margin-bottom: 1rem; font-size: .875rem; line-height: 1.65; }
.furever-commerce .furever-payment-summary p { margin: 0; }
.furever-commerce .furever-payment-summary ul { padding-left: 1.15rem; margin: .5rem 0; list-style: disc; }
.furever-commerce .furever-payment-summary li + li { margin-top: .35rem; }
.furever-commerce .furever-payment-summary .furever-payment-summary-note { font-size: .8rem; color: var(--muted-foreground); }
.furever-commerce .furever-checkout-consents > details.furever-checkout-policy-details { margin: 1rem 0; }
.furever-commerce .furever-checkout-policy-details > summary { padding: .75rem; font-size: .85rem; }
.furever-commerce .furever-checkout-policy-details .furever-order-essentials { margin-top: .75rem; }
.furever-commerce .furever-photo-permission { margin-top: 1rem; padding-top: .85rem; border-top: 1px solid var(--border); font-size: .8rem; }
.furever-commerce .furever-photo-permission > summary { cursor: pointer; line-height: 1.6; }
.furever-commerce .furever-photo-permission > summary span { color: var(--muted-foreground); }
.furever-commerce .furever-photo-permission[open] > summary { margin-bottom: .75rem; }
.furever-commerce .furever-delivery-notices > summary { cursor: pointer; font-weight: 600; }
.furever-commerce .furever-delivery-notices[open] > summary { margin-bottom: .75rem; }
.furever-commerce .woocommerce #payment .ppcp-sdk-v6-card-field { display: block; width: 100%; min-width: 0; height: 3.25rem !important; min-height: 3.25rem; padding: 0; box-sizing: border-box; border: 1px solid var(--input); border-radius: .75rem; background: var(--surface); }
.furever-commerce .woocommerce #payment .ppcp-sdk-v6-card-field > iframe { display: block; width: 100%; height: 100%; border: 0; }
.furever-commerce .woocommerce #payment .ppcp-sdk-v6-card-field:focus-within { outline: 2px solid var(--ring); outline-offset: 3px; }
.furever-commerce .woocommerce table.shop_table { border-color: var(--border); border-radius: 1rem; background: var(--surface); overflow: hidden; border-spacing: 0; }
.furever-commerce .woocommerce table.shop_table th, .furever-commerce .woocommerce table.shop_table td { padding: .9rem; border-color: var(--border); overflow-wrap: anywhere; }
.furever-commerce .woocommerce table.shop_table thead { background: var(--card); }
.furever-commerce .woocommerce table.shop_table .furever-shipping-benefit td { text-align: left; background: var(--surface); }
.furever-commerce .furever-shipping-benefit strong { display: block; color: #3d6957; font-size: .9rem; line-height: 1.5; }
.furever-commerce .furever-shipping-benefit span { display: block; margin-top: .3rem; color: var(--muted-foreground); font-size: .75rem; font-weight: 400; line-height: 1.6; }
.furever-commerce .woocommerce table.woocommerce-checkout-review-order-table .product-total { width: 28%; text-align: right; }
.furever-commerce .woocommerce table.woocommerce-checkout-review-order-table .product-name { width: 72%; }
.furever-commerce .woocommerce table.woocommerce-checkout-review-order-table > :is(thead,tbody,tfoot) > tr > :is(th,td) { padding: .75rem; font-size: .9rem; line-height: 1.5; }
.furever-commerce .woocommerce table.shop_table .variation { font-size: .8rem; line-height: 1.5; margin-top: .5rem; }
.furever-commerce .woocommerce table.shop_table .variation dt { font-weight: 500; color: var(--muted-foreground); }
.furever-commerce .woocommerce table.shop_table .variation dd { margin-bottom: .35rem; }
.furever-commerce .woocommerce .woocommerce-info, .furever-commerce .woocommerce .woocommerce-message, .furever-commerce .woocommerce .woocommerce-error {
    border: 1px solid var(--border); border-radius: 1rem; background: var(--surface); color: var(--foreground); line-height: 1.6;
}
.furever-commerce .woocommerce .woocommerce-error { border-color: var(--destructive); }
.furever-commerce .woocommerce a:not(.button):not(.remove) { color: var(--primary); text-underline-offset: .2em; }
.furever-commerce .woocommerce ul.order_details { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 1.5rem; border-radius: 1rem; background: var(--card); margin: 1.5rem 0 2rem; }
.furever-commerce .woocommerce ul.order_details li { float: none; margin: 0; padding-right: 1.25rem; border-color: var(--border); }
.furever-commerce .woocommerce-customer-details address { border-color: var(--border); padding: 1.5rem; border-radius: 1rem; background: var(--surface); line-height: 1.75; }
.furever-commerce .woocommerce-cart-form { margin-bottom: 2rem; }
.furever-commerce .woocommerce-cart-form .quantity input { width: 4rem; border: 1px solid var(--input); border-radius: .5rem; min-height: 2.5rem; }
.furever-commerce .woocommerce table.cart td.actions .coupon {
    display: flex; flex-wrap: wrap; align-items: stretch; gap: .75rem; float: left; width: min(100%,32rem); max-width: 100%;
}
.furever-commerce .woocommerce table.cart td.actions .coupon::before,
.furever-commerce .woocommerce table.cart td.actions .coupon::after { content: none; display: none; }
.furever-commerce .woocommerce table.cart td.actions .coupon #coupon_code {
    flex: 1 1 16rem; width: 16rem; min-width: 0; max-width: 100%; min-height: 3rem; box-sizing: border-box; float: none; margin: 0;
    padding: .75rem 1rem; border: 1px solid var(--input); border-radius: .875rem; background: var(--surface); color: var(--foreground); font: inherit;
}
.furever-commerce .woocommerce table.cart td.actions .coupon .button {
    flex: 0 0 auto; float: none; width: auto; margin: 0; white-space: nowrap;
}
.furever-commerce .woocommerce table.cart td.actions .coupon .coupon-error-notice { flex: 0 0 100%; width: 100%; margin: 0; }
@media (max-width: 768px) {
    .furever-commerce .woocommerce table.cart td.actions .coupon { float: none; width: 100%; margin-bottom: .75rem; }
}
@media (max-width: 1023px) {
    .furever-commerce .woocommerce form.checkout { display: block; }
    .furever-commerce #order_review_heading { margin-top: 2rem; }
    body:has(.furever-checkout-jump) { padding-bottom: calc(5rem + env(safe-area-inset-bottom)); }
    .furever-checkout-jump { position: fixed; inset: auto 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 20px #30261d0d; }
    .furever-checkout-jump > div { display: grid; gap: .15rem; font-size: .75rem; }
    .furever-checkout-jump strong { font-size: 1.1rem; }
    .furever-checkout-jump > a { display: inline-flex; align-items: center; justify-content: center; gap: 1rem; min-height: 2.75rem; padding: .7rem 1.25rem; border-radius: 999px; background: var(--primary); color: var(--primary-foreground) !important; text-decoration: none; font-weight: 600; }
}
@media (max-width: 599px) {
    .furever-commerce .woocommerce-billing-fields, .furever-commerce .woocommerce-shipping-fields, .furever-commerce .woocommerce-additional-fields { padding: 1.25rem; }
    .furever-commerce .woocommerce .form-row-first, .furever-commerce .woocommerce .form-row-last { float: none; width: 100%; }
    .furever-commerce .woocommerce table.shop_table th, .furever-commerce .woocommerce table.shop_table td { padding: .65rem; }
    .furever-commerce .woocommerce table.cart td.actions .coupon #coupon_code { flex-basis: 100%; width: 100%; }
    .furever-commerce .woocommerce table.cart td.actions .coupon .button { width: 100%; }
}
.furever-order-essentials { padding: 1.1rem; margin-bottom: 1rem; border: 1px solid #dfd5c9; border-radius: 16px; background: #f5eee4; }
.furever-commerce .woocommerce .furever-order-essentials h3 { margin: 0 0 .75rem; font-size: 1.1rem; line-height: 1.45; }
.furever-order-essentials ul, .furever-accepted-policies ul { padding-left: 1.25rem; }
.furever-order-essentials li { margin: 0 0 .65rem; font-size: .9rem; line-height: 1.65; }
.furever-order-essentials p { font-size: .85rem; margin-bottom: 0; }
.furever-policy-disclosure { margin: .65rem 0; border: 1px solid #dfd5c9; border-radius: 12px; background: #fffdf9; }
.furever-policy-disclosure > summary { padding: .85rem 1rem; cursor: pointer; font-weight: 600; overflow-wrap: anywhere; }
.furever-policy-disclosure > summary:focus-visible { outline: 2px solid #a45130; outline-offset: 3px; }
.furever-policy-copy, .furever-accepted-policies { padding: 1rem; overflow-wrap: anywhere; font-size: .9rem; line-height: 1.7; }
.furever-commerce .woocommerce .furever-policy-copy h2, .furever-commerce .woocommerce .furever-accepted-policies h2, .furever-commerce .woocommerce .furever-accepted-policies h3 { margin: 1.3rem 0 .6rem; font-size: 1rem; line-height: 1.45; }
.furever-policy-copy ul, .furever-policy-copy ol { padding-left: 1.25rem; }
.furever-commerce .furever-account-help { font-size: .85rem; line-height: 1.7; color: var(--muted-foreground); margin: .65rem 0 1rem; }
.furever-commerce .woocommerce-account-fields { clear: both; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
