/* Interface refinement. Brand colors and fonts are inherited; storefront backgrounds are white at the owner's request. */
body.interface-crafted.boutique-home{--paper:#fff;background:#fff}
body.interface-crafted.boutique-home :is(.header,.companion-dock,.home-visual-frame,.home-photo-label,.category-card,.price-priority-banner){background:#fff}
body.interface-crafted.boutique-home .home-visual-frame figcaption{background:#fffffff2}
body.interface-crafted :is(h1,h2,h3){text-wrap:balance}
body.interface-crafted :is(p,li,dd){overflow-wrap:break-word}
body.interface-crafted :is(button,a.button,.primary,.secondary,.export,.home-primary,.companion-chat-cta,.product-add){touch-action:manipulation;transition:transform 160ms cubic-bezier(.16,1,.3,1),background-color 160ms ease-out,border-color 160ms ease-out,box-shadow 160ms ease-out}
body.interface-crafted :is(button,a.button,.primary,.secondary,.export,.home-primary,.product-add){min-height:44px}
body.interface-crafted :is(input,select,textarea){scroll-margin-block:100px}
body.interface-crafted :is(.form label,.personal-workspace .form label){font-size:13px;line-height:1.5;font-weight:600;gap:7px}
body.interface-crafted :is(.form input,.form select,.form textarea){font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body.interface-crafted :is(.form input,.form select):not([type=checkbox]):not([type=radio]):not([type=hidden]){min-height:46px}
body.interface-crafted textarea{line-height:1.6;resize:vertical}
body.interface-crafted :is(.head p:not(.eyebrow),.row small,.sub,.stats-help,.personal-workspace .sub){font-size:13px;line-height:1.6}
body.interface-crafted .rowmain{min-width:0}
body.interface-crafted .row b{font-size:14px;line-height:1.45}
body.interface-crafted :is(.stat b,.price,.product-price,.quote,.receipt-price,table){font-variant-numeric:tabular-nums}
body.interface-crafted .stat span{font-size:12px;line-height:1.5;margin-bottom:10px}
body.interface-crafted .stat small{font-size:12px;line-height:1.5}
body.interface-crafted .panel h2{font-size:18px;line-height:1.3;margin-bottom:12px;letter-spacing:-.02em}
body.interface-crafted .empty b{font-size:16px;line-height:1.4}
body.interface-crafted .empty p{font-size:13px;line-height:1.6;max-width:42ch}
body.interface-crafted :is(.tablewrap,.table-wrap,.table-scroll,.admin-table-wrap){overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
body.interface-crafted th{font-size:12px;font-weight:650;line-height:1.45;padding:14px}
body.interface-crafted td{font-size:13px;line-height:1.6;padding:14px;vertical-align:middle}
body.interface-crafted :is(.portal-header,.head,.flow-heading,.care-header){gap:16px}
body.interface-crafted .portal-links a{display:inline-flex;align-items:center;min-height:44px}
body.interface-crafted :is(.nav button,.ct-simple-link,.management-menu-group a){min-height:44px;line-height:1.45}
body.interface-crafted :is(.form fieldset,.fuel-details,[data-refueling-entry],.quote-fields,.product-sizing){min-width:0}
body.interface-crafted :is(.ct-order-card,.ct-client-route-preview,.flow-panel,.card,.panel){min-width:0}
body.interface-crafted .ct-order-steps{gap:8px}
body.interface-crafted .ct-order-steps span{line-height:1.4}
body.interface-crafted .ct-route-summary b{font-variant-numeric:tabular-nums}
body.interface-crafted .ct-address-autocomplete input{font-size:16px;min-height:46px}
body.interface-crafted :is(.product-add,.size-options button,.category-product-copy button,.subcategory-switcher button){min-height:44px;font-size:14px;line-height:1.35}
body.interface-crafted .size-options button{min-width:44px}
body.interface-crafted :is(.product-info h3,.category-product-copy h2){line-height:1.18}
body.interface-crafted :is(.product-description,.product-size-measures p){line-height:1.65}
body.interface-crafted .product-price{font-weight:700;letter-spacing:-.015em}
body.interface-crafted :is(.category-switcher,.subcategory-switcher){scroll-padding-inline:20px}
body.interface-crafted .category-switcher a{min-height:44px;display:inline-flex;align-items:center}
body.interface-crafted dialog{max-width:min(720px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box}
body.interface-crafted .public-site .customer-login-shortcut .login-label{display:inline!important;width:auto!important;height:auto!important;background:transparent!important;color:inherit!important;border-radius:0!important;font-size:12px;line-height:1.4}
body.interface-crafted .craft-depth-ready :is(.courier-scene,.craft-depth-image){transform-origin:50% 50%;transition:transform 180ms cubic-bezier(.16,1,.3,1)}
body.interface-crafted [hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){
 body.interface-crafted :is(.button,.primary,.secondary,.export,.home-primary,.product-add,.companion-chat-cta):not(:disabled):hover{transform:translateY(-1px)}
 body.interface-crafted .product-image-button img{transition:transform 220ms cubic-bezier(.16,1,.3,1)}
 body.interface-crafted .product-image-button:hover img{transform:scale(1.025)}
}
@media(hover:none),(pointer:coarse){body.interface-crafted :is(.button,.primary,.secondary,.export,.home-primary,.product-add,.companion-chat-cta):hover{transform:none}}
body.interface-crafted :is(.button,.primary,.secondary,.export,.home-primary,.product-add,.companion-chat-cta):not(:disabled):active{transform:scale(.985)}
@media(max-width:700px){
 body.interface-crafted :is(.form input,.form select,.form textarea,.geoapify-autocomplete-input){font-size:16px}
 body.interface-crafted :is(.head,.portal-header,.flow-heading,.care-header){flex-wrap:wrap;gap:12px}
 body.interface-crafted .form{gap:16px}
 body.interface-crafted :is(.personal-workspace .op-links,.product-actions){gap:12px;flex-wrap:wrap}
 body.interface-crafted .personal-workspace .op-links>button{min-height:46px}
 body.interface-crafted .ct-order-section .form{grid-template-columns:minmax(0,1fr)}
 body.interface-crafted .ct-route-summary>div{min-width:0}
 body.interface-crafted .category-product-copy>span{display:block;font-size:12px;line-height:1.55}
 body.interface-crafted .category-product-copy button{min-height:46px;font-size:13px}
 body.interface-crafted .product-add{min-height:48px}
 body.interface-crafted :is(.portal-shell,.care-shell){padding-bottom:max(24px,env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){
 body.interface-crafted :is(button,a.button,.primary,.secondary,.export,.home-primary,.product-add,.companion-chat-cta,.courier-scene,.craft-depth-image,.product-image-button img){transition:none!important}
 body.interface-crafted :is(.button,.primary,.secondary,.export,.home-primary,.product-add,.companion-chat-cta):is(:hover,:active){transform:none}
}
