/* One font family, four text sizes, one shared control language. */
:root{--type-caption:12px;--type-body:16px;--type-title:24px;--type-display:48px;--control-radius:14px;--control-size:48px}
body{font-family:StoreSans,Arial,sans-serif;font-size:var(--type-body)}
button,input,select,textarea{font-family:StoreSans,Arial,sans-serif}
body p,body label,body input,body select,body textarea,body .muted,body .lead,body .price,body .product h3,body .account-items b,body .account-items strong{font-size:var(--type-body)!important;line-height:1.6}
body small,body time,body .eyebrow,body .brand,body .product-category,body .badge,body .catalog-meta,body .catalog-progress,body .footer-bottom,body .account-order-status small,body .account-items small,body .order-facts{font-size:var(--type-caption)!important;line-height:1.6}
body h1,body .hero h1{font-size:var(--type-display)!important;line-height:1.12;overflow-wrap:normal}
body h2,body #modal-content h2,body .section-heading h2,body .about h2{font:500 var(--type-title)/1.3 StoreSans,Arial,sans-serif!important;letter-spacing:-.02em}
body h3,body #modal-content h3{font-size:var(--type-body)!important;line-height:1.5}
body #modal-content .account-heading h2{font-family:StoreSans,Arial,sans-serif!important}
body button:not(.product-art):not(.password-toggle),body .button,body .small-button{font-size:var(--type-body);line-height:1.4;letter-spacing:0;border-radius:var(--control-radius);min-height:var(--control-size);text-align:center}
body .button,body .small-button{padding:12px 20px;display:inline-flex;align-items:center;justify-content:center;gap:10px;white-space:normal}
body .button.dark{background:var(--ink);color:var(--paper);border:1px solid var(--ink)}
body .button.light,body .small-button{background:transparent;color:var(--ink);border:1px solid var(--line)}
body #modal-content .auth-options .small-button{border:1px solid var(--line);border-radius:var(--control-radius);text-decoration:none;font-size:var(--type-body);min-height:var(--control-size)}
body .header-button,body .add-button,body .close,body .icon-action{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:0;border:1px solid var(--line);border-radius:var(--control-radius);background:transparent;color:var(--ink);width:var(--control-size);height:var(--control-size);min-width:var(--control-size);min-height:var(--control-size);padding:0;position:relative}
body .header-button span{display:none!important}body .header-actions{gap:12px}
body .header-button.basket{padding:0}body .header-button #cart-count{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:1px 4px;border-radius:20px;background:var(--ink);color:var(--paper);font-size:var(--type-caption);line-height:18px}
body #modal-content .icon-action{inline-size:var(--control-size);min-block-size:var(--control-size);padding:0;justify-self:center}
body .connection-actions>.icon-action{width:100%;inline-size:100%!important;height:auto;min-height:64px}
body .password-toggle{border-radius:var(--control-radius)}
body .icon-action svg,body .header-button svg,body .add-button svg{width:22px;height:22px}
body .account-tabs button{font-size:var(--type-body);min-height:var(--control-size);border-radius:10px}
body nav a,body .footer-contact>a,body .footer-links>a,body .account-help a{font-size:var(--type-body)!important;font-weight:600;line-height:1.6}
body .footer-contact .footer-phone{font-size:var(--type-title)!important}
body .account-order-title b,body .account-order-total,body .account-payments span,body .account-profile dl>div{font-size:var(--type-body)}
body .account-order summary{grid-template-columns:minmax(0,1fr) minmax(100px,150px) auto 16px}
body .account-order-status .badge{white-space:normal;overflow-wrap:anywhere}
body button:hover,body a.button:hover{box-shadow:none}
body .icon-action:hover,body .header-button:hover,body .add-button:hover{background:#53614e10;border-color:var(--accent)}
body .close{position:absolute;right:12px;top:12px}
@media(max-width:700px){body .hero h1{font-size:var(--type-title)!important}body .hero-copy{min-width:0}body .footer-contact .footer-phone{font-size:var(--type-body)!important}body .account-order summary{grid-template-columns:minmax(0,1fr) auto 16px}body .account-order-total{white-space:normal;text-align:right}body .account-toolbar{grid-template-columns:minmax(0,1fr) auto}body .account-search{grid-column:1/-1}body .account-order-actions{grid-template-columns:minmax(0,1fr)}}
@media(max-width:480px){body .connection-actions>.icon-action{min-height:52px}body .account-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}body .product-grid{grid-template-columns:minmax(0,1fr)}body .account-payments li{flex-wrap:wrap}body .header-actions{gap:8px}}

/* The same modal control rows on the website and in the customer Mini App. */
body:not(.distributor) #modal .form{min-width:0;max-width:100%}
body:not(.distributor) #modal .form :is(label,input,select,textarea,fieldset){min-width:0;max-width:100%;box-sizing:border-box}
body:not(.distributor) #modal :is(.connection-actions,.auth-options){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
body:not(.distributor) #modal :is(.connection-actions,.auth-options)>:is(button,a){display:flex;align-items:center;justify-content:center;width:100%;min-width:0;inline-size:100%;height:auto;min-height:44px;margin:0;padding:10px 8px;overflow-wrap:anywhere;white-space:normal;text-align:center}
body:not(.distributor) #modal :is(.connection-actions,.auth-options)>[hidden]{display:none!important}
body:not(.distributor) #modal .close{width:36px;min-width:36px;height:36px;min-height:36px;padding:0;top:10px;right:10px}
