/* =========================================================
   MARVEL — Booking page specific styles
   Adds: location picker (with map button), full map modal,
   bolt-style centred pin, themed map controls, search,
   quick chips, compact mobile car cards for comparison,
   infinite testimonial loop, and pagination.
   ========================================================= */

/* ===========================================================
   1. PICKUP LOCATION FIELD — text input + "Pick on map" button
   =========================================================== */
.field-location { position: relative; }

.location-input-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-radius: 12px;
  background: var(--white);
  border: 1.5px solid #e5e7eb;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.location-input-wrap:focus-within {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 3px rgba(31, 158, 216, 0.15);
}
.location-input-wrap input {
  flex: 1;
  min-width: 0;
  border: none !important;
  outline: none;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--dark-text);
  background: transparent;
  box-shadow: none !important;
}
.location-input-wrap input:focus { box-shadow: none !important; }

.pick-on-map-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  background: var(--grad);
  color: var(--white);
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.15s ease;
  position: relative;
}
.pick-on-map-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.pick-on-map-btn i { font-size: 0.95rem; }
.pick-on-map-btn:hover { filter: brightness(1.08); }
.pick-on-map-btn:active { transform: scale(0.97); }

/* ===========================================================
   2. MAP MODAL — overlay + container
   =========================================================== */
.map-overlay.modal-overlay { padding: 0; }

.map-overlay .map-modal {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 1000px;
  max-height: calc(100vh - 40px);
  height: calc(100vh - 40px);
  margin: 20px auto;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(10, 38, 56, 0.3);
  background-image:
    linear-gradient(var(--white), var(--white)),
    var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border-top: 4px solid transparent;
  animation: mapModalIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes mapModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.map-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px 16px;
  border-bottom: 1px solid #f1f3f5;
  flex-shrink: 0;
}
.map-head-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.map-modal-head .icon-circle {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.map-head-text { min-width: 0; }
.map-head-text h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.map-head-text p {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: var(--light-gray);
}
.map-close {
  position: static !important;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f5f6f8;
  color: var(--dark-text);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.map-close:hover { background: var(--red); color: var(--white); transform: rotate(90deg); }

/* ===========================================================
   3. SEARCH BAR
   =========================================================== */
.map-search {
  position: relative;
  padding: 12px 24px;
  border-bottom: 1px solid #f1f3f5;
  flex-shrink: 0;
}
.map-search-icon {
  position: absolute;
  left: 38px; top: 50%;
  transform: translateY(-50%);
  color: var(--light-gray);
  font-size: 0.9rem;
  pointer-events: none;
}
.map-search input {
  width: 100%;
  padding: 11px 40px 11px 40px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--dark-text);
  background: #fafbfc;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.map-search input:focus {
  border-color: var(--light-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(31, 158, 216, 0.12);
}
.map-search-clear {
  position: absolute;
  right: 32px; top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #e5e7eb;
  color: var(--dark-text);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background 0.2s ease;
}
.map-search-clear:hover { background: var(--red); color: var(--white); }
.map-search input:not(:placeholder-shown) ~ .map-search-clear { display: flex; }

.map-suggestions {
  position: absolute;
  top: calc(100% - 8px);
  left: 24px;
  right: 24px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(10, 38, 56, 0.18);
  border: 1px solid #e5e7eb;
  max-height: 260px;
  overflow-y: auto;
  z-index: 30;
  display: none;
}
.map-suggestions.active { display: block; }
.suggestion {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 10px;
  align-items: start;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #f1f3f5;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}
.suggestion:last-child { border-bottom: none; }
.suggestion:hover { background: rgba(31, 158, 216, 0.06); }
.suggestion > i {
  grid-row: 1 / span 2;
  align-self: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(31, 158, 216, 0.1);
  color: var(--primary-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.sug-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-text);
  line-height: 1.3;
}
.sug-meta {
  font-size: 0.75rem;
  color: var(--light-gray);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.msg-empty {
  padding: 16px;
  text-align: center;
  color: var(--light-gray);
  font-size: 0.88rem;
}

/* ===========================================================
   4. MAP CANVAS + CENTER PIN (bolt-style)
   =========================================================== */
.map-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #e8eef1;
  overflow: hidden;
}
.map-canvas {
  width: 100%;
  height: 100%;
  background: #e8eef1;
}

.map-canvas .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px 0 0 0;
}
.map-canvas .leaflet-control-attribution a { color: var(--primary-blue); }
.map-canvas .leaflet-container { font-family: 'Inter', sans-serif; }

.center-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: pinIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pinIn {
  from { opacity: 0; transform: translate(-50%, -120%) scale(0.7); }
  to   { opacity: 1; transform: translate(-50%, -100%) scale(1); }
}

.leaflet-dragging .center-pin .pin-bolt { transform: translateY(-3px) scale(1.04); }

.pin-bolt {
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--grad);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow:
    0 8px 18px rgba(31, 158, 216, 0.45),
    0 2px 6px rgba(10, 38, 56, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: rotate(-8deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.pin-bolt::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 60%);
  pointer-events: none;
}
.pin-bolt i {
  position: relative;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}

.pin-stem {
  width: 3px;
  height: 12px;
  background: linear-gradient(to bottom, var(--lighter-blue), rgba(75, 181, 232, 0));
  margin-top: -2px;
  border-radius: 2px;
}

.pin-shadow {
  width: 18px;
  height: 6px;
  border-radius: 50%;
  background: rgba(10, 38, 56, 0.3);
  filter: blur(3px);
  margin-top: 0;
  animation: shadowPulse 2.4s ease-in-out infinite;
}
@keyframes shadowPulse {
  0%, 100% { transform: scale(1);   opacity: 0.5; }
  50%      { transform: scale(0.7); opacity: 0.3; }
}

/* ===========================================================
   5. MAP FAB + ZOOM CONTROLS
   =========================================================== */
.map-fab {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary-blue);
  border: 1.5px solid #e5e7eb;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(10, 38, 56, 0.18);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 420;
}
.map-fab:hover {
  color: var(--white);
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 158, 216, 0.35);
}
.map-fab.loading { pointer-events: none; opacity: 0.7; }
.map-fab.loading i { animation: spinIcon 0.8s linear infinite; }
@keyframes spinIcon { to { transform: rotate(360deg); } }

.map-fab-locate {
  top: 16px;
  right: 16px;
}

.map-zoom-controls {
  position: absolute;
  bottom: 110px;
  right: 16px;
  z-index: 420;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(10, 38, 56, 0.18);
  border: 1.5px solid #e5e7eb;
  overflow: hidden;
}
.map-zoom-controls button {
  width: 40px; height: 40px;
  background: var(--white);
  color: var(--dark-text);
  border: none;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
  display: flex; align-items: center; justify-content: center;
}
.map-zoom-controls button:first-child { border-bottom: 1px solid #e5e7eb; }
.map-zoom-controls button:hover { background: rgba(31, 158, 216, 0.1); color: var(--primary-blue); }
.map-zoom-controls button:active { background: var(--grad); color: var(--white); }

/* ===========================================================
   6. ADDRESS CHIP + QUICK CHIPS
   =========================================================== */
.map-address-chip {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--dark-text);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(10, 38, 56, 0.18);
  z-index: 410;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-address-chip > i {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.map-address-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-quick-chips {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  gap: 8px;
  padding: 0 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  z-index: 410;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%);
}
.map-quick-chips::-webkit-scrollbar { display: none; }
.quick-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--white);
  color: var(--dark-text);
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(10, 38, 56, 0.1);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.quick-chip i { font-size: 0.72rem; color: var(--primary-blue); }
.quick-chip:hover {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}
.quick-chip:hover i { color: var(--white); }

/* ===========================================================
   7. MAP MODAL FOOTER
   =========================================================== */
.map-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 24px;
  border-top: 1px solid #f1f3f5;
  background: #fafbfc;
  flex-shrink: 0;
}
.map-selected {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.ms-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--light-gray);
  text-transform: uppercase;
  letter-spacing: 0.7px;
}
.map-selected strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-coords {
  font-size: 0.72rem;
  color: var(--light-gray);
  font-family: 'JetBrains Mono', 'SF Mono', Consolas, monospace;
}
.map-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ===========================================================
   8. COMPACT MOBILE CAR CARDS
   =========================================================== */
@media (max-width: 600px) {
  .vehicle-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }

  .car-card {
    border-radius: 14px !important;
    overflow: hidden;
  }

  .car-image {
    height: 110px !important;
    width: 100%;
    object-fit: cover;
  }

  .car-body {
    padding: 10px !important;
    gap: 6px !important;
    display: flex;
    flex-direction: column;
  }

  .car-type {
    font-size: 0.62rem !important;
    padding: 3px 8px !important;
    letter-spacing: 0.4px;
    align-self: flex-start;
  }

  .car-name {
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
    margin: 2px 0 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .car-specs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 4px 8px !important;
    margin: 2px 0 !important;
  }
  .car-specs div {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem !important;
    color: var(--light-gray);
  }
  .car-specs i {
    font-size: 0.7rem !important;
    color: var(--primary-blue);
  }
  .car-specs div span { font-size: 0.68rem !important; }

  .car-pricing {
    margin: 4px 0 !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e5e7eb !important;
  }
  .car-rate {
    font-size: 0.72rem !important;
    color: var(--light-gray);
    line-height: 1.3;
  }
  .car-rate strong {
    font-size: 0.92rem !important;
    color: var(--dark-text);
    display: block;
  }
  .car-total {
    margin-top: 3px !important;
    font-size: 0.7rem !important;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.3;
  }
  .total-amount {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: var(--primary-blue) !important;
    margin-left: 0 !important;
    display: block;
  }
  .total-days {
    font-size: 0.65rem !important;
    color: var(--light-gray);
    display: block;
  }

  .btn-book {
    width: 100%;
    padding: 9px 8px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    gap: 5px !important;
    margin-top: 4px;
  }
  .btn-book i { font-size: 0.75rem !important; }

  .vehicles .section-head { margin-bottom: 18px; }
  .vehicles .section-head h2 { font-size: 1.45rem; }
  .vehicles .section-head p { font-size: 0.88rem; }
}

@media (max-width: 380px) {
  .vehicle-grid { gap: 10px !important; }
  .car-image { height: 95px !important; }
  .car-body { padding: 9px !important; }
  .car-name { font-size: 0.88rem !important; }
  .car-specs div { font-size: 0.66rem !important; }
  .btn-book {
    padding: 8px 6px !important;
    font-size: 0.72rem !important;
  }
  .btn-book span:not([class]) { display: none; }
}

/* ===========================================================
   9. MAP MODAL RESPONSIVE
   =========================================================== */
@media (max-width: 850px) {
  .map-overlay .map-modal {
    margin: 12px;
    max-height: calc(100vh - 24px);
    height: calc(100vh - 24px);
    max-width: none;
  }
  .map-modal-head { padding: 14px 18px 12px; }
  .map-modal-head .icon-circle { width: 38px; height: 38px; font-size: 1rem; }
  .map-head-text h3 { font-size: 1rem; }
  .map-head-text p { font-size: 0.78rem; }
  .map-search { padding: 10px 18px; }
  .map-search-icon { left: 32px; }
  .map-search-clear { right: 26px; }
  .map-suggestions { left: 18px; right: 18px; }
  .map-modal-foot { padding: 12px 18px; }
}

@media (max-width: 600px) {
  .map-overlay .map-modal {
    margin: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    border-top-width: 0;
    background-image: none;
  }
  .map-overlay .map-modal::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--grad);
    z-index: 2;
  }

  .map-modal-head { padding: 14px 16px 10px; }
  .map-head-text h3 { font-size: 0.98rem; }
  .map-head-text p { display: none; }
  .map-modal-head .icon-circle { width: 36px; height: 36px; border-radius: 10px; }

  .map-search { padding: 8px 16px 10px; }
  .map-search input { padding: 10px 36px 10px 36px; font-size: 0.88rem; }
  .map-search-icon { left: 30px; font-size: 0.85rem; }
  .map-search-clear { right: 24px; }
  .map-suggestions { left: 16px; right: 16px; }

  .map-fab-locate { top: 12px; right: 12px; width: 40px; height: 40px; }
  .map-zoom-controls { bottom: 130px; right: 12px; }
  .map-zoom-controls button { width: 36px; height: 36px; }

  .map-address-chip {
    bottom: 76px;
    padding: 8px 12px;
    font-size: 0.78rem;
    max-width: calc(100% - 24px);
  }
  .map-address-chip > i { width: 18px; height: 18px; font-size: 0.6rem; }

  .map-quick-chips { padding: 0 12px; }
  .quick-chip {
    padding: 6px 11px;
    font-size: 0.74rem;
  }

  .map-modal-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 16px 14px;
  }
  .map-selected strong { font-size: 0.88rem; }
  .ms-coords { font-size: 0.68rem; }
  .map-actions {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 8px;
  }
  .map-actions .btn-cancel,
  .map-actions .btn-cta {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .pin-bolt {
    width: 40px; height: 40px;
    font-size: 1.15rem;
    border-radius: 12px;
  }
  .pin-stem { height: 10px; }
}

@media (max-width: 380px) {
  .map-modal-head { padding: 12px 14px 8px; }
  .map-head-text h3 { font-size: 0.92rem; }
  .map-search { padding: 6px 14px 8px; }
  .map-quick-chips { padding: 0 10px; }
  .quick-chip { padding: 6px 10px; font-size: 0.72rem; }
}

/* ===========================================================
   10. INFINITE TESTIMONIAL LOOP
   Seamless, never-stopping marquee.
   =========================================================== */
.testimonial-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  padding: 24px 0 8px;
}

.testimonial-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonialScroll 45s linear infinite;
  will-change: transform;
}

/* Pause on hover for readability */
.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Ensure cards keep their width inside the flex track */
.testimonial-track .testimonial-card {
  flex-shrink: 0;
  width: 360px;
}

@media (max-width: 600px) {
  .testimonial-track {
    gap: 16px;
    animation-duration: 38s;
  }
  .testimonial-track .testimonial-card {
    width: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
  }
}

/* ===========================================================
   11. PAGINATION — under the vehicle grid
   =========================================================== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--white);
  color: var(--dark-text);
  border: 1.5px solid #e5e7eb;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.15s ease, box-shadow 0.2s ease;
}

.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--light-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(31, 158, 216, 0.18);
}

.page-btn.active {
  background: var(--grad);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(31, 158, 216, 0.35);
  cursor: default;
}

.page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.page-btn i { font-size: 0.78rem; }

.page-ellipsis {
  min-width: 24px;
  text-align: center;
  color: var(--light-gray);
  font-weight: 700;
  user-select: none;
}

.page-info {
  width: 100%;
  text-align: center;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--light-gray);
}

.page-info strong {
  color: var(--dark-text);
  font-weight: 700;
}

/* Mobile pagination — compact */
@media (max-width: 600px) {
  .pagination {
    gap: 6px;
    margin-top: 24px;
  }
  .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  /* Hide label text on prev/next, keep icons only */
  .page-btn.page-nav span { display: none; }
  .page-btn.page-nav { padding: 0; min-width: 36px; }
  .page-info { font-size: 0.75rem; margin-top: 10px; }
}

/* ===========================================================
   12. REDUCED MOTION
   =========================================================== */
@media (prefers-reduced-motion: reduce) {
  .map-overlay .map-modal,
  .center-pin,
  .pin-shadow {
    animation: none !important;
  }
  .pin-bolt { transition: none !important; }
}