/* Fitment Group Typography Toolkit */

/* For the font, add preconnect tags to <head> for performance:
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
*/
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
  --fg-color-dark: #103247;
  --fg-color-light: #F4F4F4;
  --fg-color-blue: #73D5EF;
  --fg-color-accent-blue: #2CCBE5;
  --fg-color-accent-red: #FF746D;
  --fg-highlight-color: #fff70f66;
  --fg-font-primary: Barlow;
}

.title {
  text-transform: uppercase;
  font-weight: 300;
}

.subtitle {
  font-weight: 300;
}

/* Product details section - clean tables without borders */
.product-details table {
  background: none;
}

.product-details table td,
.product-details table th {
  border: none;
}

/* Disclosure widgets built on <details>: hide native marker, rotate chevron on open */
details > summary {
  cursor: pointer;
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] > summary .fa-angle-down {
  transform: rotate(180deg);
}

details > summary .fa-angle-down {
  transition: transform 0.15s ease;
}

/* Combobox: stretch Bulma dropdown and its menu to the field width */
.dropdown.combobox,
.dropdown.combobox .dropdown-trigger,
.dropdown.combobox .dropdown-menu {
  width: 100%;
}

/* Combobox listbox is a <ul> of <li> options (ARIA), so reset list chrome
   and supply the hover/active highlight Bulma normally gives a.dropdown-item. */
.dropdown.combobox ul.dropdown-content {
  list-style: none;
  margin: 0;
  max-height: 20rem;
  overflow-y: auto;
}

.dropdown.combobox .dropdown-item {
  cursor: pointer;
}

.dropdown.combobox .dropdown-item.is-active {
  background-color: #f5f5f5;
  color: inherit;
}

/* Which side a menu opens to is the caller's call, so it lives on the element.
   Bulma spells it right: 0, which only means "the trigger" while the trigger is the
   containing block -- .dropdowns-overhang below gives that up. In RTL the static
   position anchors to the right edge, which holds either way; where Bulma's right: 0
   still applies it wins and this is inert. */
.dropdown.is-right {
  direction: rtl;
}

.dropdown.is-right > * {
  direction: ltr;
}

/* An overflow only clips descendants whose containing block is inside the scroller,
   and Bulma's position: relative puts it right there in the cell -- so the price
   grids crop their own popups. Handing it to an ancestor outside fixes that; the
   rest is repair. Auto offsets keep the menu at its static position, since Bulma's
   own now measure against the page, and inline-block puts that position under the
   trigger rather than beside it (inline-flex). Ties with Bulma on specificity, wins
   on load order. */
.dropdowns-overhang .dropdown {
  position: static;
  display: inline-block;
}

.dropdowns-overhang .dropdown .dropdown-menu {
  top: auto;
  left: auto;
  right: auto;
}
