/* User-approved type refresh. Screen only; receipts and print layouts retain their fonts. */
@media screen {
 body{font-family:Manrope,system-ui,sans-serif!important}
 body :is(button,input,select,textarea,.compact-content,.compact-content p,.compact-content strong,.compact-price,.cash,.payment-amount,.detail-payment-amount,.picker-total){font-family:Manrope,system-ui,sans-serif!important}
 body :is(h1,h2,h3){font-family:'Playfair Display',Georgia,serif!important;font-weight:600;letter-spacing:-.015em}
 body.ui-workspace :is(h1,h2,h3){font-family:Manrope,system-ui,sans-serif!important;font-weight:700}
 body:is(.cash-catalog,.credit-catalog,.seller-catalog) #products .compact-content h2{font-family:'Playfair Display',Georgia,serif!important;line-height:1.3}
 body .product-intro h1{line-height:1.18}
}

/* Taste review: close legacy font overrides without changing print faces. */
@media screen {
 body :is(p,a,span,small,label,summary,dt,dd,li,legend){font-family:inherit!important}
 body.editorial-store #editorial-category-links button>span,
 body:has(.product-layout) .specifications>summary{font-family:'Playfair Display',Georgia,serif!important;font-weight:600}
}

@media screen {body.cash-catalog :is(h1,h2,h3){font-weight:800!important}}

/* Shared catalog polish (v382): presentation only; payment modes stay separate. */
@media screen {
 body:is(.credit-catalog,.seller-catalog,.category-catalog) :is(h1,h2,h3){font-weight:800!important}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products article.cash-product :is(.compact-photo,.photo-wrap){aspect-ratio:4/3;height:auto}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products article.cash-product :is(.compact-photo,.photo-wrap) img{padding:0;object-fit:contain;background:#f6f3ec}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products .compact-image-link{display:block;flex:none;text-decoration:none}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products :is(.compact-content,.body){padding:10px;gap:6px}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products :is(.compact-content,.body) h2{font-family:'Playfair Display',Georgia,serif!important;font-size:20px!important;line-height:1.2!important;height:auto;min-height:0;margin:0 0 6px!important;overflow:visible;display:block;-webkit-line-clamp:unset}
 body:is(.credit-catalog,.seller-catalog,.category-catalog) #products h2 a{font-family:inherit!important;color:inherit;text-decoration:none}
 body.credit-catalog #products .compact-content>.compact-price-row{background:#e7f2ec;padding:8px 8px 0;margin:0;border-radius:6px 6px 0 0}
 body.credit-catalog #products .compact-content>.compact-cash-label{background:#e7f2ec;color:#0b5e43;padding:0 8px 8px;margin:-6px 0 0;border-radius:0 0 6px 6px;font-size:13px;line-height:1.4}
 body.credit-catalog #products .compact-content>.compact-msi{background:#fdf5e3;color:#6b4a00;border-radius:6px;padding:8px;margin:0;font-size:14px;line-height:1.5}
 body.credit-catalog #products .compact-price,body.seller-catalog #products .catalog-price>strong{font-family:'Playfair Display',Georgia,serif!important;font-size:26px!important;line-height:1.15;font-weight:700;color:#123529}
 body.seller-catalog #products .catalog-price{padding:8px;background:#e7f2ec;border-radius:6px;margin:0}
 body.seller-catalog #products .catalog-price>span{display:block;color:#0b5e43;font-size:13px;line-height:1.4}
 body.seller-catalog #products .catalog-price>p{background:#fdf5e3;color:#6b4a00;padding:8px;margin:8px -8px -8px;font-size:14px;line-height:1.5;border-radius:0 0 6px 6px}
 body.seller-catalog #products .product-actions{grid-template-columns:minmax(0,1fr)!important}
 body.seller-catalog.catalog-no-prices #items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 body.seller-catalog.catalog-no-prices #items .photo{display:block;width:100%;border:0;border-radius:10px;height:auto;aspect-ratio:4/3;padding:0;overflow:hidden;background:#f6f3ec}
 body.seller-catalog.catalog-no-prices #items .photo img{width:100%;height:100%;object-fit:contain;padding:0}
 body.seller-catalog.catalog-no-prices #items h2{font-size:20px;line-height:1.2;margin:8px 0}
 @media(max-width:700px){
  body.seller-catalog #products .body h2,body.credit-catalog #products .compact-content h2{font-size:19px!important}
  body.seller-catalog #products .body{padding:10px;gap:8px}
  body.seller-catalog.catalog-no-prices #items{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.seller-catalog.catalog-no-prices #items .card{min-width:0;padding:8px}
  body.seller-catalog.catalog-no-prices #items :is(select,a){min-height:48px;max-width:100%;font-size:14px}
 }
}

/* Category thumbnails replace the duplicated green shortcuts in credit. */
body.credit-catalog.editorial-store .home-category-shortcuts{display:none}

/* Category header matches the light storefront so the original logo stays legible. */
@media screen {
 body.category-catalog>header{background:#faf7f0;color:#123529;border-bottom:1px solid #ded8cb;max-width:none;padding:18px max(16px,calc((100vw - 1200px)/2));gap:16px}
 body.category-catalog>header>a{display:block;flex:none;line-height:0}
 body.category-catalog>header img{display:block;width:160px;height:90px;object-fit:contain;filter:none}
 body.category-catalog>header nav{gap:8px}
 body.category-catalog>header .button{background:#fffdf9;color:#123529;border:1px solid #c9d6cf;box-shadow:none;min-height:44px}
 @media(max-width:700px){body.category-catalog>header{padding:10px 16px;gap:12px}body.category-catalog>header img{width:120px;height:66px}body.category-catalog>header nav{width:100%;justify-content:flex-start}}
}
