/* Explicit settings override product-card rules while retaining the template's composition. */
.cosy-hero-badge{display:inline-block;font-size:.85rem;line-height:1.5;margin-bottom:12px;padding:5px 10px;border:1px solid currentColor;border-radius:4px}
.site-footer .cosy-brand-tagline{font-size:.9rem;line-height:1.5;margin:0;max-width:32ch}
body[data-cosy-image-ratio] [data-cosy-product-media]{display:block;aspect-ratio:var(--cosy-card-ratio)!important;height:auto!important;min-height:0!important}
body[data-cosy-image-ratio] [data-cosy-product-media] img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain}
body[data-cosy-density] [data-cosy-product-list]{gap:var(--cosy-card-gap)!important}
body[data-cosy-density] [data-cosy-product-list]>:is(article,li){margin-block:0!important}
body[data-cosy-density][data-cosy-design-ux="orbit"] [data-cosy-product-list]:not([data-cosy-product-grid])>article+article{margin-block-start:var(--cosy-card-gap)!important}
@media(max-width:700px){
 body[data-cosy-mobile-heading-font="editorial"]{--cosy-mobile-heading:Georgia,'Times New Roman',serif}
 body[data-cosy-mobile-heading-font="modern"]{--cosy-mobile-heading:system-ui,-apple-system,'Segoe UI',sans-serif}
 body[data-cosy-mobile-heading-font="compact"]{--cosy-mobile-heading:'Arial Narrow',Arial,sans-serif}
 body[data-cosy-mobile-heading-font="mono"]{--cosy-mobile-heading:ui-monospace,Consolas,monospace}
 body[data-cosy-mobile-body-font="editorial"]{--cosy-mobile-body:Georgia,'Times New Roman',serif}
 body[data-cosy-mobile-body-font="modern"]{--cosy-mobile-body:system-ui,-apple-system,'Segoe UI',sans-serif}
 body[data-cosy-mobile-body-font="compact"]{--cosy-mobile-body:'Arial Narrow',Arial,sans-serif}
 body[data-cosy-mobile-body-font="mono"]{--cosy-mobile-body:ui-monospace,Consolas,monospace}
 body[data-cosy-mobile-body-font],body[data-cosy-mobile-body-font] :is(p,a,span,strong,small,label,input,select,button,textarea,summary):not(.cosy-welcome *){font-family:var(--cosy-mobile-body)!important}
 body[data-cosy-mobile-heading-font] :is(h1,h2,h3,h4,h1 *,h2 *,h3 *,h4 *,.brand,.jp-brand):not(.cosy-welcome *){font-family:var(--cosy-mobile-heading)!important}
}
