#rentalHeadings .nav-category-link > .rental-category-compact {
  display: none;
}

/* Both equipment-selection links share this control in the simulation. */
body[data-page="cart"] .sim-add {
  text-align: center;
}

body[data-page="cart"] .sim-add > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  min-height: 44px;
  padding: 0.6em 1.4em;
  background: var(--abs-orange, #e2814b);
  border: 1px solid transparent;
  color: #20170f;
  font-weight: 700;
  text-decoration: none;
}

body[data-page="cart"] .sim-add > .btn::after {
  content: "";
  width: 0.9em;
  height: 0.9em;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}

body[data-page="cart"] .sim-add > .btn:hover {
  background-color: #ef9b6d;
}

body[data-page="cart"] .sim-add > .btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (max-width: 760px) {
  #equipmentMenu #rentalHeadings {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    gap: 0;
    padding: 0;
    overflow: visible;
  }

  #rentalHeadings > .rental-heading {
    min-width: 0;
    height: auto;
    align-self: stretch;
    padding: 0;
  }

  #rentalHeadings .nav-category-pair {
    display: grid;
    grid-template-rows: minmax(2.6rem, 1fr) 24px;
    width: 100% !important;
    min-width: 0;
    height: 100%;
  }

  #rentalHeadings .nav-category-link,
  #rentalHeadings .nav-category-arrow {
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 2px !important;
    line-height: 1.25;
  }

  #rentalHeadings .nav-category-link > span {
    white-space: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;
  }

  #rentalHeadings .nav-category-link > .rental-category-compact {
    display: block;
  }

  #rentalHeadings .rental-category-compact > span {
    display: inline-block;
  }

  #rentalHeadings .nav-category-link > .rental-category-full {
    display: none;
  }

  #simulationDates .condition-date > .datetime-picker {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 6px;
  }

  #simulationDates .datetime-picker > [data-datetime-part="date"] {
    grid-column: 1 / -1;
  }

  #simulationDates .datetime-picker > select {
    width: 100%;
    height: auto;
    min-height: max(44px, 2.75em);
    padding: 0.35em 8px;
    line-height: 1.4;
  }
}
