/* CCS_DOCK_CSS_MARKER
   Chamathka Cab Service - sticky action dock (small screens only).
   Snippet: "CCS Action Dock Styles" | group: Site Frame | type: css | run_at: wp_head

   The dock sits off the bottom edge until the script adds .is-ccs-visible, which
   happens once the reader has scrolled past the hero. On wide screens the header
   already carries the same two actions, so it never appears there. */

.ccs-action-dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--wp--custom--z-dock);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--20);
  padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40)
    calc(var(--wp--preset--spacing--20) + env(safe-area-inset-bottom, 0px));
  background-color: rgba(0, 0, 0, 0.94);
  border-top: var(--wp--custom--border-hairline) solid
    var(--wp--custom--border-inverse);
  backdrop-filter: blur(10px);
  transform: translateY(105%);
  transition: transform var(--wp--custom--duration-base)
    var(--wp--custom--ease-out);
}

.ccs-action-dock.is-ccs-visible {
  transform: translateY(0);
}

/* The buttons sit tight to the edges of their half of the row. */
.ccs-action-dock .ccs-button {
  width: 100%;
}

@media (min-width: 1060px) {
  .ccs-action-dock {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ccs-action-dock {
    transition: none;
  }
}
