/* Design polish, 25 Nov 2026. Loaded last so it only adjusts existing styles.
   Remove the <link> to this file to undo every change here. */

/* Service carousels: show the prev/next buttons and hint that more cards exist. */
#services .catalog-row { position: relative; }
#services .catalog-row .catalog-controls {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 4px 18px 0;
}
#services .catalog-row .catalog-controls button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #caddd3;
  border-radius: 999px;
  background: #fff;
  color: #143c36;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px #102d300d;
}
#services .catalog-row .catalog-controls button:hover:not(:disabled) { background: #143c36; color: #fff; }
#services .catalog-row .catalog-controls button:disabled { opacity: .35; cursor: default; }
#services .catalog-row:not(.has-overflow) .catalog-controls { display: none; }
#services .catalog-row.has-overflow .catalog-track {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent);
}
#services .catalog-row.has-overflow.at-end .catalog-track { -webkit-mask-image: none; mask-image: none; }

/* Tap targets: at least 44px tall on touch screens. */
@media (pointer: coarse), (max-width: 760px) {
  .catalog-rate-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    font-size: 13px;
  }
  .catalog-rate-details summary::after { float: none; }
  .catalog-rate-details p a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-top: 0;
  }
  .site-header nav a,
  .site-header nav button,
  .header-tools .location-selector {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 8px;
  }
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 6px;
  }
  #home .how-link { min-height: 44px; display: inline-flex; align-items: center; }
  .consent input[type="checkbox"] { width: 22px; height: 22px; flex: none; }
  .consent .inline-policy { min-height: 44px; }
}

/* Below 650px the card hides its icon and uses two columns (catalog-rows.css). */
@media (max-width: 650px) {
  .catalog-track .design-service-card > div { grid-template-columns: minmax(0, 1fr) 44px; }
  .catalog-track .design-service-card a { width: 44px; height: 44px; }
}
