/* Only the shared frame changes. Native shop, checkout and account controls keep
   their Odoo styles, forms, validation and transaction handlers. */
body.sl-native-shell{--header-height:87px}
body.sl-native-shell #wrapwrap{overflow:visible}
body.sl-native-shell #wrapwrap>main{flex:1 0 auto}
body.sl-native-shell .site-header{flex:none}
body.sl-native-shell .site-header .material-menu,
body.sl-native-shell .site-header .account-menu{margin:0}
body.sl-native-shell .site-header .desktop-nav a,
body.sl-native-shell .site-header .header-actions a{font-weight:400}
body.sl-native-shell .site-header summary{margin:0}
body.sl-native-shell .site-header summary::marker{content:''}
body.sl-native-shell .site-header #motion-toggle{display:none}
body.sl-native-shell .site-header svg{max-width:none}
body.sl-native-shell .site-footer nav{padding:0}
body.sl-native-shell .site-footer .footer-bottom{margin-bottom:0}
body.sl-native-shell .site-header [hidden]{display:none!important}
body.sl-native-shell .site-header .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Native light-surface headings only; dark CMS/shop heroes keep their inverse text. */
body.sl-native-shell #wrapwrap .o_wsale_product_page :is(.o_wsale_product_details_content_section_title>h1,.sil-docs__title,.sil-section-title,.sil-specs__group-title),
body.sl-native-shell #wrapwrap [data-native-page-title],
body.sl-native-shell #wrapwrap #products_grid .o_wsale_products_header_is_shop .o_wsale_shop_title,
body.sl-native-shell #wrapwrap #products_grid .o_wsale_products_item_title{color:var(--silitech-dark-blue,#001f35)!important}
body.sl-native-shell #wrapwrap [data-native-page-title]{font-size:clamp(32px,3vw,40px);line-height:1.15}
body.sl-native-shell #wrapwrap #products_grid .o_wsale_products_item_title{font-size:16px;line-height:22px}
/* The optional semantic H2 keeps the existing shop H1 scale and spacing from
   silitech_design.css; changing its level must not shrink the visible title. */
body.sl-native-shell #wrapwrap #products_grid h2.o_wsale_shop_title{font-size:clamp(34px,3.4vw,48px);line-height:1.08;letter-spacing:-.03em;margin-bottom:8px}
/* Odoo 19 nests the toolbar in a direct HEADER; place it before grid and pager. */
body.sl-native-shell #wrapwrap #products_grid > #o_wsale_products_header{order:5}
@media(max-width:760px){body.sl-native-shell{--header-height:75px}}
@media(max-width:575.98px){
  body.sl-native-shell #wrapwrap #products_grid .products_header{flex-wrap:wrap!important;min-width:0}
  body.sl-native-shell #wrapwrap #products_grid .products_header>.o_wsale_products_header_search_form_container{flex:1 0 100%;min-width:0;max-width:100%}
  body.sl-native-shell #wrapwrap #products_grid #o_wsale_pager{min-width:0}
  body.sl-native-shell #wrapwrap #products_grid #o_wsale_pager>.pagination{flex-wrap:wrap;min-width:0;max-width:100%;justify-content:center;row-gap:4px}
}
