/* Impeccable refinement: retain approved faces, palette, reading order and print formats. */
@media screen {
 :root{--rhythm-tight:8px;--rhythm-related:12px;--rhythm-group:24px;--rhythm-section:32px}
 ::selection{background:#dcece3;color:#123529}
 :is(input,textarea){caret-color:#123529}
 a{text-underline-offset:.2em}
 :is(.product-intro,.product-summary,.editorial-hero,.seller-catalog,.ui-workspace) :is(h1,h2,h3){text-wrap:balance;overflow-wrap:anywhere}
 :is(.product-description,.hero-message,.consult-hint){text-wrap:pretty;max-width:68ch}
 body:has(.product-layout) .product-description{line-height:1.65;margin-block:12px 24px}
 body:has(.product-layout) .specifications>h2{margin-block:24px 12px;line-height:1.25}
 body:has(.product-layout) :is(.product-facts,.option-facts){row-gap:16px;column-gap:var(--rhythm-group)}
 body:has(.product-layout) .product-intro h1{letter-spacing:-.02em;line-height:1.15}
 body:is(.cash-catalog,.credit-catalog,.seller-catalog) #products .compact-content{gap:var(--rhythm-tight)}
 body:is(.cash-catalog,.credit-catalog,.seller-catalog) #products .compact-content h2{line-height:1.3;letter-spacing:-.01em;text-wrap:balance}
 body:is(.cash-catalog,.credit-catalog,.seller-catalog) #products .compact-content :is(.catalog-title-detail,.catalog-includes){line-height:1.5}
 .seller-catalog .filters{gap:12px;margin-bottom:24px}
 .seller-catalog #pager{gap:12px;margin-block:24px}
 :is(.cash,.compact-price,.picker-total,.payment-amount,.detail-payment-amount,.quote-totals,.ui-workspace .amount,.ui-workspace .summary){font-variant-numeric:tabular-nums lining-nums}
 .ui-workspace{line-height:1.5}
 .ui-workspace main :is(h2,h3){letter-spacing:-.015em;line-height:1.25}
 .ui-workspace main h2{margin-block:24px 12px}
 .ui-workspace main h3{margin-block:20px 8px}
 .ui-workspace :is(.section-head,.section-title,.dialog-head) :is(h2,h3){margin-block:0}
 .ui-workspace :is(.hint,.form-error){line-height:1.55;max-width:68ch}
 .ui-workspace form label:not(.check){line-height:1.5}
 .ui-workspace form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font-size:1rem;line-height:1.5}
 .ui-workspace :is(.toolbar,.receipt-actions){gap:var(--rhythm-related)}
 .ui-workspace :is(.form-error,#error){overflow-wrap:anywhere}
 @media(max-width:600px){
  .ui-workspace main{padding-inline:16px}
  .ui-workspace :is(.toolbar,.receipt-actions)>*{min-width:0;max-width:100%}
  .ui-workspace dialog{max-width:calc(100vw - 24px)}
  .seller-catalog .filters{gap:var(--rhythm-related)}
 }
}

/* Taste refinement: the existing product-led layout and brand remain intact. */
@media screen {
 body.editorial-store .store-location{background:#e8f3ee}
 body.editorial-store .editorial-hero .hero-disclaimer{font-size:13px;line-height:1.5}
 body.editorial-store #editorial-category-links small{font-size:13px;line-height:1.5}
 body.editorial-store .shopping-contact h2{max-width:24ch;line-height:1.2}
 body:has(.product-layout) .specifications>summary{padding-block:12px;line-height:1.3}
 body:has(.product-layout) .specifications[open]>summary{margin-bottom:12px}
 body:has(.product-layout) .product-description{color:#3a4540}
 .ui-workspace .top h1{font-size:clamp(28px,3vw,32px);line-height:1.2;letter-spacing:-.02em}
 .ui-workspace form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){min-height:48px}
 .ui-workspace :is(input,textarea)::placeholder{color:#52665c;opacity:1}
 .ui-workspace main :is(input,select,textarea):focus-visible{outline:3px solid #123529;outline-offset:2px}
 @media(min-width:901px){
  body.editorial-store .editorial-hero{align-items:center;gap:40px;padding-block:32px}
  body.editorial-store .editorial-hero #page-title{font-size:clamp(40px,4.2vw,60px)!important;line-height:1.1!important}
  body.editorial-store:is(.cash-catalog,.credit-catalog) .editorial-feature #editorial-image{height:clamp(320px,32vw,460px);aspect-ratio:auto;object-fit:contain}
 }
 @media(max-width:700px){
  body.editorial-store .shopping-contact{flex-wrap:wrap;padding:20px;gap:16px}
  body.editorial-store .shopping-contact h2{flex:1 1 100%;font-size:24px;max-width:none;overflow-wrap:normal}
  .ui-workspace .section-title{flex-wrap:wrap;gap:8px 16px}
 }
}
