.slime-root .product-gallery .woocommerce-product-gallery{float:none;width:100%;margin:0}
.slime-root .product-gallery .woocommerce-product-gallery__image img{background:var(--paper);object-fit:contain;max-height:640px;width:100%;height:auto}
.slime-root .product-layout .purchase .woocommerce-Price-amount{font:inherit}
.slime-root .purchase .cart{display:flex;gap:12px;align-items:flex-start;margin-top:20px}
.slime-root .purchase .cart .qty{min-height:44px}
.slime-root .woocommerce button.button,.slime-root .woocommerce a.button,.slime-root .purchase button.button{background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:var(--radius);padding:12px 20px;min-height:44px}
.slime-root .woocommerce button.button:hover,.slime-root .woocommerce a.button:hover,.slime-root .purchase button.button:hover{background:var(--paper);color:var(--ink)}
.slime-root .woocommerce .woocommerce-cart-form__cart-item .product-thumbnail img{width:100px;height:auto;background:var(--paper)}
.slime-root .woocommerce .woocommerce-cart-form__contents,.slime-root .woocommerce .woocommerce-checkout-review-order-table,.slime-root .woocommerce .cart_totals .shop_table,.slime-root .woocommerce .woocommerce-form-login{background:var(--paper)}
.slime-root .woocommerce form .form-row input.input-text,.slime-root .woocommerce form .form-row textarea{background:var(--paper);min-height:44px;border:1px solid var(--line);padding:8px 10px;border-radius:var(--radius)}
.slime-root #jc-native-cart .woocommerce:has(.woocommerce-cart-form){display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:38px}
.slime-root #jc-native-cart .cart-collaterals .cart_totals{float:none;width:100%}
.slime-root #jc-native-cart .woocommerce-notices-wrapper{grid-column:1/-1}
.slime-root #jc-native-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px 44px}
.slime-root #jc-native-checkout #customer_details{grid-row:1 / 4}
.slime-root #jc-native-checkout #customer_details .col-1,.slime-root #jc-native-checkout #customer_details .col-2{width:100%;float:none}
.slime-root #jc-native-checkout #order_review_heading{margin:0;align-self:end}
.slime-root #jc-native-checkout #order_review{grid-column:2;grid-row:2 / 4}
@media(max-width:820px){
 .slime-root #jc-native-cart .woocommerce:has(.woocommerce-cart-form),.slime-root #jc-native-checkout form.checkout{display:block}
 .slime-root #jc-native-checkout #order_review_heading{margin-top:28px}
 .slime-root .woocommerce .woocommerce-cart-form__cart-item .product-thumbnail img{max-width:96px}
}

/* Native account form selection and frozen support rail. */
.jc-account-signed-in .slime-root .account-layout {display:block}
.slime-root #jc-native-account #customer_login > .u-column1,
.slime-root #jc-native-account #customer_login > .u-column2 {float:none;width:100%}
.jc-account-login .slime-root #jc-native-account #customer_login > .u-column2,
.jc-account-register .slime-root #jc-native-account #customer_login > .u-column1 {display:none}
.slime-root #jc-native-account #customer_login > div,
.slime-root #jc-native-account .lost_reset_password {background:var(--soft);padding:clamp(20px,4vw,36px);border-radius:10px}
.slime-root #jc-native-account #customer_login form {background:none;border:0;padding:0;margin:16px 0 0}
.slime-root #jc-native-account .lost_reset_password .form-row {float:none;width:100%}
.slime-root #jc-native-account .account-links {margin:16px 0 0}
.slime-root #jc-native-account .jc-password-panel-title {margin-bottom:16px}

/* Retain each Woo cart field and action while presenting it as a card. */
.slime-root #jc-native-cart .jc-cart-empty ~ .return-to-shop {display:none}
.slime-root #jc-native-cart table.cart {border:0;background:transparent}
.slime-root #jc-native-cart table.cart thead {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.slime-root #jc-native-cart table.cart tbody,
.slime-root #jc-native-cart table.cart tbody tr:not(.cart_item) {display:block}
.slime-root #jc-native-cart table.cart tr.cart_item {display:grid;grid-template-columns:minmax(90px,36%) minmax(0,1fr) auto;grid-template-areas:"photo name name" "photo price subtotal" "photo quantity remove";gap:6px 14px;align-items:center;padding:16px 0 24px;border-bottom:1px solid var(--line)}
.slime-root #jc-native-cart table.cart tr.cart_item > :is(td,th) {display:block;padding:0;border:0;background:none;text-align:left!important;overflow-wrap:anywhere}
.slime-root #jc-native-cart table.cart tr.cart_item > :is(td,th)::before {content:none}
.slime-root #jc-native-cart table.cart .product-thumbnail {grid-area:photo;align-self:start}
.slime-root #jc-native-cart table.cart .product-thumbnail img {width:100%;max-width:none;aspect-ratio:1.08;object-fit:contain;border-radius:var(--radius)}
.slime-root #jc-native-cart table.cart .product-name {grid-area:name;font-size:clamp(16px,2.4vw,23px);font-weight:600;line-height:1.3}
.slime-root #jc-native-cart table.cart .product-price {grid-area:price}
.slime-root #jc-native-cart table.cart .product-subtotal {grid-area:subtotal;font-size:14px;justify-self:end}
.slime-root #jc-native-cart table.cart .product-quantity {grid-area:quantity}
.slime-root #jc-native-cart table.cart .product-quantity input {min-height:44px}
.slime-root #jc-native-cart table.cart .product-remove {grid-area:remove;justify-self:end}
.slime-root #jc-native-cart table.cart .actions {display:block;padding:14px 0;border:0}
.slime-root #jc-native-cart .cart_totals {background:var(--soft);border-radius:10px;padding:clamp(16px,2.5vw,32px)}
.slime-root #jc-native-cart .cart_totals table {border:0;background:none;margin:12px 0}
.slime-root #jc-native-cart .cart_totals .checkout-button {margin-bottom:0}
@media(max-width:600px){
 .slime-root #jc-native-cart table.cart tr.cart_item {grid-template-columns:100px minmax(0,1fr) auto;gap:6px 10px}
}

/* Keep Woo fields and payment controls; place the frozen checkout regions around them. */
.slime-root #jc-native-checkout .jc-frozen-checkout [hidden] {display:none!important}
.slime-root #jc-native-checkout .jc-frozen-checkout #customer_details {min-width:0;grid-area:fields}
.slime-root #jc-native-checkout .jc-frozen-checkout #order_review {display:contents}
.slime-root #jc-native-checkout .jc-frozen-checkout .jc-native-order-summary {min-width:0;grid-area:summary;align-self:start}
.slime-root #jc-native-checkout .jc-frozen-checkout #payment {min-width:0;grid-area:payment;align-self:start}
.slime-root #jc-native-checkout .jc-frozen-checkout .jc-native-order-summary h3 {margin:0 0 18px}
.slime-root #jc-native-checkout .jc-frozen-checkout .woocommerce-checkout-review-order-table {margin:0;border:0;background:transparent}
.slime-root #jc-native-checkout .jc-checkout-order-item {display:inline-flex;align-items:center;gap:10px}
.slime-root #jc-native-checkout .jc-checkout-order-photo {width:56px;height:56px;object-fit:contain;background:var(--paper);border-radius:var(--radius)}
.slime-root #jc-native-checkout .jc-checkout-contact h2 {margin:0 0 12px}
.slime-root #jc-native-checkout .jc-checkout-contact .required-note {margin-bottom:16px}
.slime-root #jc-native-checkout .jc-frozen-checkout :is(.shipping_address,#jc-billing-address) h3 {margin:18px 0 12px}
.slime-root #jc-native-checkout .jc-frozen-checkout .jc-checkout-same-address {margin:18px 0}
.slime-root #jc-native-checkout .jc-frozen-checkout .woocommerce-invalid input.input-text {border-color:#9d2e32;outline-color:#9d2e32}
.slime-root #jc-native-checkout .jc-native-field-error {clear:both;margin:6px 4px 12px;color:#792631}
@media(min-width:821px){
 .slime-root #jc-native-checkout form.jc-frozen-checkout {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:"fields summary" "payment summary";align-items:start}
}
@media(max-width:820px){
 .slime-root #jc-native-checkout form.jc-frozen-checkout {display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"summary" "fields" "payment";gap:24px}
}
