/* ═══════════════════════════════════════════════════════════
   HIRE PAGE (Equipment Rental)
   ═══════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. INTRO SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.hire-intro__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hire-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.hire-feature:hover {
  background: var(--blue-dim);
  border-color: var(--blue-border);
}
.hire-feature__icon {
  width: 40px;
  height: 40px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.hire-feature__text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hire-feature__text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. HOW IT WORKS STEPS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hire-step {
  text-align: center;
  padding: 36px 24px;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  position: relative;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease);
}
.hire-step:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
}
.hire-step__num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 3rem;
  font-weight: 900;
  color: rgba(1, 149, 255, 0.05);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hire-step__icon {
  font-size: 1.8rem;
  color: var(--blue);
  margin-bottom: 16px;
}
.hire-step__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.hire-step__desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. CATALOGUE — NAV BAR + GRID + CARDS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Sticky category nav */
.hire-cat-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 89;
  background: var(--rich-black);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: stretch;
}

.hire-cat-nav__inner {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 var(--px);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.hire-cat-nav__inner::-webkit-scrollbar {
  display: none;
}

/* Scroll arrow buttons */
.hire-cat-scroll-btn {
  flex-shrink: 0;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s, opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}
.hire-cat-scroll-btn--left  { background: linear-gradient(to right, var(--rich-black) 60%, transparent); }
.hire-cat-scroll-btn--right { background: linear-gradient(to left,  var(--rich-black) 60%, transparent); }
.hire-cat-scroll-btn.visible {
  opacity: 1;
  pointer-events: auto;
}
.hire-cat-scroll-btn:hover { color: var(--white); }

.hire-cat-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 20px;
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.42);
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  border-radius: 0;
  background: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.hire-cat-btn i {
  font-size: 0.82rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.hire-cat-btn:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
}
.hire-cat-btn:hover i {
  opacity: 1;
}
.hire-cat-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-dim);
}
.hire-cat-btn.active i {
  opacity: 1;
}

/* Grid */
.hire-catalogue {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 44px;
}

/* Card */
.hire-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.hire-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-5px);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45);
}
.hire-card.hidden {
  display: none;
}

/* Card "in cart" highlight */
.hire-card.in-cart {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
}

/* Card image */
.hire-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--dark);
  flex-shrink: 0;
}
.hire-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.hire-card:hover .hire-card__img img {
  transform: scale(1.06);
}

/* Pill label */
.hire-card__cat-pill,
.hire-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 11px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-pill);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* Availability pill */
.hire-card__img .hire-avail-pill {
  position: absolute;
  top: 12px;
  right: 12px;
}
.hire-avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hire-avail-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.hire-avail-pill--yes {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: var(--clr-success-lt);
}
.hire-avail-pill--yes::before {
  background: var(--clr-success-lt);
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.7);
}
.hire-avail-pill--no {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: var(--clr-error-lt);
}
.hire-avail-pill--no::before {
  background: var(--clr-error-lt);
}

/* Badge */
.hire-card__badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  color: var(--blue);
}
.hire-card__badge--amber {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.25);
  color: var(--clr-warning-lt);
}

/* Card body */
.hire-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.hire-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hire-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1;
}
.hire-spec-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
  line-height: 1;
}

/* Card footer */
.hire-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hire-card__pricing {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hire-card__rate {
  font-size: 0.78rem;
  color: var(--muted);
}
.hire-card__rate strong {
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
}
.hire-card__per {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Add-to-cart button (class used by both HTML attr & JS) ── */
/* NOTE: hire.php uses class="hire-card__cta cart-add-btn" so both classes
   are on the same element. All visual state is driven here. */
.cart-add-btn,
.hire-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  font-family: inherit;
  line-height: 1;
}
.cart-add-btn:hover,
.hire-card__cta:hover {
  background: rgba(1, 149, 255, 0.15);
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-1px);
}
/* Added state — green */
.cart-add-btn.added,
.hire-card__cta.added {
  background: rgba(34, 197, 94, 0.12);
  border-color: var(--clr-success);
  color: var(--clr-success);
}
/* Hover on added — hint at removal with red */
.cart-add-btn.added:hover,
.hire-card__cta.added:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--clr-error);
  color: var(--clr-error);
}
/* Unavailable */
.cart-add-btn--unavail,
.hire-card__cta--unavail {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
}

/* Catalogue empty state */
.catalogue-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted, #888);
}
.catalogue-empty i {
  font-size: 2.5rem;
  opacity: 0.25;
  margin-bottom: 16px;
  display: block;
}
.catalogue-empty p {
  font-size: 0.9rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. LEGACY HIRE GRID (older hire-item blocks — kept for compat)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.hire-category {
  margin-bottom: 64px;
}
.hire-category:last-child {
  margin-bottom: 0;
}
.hire-category__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.hire-category__icon {
  width: 44px;
  height: 44px;
  background: var(--blue-dim);
  border: 1px solid var(--blue-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 1rem;
  flex-shrink: 0;
}
.hire-category__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hire-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hire-item {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color 0.3s,
    transform 0.35s var(--ease),
    box-shadow 0.35s;
}
.hire-item:hover {
  border-color: var(--blue-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.hire-item__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark);
}
.hire-item__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease);
}
.hire-item:hover .hire-item__img-wrap img {
  transform: scale(1.05);
}
.hire-item__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.hire-item__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.hire-item__specs {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.55;
}
.hire-item__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.hire-item__rate {
  font-size: 0.82rem;
  color: var(--muted);
}
.hire-item__rate strong {
  color: var(--white);
  font-weight: 700;
}
.hire-item__btn {
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1.5px solid var(--blue-border);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    background 0.22s,
    color 0.22s;
}
.hire-item__btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hire enquiry form card */
.hire-form-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px 44px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. NAV CART BUTTON & BADGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.nav__cart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s,
    transform 0.14s;
}
.nav__cart:hover {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.06);
}
.nav__cart:active {
  transform: scale(0.88);
}

.nav__cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-pill);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  pointer-events: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. CART DRAWER — overlay + shell
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--charcoal, #1a1a1a);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  overflow: hidden; /* bk-panel slides inside this */
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Inner: flex column, does NOT scroll itself */
.cart-drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: hidden; /* scroll happens in cart-scroll-zone only */
  padding: 0;
}

/* Header — sticky at top */
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: var(--charcoal, #1a1a1a);
}
.cart-drawer__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-drawer__title i {
  color: var(--blue);
}
.cart-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--muted, #888);
  font-size: 0.75rem;
  padding: 5px 10px;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
}
.cart-clear-btn:hover {
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.4);
}
.cart-drawer__close {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted, #999);
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 1rem;
  transition:
    color 0.2s,
    background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-drawer__close:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. STEP INDICATOR (Cart → Details)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-steps {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px 0;
  flex-shrink: 0;
}
.cart-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cart-step.active {
  color: var(--blue);
}
.cart-step i {
  font-size: 0.72rem;
}
.cart-step-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.6rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. CART SCROLL ZONE — dates + operators + items scroll here
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-scroll-zone {
  flex: 1;
  overflow-y: auto;
  min-height: 0; /* critical for flex scroll */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. DATE PICKER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-dates {
  padding: 16px 20px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cart-date-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-date-group label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted, #888);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-date-group label i {
  color: var(--blue);
  font-size: 0.75em;
}
.cart-date-group input[type="date"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--white);
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.cart-date-group input[type="date"]:focus {
  outline: none;
  border-color: var(--blue);
}
.cart-dates__note {
  grid-column: 1 / -1;
  font-size: 0.74rem;
  color: var(--blue);
  text-align: center;
  margin: 0;
  min-height: 1.1em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   10. OPERATOR MULTI-SELECT + QUANTITY STEPPER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-operator {
  padding: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cart-operator__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.cart-operator__toggle input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.cart-operator__toggle-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted, #888);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.15s;
}
.cart-operator__toggle:has(input:checked) .cart-operator__toggle-label {
  color: var(--white, #fff);
}
.cart-operator__toggle-label i {
  color: var(--blue);
  font-size: 0.85em;
}

.cart-operator__list[hidden] { display: none !important; }
.cart-operator__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Each operator row */
.cart-op-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  cursor: pointer;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.cart-op-row:has(input:checked) {
  background: rgba(1, 149, 255, 0.07);
  border-color: var(--blue-border);
}
.cart-op-row:hover {
  background: rgba(255, 255, 255, 0.07);
}
.cart-op-row input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: var(--blue);
  flex-shrink: 0;
  cursor: pointer;
  margin: 0;
}
.cart-op-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.cart-op-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
}
.cart-op-rate {
  font-size: 0.67rem;
  color: var(--blue);
}

/* Quantity stepper — visible only when checkbox ticked */
.cart-op-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.op-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition:
    background 0.15s,
    border-color 0.15s;
  padding: 0;
}
.op-qty-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}
.op-qty-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  min-width: 18px;
  text-align: center;
}
.cart-op-note {
  font-size: 0.69rem;
  color: var(--muted, #888);
  margin: 0;
  line-height: 1.4;
  min-height: 1em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   11. CART ITEMS LIST
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-items {
  padding: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 60px;
  /* no flex:1 — the scroll zone handles height */
}

.cart-empty {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px 0;
  color: var(--muted, #888);
}
.cart-empty i {
  font-size: 2rem;
  opacity: 0.3;
}
.cart-empty p {
  font-size: 0.84rem;
  line-height: 1.5;
  margin: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  transition: background 0.2s;
}
.cart-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.cart-item__img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--dark);
}
.cart-item__img-fallback {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cart-item__name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item__cat {
  font-size: 0.7rem;
  color: var(--muted, #888);
}
.cart-item__price {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
}
.cart-item__remove {
  background: rgba(255, 255, 255, 0.04);
  border: none;
  color: var(--muted, #888);
  padding: 6px 8px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 0.8rem;
  transition:
    color 0.2s,
    background 0.2s;
  flex-shrink: 0;
}
.cart-item__remove:hover {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
}
.cart-item__qty-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cart-item__qty-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  width: 26px;
  height: 26px;
  border-radius: var(--r-sm);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  padding: 0;
}
.cart-item__qty-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
}
.cart-item__qty-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.cart-item__qty-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  min-width: 16px;
  text-align: center;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   12. CART SUMMARY — sticky above CTA
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-summary {
  flex-shrink: 0;
  margin: 12px 20px 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted, #888);
}
.cart-summary__total {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--white);
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2px;
}
.cart-summary__deposit {
  font-size: 0.76rem;
  color: var(--blue);
}

/* Operator row — hidden until operators selected */
#summaryOpRow {
  display: none;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   13. CART CTA — sticky at very bottom
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.cart-cta {
  flex-shrink: 0;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: var(--charcoal, #1a1a1a);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.cart-cta__checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-cta__note {
  font-size: 0.72rem;
  color: var(--muted, #888);
  text-align: center;
  line-height: 1.5;
  margin: 0;
}
.cart-cta__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.79rem;
  color: var(--whatsapp);
  text-decoration: none;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}
.cart-cta__whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
}
.cart-cta__whatsapp i {
  font-size: 1.05rem;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   14. BOOKING DETAILS PANEL (Step 2 — slides over the cart)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.bk-panel {
  position: absolute;
  inset: 0;
  background: var(--charcoal, #1a1a1a);
  z-index: 10;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.bk-panel.open {
  transform: translateX(0);
}

.bk-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  background: var(--charcoal, #1a1a1a);
}
.bk-panel__back {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--muted, #999);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    color 0.2s;
  flex-shrink: 0;
}
.bk-panel__back:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.bk-panel__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin: 0;
}

/* Scrollable form inside panel */
.bk-form {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
  display: flex;
  flex-direction: column;
}

/* Section dividers */
.bk-section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.bk-section:last-of-type {
  border-bottom: none;
}

.bk-section__label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted, #aaa);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bk-section__label i {
  color: var(--blue);
}
.bk-section__note {
  font-size: 0.74rem;
  color: var(--muted, #888);
  margin: 0 0 10px;
  line-height: 1.4;
}

/* Fields */
.bk-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.bk-field:last-child {
  margin-bottom: 0;
}
.bk-field label {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--muted, #aaa);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}
.bk-field input[type="text"],
.bk-field input[type="email"],
.bk-field input[type="tel"],
.bk-field input[type="url"],
.bk-field input[type="date"],
.bk-field input[type="time"],
.bk-field textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-sm);
  color: var(--white);
  padding: 9px 12px;
  font-size: 0.82rem;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  color-scheme: dark;
}
.bk-field input:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.bk-field input.bk-invalid,
.bk-field textarea.bk-invalid {
  border-color: #ff4444;
}
.bk-field textarea {
  resize: vertical;
  min-height: 68px;
}

.bk-hint {
  font-size: 0.67rem;
  font-weight: 400;
  color: var(--muted, #888);
}
.bk-req {
  color: #ff6b6b;
  margin-left: 1px;
}

/* Two-col grid inside panel */
.bk-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Radio group */
.bk-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}
.bk-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--white);
  transition:
    background 0.18s,
    border-color 0.18s;
}
.bk-radio:has(input:checked) {
  background: rgba(1, 149, 255, 0.07);
  border-color: var(--blue-border);
}
.bk-radio:hover {
  background: rgba(255, 255, 255, 0.07);
}
.bk-radio input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin: 0;
}

/* File attach button */
.bk-file-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--r-sm);
  padding: 9px 12px;
  font-size: 0.8rem;
  color: var(--muted, #aaa);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.bk-file-btn:hover {
  border-color: var(--blue);
  color: var(--white);
}
.bk-file-btn i {
  color: var(--blue);
}

/* Agreement checkboxes */
.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.77rem;
  color: var(--muted, #aaa);
  line-height: 1.45;
  cursor: pointer;
  margin-bottom: 8px;
}
.bk-check:last-child {
  margin-bottom: 0;
}
.bk-check input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--blue);
  cursor: pointer;
}
.bk-check a {
  color: var(--blue);
  text-decoration: none;
}
.bk-check a:hover {
  text-decoration: underline;
}
.bk-check input.bk-invalid {
  outline: 2px solid #ff4444;
  outline-offset: 2px;
}

/* Submit area */
.bk-submit {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bk-success {
  display: none; /* shown via JS style.display = 'flex' after booking */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
  height: 100%;
}
.bk-success__icon {
  font-size: 56px;
  color: var(--clr-success);
}
.bk-success__heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}
.bk-success__ref {
  font-size: 0.95rem;
  color: var(--text-muted, #6b7280);
  margin: 0;
}
.bk-success__note {
  font-size: 0.875rem;
  color: var(--text-muted, #6b7280);
  max-width: 280px;
  margin: 0;
  line-height: 1.5;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   15. LOGIN PROMPT SECTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   16. RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 1200px) {
  .hire-catalogue {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  .hire-cat-btn {
    padding: 14px 18px;
    font-size: 0.75rem;
  }
}

@media (max-width: 1024px) {
  .hire-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hire-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hire-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hire-catalogue {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hire-cat-btn {
    padding: 13px 16px;
    font-size: 0.72rem;
  }
  .hire-card__name {
    font-size: 0.88rem;
  }
  .bk-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hire-intro__features {
    grid-template-columns: 1fr;
  }
  .hire-grid {
    grid-template-columns: 1fr;
  }
  .hire-steps {
    grid-template-columns: 1fr;
  }
  .hire-form-card {
    padding: 28px 22px;
  }
}

@media (max-width: 600px) {
  .hire-catalogue {
    grid-template-columns: 1fr;
  }
  .hire-cat-nav__inner {
    padding: 0 8px;
  }
  .hire-cat-scroll-btn {
    width: 32px;
  }
  .hire-cat-btn {
    padding: 12px 14px;
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .cart-dates {
    grid-template-columns: 1fr;
  }
  .cart-drawer {
    width: 100vw;
  }
}
