/* A consistent, keyboard-accessible visual menu for every storefront select. */
.nivaz-select { position: relative; display: inline-block; width: 100%; vertical-align: middle; }
.nivaz-select__native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.nivaz-select__trigger {
  display: flex;
  width: 100%;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd9d3;
  border-radius: 0.625rem;
  background: #fff;
  color: #17181a;
  cursor: pointer;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}
.nivaz-select.is-placeholder .nivaz-select__trigger { color: #777b82; }
.nivaz-select__value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nivaz-select__trigger::after {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 0.5rem;
  border-right: 2px solid #555b62;
  border-bottom: 2px solid #555b62;
  content: '';
  transform: translateY(-0.15rem) rotate(45deg);
  transition: transform 0.15s;
}
.nivaz-select.is-open .nivaz-select__trigger::after { transform: translateY(0.12rem) rotate(225deg); }
.nivaz-select.is-open .nivaz-select__trigger,
.nivaz-select__trigger:focus-visible { border-color: #ff5c0a; outline: 2px solid #ff5c0a; outline-offset: 1px; }
.nivaz-select__menu {
  position: absolute;
  z-index: 1000;
  top: calc(100% + 0.3rem);
  right: 0;
  left: 0;
  max-height: 16rem;
  overflow-y: auto;
  padding: 0.35rem;
  border: 1px solid #e4e0da;
  border-radius: 0.625rem;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgb(30 28 25 / 14%);
  -webkit-overflow-scrolling: touch;
}
.nivaz-select__menu[hidden] { display: none !important; }
.nivaz-select.is-up .nivaz-select__menu { top: auto; bottom: calc(100% + 0.3rem); }
.nivaz-select__option {
  display: block;
  width: 100%;
  min-height: 2.65rem;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 0.4rem;
  background: transparent;
  color: #25272a;
  cursor: pointer;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
}
.nivaz-select__option:hover,
.nivaz-select__option:focus-visible { background: #fff0e9; color: #e85208; outline: none; }
.nivaz-select__option[aria-selected="true"] { background: #fff0e9; color: #e85208; font-weight: 600; }
.nivaz-select__option[disabled] { opacity: 0.45; cursor: not-allowed; }
.catalog-category-products__bar .nivaz-select { width: 12.25rem; flex: 0 0 12.25rem; }
.articles-title .nivaz-select { width: 12.25rem; }
.reviews-toolbar .nivaz-select { width: 12rem; flex: 0 0 12rem; }
.checkout-fields .nivaz-select__trigger { min-height: 3.25rem; }

/* Order detail: one regular text scale, with emphasis only for names and totals. */
.account-order-detail__items h2,
.account-order-detail__info h2 { font-size: 1.375rem; font-weight: 700; line-height: 1.3; }
.account-order-products article { min-height: 6.5rem; grid-template-columns: 6rem minmax(0, 1fr) minmax(7rem, auto); }
.account-order-products img { width: 6rem; height: 5rem; }
.account-order-products strong { font-size: 1rem; font-weight: 600; line-height: 1.45; }
.account-order-products span { font-size: 0.9375rem; font-weight: 400; line-height: 1.45; }
.account-order-products article > b { min-width: 7rem; font-size: 1rem; font-weight: 600; text-align: right; white-space: nowrap; }
.account-order-products article > b .woocommerce-Price-amount { display: inline-block; white-space: nowrap; }
.account-order-detail__info dl,
.account-order-detail__info p,
.account-order-totals div { font-size: 0.9375rem; font-weight: 400; line-height: 1.5; }
.account-order-detail__info dt { font-weight: 400; }
.account-order-detail__info dd { font-weight: 500; }
.account-order-totals div:last-child { font-size: 1.125rem; font-weight: 600; }
.account-order-totals strong { font-weight: 600; white-space: nowrap; }
.account-order-totals strong .woocommerce-Price-amount { white-space: nowrap; }

/* Car-backed calls to action always anchor the action at the lower right. */
.catalog-help,
.hub-cta,
.service-dark-cta,
.company-cta,
.article-detail__cta,
.article-sidebar__help,
.article-mobile-help,
.order-received__help,
.final-cta__card { position: relative; }
.catalog-help > .button,
.hub-cta > .button,
.service-dark-cta > .button,
.company-cta > .button,
.article-detail__cta > .button,
.article-sidebar__help > .button,
.article-mobile-help > .button,
.order-received__help > .commerce-button,
.woocommerce .catalog-help > a.button {
  position: absolute !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  max-width: calc(100% - 2.5rem);
  min-height: 2.75rem;
  margin: 0 !important;
  align-self: auto;
}
.service-dark-cta__actions {
  position: absolute !important;
  right: 1.25rem !important;
  bottom: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  max-width: calc(100% - 2.5rem);
  margin: 0 !important;
  justify-content: flex-end;
}
.service-dark-cta__actions .button { width: auto !important; }
.final-cta__card > div { max-width: none !important; }
.final-cta__card > div > .button.final-cta__button,
.woocommerce .final-cta__card > div > .button.final-cta__button {
  position: absolute !important;
  right: 0 !important;
  bottom: 1.25rem !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  min-width: 11.5rem;
  min-height: 2.75rem;
  height: auto;
  margin: 0 !important;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
}
@media (min-width: 768px) {
  .catalog-help > div,
  .hub-cta > div,
  .service-dark-cta > div:first-child,
  .company-cta > div,
  .article-detail__cta > div { max-width: calc(100% - 17rem); }
  .final-cta__card > div > .button.final-cta__button,
  .woocommerce .final-cta__card > div > .button.final-cta__button { bottom: 1.25rem !important; }
}

@media (max-width: 767px) {
  .catalog-category-products__bar .nivaz-select { width: 10.5rem; flex-basis: 10.5rem; }
  .articles-title .nivaz-select { width: 10.75rem; }
  .reviews-toolbar .nivaz-select { width: 10.5rem; flex-basis: 10.5rem; }
  .nivaz-select__trigger { min-height: 2.875rem; font-size: 0.9375rem; }

  .category-products-grid,
  .search-products,
  .products-grid,
  .product-related .products-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    overflow: visible !important;
    gap: 0.875rem !important;
    padding-right: 0 !important;
    scroll-snap-type: none !important;
  }
  .products-grid[hidden] { display: none !important; }
  .catalog-product { min-width: 0; }
  .product-card,
  .products-section .product-card,
  .category-products-grid .product-card,
  .product-related .product-card,
  body.home .products-section .product-card {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 25rem !important;
    flex: none !important;
    padding: 0.875rem;
  }
  .product-card__image,
  .products-section .product-card__image,
  .category-products-grid .product-card__image,
  .product-related .product-card__image,
  body.home .products-section .product-card__image {
    width: 100% !important;
    height: 11rem !important;
    min-height: 11rem !important;
    align-self: stretch;
  }
  .product-card h3,
  .category-products-grid .product-card h3 { min-height: 0; font-size: 1rem; line-height: 1.4; }
  .product-card__fit,
  .category-products-grid .product-card__fit { min-height: 0; font-size: 0.875rem; line-height: 1.45; }
  .product-card__price strong,
  .category-products-grid .product-card__price strong { font-size: 1.25rem; }
  .product-related .product-card__actions { display: flex !important; }
  .product-card__actions,
  .category-products-grid .product-card__actions,
  .product-related .product-card__actions { margin-top: auto; }
  .product-card__actions .button,
  .category-products-grid .product-card__actions .button,
  .woocommerce .product-card__actions a.button { font-size: 0.9375rem; min-height: 2.75rem; }

  .account-order-products article { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .account-order-products article > b { grid-column: 2; min-width: 0; text-align: left; }
  .account-order-products img { width: 4.5rem; height: 4.5rem; }
  .account-order-detail__info dl,
  .account-order-detail__info p,
  .account-order-totals div { font-size: 0.9375rem; }

  .catalog-help,
  .hub-cta,
  .service-dark-cta,
  .company-cta,
  .article-mobile-help,
  .order-received__help { min-height: 17rem; padding-bottom: 5rem; }
  .article-sidebar__help { min-height: 14rem; padding-bottom: 5rem; }
  .final-cta__card > div {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    width: calc(100% - 2rem) !important;
    height: calc(100% - 2rem) !important;
  }
  .final-cta__card > div > .button.final-cta__button,
  .woocommerce .final-cta__card > div > .button.final-cta__button { right: 0 !important; bottom: 0 !important; }
  .final-cta__card > div > p:not(.eyebrow) { max-width: 100%; }
}
