/* Only the existing Fabrics submenu is styled; the main header remains native. */
@media (min-width:787px) {
  header .header_products.rtfm-ready > .con { padding:18px 48px 22px; max-height:calc(100dvh - 150px); overflow-y:auto; overscroll-behavior:contain; }
  header .header_products.rtfm-ready .content > .rtfm-entry { margin:0 32px 16px 0; font:500 16px/1.5 'Lora',Georgia,serif; }
  header .header_products.rtfm-ready .content > .flex_top { flex-direction:column; gap:16px; }
  header .header_products.rtfm-ready .flex_top > .left,
  header .header_products.rtfm-ready .flex_top > .right { width:100%; margin:0; flex:auto; }
  header .header_products.rtfm-ready .right > .flex,
  header .header_products.rtfm-ready .left > ul { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); column-gap:25px; }
  header .header_products.rtfm-ready .right > .flex > div,
  header .header_products.rtfm-ready .right > .flex > div > ul { display:contents; }
  header .header_products.rtfm-ready li { width:100% !important; min-width:0; }
  header .header_products.rtfm-ready .flex_top a { line-height:1.28; padding-top:2.5px; padding-bottom:2.5px; }
  header .header_products.rtfm-ready strong { font-weight:500 !important; }
  header .header_products.rtfm-ready .flex_top > .right > strong,
  header .header_products.rtfm-ready .flex_top > .left > strong,
  header .header_products.rtfm-ready .rt-mega-printed > strong { color:#004741 !important; line-height:1.25; margin-bottom:8px !important; }
  header .header_products.rtfm-ready .rt-mega-printed { margin-top:16px !important; }
  header .header_products.rtfm-ready .rt-mega-printed > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:25px; }
  header .header_products.rtfm-ready a:focus-visible { outline:2px solid #004741; outline-offset:4px; border-radius:2px; }
  header .header_products.rtfm-keyboard-open > .con { display:block !important; }
  header .header_products.rtfm-keyboard-open { pointer-events:auto; }
}
@media (min-width:787px) and (max-width:1000px) {
  header .header_products.rtfm-ready > .con { padding:18px 28px 22px; }
  header .header_products.rtfm-ready .right > .flex,
  header .header_products.rtfm-ready .left > ul { grid-template-columns:repeat(4,minmax(0,1fr)); column-gap:16px; }
}
@media (max-width:786px) {
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-heading { grid-column:1/-1; width:100%; margin:20px 0 8px; padding:0; border:0; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-heading strong { font:500 23px/1.25 'EB Garamond',Georgia,serif; color:#004741; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-entry-row { border:0; margin:0; padding:0; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-entry-row > a { font-size:16px !important; text-decoration:underline; text-underline-offset:4px; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-entry-row > a::after,
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-printed-row > a::after { content:none; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-printed-row { grid-column:1/-1; border:0; margin:0; padding:0; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > .rtfm-printed-row > a { color:#111 !important; font-weight:400; }
  header .header_main nav li.product-icon > ul.rtfm-mobile > li { min-width:0; }
}
