/* Product and cart refinement. Banner composition and the 100svh mobile shell
   remain owned by storefront_concept03. No viewport/scroll compensation. */
body.purchase-refined {
 --buy-surface:var(--tdf-surface,#fff); --buy-ink:var(--tdf-text,#17221c);
 --buy-muted:var(--tdf-text-muted,#58645d); --buy-border:var(--tdf-border,#d8e1db);
 --buy-brand:var(--tdf-primary,#087a45); --buy-soft:var(--tdf-soft,#eaf7f0);
 --buy-title:clamp(24px,2vw,30px); --buy-price:30px;
}
html.large-text body.purchase-refined { --buy-title:34px; --buy-price:34px; }
html body.purchase-refined.web-order--product #product-page { max-inline-size:1280px; margin-block:24px 32px; }
html body.purchase-refined.web-order #product-page .product-breadcrumb { margin:0 0 12px; padding:0; }
html body.purchase-refined.web-order #product-page .product-back { display:inline-flex; align-items:center; min-height:44px; margin:0 0 16px; color:var(--buy-brand); }
html body.purchase-refined.web-order--product #product-page .product-layout {
 grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:start;
 gap:32px; padding:24px; border:1px solid var(--buy-border); border-radius:18px;
 background:var(--buy-surface); box-shadow:none;
}
html body.purchase-refined.web-order #product-page .product-media { min-width:0; }
html body.purchase-refined.web-order #product-page .v21-main-photo {
 display:block; width:100%; height:clamp(320px,34vw,480px); min-height:0; max-height:none;
 padding:12px; border:1px solid var(--buy-border); border-radius:14px;
 background:var(--tdf-page,#f4f7f5); overflow:hidden;
}
html body.purchase-refined.web-order #product-page .v21-main-photo img { display:block; width:100%; height:100%; object-fit:contain; }
html body.purchase-refined.web-order #product-page .photo-enlarge { display:flex; align-items:center; gap:6px; padding:7px 10px; border-radius:8px; background:var(--buy-surface); color:var(--buy-ink); font-size:12px; }
html body.purchase-refined.web-order #product-page .photo-enlarge:after { content:none; }
html body.purchase-refined.web-order #product-page .variant-gallery { padding:12px 2px 4px; gap:10px; }
html body.purchase-refined.web-order #product-page .variant-gallery-button { border-radius:9px; background:var(--buy-surface); border-color:var(--buy-border); }
html body.purchase-refined.web-order #product-page .variant-gallery-button.selected { border:2px solid var(--buy-brand); box-shadow:0 0 0 2px var(--buy-soft); }
html body.purchase-refined.web-order #product-page .product-heading h1 { font-size:var(--buy-title); line-height:1.3; letter-spacing:-.015em; margin:0 0 8px; color:var(--buy-ink); }
html body.purchase-refined.web-order #product-page .purchase-kicker { margin:0 0 8px; color:var(--buy-muted); font-size:12px!important; font-weight:650; letter-spacing:.08em; text-transform:uppercase; }
html body.purchase-refined.web-order #product-page #variant-unit { color:var(--buy-muted); font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order #product-page #variant-description { margin:12px 0; line-height:1.6; color:var(--buy-muted); }
html body.purchase-refined.web-order #product-page .product-price-panel {
 display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin:20px 0;
 padding:16px 18px; border:1px solid var(--buy-border); border-radius:12px; background:var(--buy-soft);
}
html body.purchase-refined.web-order #product-page .purchase-price-label { flex-basis:100%; font-size:13px; color:var(--buy-muted); }
html body.purchase-refined.web-order #product-page #product-display-price { font-size:var(--buy-price); font-weight:750; line-height:1.3; font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order #product-page .product-price-panel:has(.business-price-comparison:not([hidden])) { background:var(--buy-surface); }
.business-price-comparison { flex-basis:100%; color:var(--buy-ink); }
.business-price-caption {
 display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:4px 8px;
}
.business-price-caption { color:var(--buy-muted); font-size:var(--type-caption,.8125rem); }
#business-price-basis { font-weight:600; }
.business-price-rates {
 display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
 gap:8px; margin:8px 0 0;
}
.business-price-rates > .business-price-choice {
 display:flex; flex-direction:column; align-items:flex-start; gap:8px;
 min-width:0; min-height:112px; margin:0; padding:12px; text-align:left;
 border:2px solid var(--buy-border); border-radius:10px; background:var(--buy-surface);
 color:var(--buy-ink); font:inherit; cursor:pointer;
}
.business-price-choice:hover:not(:disabled) { border-color:var(--buy-brand); }
.business-price-choice:focus-visible { outline:3px solid var(--buy-brand); outline-offset:3px; }
.business-price-rates > .business-price-choice[aria-pressed="true"] {
 border-color:var(--buy-brand); background:var(--buy-soft); color:var(--buy-brand);
}
.business-price-choice:disabled { cursor:default; opacity:.6; }
.business-choice-heading { display:flex; align-items:center; gap:7px; font-size:var(--type-label,.875rem); font-weight:650; }
.business-choice-radio { flex-shrink:0; width:18px; height:18px; box-sizing:border-box; border:2px solid var(--buy-muted); border-radius:50%; }
.business-price-choice[aria-pressed="true"] .business-choice-radio { border-color:var(--buy-brand); background:var(--buy-brand); box-shadow:inset 0 0 0 3px var(--buy-surface); }
.business-choice-state { font-size:12px; line-height:1.4; font-weight:600; }
.business-price-value { display:flex; flex-wrap:wrap; align-items:baseline; column-gap:3px; }
.business-buyer-status { margin:10px 0 0; color:var(--buy-muted); font-size:12px; line-height:1.5; }
@media(max-width:360px) {
 .business-price-rates > .business-price-choice { padding:10px 8px; }
 .business-choice-heading { font-size:13px; gap:5px; }
}
.business-price-value { font-size:var(--type-label,.875rem); font-variant-numeric:tabular-nums; }
.business-price-value > span { color:var(--buy-muted); white-space:nowrap; }
.business-price-value strong { white-space:nowrap; font-size:var(--type-card-price,1.375rem); line-height:1.25; }
@media(max-width:400px) {
 .business-price-value strong { font-size:18px!important; }
}
html body.purchase-refined.web-order #product-page .product-stock:not(:empty) { padding:10px 12px; border-radius:8px; background:var(--buy-soft); }
html body.purchase-refined.web-order #product-page .quantity-control { padding:0 0 20px; margin:0 0 20px; border-bottom:1px solid var(--buy-border); }
html body.purchase-refined.web-order #product-page :is(.quantity-control legend,#cut-method-label) { display:block; margin:0 0 10px; color:var(--buy-ink); font-size:16px!important; font-weight:650; }
html body.purchase-refined.web-order #product-page .quantity-field { gap:8px; }
html body.purchase-refined.web-order #product-page .quantity-field button { width:48px; height:48px; flex-basis:48px; border:1px solid var(--buy-border); border-radius:9px; background:var(--buy-surface); color:var(--buy-brand); }
html body.purchase-refined.web-order #product-page #quantity-input { width:104px; height:48px; border:1px solid var(--buy-border); border-radius:9px; font-size:18px!important; font-weight:650; }
html body.purchase-refined.web-order #product-page #quantity-unit { font-size:15px; color:var(--buy-muted); }
html body.purchase-refined.web-order #product-page .cut-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; margin:0; }
html body.purchase-refined.web-order #product-page .cut-grid button { position:relative; grid-column:span 2; min-height:88px; border-radius:10px; padding:10px 6px; font-size:14px!important; }
html body.purchase-refined.web-order #product-page .cut-grid button:nth-last-child(-n+2) { grid-column:span 3; }
html body.purchase-refined.web-order #product-page .cut-grid button[aria-pressed=true] { border-color:var(--buy-brand); background:var(--buy-soft); box-shadow:inset 0 0 0 1px var(--buy-brand); color:var(--buy-brand); }
html body.purchase-refined.web-order #product-page .cut-grid button[aria-pressed=true]:after { content:''; position:absolute; top:8px; right:9px; width:6px; height:10px; border:solid currentColor; border-width:0 2px 2px 0; transform:rotate(45deg); }
html body.purchase-refined.web-order #product-page .cut-grid button img { width:54px; height:34px; object-fit:contain; }
html body.purchase-refined.web-order #product-page .purchase-cut-help { margin:10px 0 4px; color:var(--buy-muted); font-size:13px!important; }
html body.purchase-refined.web-order #product-page .purchase-cut-state { margin:0 0 16px; color:var(--buy-brand); font-size:13px!important; font-weight:650; }
html body.purchase-refined.web-order #product-page :is(.product-specifications,.product-price-details) { margin-top:20px; border-top:1px solid var(--buy-border); }
html body.purchase-refined.web-order #product-page :is(.product-specifications,.product-price-details)>summary { display:flex; align-items:center; justify-content:space-between; min-height:48px; padding:12px 0; color:var(--buy-ink); font-size:15px; font-weight:650; list-style:none; cursor:pointer; }
html body.purchase-refined.web-order #product-page :is(.product-specifications,.product-price-details)>summary::-webkit-details-marker { display:none; }
html body.purchase-refined.web-order #product-page :is(.product-specifications,.product-price-details)>summary:after { content:''; width:9px; height:9px; margin:0 4px 4px; border:solid var(--buy-brand); border-width:0 2px 2px 0; transform:rotate(45deg); }
html body.purchase-refined.web-order #product-page :is(.product-specifications,.product-price-details)[open]>summary:after { transform:rotate(225deg); margin-block:4px 0; }
html body.purchase-refined.web-order #product-page #quote-box { padding:16px; border:1px solid var(--buy-border); border-radius:12px; background:var(--tdf-page,#f4f7f5); color:var(--buy-ink); }
html body.purchase-refined.web-order #product-page .quote-line { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:5px 0; font-size:14px!important; }
html body.purchase-refined.web-order #product-page .quote-line>span { color:var(--buy-muted); }
html body.purchase-refined.web-order #product-page .quote-line>b { max-width:60%; text-align:right; font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order #product-page .quote-big { display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-top:10px; padding-top:12px; border-top:1px solid var(--buy-border); color:var(--buy-brand); font-size:18px!important; }
html body.purchase-refined.web-order #product-page .product-facts>div { padding:8px 0; border-bottom:1px solid var(--buy-border); }
html body.purchase-refined.web-order .product-buy-bar { background:var(--buy-surface); color:var(--buy-ink); box-shadow:none; }
html body.purchase-refined.web-order .product-buy-bar .product-buy-actions { gap:10px; }
html body.purchase-refined.web-order .product-buy-bar .product-buy-actions>button { min-height:48px; border-radius:9px; font-size:15px!important; font-weight:650; }
html body.purchase-refined.web-order .product-buy-bar #variant-add { background:var(--buy-surface)!important; color:var(--buy-brand)!important; border:1px solid var(--buy-brand); }
html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta { color:var(--buy-muted); }
html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta strong { font-size:24px; color:var(--buy-brand); font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order .product-buy-bar #cart-add-feedback { background:var(--buy-soft); border-color:var(--buy-border); box-shadow:none; }
html body.purchase-refined.web-order .product-buy-bar #cart-add-feedback small { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
html body.purchase-refined.web-order #product-cart-shortcut>span:first-child { display:inline-flex; align-items:center; gap:5px; }
html body.purchase-refined.web-order.quick-order-open #product-page .product-layout { padding:20px; gap:16px; background:var(--buy-surface); border:0; box-shadow:none; }
html body.purchase-refined.web-order.quick-order-open #product-page .product-heading h1 { font-size:24px; }
html body.purchase-refined.web-order.quick-order-open #product-page .purchase-kicker { display:none; }
html body.purchase-refined.web-order.quick-order-open #product-page .v21-main-photo { height:300px; }
html body.purchase-refined.web-order.quick-order-open #product-page .product-price-panel { margin:8px 0 16px; }

/* One cart card per line; prices and labels continue to come from the quote. */
html body.purchase-refined.web-order #cart-panel { background:var(--tdf-page,#f4f7f5); }
html body.purchase-refined.web-order #cart-panel .cart-header { align-items:center; padding:20px 24px; background:var(--buy-surface); border-color:var(--buy-border); }
html body.purchase-refined.web-order #cart-panel .cart-header small { font-size:11px!important; letter-spacing:.06em; color:var(--buy-muted); }
html body.purchase-refined.web-order #cart-panel #cart-title { margin:4px 0; font-size:26px; color:var(--buy-ink); }
html body.purchase-refined.web-order #cart-panel .purchase-cart-count { margin:0; color:var(--buy-muted); font-size:13px!important; }
html body.purchase-refined.web-order #cart-panel #cart-close { width:44px; height:44px; min-width:44px; min-height:44px; border:1px solid var(--buy-border); border-radius:50%; background:var(--buy-surface); color:var(--buy-ink); }
html body.purchase-refined.web-order #cart-panel .cart-panel__scroll { padding:20px 24px; gap:0; scroll-padding:16px; }
html body.purchase-refined.web-order #cart-panel .cart-price-context { margin:0 0 16px; padding:0; color:var(--buy-muted); font-size:13px!important; line-height:1.5; }
html body.purchase-refined.web-order #cart-panel .cart-lines { display:grid; gap:14px; }
html body.purchase-refined.web-order #cart-panel .cart-item {
 display:grid; grid-template-columns:minmax(0,1fr) auto; gap:12px; margin:0; padding:18px;
 border:1px solid var(--buy-border); border-radius:14px; background:var(--buy-surface);
}
html body.purchase-refined.web-order #cart-panel .cart-item-title { grid-column:1/-1; gap:14px; align-items:flex-start; }
html body.purchase-refined.web-order #cart-panel .cart-item-title strong { font-size:16px!important; line-height:1.5!important; color:var(--buy-ink); }
html body.purchase-refined.web-order #cart-panel .cart-item-thumb { width:72px; height:72px; object-fit:contain; border:1px solid var(--buy-border); border-radius:10px; background:var(--tdf-page,#f4f7f5); }
html body.purchase-refined.web-order #cart-panel .cart-spec { color:var(--buy-muted); font-size:13px; }
html body.purchase-refined.web-order #cart-panel .v17-weight-note { display:block; margin:6px 0 0; padding:7px 9px; border-radius:7px; font-size:12px!important; line-height:1.5; }
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit { display:flex; flex-wrap:nowrap; gap:6px; margin:0; min-width:0; }
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit>span:first-child { display:none; }
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit :is(button,input) { height:44px; min-width:44px; min-height:44px; border:1px solid var(--buy-border); border-radius:8px; background:var(--buy-surface); }
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit button { width:44px; padding:6px; color:var(--buy-brand); font-size:20px!important; }
html body.purchase-refined.web-order #cart-panel .cart-quantity-edit input { width:64px; padding:6px; text-align:center; font-size:16px!important; color:var(--buy-ink); }
html body.purchase-refined.web-order #cart-panel .cart-line-total { align-self:center; color:var(--buy-brand); font-size:18px; font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order #cart-panel .cart-actions { justify-content:flex-end; }
html body.purchase-refined.web-order #cart-panel .cart-actions button { display:inline-flex; align-items:center; gap:6px; min-height:44px; padding:8px 10px; border:0; border-radius:8px; background:transparent; color:var(--tdf-error,#b42318); font-size:13px!important; }
.purchase-icon { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
html body.purchase-refined.web-order #cart-panel .customer-fee-details { margin:0; color:var(--buy-muted); }
html body.purchase-refined.web-order #cart-panel .customer-fee-details summary { min-height:44px; display:flex; align-items:center; gap:6px; color:var(--buy-brand); font-size:13px; }
html body.purchase-refined.web-order #cart-panel .customer-fee-details summary:before { content:''; width:7px; height:7px; margin-right:4px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(-45deg); }
html body.purchase-refined.web-order #cart-panel .customer-fee-details[open] summary:before { transform:rotate(45deg); }
html body.purchase-refined.web-order #cart-panel .customer-fee-details[open] { padding-top:8px; border-top:1px solid var(--buy-border); }
html body.purchase-refined.web-order #cart-panel .customer-fee-details p { margin:6px 0; font-size:13px!important; }
html body.purchase-refined.web-order #cart-panel #shopping-gifts { margin-top:16px; padding:16px; border:1px solid var(--buy-border); border-radius:14px; background:var(--buy-surface); }
html body.purchase-refined.web-order #cart-panel .cart-panel__footer {
 display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; align-items:center;
 position:static; padding:16px 24px max(16px,env(safe-area-inset-bottom)); border-color:var(--buy-border); background:var(--buy-surface); box-shadow:none;
}
html body.purchase-refined.web-order #cart-panel .cart-panel__footer>.cart-total { grid-column:1/-1; display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
html body.purchase-refined.web-order #cart-panel .cart-panel__footer .cart-total>span { color:var(--buy-muted); font-size:14px; }
html body.purchase-refined.web-order #cart-panel #cart-total-value,html body.purchase-refined.web-order #cart-panel #shopping-total { font-size:26px; line-height:1.3; color:var(--buy-brand); font-variant-numeric:tabular-nums; }
html body.purchase-refined.web-order #cart-panel .cart-panel__footer:has(#shopping-combined-row:not([hidden])) #cart-total-value { font-size:18px; }
html body.purchase-refined.web-order #cart-panel #cart-tax-summary { grid-column:1/-1; padding:0; margin:0; font-size:12px!important; }
html body.purchase-refined.web-order #cart-panel :is(#cart-checkout-trigger,#shopping-gift-checkout) { grid-column:1/-1; width:100%; min-height:48px; margin:0; border-radius:9px; font-size:15px!important; font-weight:650; }
html body.purchase-refined.web-order #cart-panel[data-cart-view=checkout] #cart-checkout-trigger { grid-column:1; font-size:13px!important; }
html body.purchase-refined.web-order #cart-panel #cart-review-trigger { grid-column:2; min-height:48px; border-radius:9px; font-size:13px!important; }
html body.purchase-refined.web-order #cart-panel .purchase-cart-empty { margin:auto 0; padding:32px 16px; text-align:center; color:var(--buy-muted); }
html body.purchase-refined.web-order #cart-panel .purchase-cart-empty>svg { width:56px; height:56px; margin-bottom:12px; color:var(--buy-brand); }
html body.purchase-refined.web-order #cart-panel .purchase-cart-empty h3 { margin:0 0 8px; color:var(--buy-ink); font-size:20px; }
html body.purchase-refined.web-order #cart-panel .purchase-cart-empty p { margin:0 0 20px; }
html body.purchase-refined.web-order #cart-panel #purchase-browse { min-height:48px; border-radius:9px; }
html body.purchase-refined.web-order #cart-panel #cart-checkout { margin:0 0 18px; padding:0; border:0; background:transparent; }
html body.purchase-refined.web-order #cart-panel #order-form { padding:18px; border:1px solid var(--buy-border); border-radius:14px; background:var(--buy-surface); }
html body.purchase-refined.web-order #cart-panel #order-form :is(input:not([type=hidden]),select,textarea) { min-height:44px; border:1px solid var(--buy-border); border-radius:8px; font-size:16px!important; }
html body.purchase-refined.web-order #cart-panel #order-form .checkout-steps { padding:10px 12px; border-radius:8px; background:var(--buy-soft); color:var(--buy-brand); font-size:13px!important; }
html body.purchase-refined.web-order #cart-panel #order-form>label { display:grid; gap:6px; margin:14px 0; }
html body.purchase-refined.web-order #cart-panel #order-form :is(.checkout-profile,.checkout-address-current) { padding:12px 0; margin:12px 0; border-top:1px solid var(--buy-border); }
html body.purchase-refined.web-order #cart-panel #submit-order { min-height:48px; border-radius:9px; }
html body.purchase-refined.web-order :is(.product-buy-bar,#cart-panel) button:disabled { opacity:.55; }
@media(hover:hover) {
 html body.purchase-refined.web-order #product-page .cut-grid button:hover { border-color:var(--buy-brand); }
 html body.purchase-refined.web-order #cart-panel .cart-actions button:hover { background:color-mix(in srgb,var(--tdf-error,#b42318) 7%,var(--buy-surface)); }
}
@media(max-width:1099px) and (min-width:701px) {
 html body.purchase-refined.web-order--product #product-page .product-layout { gap:20px; padding:20px; }
 html body.purchase-refined.web-order #product-page .product-heading h1 { font-size:24px; }
}
@media(max-width:700px) {
 body.purchase-refined { --buy-title:23px; --buy-price:28px; }
 html.large-text body.purchase-refined { --buy-title:28px; --buy-price:32px; }
 html body.purchase-refined.web-order--product #product-page { margin:12px 0 20px; padding-inline:12px; }
 html body.purchase-refined.web-order--product #product-page .product-back { margin-bottom:8px; }
 html body.purchase-refined.sf-enhanced.web-order--product .main-head .realm-segments:not([hidden]) { grid-row:2; grid-column:1; width:100%; }
 html body.purchase-refined.sf-enhanced.web-order--product .main-head .realm-segments button { min-width:0; padding-inline:8px; font-size:12px!important; }
 html body.purchase-refined.sf-enhanced.web-order--product .main-head .commerce-realm-tools { grid-row:2; grid-column:2; display:flex; width:92px!important; min-width:0; margin:0; }
 html body.purchase-refined.sf-enhanced.web-order--product .main-head .commerce-gift-link { display:flex; align-items:center; justify-content:center; min-height:44px; width:100%; max-width:none!important; padding:6px; white-space:normal!important; overflow:visible; text-overflow:clip; text-align:center; font-size:12px!important; line-height:1.3!important; }
 html body.purchase-refined.web-order #product-page .product-breadcrumb { display:none; }
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .product-layout { grid-template-columns:minmax(0,1fr); padding:16px; gap:12px; border-radius:14px; }
 html body.purchase-refined.web-order #product-page .product-heading h1 { font-size:var(--buy-title); }
 html body.purchase-refined.web-order #product-page .purchase-kicker { display:none; }
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .v21-main-photo { height:min(72vw,320px); min-height:0; padding:8px; }
 html body.purchase-refined.web-order #product-page .product-price-panel { margin:8px 0 12px; padding:12px 14px; }
 html body.purchase-refined.web-order #product-page .quantity-control { margin:0 0 16px; padding-bottom:16px; }
 html body.purchase-refined.web-order #product-page .cut-grid button { min-height:84px; }
 html body.purchase-refined.web-order #product-page .quote-line { gap:12px; font-size:13px!important; }
 html body.purchase-refined.web-order #product-page #quote-box { padding:12px; }
 html body.purchase-refined.web-order #product-page .quote-line>b { max-width:57%; }
 /* Keep every action in the normal-flow row, including after a modal closes. */
 html body.purchase-refined.web-order .product-buy-bar { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto auto; gap:8px; padding:10px 12px max(10px,env(safe-area-inset-bottom)); position:static!important; }
 html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta { grid-column:1; grid-row:1; display:grid; gap:2px; margin:0; min-width:0; font-size:12px; }
 html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta strong { font-size:22px; line-height:1.3; white-space:normal; overflow-wrap:anywhere; }
 html body.purchase-refined.web-order .product-buy-bar .product-buy-actions { grid-column:1/-1; grid-row:2; display:grid; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:8px; }
 html body.purchase-refined.web-order .product-buy-bar .product-buy-actions>button { min-height:44px; font-size:14px!important; }
 html body.purchase-refined.web-order .product-buy-bar #product-cart-shortcut { grid-column:2; grid-row:1; min-height:44px; padding:6px 10px; }
 html body.purchase-refined.web-order .product-buy-bar #product-cart-shortcut :is(strong,span:last-child) { display:none; }
 html body.purchase-refined.web-order .product-buy-bar #cart-add-feedback { grid-column:2; grid-row:1; max-width:180px; gap:6px; margin:0; padding:4px 6px; }
 html body.purchase-refined.web-order .product-buy-bar #cart-add-feedback strong { font-size:12px!important; line-height:1.4; }
 html body.purchase-refined.web-order .product-buy-bar #cart-add-view { min-height:44px; padding:6px 8px; font-size:12px!important; white-space:nowrap; }
 html body.purchase-refined.web-order #cart-panel.open { display:grid!important; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; }
 html body.purchase-refined.web-order #cart-panel .cart-header { padding:14px 16px; padding-top:max(14px,env(safe-area-inset-top)); }
 html body.purchase-refined.web-order #cart-panel #cart-title { font-size:23px; }
 html body.purchase-refined.web-order #cart-panel .cart-panel__scroll { min-height:0; min-block-size:0; overflow:auto; padding:16px 12px; }
 html body.purchase-refined.web-order #cart-panel .cart-item { gap:10px 8px; padding:14px; }
 html body.purchase-refined.web-order #cart-panel .cart-item-title { gap:10px; }
 html body.purchase-refined.web-order #cart-panel .cart-item-title strong { font-size:15px!important; }
 html body.purchase-refined.web-order #cart-panel .cart-item-thumb { width:64px; height:64px; }
 html body.purchase-refined.web-order #cart-panel .cart-line-total { font-size:17px; }
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit { gap:4px; }
 html body.purchase-refined.web-order #cart-panel .cart-quantity-edit input { width:52px; }
 html body.purchase-refined.web-order #cart-panel .cart-panel__footer { gap:6px; padding:12px 16px max(12px,env(safe-area-inset-bottom)); max-height:48svh; overflow:auto; }
 html body.purchase-refined.web-order #cart-panel #cart-total-value,html body.purchase-refined.web-order #cart-panel #shopping-total { font-size:24px; }
 html body.purchase-refined.web-order #cart-panel :is(#cart-checkout-trigger,#cart-review-trigger,#shopping-gift-checkout) { min-height:44px; }
 html body.purchase-refined.web-order #cart-panel #order-form { padding:14px; }
 html body.purchase-refined.web-order.quick-order-open #product-page { display:grid!important; grid-template-rows:auto minmax(0,1fr) auto; overflow:hidden; }
 html body.purchase-refined.web-order.quick-order-open #product-page .product-page__scroll { min-height:0; min-block-size:0; overflow:auto; }
 /* Old compact-keyboard rules must not turn the static navigation row back
    into a 48px floating-cart layout on very short landscape screens. */
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav {
  display:grid!important; grid-template-columns:repeat(5,minmax(0,1fr)); width:100%!important;
  height:auto!important; min-height:64px; border-radius:0!important; background:var(--buy-surface)!important;
  padding:7px max(4px,env(safe-area-inset-right)) max(7px,env(safe-area-inset-bottom)) max(4px,env(safe-area-inset-left))!important;
 }
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav>a,
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav>.v9-cart-shortcut:not([hidden]) {
  display:flex!important; flex-direction:column; align-items:center; justify-content:center; gap:4px;
  width:auto!important; height:auto!important; min-height:48px; padding:4px 1px!important;
  background:transparent!important; color:var(--buy-ink)!important;
 }
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav>.v9-cart-shortcut { position:relative!important; }
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav>a[aria-current=page] { color:var(--buy-brand)!important; }
 html body.purchase-refined.sf-enhanced.web-order .v9-bottom-nav .v9-cart-shortcut__badge { margin:0!important; top:2px; right:calc(50% - 23px); }
}
@media(max-width:370px) {
 html body.purchase-refined.web-order #cart-panel .cart-item>.cart-quantity-edit { grid-column:1/-1; grid-row:2; }
 html body.purchase-refined.web-order #cart-panel .cart-item>.cart-line-total { grid-column:1; grid-row:3; text-align:left; }
 html body.purchase-refined.web-order #cart-panel .cart-item>.cart-actions { grid-column:2; grid-row:3; }
 html body.purchase-refined.web-order #cart-panel .cart-item>.customer-fee-details { grid-column:1/-1; grid-row:4; }
 html body.purchase-refined.web-order .product-buy-bar #cart-add-feedback { max-width:156px; }
}
@media(max-height:420px) and (max-width:700px) {
 html body.purchase-refined.web-order #cart-panel .cart-header { padding-block:8px; }
 html body.purchase-refined.web-order #cart-panel .cart-header small { display:none; }
 html body.purchase-refined.web-order #cart-panel #cart-title { font-size:20px; margin:0; }
 html body.purchase-refined.web-order #cart-panel .purchase-cart-count { font-size:12px!important; }
 html body.purchase-refined.web-order:is(.quick-order-open,.web-order--product) #product-page .v21-main-photo { height:160px; }
}
/* Keep product content reachable in short landscape viewports. The action
   footer remains in the mobile root grid's normal-flow row. */
@media(min-width:520px) and (max-width:700px) and (max-height:360px) {
 html body.purchase-refined.web-order .product-buy-bar {grid-template-columns:minmax(96px,.6fr) auto minmax(0,1.6fr);grid-template-rows:auto;gap:8px;padding:6px 10px max(6px,env(safe-area-inset-bottom))}
 html body.purchase-refined.web-order .product-buy-bar .product-buy-actions {grid-column:3;grid-row:1}
 html body.purchase-refined.web-order .product-buy-bar .product-buy-actions>button {padding:6px 8px}
 html body.purchase-refined.web-order .product-buy-bar .variant-submit-meta strong {font-size:18px;line-height:1.2}
 html body.purchase-refined.web-order .product-buy-bar :is(#product-cart-shortcut,#cart-add-feedback) {grid-column:2;grid-row:1}
}
@media(prefers-reduced-motion:reduce) {
 html body.purchase-refined.web-order :is(.product-buy-bar,#cart-panel) * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}

/* Keep the photo affordance small; the full image remains the click target. */
html body.purchase-refined.web-order #product-page .photo-enlarge{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;width:32px;height:32px;gap:0;padding:0;border-radius:6px;pointer-events:none}
html body.purchase-refined.web-order #product-page .photo-enlarge svg{display:block;flex:none;width:16px;height:16px}

/* Keep the published SKU description readable inside the existing specifications disclosure. */
.product-specifications .product-description { max-inline-size: 70ch; line-height: 1.6; overflow-wrap: anywhere; }
.product-specifications .product-description p { margin-block: .8em; }
