/* Lot & Bay: the Products menu in the bar of every sales page (lib/sales-head.js products(); the owners,
   2026-11-30). A details element: "Products" opens a small list (the AI phone agent, Lot and Bay; T: "remove pricing
   In product drop down") with no script. It reads the colours and the font of the page's own stylesheet
   (sales-front.css, sales-inner.css, sales-ads.css name them alike), with the same values written after each for a
   page without them.
   - On a wide bar it sits in the row, before "Contact us", and its list opens under it, held inside the window.
   - On a phone ("Contact us" and the main button keep their places: T, "Contact us button is very important") the
     front page's and the inner pages' bars grow a short second row under the logo for it; the landing pages' bar
     has room for it in the row at every width from 320. The list then opens under the bar, across the window less
     16px at each side, so it never covers "Contact us". */
.s-products{position:relative;font-family:var(--font,system-ui,sans-serif)}
.s-products summary{display:inline-flex;align-items:center;gap:6px;padding:10px 0;font-weight:600;font-size:16px;
  color:var(--ink,#0F141A);cursor:pointer;list-style:none;white-space:nowrap}
.s-products summary::-webkit-details-marker{display:none}
.s-products summary::after{content:"";width:7px;height:7px;margin-top:-4px;border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .15s}
.s-products[open] summary::after{margin-top:3px;transform:rotate(-135deg)}
.s-products summary:focus-visible{outline:3px solid var(--blue-text,#1D4ED8);outline-offset:3px;border-radius:8px}
.s-products-list{position:absolute;top:100%;right:0;z-index:20;width:min(300px,calc(100vw - 32px));margin:6px 0 0;
  padding:8px;list-style:none;background:#fff;border:1px solid var(--line-2,#C9D1DC);border-radius:12px;
  box-shadow:0 18px 40px -12px rgba(11,27,63,.28)}
/* the bars hide some of their own links at some widths: never the menu's */
.s-products-list a{display:flex !important;flex-wrap:wrap;align-items:baseline;gap:2px 8px;padding:11px 12px;
  border-radius:8px;color:var(--ink,#0F141A);font-weight:600;font-size:16px;text-decoration:none;white-space:normal}
.s-products-list a:hover,.s-products-list a:focus-visible{background:var(--blue-soft,#E8F0FE)}
.s-products-list a:focus-visible{outline:2px solid var(--blue-text,#1D4ED8);outline-offset:0}
.s-products-tag{font-size:14px;font-weight:600;color:var(--muted,#4F5A69)}

/* the row: the menu, and "Pricing" beside it only where the menu has a row of its own (a phone) */
.s-products-row{display:flex;align-items:center;gap:20px}
.s-products-pricing{display:none !important}
/* a narrow window on the front page: the menu, Pricing, Contact us and the button (Features and Log in are in the
   footer), so the bar keeps one line */
@media (min-width:700px) and (max-width:959px){
  header.bar:not(.ads-bar) .nav > a[href="/features"],header.bar:not(.ads-bar) .nav > .s-login{display:none}
}
/* a narrow window on an inner page: the menu, Contact us and the button (Log in is in the footer) */
@media (min-width:700px) and (max-width:799px){
  header.s-bar .s-nav .s-login{display:none}
}
/* a phone, on the front page and the inner pages: the bar's second row, under the logo: the menu and "Pricing" */
@media (max-width:699px){
  header.bar:not(.ads-bar),header.s-bar{padding-bottom:40px}
  header.bar:not(.ads-bar) .s-products-row,header.s-bar .s-products-row{position:absolute;left:16px;bottom:2px}
  header.bar:not(.ads-bar) .s-products summary,header.s-bar .s-products summary{padding:6px 0;font-size:15px}
  header.bar:not(.ads-bar) .s-products-pricing,header.s-bar .s-products-pricing{display:inline-block !important;
    padding:6px 0;font-weight:600;font-size:15px;color:var(--ink,#0F141A);text-decoration:none}
  header.bar:not(.ads-bar) .s-products-list,header.s-bar .s-products-list{left:0;right:auto}
}
/* a phone, on the landing pages: in the row; its list under the bar, across the window */
@media (max-width:699px){
  header.ads-bar{position:relative}
  header.ads-bar .s-products-row,header.ads-bar .s-products{position:static}
  header.ads-bar .s-products summary{font-size:15px}
  header.ads-bar .s-products-list{top:100%;left:16px;right:16px;width:auto;margin-top:0}
}
/* the Sam demo's item, last and set apart, while the demo is on (lib/sales-head.js products) */
.s-products-list .s-products-sam{margin-top:6px;padding-top:6px;border-top:1px solid var(--line-2,#C9D1DC)}
.s-products-list .s-products-sam a{color:var(--blue-text,#1D4ED8)}
