/**
 * TPMR Booking - Public Frontend CSS
 * Fully scoped under .tpmr-booking-wizard
 * Design Tokens: Gold/Black/White theme
 */

/* Prevent horizontal scrollbar from full-bleed breakout */
html {
  overflow-x: clip;
}

/* Keep browser autofill from replacing the booking form's white field design
   with Chrome/Safari's pale blue address-profile background. */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
  -webkit-text-fill-color: inherit !important;
  caret-color: inherit !important;
  transition: background-color 5000s ease-in-out 0s;
}

.tpmr-booking-wizard {
  --tpmr-gold: #c9963a;
  --tpmr-gold-light: #d3c4b1;
  --tpmr-gold-glow: rgba(201,150,58,.15);
  --tpmr-black: #1a1c1c;
  --tpmr-white: #FFFFFF;
  --tpmr-bg-surface: #f3f3f3;
  --tpmr-bg-hover: #F8F6EB;
  --tpmr-gray-border: #d3c4b1;
  --tpmr-gray-text: #817565;
  --tpmr-success: #16A34A;
  --tpmr-card-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  --tpmr-radius-card: 20px;
  --tpmr-radius-btn: 12px;
  --tpmr-radius-input: 8px;
  --tpmr-input-height: 48px;
  --tpmr-font-heading: 'Playfair Display', Georgia, serif;
  --tpmr-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Full-bleed breakout from WordPress container */
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: var(--tpmr-bg-surface);

  font-family: var(--tpmr-font-body);
  color: var(--tpmr-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.tpmr-booking-wizard .material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: 'liga';
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}
.tpmr-booking-wizard:not(.tpmr-icons-ready) .material-symbols-outlined {
  visibility: hidden;
}

.tpmr-booking-wizard button,
.tpmr-booking-wizard button:focus,
.tpmr-booking-wizard button:focus-visible,
.tpmr-booking-wizard input:focus {
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}
.tpmr-booking-wizard button:focus-visible,
.tpmr-booking-wizard .tpmr-transfer-card:focus-visible {
  outline: 3px solid rgba(201,150,58,.55) !important;
  outline-offset: 3px !important;
}
.tpmr-booking-wizard .tpmr-address-input:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(201,150,58,.35) !important;
  border-radius: 4px;
}

.tpmr-saas-container {
  max-width: 860px;
  margin: 0 auto;
  display: block; /* Removed grid for steps 1-3 centering */
  padding: 40px 0;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   GLOBAL HEADER & TRUST
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tpmr-global-header {
  margin-bottom: 28px;
  text-align: center;
}

.tpmr-global-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1c1c;
  margin: 0 0 14px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.tpmr-trust-inline {
  display: flex;
  gap: 12px 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.tpmr-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.tpmr-trust-item:hover {
  border-color: #c9963a;
  background: #F8F6EB;
  transform: translateY(-1px);
}

.tpmr-trust-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SAAS LAYOUT
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tpmr-split-layout {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.tpmr-main-content {
  flex: 1;
  min-width: 0;
}
.tpmr-sidebar-summary {
  flex-shrink: 0;
  width: 360px;
}

.tpmr-main-content {
  min-width: 0;
}

.tpmr-form-card {
  background: var(--tpmr-white);
  border-radius: var(--tpmr-radius-card);
  padding: 24px 32px;
  box-shadow: var(--tpmr-card-shadow);
  border: 1px solid var(--tpmr-gray-border);
}

.tpmr-sidebar-summary {
  position: sticky;
  top: 24px;
}

.tpmr-sticky-panel {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  border-radius: var(--tpmr-radius-card);
  padding: 20px 24px;
  box-shadow: var(--tpmr-card-shadow);
}

.tpmr-summary-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--tpmr-black);
}

.tpmr-summary-subtitle {
  font-size: 13px;
  color: var(--tpmr-gray-text);
  margin: 0 0 24px 0;
}

.tpmr-summary-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--tpmr-gray-border);
  font-size: 13px;
}
.tpmr-summary-row:last-of-type {
  border-bottom: none;
}

.tpmr-summary-row .icon-span {
  width: 24px;
  color: var(--tpmr-gray-text);
  margin-right: 12px;
  display: flex;
  align-items: center;
}

.tpmr-summary-row strong {
  color: var(--tpmr-black);
  font-weight: 500;
  flex: 1;
}

.tpmr-summary-row span:not(.icon-span) {
  color: var(--tpmr-gray-text);
  font-weight: 400;
  text-align: right;
}

.tpmr-summary-divider {
  border: none;
  border-top: 1px solid var(--tpmr-gray-border);
  margin: 24px 0;
}

.tpmr-summary-total-group {
  margin-bottom: 32px;
}
.tpmr-summary-total-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--tpmr-black);
  margin-bottom: 8px;
}
.tpmr-summary-total-val span {
  font-size: 28px;
  font-weight: 700;
  color: var(--tpmr-gold);
}

.tpmr-trust-box {
  background: #F8F6EB;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.tpmr-trust-box svg {
  color: var(--tpmr-gold);
  flex-shrink: 0;
}
.tpmr-trust-box p {
  margin: 0;
  font-size: 12px;
  color: var(--tpmr-black);
  line-height: 1.5;
}

@media (min-width: 1100px) {
  /* Removed grid definition, now handled by flex */
}

@media (max-width: 1099px) {
  .tpmr-split-layout {
    flex-direction: column;
  }
  .tpmr-sidebar-summary {
    width: 100%;
    position: static;
  }
  .tpmr-trust-bar {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   SAAS STEPPER (OPTION A: LUXURY PILL TABS)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-saas-stepper {
  display: flex;
  gap: 6px;
  justify-content: space-between;
  align-items: stretch;
  background: #f8fafc;
  padding: 6px;
  border-radius: 50px;
  border: 1px solid #e2e8f0;
  margin-bottom: 28px;
  position: relative;
}

.tpmr-saas-stepper::before {
  display: none !important;
}

.tpmr-stepper-item {
  flex: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  background: transparent;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  white-space: nowrap;
  border: 1px solid transparent;
  user-select: none;
}

.tpmr-stepper-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  transition: all 0.25s ease;
  flex-shrink: 0;
  border: none;
}

.tpmr-stepper-icon::before {
  display: none !important;
}

.tpmr-stepper-icon svg.check-icon {
  display: none;
}

/* Active Step Pill */
.tpmr-stepper-item.active {
  background: #c9963a;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(201, 150, 58, 0.35);
  transform: translateY(-1px);
}

.tpmr-stepper-item.active .tpmr-stepper-icon {
  background: #ffffff;
  color: #c9963a;
}

.tpmr-stepper-item.active .step-num {
  display: block;
}

.tpmr-stepper-item.active .tpmr-stepper-label {
  color: #ffffff;
  font-weight: 700;
}

/* Completed Step Pill */
.tpmr-stepper-item.completed {
  background: #F8F6EB;
  color: #854d0e;
  border-color: rgba(201, 150, 58, 0.25);
  cursor: pointer;
}

.tpmr-stepper-item.completed:hover {
  background: #fef3c7;
  transform: translateY(-1px);
}

.tpmr-stepper-item.completed .tpmr-stepper-icon {
  background: #c9963a;
  color: #ffffff;
}

.tpmr-stepper-item.completed .step-num {
  display: none;
}

.tpmr-stepper-item.completed svg.check-icon {
  display: block;
  stroke: #ffffff;
}

.tpmr-stepper-item.completed .tpmr-stepper-label {
  color: #854d0e;
  font-weight: 600;
}

.tpmr-stepper-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: color 0.2s ease;
}

@media (max-width: 768px) {
  .tpmr-saas-stepper {
    padding: 4px;
    border-radius: 30px;
    gap: 4px;
    margin-bottom: 20px;
  }
  .tpmr-stepper-item {
    padding: 8px 10px;
    border-radius: 20px;
  }
  .tpmr-stepper-item:not(.active) .tpmr-stepper-label {
    display: none;
  }
  .tpmr-stepper-item.active .tpmr-stepper-label {
    font-size: 12px;
  }
  .tpmr-saas-container {
    width: calc(100vw - 24px);
    padding: 24px 0;
  }
  .tpmr-form-card {
    padding: 24px 16px;
  }
  .tpmr-card-grid {
    grid-template-columns: 1fr;
  }
  .tpmr-form-row {
    grid-template-columns: 1fr;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CARD WRAPPER
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-card {
  background: var(--tpmr-white);
  border-radius: var(--tpmr-radius-card);
  box-shadow: var(--tpmr-card-shadow);
  padding: 40px;
  max-width: 860px;
  margin: 0 auto;
}

.tpmr-stepper-divider {
  border: none !important;
  border-top: 1px solid #e2e8f0 !important;
  height: 1px !important;
  margin: 20px 0 24px 0 !important;
  display: block !important;
  width: 100% !important;
}

.tpmr-step-title {
  margin: 0 0 8px 0;
  font-family: var(--tpmr-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #1a1c1c;
  letter-spacing: -0.3px;
}

.tpmr-step-subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px;
  font-weight: 400;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FORM BLOCKS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-form-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid #f1f5f9;
}

.tpmr-form-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tpmr-block-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #475569;
  margin-bottom: 12px;
}

.tpmr-block-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.tpmr-block-status {
  font-size: 12px;
  font-weight: 600;
  color: #c9963a;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TRANSFER TYPE CARDS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.tpmr-transfer-card {
  position: relative;
  padding: 20px 14px;
  min-height: 125px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.tpmr-transfer-card:hover {
  border-color: #c9963a;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 150, 58, 0.12);
  background: #F8F6EB;
}

.tpmr-transfer-card.selected {
  border: 2px solid #c9963a !important;
  background: #F8F6EB !important;
  box-shadow: 0 8px 24px rgba(201, 150, 58, 0.2) !important;
  transform: translateY(-2px);
}

.tpmr-transfer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  transition: all 0.25s ease;
  margin-bottom: 2px;
}

.tpmr-transfer-card:hover .tpmr-transfer-icon {
  color: #c9963a;
  transform: scale(1.08);
}

.tpmr-transfer-card.selected .tpmr-transfer-icon {
  color: #c9963a;
}

.tpmr-transfer-label {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
}

.tpmr-card-sub {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
  transition: color 0.2s;
}

.tpmr-transfer-card.selected .tpmr-card-sub {
  color: #854d0e;
}

/* Card Selection Checkmark */
.tpmr-card-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: #ffffff;
  transition: all 0.25s ease;
}

.tpmr-transfer-card.selected .tpmr-card-check {
  border-color: #c9963a;
  background: #c9963a;
  color: #ffffff;
}

.tpmr-card-check svg {
  stroke: currentColor;
  stroke-width: 3;
}

/* Horizontal Cards for Trip Format */
.tpmr-card-hz {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
  min-height: 64px !important;
  padding: 14px 18px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  background: #ffffff !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  position: relative !important;
  cursor: pointer !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

.tpmr-card-hz:focus,
.tpmr-card-hz:focus-visible {
  outline: none !important;
  border-color: #c9963a !important;
}

.tpmr-card-hz:hover {
  border-color: #c9963a !important;
  background: #F8F6EB !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(201, 150, 58, 0.12) !important;
}

.tpmr-card-hz.selected,
.tpmr-card-hz.active {
  border: 2px solid #c9963a !important;
  outline: none !important;
  background: #F8F6EB !important;
  box-shadow: 0 4px 14px rgba(201, 150, 58, 0.18) !important;
}

.tpmr-card-hz .tpmr-transfer-label {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.tpmr-card-hz .tpmr-card-check-right {
  position: static !important;
  margin-left: auto !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  border: 1.5px solid #cbd5e1 !important;
  text-align: center !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}

.tpmr-card-hz.selected .tpmr-card-check-right,
.tpmr-card-hz.active .tpmr-card-check-right {
  border-color: #c9963a !important;
  background: #c9963a !important;
  color: #ffffff !important;
}

.tpmr-card-hz-text {
  display: flex;
  flex-direction: column;
  margin-left: 12px;
  margin-right: auto;
}

.tpmr-card-check-right {
  position: static;
  margin-left: 14px;
}

/* Mobility Profile Horizontal Cards */
.tpmr-card-hz-top {
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  min-height: 60px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
}

.tpmr-card-hz-top .tpmr-card-hz-text {
  margin-left: 12px;
}

/* Stepper List (Professional Transport Layout) */
.tpmr-stepper-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tpmr-stepper-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  min-height: 64px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.tpmr-stepper-info {
  display: flex;
  flex-direction: column;
}

.tpmr-stepper-info .tpmr-stepper-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
}

.tpmr-stepper-info .tpmr-stepper-desc {
  font-size: 12px;
  color: #64748b;
  margin-top: 2px;
}

.tpmr-stepper-row .tpmr-stepper-btn {
  width: 34px;
  height: 34px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
}

.tpmr-stepper-row .tpmr-stepper-value input {
  font-size: 16px;
  width: 40px;
  text-align: center;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   FORM ELEMENTS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  width: 100% !important;
}

.tpmr-dimensions-block .tpmr-form-row {
  gap: 12px !important;
}

.tpmr-pill-group-large .tpmr-pill {
  min-height: 56px;
  font-size: 14px;
  font-weight: 500;
  padding: 0 24px;
}

.tpmr-form-row.full {
  grid-template-columns: 1fr !important;
}

.tpmr-form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
}

.tpmr-label {
  font-size: 11px;
  font-weight: 700;
  color: #4f4537;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.tpmr-input,
.tpmr-select,
.tpmr-textarea {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 12px 16px !important;
  border: 1.5px solid var(--tpmr-gray-border) !important;
  border-radius: var(--tpmr-radius-input) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  font-family: var(--tpmr-font-body) !important;
  background: var(--tpmr-white) !important;
  color: var(--tpmr-black) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  display: block !important;
  line-height: normal !important;
}

.tpmr-input:focus,
.tpmr-select:focus,
.tpmr-textarea:focus {
  outline: none !important;
  border-color: var(--tpmr-gold) !important;
  box-shadow: 0 0 0 3px var(--tpmr-gold-glow) !important;
  background: var(--tpmr-white) !important;
}

.tpmr-input-locked {
  background-color: #f3f4f6 !important;
  color: #6b7280 !important;
  cursor: not-allowed !important;
  user-select: none !important;
}
.tpmr-input-locked:focus {
  border-color: var(--tpmr-gray-border) !important;
  box-shadow: none !important;
}

.tpmr-input::placeholder {
  color: var(--tpmr-gray-text) !important;
}

.tpmr-input-with-icon {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}
.tpmr-input-with-icon .tpmr-inner-icon {
  position: absolute !important;
  left: 14px !important;
  color: var(--tpmr-gray-text) !important;
  pointer-events: none !important;
  z-index: 2 !important;
}
.tpmr-booking-wizard input[type="text"].tpmr-input:not(.tpmr-address-input),
.tpmr-booking-wizard input[type="date"],
.tpmr-booking-wizard input[type="time"],
.tpmr-booking-wizard input[type="email"],
.tpmr-booking-wizard input[type="tel"],
.tpmr-booking-wizard input[name="flight_number"],
.tpmr-booking-wizard input[name="flight_time"],
.tpmr-booking-wizard input[name="pickup_date"],
.tpmr-booking-wizard input[name="pickup_time"],
.tpmr-booking-wizard input[name="return_date"],
.tpmr-booking-wizard input[name="return_time"] {
  height: 50px !important;
  min-height: 50px !important;
  max-height: 50px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--tpmr-gray-border, #e2e8f0) !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  color: #18181b !important;
  outline: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  display: block !important;
  line-height: normal !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  transition: all 0.25s ease !important;
}

.tpmr-booking-wizard input[type="text"].tpmr-input:not(.tpmr-address-input):focus,
.tpmr-booking-wizard input[name="flight_number"]:focus,
.tpmr-booking-wizard input[name="flight_time"]:focus {
  border-color: #c9963a !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
  background: #ffffff !important;
}

.tpmr-input-with-icon .tpmr-input,
.tpmr-booking-wizard input[type="date"].tpmr-input,
.tpmr-booking-wizard input[type="time"].tpmr-input,
.tpmr-booking-wizard input[name="pickup_date"],
.tpmr-booking-wizard input[name="pickup_time"] {
  padding-left: 44px !important;
  padding-right: 14px !important;
}

/* Specific styling for address input inside the card */
.tpmr-address-input,
.tpmr-booking-wizard input.tpmr-address-input {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 8px 0 0 !important;
  height: 26px !important;
  min-height: 26px !important;
  max-height: 26px !important;
  line-height: 26px !important;
  font-size: 15px !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  caret-color: #c9963a !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}

.tpmr-address-input-wrapper {
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.tpmr-booking-wizard input[type="date"]::-webkit-calendar-picker-indicator,
.tpmr-booking-wizard input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease;
}

.tpmr-booking-wizard input[type="date"]::-webkit-calendar-picker-indicator:hover,
.tpmr-booking-wizard input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1 !important;
}

.tpmr-textarea {
  resize: vertical;
  min-height: 100px;
}

.tpmr-input-valid {
  border-color: var(--tpmr-gold);
  background: #FFFBF0;
}

/* Email input with icon */
.tpmr-email-wrapper {
  position: relative;
}

.tpmr-email-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  pointer-events: none;
  color: var(--tpmr-gray-text);
}

.tpmr-email-icon.valid {
  color: #166534;
  font-weight: 700;
}

input[type="email"].tpmr-input-with-icon {
  padding-left: 40px;
}

/* Validation checkmark icon on the right */
.tpmr-validation-checkmark {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #166534;
  font-weight: 700;
  font-size: 16px;
  display: none;
}

.tpmr-input-valid ~ .tpmr-validation-checkmark {
  display: block;
}

.tpmr-help-text {
  font-size: 12px;
  color: var(--tpmr-gray-text);
  font-weight: 400;
}

.tpmr-validation-msg {
  font-size: 12px;
  display: none;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-weight: 500;
  color: #dc2626;
  line-height: 1.3;
}

.tpmr-validation-msg.error {
  display: flex;
  color: #dc2626;
}

.tpmr-validation-msg.show {
  display: flex;
}

/* Valid input styling */
.tpmr-input-valid {
  border-color: var(--tpmr-gold);
}

/* Invalid input & card styling */
.tpmr-input-error {
  border-color: #ef4444 !important;
  background-color: #fffaf9 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.tpmr-transfer-card.tpmr-card-error,
.tpmr-pill.tpmr-card-error {
  border-color: #d32f2f !important;
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.2) !important;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   TOGGLES & PILLS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-pill-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}

.tpmr-pill {
  flex: 1;
  text-align: center;
  padding: 14px 18px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #1e293b !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
  text-align: center !important;
  gap: 8px !important;
}

.tpmr-pill:hover {
  border-color: #c9963a !important;
  background: #fdfaf4 !important;
  transform: translateY(-1px) !important;
}

.tpmr-pill.active {
  border-color: #c9963a !important;
  background: #c9963a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(201, 150, 58, 0.35) !important;
}

.tpmr-input-card {
  transition: all 0.2s ease !important;
}

.tpmr-input-card:focus-within {
  border-color: #c9963a !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
}

.tpmr-input-card:focus-within .material-symbols-outlined {
  color: #c9963a !important;
}

.tpmr-textarea:focus {
  border-color: #c9963a !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
}

.iti {
  width: 100% !important;
  display: block !important;
  position: relative !important;
}

.iti input#tpmr-phone-iti,
.iti input[type="tel"] {
  width: 100% !important;
  height: 50px !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.iti input#tpmr-phone-iti:focus,
.iti input[type="tel"]:focus,
.iti:focus-within input[type="tel"] {
  border-color: #c9963a !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
}

.iti__dropdown-content,
.iti__country-list {
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12) !important;
  background: #ffffff !important;
  padding: 6px 0 !important;
  z-index: 9999 !important;
  max-height: 220px !important;
}

.iti__country {
  padding: 10px 14px !important;
  font-size: 13.5px !important;
  color: #1e293b !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: #F8F6EB !important;
  color: #c9963a !important;
}

.iti__country.iti__preferred {
  font-weight: 600 !important;
}

.iti__divider {
  border-bottom: 1.5px solid #f1f5f9 !important;
  margin: 6px 0 !important;
}

/* Chrome autofill background reset */
.tpmr-input:-webkit-autofill,
.tpmr-input:-webkit-autofill:hover, 
.tpmr-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1e293b !important;
  caret-color: #c9963a !important;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ZONE BADGE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tpmr-zone-badge.geofence {
  background: #E8F5E9;
  color: #2E7D32;
}

.tpmr-zone-badge.outside {
  background: #FFF3E0;
  color: #E65100;
}

.tpmr-zone-badge::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   DISTANCE BAR
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-distance-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--tpmr-gray-bg);
  border-radius: var(--tpmr-radius-input);
  font-size: 13px;
  color: var(--tpmr-black);
  font-weight: 500;
  margin-top: 12px;
}

.tpmr-distance-bar::before {
  content: 'ðŸ“';
  font-size: 16px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ROUTE DETAILS TIMELINE (STEP 1)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-route-details-box {
  background: #F9FAFB;
  border: 1px solid var(--tpmr-gray-border);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}

.tpmr-route-item {
  display: flex;
  gap: 16px;
  position: relative;
  margin-bottom: 24px;
}

.tpmr-route-item:last-child {
  margin-bottom: 0;
}

.tpmr-route-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tpmr-white);
  font-size: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.tpmr-route-icon.pickup {
  background: #DCFCE7;
  border: 1.5px solid #22c55e;
  color: #15803d;
}

.tpmr-route-icon.dropoff {
  background: #FFEDD5;
  border: 1.5px solid #f97316;
  color: #ea580c;
}

.tpmr-route-timeline-line {
  position: absolute;
  left: 40px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: var(--tpmr-gray-border);
  z-index: 1;
}

.tpmr-route-content {
  flex: 1;
  padding-top: 4px;
  position: relative;
}

.tpmr-route-address {
  font-size: 14px;
  font-weight: 600;
  color: var(--tpmr-black);
  margin-bottom: 8px;
}

.tpmr-route-zone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.tpmr-route-zone.geofence {
  background: #E8F5E9;
  color: #2E7D32;
}

.tpmr-route-zone.outside {
  background: #FFF3E0;
  color: #E65100;
}

.tpmr-distance-separator {
  position: relative;
  text-align: center;
  margin: 16px 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

#tpmr-distance-result {
  background: var(--tpmr-white);
  border: 1.5px solid var(--tpmr-gray-border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tpmr-gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   STEPPER
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-stepper {
  display: flex;
  align-items: center;
  gap: 24px;
  width: fit-content;
}

.tpmr-stepper-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--tpmr-gold);
  color: var(--tpmr-white);
  cursor: pointer;
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(201, 150, 58, 0.2);
}

.tpmr-stepper-btn:hover {
  background: var(--tpmr-gold-light);
  transform: scale(1.05);
}

.tpmr-stepper-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.tpmr-stepper-value {
  min-width: 56px;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
}

.tpmr-stepper-value input {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 22px;
  border: none;
  background: transparent;
  pointer-events: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PMR DETAIL PANEL
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-pmr-panel {
  background: #FFFBF0;
  border-left: 4px solid var(--tpmr-gold);
  border-radius: var(--tpmr-radius-input);
  padding: 20px;
  margin-top: 16px;
}

.tpmr-pmr-panel .tpmr-form-block {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201, 150, 58, 0.2);
}

.tpmr-pmr-panel .tpmr-form-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* PMR dimension inputs â€” consistent height, no spinners */
.tpmr-pmr-panel .tpmr-input {
  height: 48px;
  box-sizing: border-box;
}

.tpmr-pmr-panel input[type="number"]::-webkit-outer-spin-button,
.tpmr-pmr-panel input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tpmr-pmr-panel input[type="number"] {
  -moz-appearance: textfield;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ADDRESS AUTOCOMPLETE & MAP
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-hero-map-container {
  position: relative;
  width: 100%;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

#tpmr-map {
  width: 100%;
  height: 500px;
  border-radius: var(--tpmr-radius-card);
  border: 1px solid var(--tpmr-gray-border);
  z-index: 1;
}

.tpmr-leaflet-pin {
  background: transparent !important;
  border: 0 !important;
}
.tpmr-leaflet-pin span {
  display: block;
  width: 22px;
  height: 22px;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .35);
  transform: rotate(-45deg);
}
.tpmr-booking-wizard .leaflet-container {
  font: inherit;
  border-radius: var(--tpmr-radius-card);
  z-index: 1;
}

.tpmr-map-overlay-panel {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 340px;
  background: var(--tpmr-white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  z-index: 10;
  border: 1px solid var(--tpmr-gray-border);
}

.tpmr-route-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tpmr-route-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.tpmr-route-icon.pickup { color: #22c55e; }
.tpmr-route-icon.dropoff { color: #f97316; }

.tpmr-route-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tpmr-field-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #22c55e;
  margin-bottom: 4px;
}

#tpmr-dropoff-wrapper .tpmr-field-label {
  color: #f97316;
}

.tpmr-address-card {
  position: relative !important;
  overflow: visible !important;
  transition: all 0.2s ease !important;
  cursor: text;
}

.tpmr-address-card:focus-within {
  border-color: #c9963a !important;
  box-shadow: 0 4px 14px rgba(201, 150, 58, 0.15) !important;
}

.tpmr-route-content {
  flex: 1;
  position: relative !important;
  min-width: 0;
  overflow: visible !important;
}

.tpmr-address-input-wrapper {
  position: relative !important;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: visible !important;
}

.tpmr-booking-wizard .tpmr-address-card input,
.tpmr-booking-wizard .tpmr-address-card input[type="text"],
.tpmr-booking-wizard .tpmr-address-input-wrapper input,
.tpmr-booking-wizard .tpmr-address-input-wrapper input[type="text"],
.tpmr-booking-wizard input.tpmr-address-input {
  width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 24px !important;
  line-height: 24px !important;
  min-height: unset !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #1e293b !important;
  caret-color: #c9963a !important;
}

.tpmr-booking-wizard .tpmr-address-card input:focus,
.tpmr-booking-wizard .tpmr-address-card input[type="text"]:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.tpmr-address-input-wrapper .tpmr-input::placeholder,
.tpmr-address-input::placeholder {
  color: #94a3b8 !important;
  font-size: 15px !important;
  line-height: 24px !important;
  font-weight: 400 !important;
}
.tpmr-target-icon {
  position: static !important;
  color: #94a3b8 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-align: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.tpmr-target-icon:hover {
  background: #F8F6EB !important;
  color: #c9963a !important;
  transform: scale(1.1) !important;
}

.tpmr-route-connector {
  width: 1px;
  height: 16px;
  border-left: 1px dashed var(--tpmr-gray-border);
  margin-left: 11px;
}

.tpmr-map-stats-overlay {
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-radius: 50px !important;
  padding: 8px 24px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.9) !important;
  z-index: 10 !important;
  display: none;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  white-space: nowrap !important;
  width: auto !important;
}

#tpmr-map-footer.tpmr-map-stats-overlay {
  display: none;
}

.tpmr-stat-divider {
  width: 1px !important;
  height: 24px !important;
  background: #e2e8f0 !important;
  flex-shrink: 0 !important;
}

.tpmr-map-stat {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}

.tpmr-stat-icon {
  width: 30px !important;
  height: 30px !important;
  border-radius: 50% !important;
  background: #F8F6EB !important;
  color: #c9963a !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.tpmr-stat-content {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
}

.tpmr-stat-label {
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #94a3b8 !important;
  letter-spacing: 0.6px !important;
  line-height: 1.2 !important;
}

.tpmr-stat-value {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.2 !important;
}

@media (max-width: 768px) {
  .tpmr-hero-map-container {
    display: flex;
    flex-direction: column;
  }
  
  #tpmr-map {
    height: 300px !important;
  }
  
  .tpmr-map-stats-overlay {
    bottom: 12px !important;
    padding: 6px 14px !important;
    gap: 10px !important;
    font-size: 11px !important;
    max-width: 94% !important;
  }
  
  .tpmr-stat-divider {
    height: 18px !important;
  }
}

/* CUSTOM LUXURY GOLD RADIO BUTTONS (NO BROWSER BLACK BORDER) */
.tpmr-radio-opt {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  user-select: none !important;
}

.tpmr-radio-opt input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
}
.tpmr-radio-opt { position: relative !important; }
.tpmr-radio-opt:focus-within .tpmr-radio-custom,
.tpmr-radio-opt:focus-within .tpmr-equip-card {
  outline: 3px solid rgba(201,150,58,.55) !important;
  outline-offset: 3px !important;
}
.tpmr-radio-hidden:focus-visible + .tpmr-equip-card {
  outline: 3px solid rgba(201,150,58,.55) !important;
  outline-offset: 3px !important;
}

.tpmr-radio-custom {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  border: 2px solid #cbd5e1 !important;
  background-color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  position: relative !important;
}

.tpmr-radio-opt:hover .tpmr-radio-custom {
  border-color: #c9963a !important;
}

.tpmr-radio-opt input[type="radio"]:checked + .tpmr-radio-custom {
  border-color: #c9963a !important;
  background-color: #c9963a !important;
  box-shadow: inset 0 0 0 3.5px #ffffff !important;
}

.tpmr-address-field {
  position: relative;
  width: 100%;
}

.tpmr-field-city-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tpmr-gold);
  margin-bottom: 6px;
}

.tpmr-address-input {
  width: 100% !important;
  padding: 14px 16px !important;
  border: 1.5px solid var(--tpmr-gray-border) !important;
  border-radius: var(--tpmr-radius-input) !important;
  background: var(--tpmr-white) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--tpmr-black) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
  box-sizing: border-box !important;
}

.tpmr-address-input:focus {
  border-color: var(--tpmr-gold) !important;
  box-shadow: 0 0 0 3px var(--tpmr-gold-glow) !important;
  background: var(--tpmr-white) !important;
}

/* Google Places Autocomplete Styling */
.pac-container {
  z-index: 999999 !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16) !important;
  border: 1.5px solid #e2e8f0 !important;
  background-color: #ffffff !important;
  font-family: inherit !important;
  margin-top: 8px !important;
  padding: 6px 0 !important;
  box-sizing: border-box !important;
}

.pac-item {
  padding: 10px 16px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  border-top: 1px solid #f1f5f9 !important;
  display: flex !important;
  align-items: center !important;
  color: #1e293b !important;
}

.pac-item:first-child {
  border-top: none !important;
}

.pac-item:hover, .pac-item-selected {
  background-color: #F8F6EB !important;
}

.pac-icon {
  margin-top: 0 !important;
  margin-right: 12px !important;
  flex-shrink: 0 !important;
}

.pac-item-query {
  font-size: 14px !important;
  color: #1e293b !important;
  font-weight: 600 !important;
  padding-right: 4px !important;
}

.tpmr-autocomplete-list {
  position: absolute !important;
  top: calc(100% + 18px) !important;
  left: -58px !important;
  right: -42px !important;
  background: #ffffff !important;
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 14px !important;
  max-height: 280px !important;
  overflow-y: auto !important;
  z-index: 999999 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
  display: none;
  padding: 6px 0 !important;
}

.tpmr-autocomplete-list.show {
  display: block !important;
}
.tpmr-address-input-wrapper > .tpmr-autocomplete-list {
  left: 0 !important;
  right: 0 !important;
}
.tpmr-address-verification-message {
  display: block;
  margin: 8px 0 2px;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.tpmr-autocomplete-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.tpmr-autocomplete-item:hover {
  background: #F8F6EB;
}

.tpmr-autocomplete-item:last-child {
  border-bottom: none;
}

.tpmr-autocomplete-pin {
  color: #c9963a;
  margin-top: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tpmr-autocomplete-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.tpmr-autocomplete-primary {
  font-size: 14px;
  font-weight: 600;
  color: var(--tpmr-black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.tpmr-autocomplete-secondary {
  font-size: 12px;
  font-weight: 400;
  color: var(--tpmr-gray-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PHONE INPUT WITH PREFIX
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-phone-wrapper {
  display: flex;
  gap: 0;
  border: 1px solid var(--tpmr-gray-border);
  border-radius: var(--tpmr-radius-input);
  overflow: hidden;
}

.tpmr-phone-prefix {
  background: var(--tpmr-gray-bg);
  padding: 12px 14px;
  font-weight: 600;
  color: var(--tpmr-gray-text);
  white-space: nowrap;
  border-right: 1px solid var(--tpmr-gray-border);
}

.tpmr-phone-input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 14px;
  font-family: 'Courier New', monospace;
  letter-spacing: 1px;
}

.tpmr-phone-input:focus {
  outline: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   INVOICE CARD (STEP 4)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-step-4-wrapper {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 24px;
}

.tpmr-invoice-dark {
  background: var(--tpmr-black);
  border-radius: var(--tpmr-radius-card);
  padding: 24px;
  color: var(--tpmr-white);
}

.tpmr-invoice-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tpmr-invoice-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
}

.tpmr-invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tpmr-invoice-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tpmr-invoice-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6);
}

.tpmr-invoice-value {
  font-size: 13px;
  font-weight: 500;
}

.tpmr-price-breakdown {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tpmr-breakdown-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  gap: 12px;
}

.tpmr-breakdown-line.total {
  font-weight: 700;
  font-size: 20px;
  color: var(--tpmr-gold-light);
  margin-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.tpmr-breakdown-label {
  flex: 1;
  text-align: left;
}

.tpmr-breakdown-amount {
  text-align: right;
  white-space: nowrap;
  font-family: 'Courier New', monospace;
}

.tpmr-security-note {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Summary card (right column) */

.tpmr-summary-card {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  border-radius: var(--tpmr-radius-card);
  padding: 20px;
}

.tpmr-summary-card h3 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--tpmr-gray-text);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tpmr-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--tpmr-gray-border);
}

.tpmr-summary-row:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.tpmr-summary-label {
  color: var(--tpmr-gray-text);
  font-weight: 500;
}

.tpmr-summary-value {
  font-weight: 600;
  color: var(--tpmr-black);
}

.tpmr-booking-ref-box {
  background: #F8F6EB;
  border: 2px solid var(--tpmr-gold);
  border-radius: var(--tpmr-radius-input);
  padding: 12px 14px;
  text-align: center;
  margin: 16px 0;
}

.tpmr-booking-ref-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tpmr-gray-text);
  display: block;
  margin-bottom: 4px;
}

.tpmr-booking-ref-code {
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gold);
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BUTTONS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-btn-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 16px;
}

.tpmr-btn,
.tpmr-btn-link {
  padding: 14px 28px;
  border-radius: var(--tpmr-radius-btn);
  border: none;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
}

.tpmr-btn-primary {
  background: #c9963a !important;
  color: #ffffff !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 14px 34px !important;
  box-shadow: 0 4px 14px rgba(201, 150, 58, 0.35) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-shadow: none !important;
  border: none !important;
  outline: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}

.tpmr-btn-primary:hover:not(:disabled) {
  background: #b4832e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(201, 150, 58, 0.45) !important;
}

.tpmr-btn-primary:disabled {
  background: #e2e8f0 !important;
  color: #94a3b8 !important;
  border: none !important;
  outline: none !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
  opacity: 0.7 !important;
}

.tpmr-btn-secondary {
  background: #ffffff !important;
  color: #475569 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 13px 28px !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}

.tpmr-btn-secondary:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
  color: #1e293b !important;
  transform: translateY(-1px) !important;
}

.tpmr-btn-link {
  background: transparent;
  color: var(--tpmr-gray-text);
  border: none;
  padding: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.tpmr-btn-link:hover {
  color: var(--tpmr-gold);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   LOADING & OVERLAY
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2147483000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: progress;
  touch-action: none;
  overscroll-behavior: contain;
  transition: opacity 0.28s ease, visibility 0s linear 0.28s;
}

@supports not ((backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px))) {
  .tpmr-overlay { background: rgba(15, 23, 42, 0.72); }
}

.tpmr-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s linear 0s;
}

html.tpmr-overlay-open,
html.tpmr-overlay-open body {
  overflow: hidden !important;
}

.tpmr-spinner-box {
  background: var(--tpmr-white, #ffffff);
  border-radius: var(--tpmr-radius-card, 20px);
  padding: 36px 44px;
  min-width: 260px;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28), 0 4px 14px rgba(15, 23, 42, 0.12);
  outline: none;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tpmr-overlay.show .tpmr-spinner-box {
  opacity: 1;
  transform: none;
}

.tpmr-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--tpmr-gray-border, #d3c4b1);
  border-top-color: var(--tpmr-gold, #c9963a);
  border-radius: 50%;
  animation: tpmr-spin 0.9s linear infinite;
}

@keyframes tpmr-spin {
  to {
    transform: rotate(360deg);
  }
}

.tpmr-overlay-text {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--tpmr-gray-text, #817565);
}

@media (prefers-reduced-motion: reduce) {
  .tpmr-overlay,
  .tpmr-overlay.show,
  .tpmr-spinner-box { transition: none; }
  .tpmr-spinner { animation-duration: 2.4s; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ERROR MESSAGE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-error-box {
  background: #FEE;
  border: 1px solid #fcc;
  border-radius: var(--tpmr-radius-input);
  padding: 14px;
  color: #d32f2f;
  font-size: 13px;
  margin-bottom: 16px;
  display: none;
}

.tpmr-error-box.show {
  display: block;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   RESPONSIVE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 768px) {
  .tpmr-card {
    padding: 24px;
  }

  .tpmr-step-title {
    font-size: 24px;
  }

  .tpmr-card-grid {
    grid-template-columns: 1fr;
  }

  .tpmr-form-row {
    grid-template-columns: 1fr;
  }

  .tpmr-step-4-wrapper {
    grid-template-columns: 1fr;
  }

  .tpmr-progress {
    padding: 0 12px;
  }

  .tpmr-progress::before {
    left: 12px;
    right: 12px;
  }

  .tpmr-progress-label {
    font-size: 10px;
  }

  .tpmr-pill-group {
    flex-direction: column;
  }

  .tpmr-pill {
    width: 100%;
    text-align: center;
  }

  .tpmr-btn-primary {
    width: 100%;
    margin-left: 0;
  }

  .tpmr-btn-group {
    flex-direction: column-reverse;
  }

  .tpmr-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tpmr-card {
    padding: 16px;
    border-radius: 12px;
  }

  .tpmr-step-title {
    font-size: 18px;
  }

  .tpmr-step-subtitle {
    font-size: 12px;
  }

  .tpmr-form-block {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .tpmr-progress-circle {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .tpmr-progress-label {
    font-size: 9px;
  }

  .tpmr-input,
  .tpmr-select,
  .tpmr-textarea,
  .iti__selected-dial-code {
    font-size: 16px !important;
  }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   ACCESSIBILITY
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tpmr-booking-wizard *:focus-visible {
  outline: 2px solid var(--tpmr-gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .tpmr-booking-wizard * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.iti { 
  width: 100%; 
  position: relative;
  display: block;
}

/* Remove black border/outline on the selected flag / +212 button */
.iti__selected-flag,
.iti__selected-country,
.iti__country-container,
.iti__selected-country-primary,
.iti button.iti__selected-country {
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 8px 0 12px !important;
}

.iti__selected-flag:hover,
.iti__selected-flag:focus,
.iti__selected-flag:active,
.iti__selected-country:hover,
.iti__selected-country:focus,
.iti__selected-country:active,
.iti__selected-country:focus-visible,
.iti button.iti__selected-country:focus,
.iti button.iti__selected-country:focus-visible {
  background-color: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.iti__flag-container {
  border-radius: 8px 0 0 8px;
  border: none !important;
  outline: none !important;
}

.iti__selected-dial-code {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--tpmr-black) !important;
  margin-left: 6px !important;
}

/* Match the font size and styling of the dropdown country list to the rest of the form */
.iti__country-list,
.iti__dropdown-content {
  font-size: 13px !important;
  font-family: inherit !important;
  border-radius: 10px !important;
  border: 1px solid var(--tpmr-gray-border) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  max-height: 220px !important;
  background: #ffffff !important;
  z-index: 9999 !important;
  margin-top: 4px !important;
}

.iti__country {
  padding: 8px 12px !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  color: var(--tpmr-black) !important;
  font-family: inherit !important;
  transition: background-color 0.15s ease !important;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background-color: var(--tpmr-bg-hover, #F8F6EB) !important;
}

.iti__country-name {
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--tpmr-black) !important;
  margin-right: 6px !important;
}

.iti__dial-code {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--tpmr-gray-text, #78716c) !important;
}

.iti__search-input {
  font-size: 13px !important;
  font-family: inherit !important;
  padding: 8px 12px !important;
  border: 1px solid var(--tpmr-gray-border) !important;
  border-radius: 6px !important;
  margin: 6px !important;
  width: calc(100% - 12px) !important;
  box-sizing: border-box !important;
}

/* Mobile country-prefix picker: keep the dropdown above Elementor and allow
   touch scrolling when intl-tel-input renders it under <body>. */
@media (max-width: 767px) {
  body > .iti.iti--container {
    z-index: 1000000 !important;
  }
  body > .iti.iti--container .iti__dropdown-content {
    max-height: 82vh !important;
  }
  body > .iti.iti--container .iti__country-list {
    max-height: calc(82vh - 58px) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
  }
  body > .iti.iti--container .iti__search-input {
    min-height: 44px !important;
    font-size: 16px !important;
  }
}


/* Booking Review Step 4 Redesign */
.tpmr-step-4-wrapper {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .tpmr-step-4-wrapper {
    flex-direction: column;
  }
  .tpmr-summary-card {
    width: 100% !important;
  }
}

.tpmr-main-review {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tpmr-review-section-card {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  border-radius: var(--tpmr-radius-card);
  overflow: hidden;
}

.tpmr-review-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--tpmr-gray-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcfcfc;
}

.tpmr-review-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}

.tpmr-edit-link {
  background: none;
  border: none;
  color: var(--tpmr-gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.tpmr-edit-link:hover {
  color: var(--tpmr-gold-dark);
}

.tpmr-review-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tpmr-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.tpmr-review-label {
  color: var(--tpmr-gray-text);
}

.tpmr-review-val {
  font-weight: 500;
  color: var(--tpmr-gray-dark);
  text-align: right;
  max-width: 60%;
  word-wrap: break-word;
}

.tpmr-payment-method-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--tpmr-gray-border);
  border-radius: 8px;
  background-color: var(--tpmr-light-bg);
}

.tpmr-payment-radio {
  accent-color: var(--tpmr-gold);
  width: 18px;
  height: 18px;
}

.tpmr-payment-text {
  display: flex;
  flex-direction: column;
}

.tpmr-payment-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--tpmr-gray-dark);
}

.tpmr-payment-subtitle {
  font-size: 12px;
  color: var(--tpmr-gray-text);
}

.tpmr-sidebar-title {
  margin: 0 0 16px 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}

.tpmr-mt-24 {
  margin-top: 24px;
}
/* Redesigned Step 4 CSS */
.tpmr-review-card-modern {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  padding: 24px;
}
.tpmr-review-icon-col {
  width: 48px;
  flex-shrink: 0;
}
.tpmr-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fcf4e3;
  color: var(--tpmr-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tpmr-review-content-col {
  flex: 1;
}
.tpmr-review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border: none;
  background: transparent;
  padding: 0;
}
.tpmr-review-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}
.tpmr-edit-link {
  background: transparent;
  border: 1px solid var(--tpmr-gold);
  border-radius: 16px;
  color: var(--tpmr-gold);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.tpmr-edit-link:hover {
  background: var(--tpmr-gold);
  color: var(--tpmr-white);
}
.tpmr-review-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tpmr-review-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tpmr-grid-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tpmr-grid-label {
  font-size: 12px;
  color: var(--tpmr-gray-text);
}
.tpmr-grid-value {
  font-size: 13px;
  font-weight: 500;
  color: var(--tpmr-gray-dark);
}

.tpmr-payment-card {
  padding: 16px 24px;
}
.tpmr-payment-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.tpmr-payment-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}
.tpmr-secure-note {
  font-size: 12px;
  color: var(--tpmr-gray-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tpmr-payment-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--tpmr-gray-border);
  border-radius: 8px;
  background-color: var(--tpmr-white);
}
.tpmr-pay-left {
  display: flex;
  align-items: center;
}
.tpmr-payment-radio {
  accent-color: var(--tpmr-gold);
  width: 18px;
  height: 18px;
}
.tpmr-pay-text {
  display: flex;
  flex-direction: column;
}
.tpmr-pay-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--tpmr-gray-dark);
}
.tpmr-pay-subtitle {
  font-size: 12px;
  color: var(--tpmr-gray-text);
}
.tpmr-pay-right {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--tpmr-gray-text);
}

.tpmr-step-4-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.tpmr-btn-prev-4 {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  color: var(--tpmr-gray-dark);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.tpmr-btn-confirm-pay {
  background: var(--tpmr-gold);
  color: var(--tpmr-white);
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.tpmr-terms-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: var(--tpmr-gray-text);
}
.tpmr-terms-footer a {
  color: var(--tpmr-gold);
  text-decoration: none;
}

/* Sidebar */
.tpmr-summary-sidebar {
  background: var(--tpmr-white);
  border: 1px solid var(--tpmr-gray-border);
  border-radius: 12px;
  padding: 24px;
  width: 340px;
  flex-shrink: 0;
}
.tpmr-summary-sidebar h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}
.tpmr-sidebar-subtitle {
  margin: 0 0 24px;
  font-size: 13px;
  color: var(--tpmr-gray-text);
}
.tpmr-summary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tpmr-summary-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--tpmr-light-bg);
}
.tpmr-sum-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--tpmr-gray-dark);
  font-weight: 500;
}
.tpmr-sum-item-left svg {
  color: var(--tpmr-gray-text);
}
.tpmr-sum-item-right {
  font-size: 13px;
  color: var(--tpmr-gray-text);
  max-width: 50%;
  text-align: right;
  word-wrap: break-word;
}
.tpmr-sidebar-divider {
  border: none;
  border-top: 1px dashed var(--tpmr-gray-border);
  margin: 24px 0;
}
.tpmr-sidebar-total-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}
.tpmr-waiting-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--tpmr-gold);
  line-height: 1.3;
}
.tpmr-secure-box {
  background: #fcf4e3;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--tpmr-gray-dark);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .tpmr-review-grid-4, .tpmr-review-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .tpmr-review-card-modern {
    flex-direction: column;
  }
  .tpmr-review-icon-col {
    display: none;
  }
  .tpmr-review-grid-4, .tpmr-review-grid-3 {
    grid-template-columns: 1fr;
  }
}
/* Minimalist Flat Review Layout */
.tpmr-review-section-flat {
  margin-bottom: 24px;
}
.tpmr-review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.tpmr-review-section-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--tpmr-gray-dark);
}
.tpmr-edit-text-link {
  background: transparent;
  border: none;
  color: var(--tpmr-gold);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
}
.tpmr-edit-text-link:hover {
  color: var(--tpmr-gold-dark);
}
.tpmr-review-flat-grid {
  display: flex;
  flex-wrap: wrap;
  row-gap: 16px;
}
.tpmr-review-flat-grid .tpmr-flat-item {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tpmr-flat-label {
  font-size: 13px;
  color: var(--tpmr-gray-text);
}
.tpmr-flat-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--tpmr-gray-dark);
}
.tpmr-divider {
  border: none;
  border-top: 1px solid var(--tpmr-light-bg);
  margin: 24px 0;
}
.tpmr-payment-flat {
  background: var(--tpmr-white);
}
@media (max-width: 600px) {
  .tpmr-main-review {
    padding-right: 0 !important;
  }
  .tpmr-review-flat-grid .tpmr-flat-item {
    width: 100%;
  }
}
/* 2x2 Review Cards Layout */
.tpmr-review-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.tpmr-review-card-modern {
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.tpmr-review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.tpmr-review-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tpmr-review-card-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111;
}
.tpmr-icon-wrap {
  font-size: 16px;
}
.tpmr-review-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.tpmr-card-field {
  display: flex;
  flex-direction: column;
}
.tpmr-card-label {
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}
.tpmr-card-value {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  word-break: break-word;
}
.tpmr-edit-link {
  font-size: 13px !important;
  color: var(--tpmr-gold) !important;
  text-decoration: underline;
}
.tpmr-payment-hero {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.tpmr-payment-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.tpmr-payment-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tpmr-payment-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.tpmr-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
@media (max-width: 768px) {
  .tpmr-review-grid-cards {
    grid-template-columns: 1fr;
  }
}
/* Visual Polish Updates */
.tpmr-review-card-modern {
  padding: 16px 20px;
}
.tpmr-review-card-header {
  border-bottom: 1px solid #f4f6f8;
  padding-bottom: 12px;
  margin-bottom: 12px;
}
.tpmr-review-card-title h3 {
  font-size: 18px;
}
.tpmr-review-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tpmr-card-field {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed #f4f6f8;
  padding-bottom: 6px;
}
.tpmr-card-field:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.tpmr-card-label {
  font-size: 13px;
  color: #6b7280;
  margin: 0;
}
.tpmr-card-value {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
  text-align: right;
  max-width: 60%;
}
.tpmr-edit-btn-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--tpmr-gold);
  background: rgba(199, 168, 119, 0.1);
  border: none;
  border-radius: 20px;
  padding: 4px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}
.tpmr-edit-btn-pill:hover {
  background: var(--tpmr-gold);
  color: #fff;
}
.tpmr-payment-hero {
  padding: 32px;
}
.tpmr-payment-features {
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 20px;
}
.tpmr-payment-features hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0;
}
/* Further Visual Polish & Truncation */
.tpmr-review-card-modern {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.tpmr-review-card-body {
  flex-grow: 1;
}
.tpmr-card-value {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  max-width: 65%;
  line-height: 1.4;
}
.tpmr-summary-total-val #sum-total {
  font-size: 14px !important;
  color: var(--tpmr-gray-text) !important;
  font-weight: 500;
  text-align: right;
}
.tpmr-sum-item-right {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}
/* Premium Detailed Review Blocks */
.tpmr-premium-review-block {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 24px 32px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.tpmr-review-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.tpmr-edit-btn-dark {
  color: var(--tpmr-gold) !important;
  background: transparent !important;
  border: 1px solid var(--tpmr-gold) !important;
}
.tpmr-edit-btn-dark:hover {
  background: rgba(199, 168, 119, 0.1) !important;
}
.tpmr-review-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tpmr-review-section-title {
  color: #a0a0a0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 8px 0;
  font-weight: 600;
}
.tpmr-section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.tpmr-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tpmr-dark-block .tpmr-review-label {
  color: #a0a0a0;
  font-size: 14px;
}
.tpmr-dark-block .tpmr-review-value {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
}
.tpmr-review-divider-dark {
  border: none;
  border-top: 1px solid #333;
  margin: 24px 0;
}
.tpmr-white-review-block {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 24px 32px;
  border: 1px solid #eaeaea;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.tpmr-val-dark {
  color: #111;
  font-weight: 600;
  font-size: 15px;
}

/* Custom Material Symbol Radio Buttons */
.tpmr-custom-radio input[type="radio"] {
  display: none;
}
.tpmr-custom-radio .tpmr-radio-checked {
  display: none;
  color: var(--tpmr-gold);
}
.tpmr-custom-radio .tpmr-radio-unchecked {
  display: inline-block;
  color: var(--tpmr-gray-text);
}
.tpmr-custom-radio input[type="radio"]:checked ~ .tpmr-radio-unchecked {
  display: none;
}
.tpmr-custom-radio input[type="radio"]:checked ~ .tpmr-radio-checked {
  display: inline-block;
}

/* Step 4 Grid Responsive Layout */
@media (max-width: 768px) {
  .tpmr-step-4-grid {
    grid-template-columns: 1fr !important;
  }
}
/* TPMR Custom Toast Notifications */
.tpmr-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.tpmr-toast {
  background: var(--tpmr-white);
  color: var(--tpmr-black);
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  font-family: var(--tpmr-font-body);
  font-size: 15px;
  font-weight: 500;
  border-left: 4px solid var(--tpmr-gold);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
  pointer-events: auto;
}
.tpmr-toast.tpmr-toast-show {
  transform: translateX(0);
  opacity: 1;
}
.tpmr-toast-error {
  border-left-color: #ef4444; /* Red border for errors */
}
.tpmr-toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tpmr-toast-error .tpmr-toast-icon {
  color: #ef4444;
}
.tpmr-toast-success .tpmr-toast-icon {
  color: var(--tpmr-success);
  border-left-color: var(--tpmr-success);
}
.tpmr-toast-message {
  flex: 1;
  line-height: 1.4;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CART & MULTI-BOOKING SYSTEM
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Floating Mini-Cart Button */
.tpmr-floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--tpmr-gold, #c9963a);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(201, 150, 58, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 99999;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  cursor: pointer;
}

.tpmr-floating-cart-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 36px rgba(201, 150, 58, 0.5);
  color: #ffffff;
}

.tpmr-cart-icon-symbol {
  font-size: 28px;
}

.tpmr-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  padding: 0 4px;
}

/* Post Add-to-Cart Modal */
.tpmr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  padding: 20px;
  animation: tpmrFadeIn 0.3s ease;
}

.tpmr-modal-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  animation: tpmrModalScale 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tpmr-modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--tpmr-gold, #c9963a);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.tpmr-modal-icon span {
  font-size: 36px;
  font-weight: 700;
}

.tpmr-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--tpmr-black, #1a1a1a);
  margin: 0 0 10px;
}

.tpmr-modal-subtitle {
  font-size: 14px;
  color: var(--tpmr-gray-text, #78716c);
  line-height: 1.5;
  margin: 0 0 28px;
}

.tpmr-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tpmr-modal-btn-primary {
  background: var(--tpmr-gold, #c9963a);
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(201, 150, 58, 0.3);
  transition: all 0.2s ease;
}

.tpmr-modal-btn-primary:hover {
  background: #b5832d;
  color: #ffffff;
  transform: translateY(-1px);
}

.tpmr-modal-btn-secondary {
  background: #f4efe6;
  color: var(--tpmr-black, #1a1a1a);
  border: 1px solid #e7decb;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tpmr-modal-btn-secondary:hover {
  background: #eae2d1;
}

@keyframes tpmrFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes tpmrModalScale {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CART PAGE LAYOUT ([tpmr_cart])
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Twenty Twenty-Five / FSE Block Theme Overrides */
body:has(#tpmr-cart-app) .wp-block-post-title,
body:has(#tpmr-cart-app) h1.wp-block-post-title,
body:has(#tpmr-cart-app) .entry-header,
body:has(#tpmr-cart-app) .entry-title,
.page-cart .wp-block-post-title,
.page-cart .entry-header,
.page-cart .entry-title,
.page-id-18 .wp-block-post-title,
.page-id-18 .entry-title,
.page-id-18 .entry-header {
  display: none !important;
}

/* Break out of Twenty Twenty-Five narrow 650px content constraint */
body:has(#tpmr-cart-app) .wp-block-post-content,
body:has(#tpmr-cart-app) .entry-content,
body:has(#tpmr-cart-app) .wp-site-blocks,
body:has(#tpmr-cart-app) main,
body:has(#tpmr-cart-app) .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.page-cart .wp-block-post-content,
.page-cart .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.page-id-18 .wp-block-post-content,
.page-id-18 .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 1160px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.tpmr-cart-container {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 130px 20px 0;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--tpmr-font-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .tpmr-cart-container {
    padding-top: 100px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Hero Header */
.tpmr-cart-hero-header {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 32px;
  margin-bottom: 32px;
  border: 1px solid var(--tpmr-gray-border, #e5e5e5);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.tpmr-cart-hero-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tpmr-cart-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8F6EB;
  color: var(--tpmr-gold, #c9963a);
  border: 1px solid #faeacc;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  width: fit-content;
  margin-bottom: 4px;
}

.tpmr-cart-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--tpmr-black, #1a1a1a);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tpmr-cart-subtitle {
  font-size: 15px;
  color: var(--tpmr-gray-text, #78716c);
  margin: 0;
}

.tpmr-cart-add-trip-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--tpmr-gold, #c9963a) !important;
  border: 1.5px solid var(--tpmr-gold, #c9963a) !important;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  text-decoration-line: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(201, 150, 58, 0.08);
}

.tpmr-cart-add-trip-btn span {
  text-decoration: none !important;
}

.tpmr-cart-add-trip-btn:hover,
.tpmr-cart-add-trip-btn:focus {
  background: var(--tpmr-gold, #c9963a) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 150, 58, 0.25);
  text-decoration: none !important;
}

.tpmr-cart-container a {
  text-decoration: none !important;
}

/* Loading & Empty */
.tpmr-cart-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: var(--tpmr-gray-text, #78716c);
  gap: 16px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--tpmr-gray-border, #e5e5e5);
}

.tpmr-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: #ffffff;
  border-radius: 20px;
  border: 1.5px dashed #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tpmr-cart-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #F8F6EB;
  color: var(--tpmr-gold, #c9963a);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.tpmr-cart-empty-icon span {
  font-size: 40px;
}

.tpmr-cart-empty h2 {
  font-size: 24px;
  color: var(--tpmr-black, #1a1a1a);
  margin: 0 0 8px;
  font-weight: 700;
}

.tpmr-cart-empty p {
  font-size: 15px;
  color: var(--tpmr-gray-text, #78716c);
  margin: 0 0 24px;
}

/* Grid Layout */
.tpmr-cart-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

@media (max-width: 980px) {
  .tpmr-cart-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.tpmr-cart-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tpmr-cart-items-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  padding: 0 4px;
}

.tpmr-cart-items-header h2 {
  font-size: 19px;
  font-weight: 800;
  color: var(--tpmr-black, #1a1a1a);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tpmr-cart-add-another-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--tpmr-gold, #c9963a) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  text-decoration-line: none !important;
  background: #F8F6EB;
  border: 1px solid #faeacc;
  border-radius: 50px;
  padding: 7px 16px;
  transition: all 0.2s ease;
}

.tpmr-cart-add-another-btn span {
  text-decoration: none !important;
}

.tpmr-cart-add-another-btn:hover,
.tpmr-cart-add-another-btn:focus {
  background: #faeacc;
  color: #b5832d !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.tpmr-cart-clear-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 50px;
  padding: 7px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none !important;
}

.tpmr-cart-clear-all-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.tpmr-cart-toggle-all-btn,
.tpmr-cart-toggle-all-btn:focus,
.tpmr-cart-toggle-all-btn:active,
.tpmr-cart-toggle-all-btn:visited {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #52525b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: #f4f4f5 !important;
  background-color: #f4f4f5 !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 50px !important;
  padding: 7px 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.tpmr-cart-toggle-all-btn:hover {
  background: #e4e4e7 !important;
  background-color: #e4e4e7 !important;
  color: #18181b !important;
  border-color: #d4d4d8 !important;
  transform: translateY(-1px) !important;
}

.tpmr-cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Item Card */
.tpmr-cart-item-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px;
  border: 1.5px solid #eae5db;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: all 0.25s ease;
}

.tpmr-cart-item-card.collapsed {
  padding: 16px 20px;
  gap: 0;
}

.tpmr-cart-item-card.collapsed .tpmr-cart-item-body {
  display: none;
}

.tpmr-cart-item-card .tpmr-cart-summary-preview {
  display: none;
  font-size: 13px;
  font-weight: 600;
  color: #27272a;
  margin-left: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 240px;
}

.tpmr-cart-item-card.collapsed .tpmr-cart-summary-preview {
  display: inline-block;
}

.tpmr-cart-item-card .tpmr-cart-preview-price {
  display: none;
  font-size: 15px;
  font-weight: 800;
  color: var(--tpmr-gold, #c9963a);
  margin-right: 6px;
}

.tpmr-cart-item-card.collapsed .tpmr-cart-preview-price {
  display: inline-block;
}

.tpmr-cart-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tpmr-cart-toggle-card-btn,
.tpmr-cart-toggle-card-btn:focus,
.tpmr-cart-toggle-card-btn:active,
.tpmr-cart-toggle-card-btn:visited,
.tpmr-cart-toggle-card-btn:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid #e4e4e7 !important;
  border-radius: 50% !important;
  width: 28px !important;
  height: 28px !important;
  text-align: center !important;
  cursor: pointer !important;
  color: #71717a !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  min-width: 28px !important;
  max-width: 28px !important;
}

.tpmr-cart-toggle-card-btn:hover {
  background: #f4f4f5 !important;
  background-color: #f4f4f5 !important;
  color: #18181b !important;
  border-color: #d4d4d8 !important;
}

.tpmr-cart-toggle-card-btn span {
  color: inherit !important;
}

.tpmr-cart-item-card.collapsed .tpmr-chevron-icon {
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.tpmr-cart-item-card:not(.collapsed) .tpmr-chevron-icon {
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}

.tpmr-cart-item-card:hover {
  border-color: var(--tpmr-gold, #c9963a);
  box-shadow: 0 8px 28px rgba(201, 150, 58, 0.08);
}

.tpmr-cart-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.tpmr-cart-item-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tpmr-cart-trip-tag {
  background: #18181b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tpmr-cart-format-tag {
  background: #F8F6EB;
  color: var(--tpmr-gold, #c9963a);
  border: 1px solid #faeacc;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}

.tpmr-cart-service-tag {
  background: #f4f4f5;
  color: #52525b;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  text-transform: uppercase;
}

.tpmr-cart-pending-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border: 1px solid #e7d6ae;
  border-radius: 999px;
  background: #fffaf0;
  color: #75541b;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.tpmr-cart-item-remove-btn,
.tpmr-cart-item-remove-btn:focus,
.tpmr-cart-item-remove-btn:active,
.tpmr-cart-item-remove-btn:visited,
.tpmr-cart-item-remove-btn:focus-visible {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #ef4444 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
}

.tpmr-cart-item-remove-btn:hover {
  background: #fee2e2 !important;
  background-color: #fee2e2 !important;
  color: #dc2626 !important;
}

.tpmr-cart-item-remove-btn span {
  font-size: 17px;
}

.tpmr-cart-route-box {
  background: #faf8f5;
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #f0eae1;
  position: relative;
}

.tpmr-cart-route-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tpmr-dot-pickup {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #16a34a;
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
}

.tpmr-dot-dropoff {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--tpmr-gold, #c9963a);
  margin-top: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15);
}

.tpmr-cart-addr {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tpmr-cart-addr-label {
  font-size: 10px;
  font-weight: 800;
  color: #a1a1aa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tpmr-cart-addr-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--tpmr-black, #18181b);
  line-height: 1.4;
}

.tpmr-cart-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  font-size: 12.5px;
  color: var(--tpmr-gray-text, #71717a);
  padding: 4px 2px;
}

.tpmr-cart-meta-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

.tpmr-cart-meta-item span.material-symbols-outlined {
  font-size: 17px;
  color: var(--tpmr-gold, #c9963a);
}

.tpmr-cart-item-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f4f4f5;
}

.tpmr-cart-ref-text {
  font-size: 11px;
  color: #a1a1aa;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.tpmr-cart-item-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--tpmr-gold, #c9963a);
}

/* Cart Summary Card */
.tpmr-cart-summary-card {
  background: #18181b;
  color: #ffffff;
  border-radius: 20px;
  padding: 30px 26px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  border: 1px solid #27272a;
}

.tpmr-cart-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #27272a;
}

.tpmr-cart-summary-header h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #ffffff;
  white-space: nowrap;
}

.tpmr-certified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--tpmr-gold, #c9963a);
  background: rgba(201, 150, 58, 0.1);
  color: var(--tpmr-gold, #c9963a);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.tpmr-cart-summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13.5px;
  color: #a1a1aa;
  max-height: 240px;
  overflow-y: auto;
  padding-right: 6px;
}

.tpmr-cart-summary-breakdown::-webkit-scrollbar {
  width: 4px;
}

.tpmr-cart-summary-breakdown::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.tpmr-cart-summary-breakdown::-webkit-scrollbar-thumb {
  background: var(--tpmr-gold, #c9963a);
  border-radius: 4px;
}

.tpmr-cart-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.tpmr-cart-summary-divider {
  border-top: 1px solid #27272a;
  margin: 2px 0;
}

.tpmr-cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.tpmr-cart-grand-total {
  font-size: 28px;
  color: var(--tpmr-gold, #c9963a);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.tpmr-cart-security-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #27272a;
  border-radius: 10px;
  padding: 12px 14px;
  color: #a1a1aa;
  font-size: 11.5px;
  line-height: 1.4;
  border: 1px solid #3f3f46;
}

.tpmr-cart-security-badge span.material-symbols-outlined {
  font-size: 18px;
  color: var(--tpmr-gold, #c9963a);
  flex-shrink: 0;
}

.tpmr-btn-checkout {
  background: linear-gradient(135deg, #c9963a, #b5832d);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  box-shadow: 0 8px 24px rgba(201, 150, 58, 0.35);
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
}

.tpmr-btn-checkout:hover {
  background: linear-gradient(135deg, #d3a34e, #c9963a);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 150, 58, 0.45);
}

.tpmr-cart-terms-note {
  text-align: center;
  font-size: 11.5px;
  color: #71717a;
  margin: 0;
  line-height: 1.4;
}

/* Match required checkout consent to the TPMR gold brand color. */
.tpmr-cart-terms-note input[type="checkbox"] {
  accent-color: var(--tpmr-gold, #c9963a);
  width: 16px;
  height: 16px;
  vertical-align: middle;
  cursor: pointer;
}

.tpmr-cart-terms-note input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--tpmr-gold, #c9963a);
  outline-offset: 2px;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   BOOKING CONFIRMATION SCREEN
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tpmr-cart-confirmation {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.tpmr-conf-header-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--tpmr-gray-border, #e5e5e5);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tpmr-conf-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.tpmr-conf-icon-circle span {
  font-size: 44px;
}

.tpmr-conf-badge-paid {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tpmr-conf-header-box h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--tpmr-black, #1a1a1a);
  margin: 0;
}

.tpmr-conf-sub {
  font-size: 15px;
  color: var(--tpmr-gray-text, #78716c);
  max-width: 580px;
  margin: 0;
  line-height: 1.5;
}

.tpmr-conf-order-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.tpmr-conf-meta-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tpmr-conf-meta-pill .lbl {
  color: #64748b;
}

.tpmr-conf-trips-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tpmr-conf-footer-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid var(--tpmr-gray-border, #e5e5e5);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.tpmr-conf-email-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #15803d;
  font-size: 14px;
  background: #f0fdf4;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
}

.tpmr-conf-actions-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.tpmr-conf-secondary-action {
  opacity: .72;
  background: #f8fafc !important;
  color: #64748b !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: none !important;
}

.tpmr-conf-secondary-action:hover {
  opacity: 1;
  color: #334155 !important;
}

#tpmr-print-receipt-btn:disabled {
  cursor: not-allowed !important;
  opacity: .5;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CMI GATEWAY SIMULATOR MODAL
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tpmr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.tpmr-cmi-sim-card {
  background: #1e1e1e;
  color: #ffffff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: tpmrModalScale 0.25s ease-out;
}

.tpmr-cmi-sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 14px;
}

.tpmr-cmi-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tpmr-cmi-badge-tag {
  background: #f59e0b;
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.tpmr-cmi-brand {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.tpmr-cmi-close-btn {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.tpmr-cmi-close-btn:hover {
  color: #fff;
}

.tpmr-cmi-sim-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tpmr-cmi-sim-amount-box {
  background: #111;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 1px solid #2a2a2a;
}

.tpmr-cmi-sim-amount-box .lbl {
  font-size: 12px;
  color: #888;
}

.tpmr-cmi-sim-amount-box h3 {
  font-size: 28px;
  color: var(--tpmr-gold, #c9963a);
  margin: 4px 0;
  font-weight: 800;
}

.tpmr-cmi-sim-amount-box .ref {
  font-size: 11px;
  color: #aaa;
  font-family: monospace;
}

.tpmr-cmi-mock-card {
  background: linear-gradient(135deg, #2c3e50, #000000);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #444;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tpmr-cmi-card-chip {
  width: 36px;
  height: 26px;
  background: linear-gradient(135deg, #d4af37, #aa8010);
  border-radius: 4px;
}

.tpmr-cmi-card-number {
  font-size: 18px;
  letter-spacing: 2px;
  font-family: monospace;
  color: #fff;
}

.tpmr-cmi-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
}

.tpmr-cmi-sim-expl {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

.tpmr-cmi-sim-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tpmr-btn-cmi-approve {
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.tpmr-btn-cmi-approve:hover {
  background: #059669;
  transform: translateY(-1px);
}

.tpmr-btn-cmi-decline {
  background: transparent;
  color: #ef4444;
  border: 1px solid #ef4444;
  border-radius: 50px;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tpmr-btn-cmi-decline:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   CUSTOM LUXURY CONFIRMATION DIALOG
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.tpmr-confirm-dialog-card {
  background: #ffffff;
  color: #18181b;
  border-radius: 22px;
  max-width: 440px;
  width: 100%;
  padding: 34px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border: 1px solid #e4e4e7;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: tpmrModalScale 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tpmr-confirm-dialog-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fef2f2;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 4px solid #fee2e2;
}

.tpmr-confirm-dialog-icon span {
  font-size: 32px;
}

.tpmr-confirm-dialog-title {
  font-size: 20px;
  font-weight: 800;
  color: #18181b;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.tpmr-confirm-dialog-text {
  font-size: 14px;
  color: #71717a;
  line-height: 1.5;
  margin: 0 0 26px;
  max-width: 360px;
}

.tpmr-confirm-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.tpmr-btn-dialog-cancel {
  background: #f4f4f5;
  color: #52525b;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tpmr-btn-dialog-cancel:hover {
  background: #e4e4e7;
  color: #18181b;
}

.tpmr-btn-dialog-danger {
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
  transition: all 0.2s ease;
}

.tpmr-btn-dialog-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(239, 68, 68, 0.45);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   PRINT MEDIA STYLES (OFFICIAL VOUCHER / RECEIPT)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media print {
  @page { size: A4 portrait; margin: 10mm; }
  html, body { background: #fff !important; }
  body * { visibility: hidden; }
  .tpmr-cart-container { display: block !important; margin: 0 !important; padding: 0 !important; max-width: none !important; }
  .tpmr-cart-container * { visibility: hidden; }
  .tpmr-cart-confirmation, .tpmr-cart-confirmation * { visibility: visible; }
  .tpmr-cart-confirmation { display: flex !important; position: static; width: 100%; max-width: none !important; margin: 0 !important; padding: 0 !important; gap: 5mm; color: #111827 !important; background: #fff !important; }
  .tpmr-cart-confirmation > * { display: block !important; }
  .tpmr-print-voucher-header { display: block !important; text-align: center; border-bottom: 2px solid #b5832d; padding-bottom: 4mm; }
  .tpmr-print-brand { color: #8a641f; font: 800 20pt/1.1 Arial, sans-serif; letter-spacing: 2px; }
  .tpmr-print-title { margin-top: 2mm; font: 700 13pt/1.2 Arial, sans-serif; }
  .tpmr-print-subtitle { margin-top: 1mm; color: #64748b; font: 9pt/1.2 Arial, sans-serif; }
  .tpmr-conf-header-box { display: block !important; padding: 4mm 0 !important; border: 0 !important; border-bottom: 1px solid #cbd5e1 !important; border-radius: 0 !important; box-shadow: none !important; text-align: left !important; }
  .tpmr-conf-icon-circle, .tpmr-conf-badge-paid, .tpmr-conf-header-box h2, .tpmr-conf-sub, .tpmr-conf-email-note, .tpmr-conf-actions-row, .tpmr-conf-trips-section > h3 { display: none !important; }
  .tpmr-conf-order-meta { display: none !important; }
  .tpmr-print-payment-summary { display: grid !important; grid-template-columns: 1fr 1fr; gap: 4mm; }
  .tpmr-print-payment-summary div, .tpmr-print-total-box div { display: flex; justify-content: space-between; gap: 4mm; padding: 2mm 0; border-bottom: 1px solid #e5e7eb; font: 9pt/1.25 Arial, sans-serif; }
  .tpmr-print-payment-summary span, .tpmr-print-total-box span { color: #64748b; }
  .tpmr-print-payment-summary strong, .tpmr-print-total-box strong { color: #111827; text-align: right; }
  .tpmr-conf-trips-section, .tpmr-conf-trips-list { display: block !important; }
  .tpmr-cart-item-card { margin: 0 0 4mm !important; padding: 4mm !important; border: 1px solid #cbd5e1 !important; border-radius: 3mm !important; box-shadow: none !important; break-inside: avoid; page-break-inside: avoid; }
  .tpmr-cart-route-box { margin: 3mm 0 !important; padding: 0 !important; background: #f8fafc !important; border: 0 !important; }
  .tpmr-conf-footer-box { display: block !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
  .tpmr-print-total-box { display: block !important; margin-top: 1mm; border-top: 2px solid #111827; padding-top: 2mm; }
  .tpmr-print-total-line { border-bottom: 0 !important; margin-top: 1mm; font-size: 11pt !important; }
  .tpmr-print-total-line strong { color: #8a641f !important; }
}

/* Print-only voucher blocks stay out of the screen UI. */
@media screen {
  .tpmr-print-voucher-header, .tpmr-print-payment-summary, .tpmr-print-total-box { display: none; }
}

/* Receipt print correction: keep the root flow finite so browsers do not
   create a trailing blank sheet after the confirmation flex container. */
@media print {
  html, body { height: auto !important; min-height: 0 !important; margin: 0 !important; overflow: visible !important; }
  #tpmr-cart-app, .tpmr-cart-container { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  .tpmr-cart-confirmation { display: block !important; height: auto !important; min-height: 0 !important; overflow: visible !important; page-break-after: auto !important; break-after: auto !important; }
  .tpmr-cart-confirmation > * { width: 100% !important; max-width: none !important; page-break-after: auto !important; break-after: auto !important; }
  .tpmr-conf-trips-section, .tpmr-conf-footer-box { page-break-inside: auto !important; break-inside: auto !important; }
  .tpmr-print-voucher-header { page-break-before: avoid !important; break-before: avoid !important; }
  .tpmr-conf-actions-row, .tpmr-conf-email-note { display: none !important; }
}

/* Remove Google Maps marker focus outline */
.gm-style iframe + div { border: none !important; outline: none !important; }
.gm-style [tabindex] { outline: none !important; }

/* Fix for intl-tel-input padding overlap */
.iti .tpmr-input.iti__tel-input { padding-left: 100px !important; }
.iti--separate-dial-code .tpmr-input.iti__tel-input { padding-left: 100px !important; }

/* Fix for intl-tel-input padding overlap */
.iti .tpmr-input.iti__tel-input { padding-left: 100px !important; }
.iti--allow-dropdown .tpmr-input.iti__tel-input { padding-left: 100px !important; }
.iti--show-selected-dial-code .tpmr-input.iti__tel-input { padding-left: 100px !important; }

/* Force padding for phone input to prevent overlap */
.iti input#tpmr-phone-iti, .iti input[type="tel"] { padding-left: 105px !important; }

/* Prevent long unbroken text from overflowing */
.tpmr-textarea, #tpmr-rev-notes-box, #tpmr-rev-notes-text { word-break: break-word !important; overflow-wrap: break-word !important; white-space: pre-wrap !important; }


/* Fix textarea height that was locked to 50px */
textarea.tpmr-textarea { height: auto !important; min-height: 100px !important; }


/* Accent color for date/time native pickers */
.tpmr-booking-wizard input[type="date"], .tpmr-booking-wizard input[type="time"] { accent-color: var(--tpmr-gold, #c9963a) !important; }


/* Turn icons gold when input is focused */
.tpmr-input-with-icon:focus-within .tpmr-inner-icon { color: var(--tpmr-gold, #c9963a) !important; }


/* Premium Flatpickr Time UX Overhaul */
.flatpickr-calendar.noCalendar { border-radius: 12px !important; border: 1px solid var(--tpmr-gray-border, #e2e8f0) !important; box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important; padding: 12px 16px !important; background: #fff !important; width: auto !important; }
.flatpickr-calendar.noCalendar .flatpickr-time { border: none !important; height: auto !important; max-height: none !important; }
.flatpickr-time .numInputWrapper { width: 70px !important; border-radius: 8px !important; border: 1.5px solid transparent !important; transition: all 0.2s; background: #f8fafc !important; overflow: hidden; }
.flatpickr-time .numInputWrapper:hover { border-color: var(--tpmr-gold, #c9963a) !important; }
.flatpickr-time .numInputWrapper.focused { border-color: var(--tpmr-gold, #c9963a) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important; }
.flatpickr-time input { font-size: 18px !important; font-weight: 600 !important; color: #1e293b !important; padding: 10px 0 !important; height: auto !important; text-align: center !important; background: transparent !important; }
.flatpickr-time input:focus { color: var(--tpmr-gold, #c9963a) !important; }
.flatpickr-time .flatpickr-time-separator { color: #64748b !important; font-size: 20px !important; font-weight: 700 !important; align-self: center !important; padding: 0 8px !important; }
.flatpickr-time .numInputWrapper span.arrowUp, .flatpickr-time .numInputWrapper span.arrowDown { opacity: 1 !important; visibility: visible !important; display: block !important; border: none !important; border-left: 1px solid #e2e8f0 !important; background: #fff !important; transition: all 0.2s; }
.flatpickr-time .numInputWrapper span.arrowUp { border-bottom: 1px solid #e2e8f0 !important; }
.flatpickr-time .numInputWrapper span:hover { background: #fdf8ee !important; }
.flatpickr-time .numInputWrapper span:active { background: var(--tpmr-gold, #c9963a) !important; }
.flatpickr-time .numInputWrapper span.arrowUp:after { border-bottom-color: #64748b !important; }
.flatpickr-time .numInputWrapper span.arrowDown:after { border-top-color: #64748b !important; }
.flatpickr-time .numInputWrapper span:hover.arrowUp:after { border-bottom-color: var(--tpmr-gold, #c9963a) !important; }
.flatpickr-time .numInputWrapper span:hover.arrowDown:after { border-top-color: var(--tpmr-gold, #c9963a) !important; }
.flatpickr-time .numInputWrapper span:active.arrowUp:after { border-bottom-color: #fff !important; }
.flatpickr-time .numInputWrapper span:active.arrowDown:after { border-top-color: #fff !important; }
.flatpickr-time input::selection { background: rgba(201, 150, 58, 0.2) !important; color: var(--tpmr-gold, #c9963a) !important; }






/* Fix Tom Select double-box bug caused by display:block!important */
.ts-wrapper select, .ts-wrapper.tpmr-select select { display: none !important; opacity: 0 !important; visibility: hidden !important; }
/* Keep city selectors single-layered: Tom Select owns the visible control. */
#tpmr-city-select-wrapper select.tpmr-select,
#tpmr-city-select-wrapper select.tpmr-select.ts-hidden-accessible {
  display: none !important;
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}



/* Tom Select Restyled */
.ts-wrapper.tpmr-select { padding: 0 !important; border: none !important; background: transparent !important; box-shadow: none !important; }
.ts-wrapper.tpmr-select .ts-control { border: 1.5px solid var(--tpmr-gray-border, #e2e8f0) !important; border-radius: var(--tpmr-radius-input, 12px) !important; padding: 12px 16px !important; background: var(--tpmr-white, #ffffff) !important; box-shadow: none !important; font-size: 15px !important; font-weight: 500 !important; color: var(--tpmr-gray-text, #475569) !important; min-height: 50px !important; display: flex !important; align-items: center !important; }
.ts-wrapper.tpmr-select.focus .ts-control, .ts-wrapper.tpmr-select.dropdown-active .ts-control { border-color: var(--tpmr-gold, #c9963a) !important; box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important; border-radius: var(--tpmr-radius-input, 12px) !important; }
.ts-dropdown { border-radius: 12px !important; overflow: hidden !important; border: 1px solid var(--tpmr-gray-border, #e2e8f0) !important; box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important; margin-top: 8px !important; padding: 0 !important; }
.ts-dropdown .option { padding: 12px 16px !important; font-size: 15px !important; color: var(--tpmr-gray-text, #475569) !important; transition: all 0.2s; cursor: pointer; }
.ts-dropdown .active, .ts-dropdown .option:hover { background-color: #FDF8EE !important; color: var(--tpmr-gold, #c9963a) !important; font-weight: 600 !important; }


/* Fix Tom Select wrapper inheriting global focus styles */
.ts-wrapper.tpmr-select:focus, .ts-wrapper.tpmr-select.focus, .ts-wrapper.tpmr-select.dropdown-active { border: none !important; box-shadow: none !important; background: transparent !important; outline: none !important; }
/* Hide empty placeholder option from dropdown list */
.ts-dropdown .option[data-value=""] { display: none !important; }

/* Keep Urban and Airport city pickers on the same premium searchable control. */
#tpmr-city-select-wrapper .tpmr-hub-city-field { width: 100%; }
#tpmr-city-select-wrapper .tpmr-hub-city-select,
#tpmr-city-select-wrapper select.tpmr-select {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--tpmr-gray-border, #e2e8f0);
  border-radius: var(--tpmr-radius-input, 12px); background: #fff; color: var(--tpmr-gray-text, #475569);
  font-size: 15px; font-weight: 500; line-height: 1.4; font-family: inherit; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
#tpmr-city-select-wrapper select.tpmr-select:focus { outline: none; border-color: var(--tpmr-gold, #c9963a); box-shadow: 0 0 0 3px rgba(201,150,58,.15); }
#tpmr-city-select-wrapper .ts-wrapper.tpmr-select { width: 100%; }
#tpmr-city-select-wrapper .ts-wrapper.tpmr-select .ts-control { min-height: 50px; font-family: var(--tpmr-font-body, inherit); }
#tpmr-city-select-wrapper .ts-wrapper.tpmr-select .ts-control {
  box-sizing: border-box;
  min-height: 50px;
  align-items: center;
  padding: 0 16px;
}
#tpmr-city-select-wrapper .ts-wrapper.tpmr-select .ts-control > input {
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 24px;
  line-height: 1.4;
}
#tpmr-city-select-wrapper .ts-wrapper.tpmr-select .ts-control > input::placeholder {
  color: var(--tpmr-gray-text, #817565);
  opacity: 1;
}
#tpmr-city-select-wrapper .ts-wrapper.tpmr-hub-city-select.focus .ts-control,
#tpmr-city-select-wrapper .ts-wrapper.tpmr-hub-city-select.dropdown-active .ts-control { border-color: var(--tpmr-gold, #c9963a) !important; box-shadow: 0 0 0 3px rgba(201,150,58,.15) !important; }
#tpmr-city-select-wrapper .ts-dropdown { z-index: 10050; background: #fff; }
#tpmr-city-select-wrapper .ts-dropdown .option { padding: 12px 16px; font-family: var(--tpmr-font-body, inherit); }
#tpmr-city-select-wrapper .ts-dropdown .option.selected { background: #fbf6e9; color: #7c5b22; font-weight: 600; }
/* Remove both Tom Select placeholder implementations once typing or a value exists. */
#tpmr-city-select-wrapper .ts-wrapper.input-active .ts-placeholder,
#tpmr-city-select-wrapper .ts-wrapper.has-items .ts-placeholder {
  display: none !important;
  visibility: hidden !important;
}
#tpmr-city-select-wrapper .ts-wrapper.input-active .ts-control > input::placeholder,
#tpmr-city-select-wrapper .ts-wrapper.has-items .ts-control > input::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

/* A blank selected <option> must never sit beside the search input. */
.ts-wrapper.tpmr-select .ts-control > .item[data-value=""] { display: none !important; }


/* ==========================================================================
   PREMIUM FLATPICKR LUXURY OVERHAUL
   ========================================================================== */

/* Calendar Base */
.flatpickr-calendar {
    background: #ffffff !important;
    border: 1px solid var(--tpmr-gray-border, #e2e8f0) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important;
    border-radius: 12px !important;
    padding: 8px !important; margin-top: 8px !important; width: auto !important;
    font-family: var(--tpmr-font-body), sans-serif !important;
}

/* Header & Month Dropdown */
.flatpickr-months {
    margin-bottom: 12px !important;
}
.flatpickr-current-month {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #141414 !important;
    text-align: center !important;
    gap: 8px !important;
}
.flatpickr-monthDropdown-months {
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border: 1.5px solid transparent !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    color: #141414 !important;
    padding: 6px 24px 6px 12px !important;
    outline: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23141414' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
}
.flatpickr-monthDropdown-months:hover {
    background-color: #f8fafc !important;
}
.flatpickr-monthDropdown-months:focus {
    border-color: var(--tpmr-gold, #c9963a) !important;
    box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
    background-color: #ffffff !important;
}
.numInputWrapper {
    width: 65px !important;
}
.numInputWrapper input.cur-year {
    font-weight: 600 !important;
    color: #141414 !important;
    background: transparent !important;
    border: 1.5px solid transparent !important;
    border-radius: 8px !important;
    padding: 6px 8px !important;
    transition: all 0.2s !important;
}
.numInputWrapper input.cur-year:hover {
    background-color: #f8fafc !important;
}
.numInputWrapper input.cur-year:focus {
    border-color: var(--tpmr-gold, #c9963a) !important;
    box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.15) !important;
    background-color: #ffffff !important;
    outline: none !important;
}

/* Weekdays */
span.flatpickr-weekday {
    color: #64748b !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Days Grid */
.flatpickr-day {
    border-radius: 50% !important;
    color: #334155 !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 2px solid transparent !important;
    
}

/* Hover State */
.flatpickr-day:hover, .flatpickr-day:focus {
    background: #fff8e7 !important;
    border-color: #fff8e7 !important;
    color: var(--tpmr-gold, #c9963a) !important;
    outline: none !important;
}

/* Selected Date */
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--tpmr-gold, #c9963a) !important;
    border-color: var(--tpmr-gold, #c9963a) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(201, 150, 58, 0.3) !important;
}

/* Today Indicator */
.flatpickr-day.today {
    border-color: var(--tpmr-gold, #c9963a) !important;
    background: transparent !important;
}
.flatpickr-day.today:hover {
    background: #fff8e7 !important;
}

/* Disabled / Past Dates */
.flatpickr-day.flatpickr-disabled, 
.flatpickr-day.flatpickr-disabled:hover {
    color: #cbd5e1 !important;
    background: transparent !important;
    border-color: transparent !important;
    text-decoration: line-through !important;
    cursor: not-allowed !important;
}

/* Outside Month Days */
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
    color: #94a3b8 !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* Fix Positioning Arrow */
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowBottom:before { border-color: transparent !important; }
.flatpickr-calendar.arrowTop:after { border-bottom-color: #ffffff !important; }
.flatpickr-calendar.arrowBottom:after { border-top-color: #ffffff !important; }

/* Arrows */
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month {
    padding: 10px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
}
.flatpickr-months .flatpickr-prev-month:hover, .flatpickr-months .flatpickr-next-month:hover {
    background: #f8fafc !important;
}
.flatpickr-months .flatpickr-prev-month svg, .flatpickr-months .flatpickr-next-month svg {
    fill: #64748b !important;
}
.flatpickr-months .flatpickr-prev-month:hover svg, .flatpickr-months .flatpickr-next-month:hover svg {
    fill: var(--tpmr-gold, #c9963a) !important;
}

/* Option Highlighting fallback (some browsers allow simple styling) */
.flatpickr-monthDropdown-months option {
    background: #ffffff;
    color: #1e293b;
    padding: 8px;
}
.flatpickr-monthDropdown-months option:checked {
    background: var(--tpmr-gold, #c9963a) !important;
    color: #ffffff !important;
}







/* Fix double border caused by global focus-visible outline */
.tpmr-booking-wizard .ts-wrapper:focus-visible, .tpmr-booking-wizard .ts-wrapper *:focus-visible { outline: none !important; }


/* Keep the visible focus state on the address/select shell, not its inner input. */
.tpmr-booking-wizard .tpmr-address-card input:focus,
.tpmr-booking-wizard .tpmr-address-card input:focus-visible,
.tpmr-booking-wizard #tpmr-city-select-wrapper .ts-control > input:focus,
.tpmr-booking-wizard #tpmr-city-select-wrapper .ts-control > input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.tpmr-booking-wizard #tpmr-city-select-wrapper .ts-control > input:focus,
.tpmr-booking-wizard #tpmr-city-select-wrapper .ts-control > input:focus-visible {
  border: 0 !important;
}

/* Static Month Styling */
.flatpickr-current-month .cur-month { font-weight: 700 !important; color: #141414 !important; margin-right: 6px; }


/* --- UI Selection & Cursor Rules --- */

/* 1. Disable text selection globally inside the wizard and external widgets */
.tpmr-booking-wizard, 
.tpmr-booking-wizard *,
.pac-container,
.pac-container *,
.flatpickr-calendar,
.flatpickr-calendar * {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* 2. Whitelist text selection ONLY for editable fields */
.tpmr-booking-wizard input[type="text"],
.tpmr-booking-wizard input[type="email"],
.tpmr-booking-wizard input[type="tel"],
.tpmr-booking-wizard input[type="number"],
.tpmr-booking-wizard input[type="password"],
.tpmr-booking-wizard input[type="search"],
.tpmr-booking-wizard textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text !important;
}

/* 3. Default cursor for static text elements */
.tpmr-booking-wizard h1,
.tpmr-booking-wizard h2,
.tpmr-booking-wizard h3,
.tpmr-booking-wizard h4,
.tpmr-booking-wizard h5,
.tpmr-booking-wizard h6,
.tpmr-booking-wizard p,
.tpmr-booking-wizard span,
.tpmr-booking-wizard label,
.tpmr-booking-wizard .material-symbols-outlined,
.tpmr-booking-wizard img,
.tpmr-booking-wizard div {
    cursor: default;
}

/* 4. Pointer cursor for all clickable elements and their children */
.tpmr-booking-wizard button,
.tpmr-booking-wizard button *,
.tpmr-booking-wizard .tpmr-btn,
.tpmr-booking-wizard .tpmr-btn *,
.tpmr-booking-wizard .tpmr-transfer-card,
.tpmr-booking-wizard .tpmr-transfer-card *,
.tpmr-booking-wizard .tpmr-equip-card,
.tpmr-booking-wizard .tpmr-equip-card *,
.tpmr-booking-wizard .tpmr-pill,
.tpmr-booking-wizard .tpmr-pill *,
.tpmr-booking-wizard .tpmr-stepper-btn,
.tpmr-booking-wizard .tpmr-stepper-btn *,
.tpmr-booking-wizard #tpmr-swap-btn,
.tpmr-booking-wizard #tpmr-swap-btn *,
.tpmr-booking-wizard a,
.tpmr-booking-wizard a *,
.tpmr-booking-wizard select,
.tpmr-booking-wizard .tpmr-autocomplete-item,
.tpmr-booking-wizard .tpmr-autocomplete-item *,
.tpmr-booking-wizard .tpmr-cart-item-top,
.tpmr-booking-wizard .tpmr-cart-item-top *,
.tpmr-booking-wizard .tpmr-cart-item-remove-btn,
.tpmr-booking-wizard .tpmr-cart-item-remove-btn *,
.tpmr-booking-wizard input[type="radio"],
.tpmr-booking-wizard input[type="checkbox"],
.tpmr-booking-wizard label[for],
.pac-item,
.pac-item *,
.flatpickr-day,
.flatpickr-prev-month,
.flatpickr-next-month,
.flatpickr-monthDropdown-months,
.numInputWrapper {
    cursor: pointer !important;
}

/* Ensure map retains grab cursor */
.tpmr-booking-wizard #tpmr-map,
.tpmr-booking-wizard #tpmr-map *,
.tpmr-booking-wizard .gm-style,
.tpmr-booking-wizard .gm-style * {
    cursor: inherit;
}


/* --- MOBILE RESPONSIVENESS INJECTED --- */
.tpmr-responsive-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 640px) {
    .tpmr-responsive-grid-2 {
        grid-template-columns: 1fr !important;
    }
}


/* --- ADDRESS BLOCK MOBILE RESPONSIVENESS --- */
.tpmr-address-block-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    width: 100%;
}

@media (max-width: 640px) {
    .tpmr-address-block-wrapper {
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
    }
    
    .tpmr-address-card {
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .tpmr-swap-btn-wrapper {
        margin: -4px 0 !important;
    }
    .tpmr-swap-btn-wrapper .material-symbols-outlined {
        transform: rotate(90deg);
    }
}


/* --- STEP 3 RESPONSIVENESS INJECTED --- */
.tpmr-responsive-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {
    .tpmr-responsive-grid-3 {
        grid-template-columns: 1fr !important;
    }
    
    .tpmr-btn-group {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }
    
    .tpmr-btn-group button {
        width: 100% !important;
        justify-content: center !important;
    }
}


/* --- INTL TEL INPUT Z-INDEX FIX --- */
.iti__dropdown-content, .iti__country-list {
    z-index: 999999 !important;
}
.iti {
    z-index: 9999 !important;
}


/* --- INTL TEL INPUT CLICK FIX --- */
.iti__flag-container, .iti__country-container {
    z-index: 99 !important;
    pointer-events: auto !important;
}
.iti input[type="tel"] {
    position: relative !important;
    z-index: 1 !important;
}


/* --- MOBILE BOTTOM SPACING & FLOATING CART FIX --- */
@media (max-width: 640px) {
    .tpmr-booking-wizard {
        padding-bottom: 90px !important;
    }
    .tpmr-floating-cart-btn {
        bottom: 20px !important;
        right: 20px !important;
        width: 54px !important;
        height: 54px !important;
    }
    .tpmr-floating-cart-btn .tpmr-cart-icon-symbol {
        font-size: 24px !important;
    }
}


/* --- MOBILE MAP STATS OVERLAY FIX --- */
@media (max-width: 640px) {
    /* Hide the 3rd stat (ZONE) on mobile to prevent squishing */
    .tpmr-map-stats-overlay .tpmr-map-stat:nth-child(5),
    .tpmr-map-stats-overlay .tpmr-stat-divider:nth-child(4) {
        display: none !important;
    }
    
    .tpmr-map-stats-overlay {
        padding: 8px 20px !important;
        gap: 16px !important;
        bottom: 16px !important;
    }
}


/* --- FIX CARD BOX SIZING TO PREVENT OVERFLOW --- */
.tpmr-booking-wizard * {
    box-sizing: border-box;
}
.tpmr-transfer-card, .tpmr-pill, .tpmr-equip-card {
    box-sizing: border-box !important;
    width: 100% !important;
}



/* --- CUSTOM CHECKBOX --- */
.tpmr-custom-checkbox {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    user-select: none;
}

.tpmr-custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.tpmr-custom-checkbox .tpmr-checkmark {
    position: relative;
    height: 22px;
    width: 22px;
    background-color: #f8fafc;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.tpmr-custom-checkbox:hover input ~ .tpmr-checkmark {
    border-color: #c9963a;
}

.tpmr-custom-checkbox input:checked ~ .tpmr-checkmark {
    background-color: #c9963a;
    border-color: #c9963a;
}

.tpmr-custom-checkbox .tpmr-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.tpmr-custom-checkbox input:checked ~ .tpmr-checkmark:after {
    display: block;
}

/* Keep the phone country picker anchored to its input on desktop and mobile. */
.tpmr-booking-wizard .iti {
  position: relative !important;
  z-index: 10000 !important;
}
.tpmr-booking-wizard .iti__dropdown-content {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  bottom: auto !important;
  left: 0 !important;
  right: auto !important;
  width: min(100%, 360px) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: min(320px, 60vh) !important;
  overflow: hidden !important;
}
.tpmr-booking-wizard .iti__country-list {
  max-height: min(250px, 50vh) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

/* --- PHONE COUNTRY DROPDOWN: STYLE ONLY --- */
.tpmr-booking-wizard .iti__dropdown-content,
.tpmr-booking-wizard .iti__country-list {
  width: 320px !important;
  max-width: min(320px, calc(100vw - 32px)) !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18) !important;
  overflow: hidden !important;
  padding: 8px !important;
}

.tpmr-booking-wizard .iti__search-input {
  display: block !important;
  width: calc(100% - 4px) !important;
  height: 42px !important;
  margin: 2px !important;
  padding: 0 12px !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 9px !important;
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 42px !important;
  outline: none !important;
  box-shadow: none !important;
}

.tpmr-booking-wizard .iti__search-input:focus {
  border-color: #c9963a !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.14) !important;
}

.tpmr-booking-wizard .iti__country-list {
  margin: 7px 0 0 !important;
  padding: 2px 0 !important;
  max-height: 250px !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: #cbd5e1 transparent !important;
}

.tpmr-booking-wizard .iti__country {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  color: #1e293b !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  cursor: pointer !important;
}

.tpmr-booking-wizard .iti__country:hover,
.tpmr-booking-wizard .iti__country.iti__highlight {
  background: #f8f6eb !important;
  color: #17202a !important;
}

.tpmr-booking-wizard .iti__flag-box {
  flex: 0 0 24px !important;
  width: 24px !important;
  margin-right: 10px !important;
}

.tpmr-booking-wizard .iti__country-name {
  flex: 1 1 auto !important;
  margin-right: 10px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 14px !important;
  color: #334155 !important;
}

.tpmr-booking-wizard .iti__dial-code {
  flex: 0 0 auto !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

@media (max-width: 767px) {
  .tpmr-booking-wizard .iti__dropdown-content,
  .tpmr-booking-wizard .iti__country-list {
    width: min(320px, calc(100vw - 28px)) !important;
    max-width: calc(100vw - 28px) !important;
  }
}

/* Keep the post-add confirmation centered in the viewport on mobile. */
body.tpmr-cart-modal-open {
  overflow: hidden !important;
}
#tpmr-cart-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  min-height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#tpmr-cart-modal .tpmr-modal-card {
  margin: auto;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}

/* Ensure the post-add notice and its actions remain clickable above theme layers. */
#tpmr-cart-modal {
  pointer-events: auto !important;
  z-index: 2147483000 !important;
}
#tpmr-cart-modal .tpmr-modal-card,
#tpmr-cart-modal .tpmr-modal-actions,
#tpmr-cart-modal button,
#tpmr-cart-modal a {
  position: relative;
  z-index: 1;
  pointer-events: auto !important;
}

/* Mobile containment for the final booking summary and cart. */
@media (max-width: 767px) {
  .tpmr-booking-wizard,
  .tpmr-booking-wizard * {
    box-sizing: border-box;
  }

  .tpmr-booking-wizard {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    transform: none !important;
    overflow-x: clip;
  }

  .tpmr-step-4,
  .tpmr-step-4 > div,
  .tpmr-step-4-grid,
  .tpmr-step-4-grid > div {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .tpmr-step-4-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .tpmr-step-4-grid > div {
    padding: 20px !important;
    overflow: hidden;
  }

  .tpmr-step-4-grid h3,
  .tpmr-step-4-grid p,
  .tpmr-step-4-grid span,
  .tpmr-step-4-grid strong {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tpmr-step-4-grid .tpmr-review-grid-cards,
  .tpmr-step-4-grid .tpmr-review-grid-4,
  .tpmr-step-4-grid .tpmr-review-grid-3,
  .tpmr-step-4-grid .tpmr-review-card-body {
    grid-template-columns: minmax(0, 1fr) !important;
    min-width: 0 !important;
  }

  .tpmr-step-4-grid button,
  .tpmr-step-4-grid form,
  .tpmr-step-4-grid input,
  .tpmr-step-4-grid select {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .tpmr-cart-container {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip;
  }

  .tpmr-cart-grid,
  .tpmr-cart-items-wrapper,
  .tpmr-cart-summary-wrapper,
  .tpmr-cart-summary-card,
  .tpmr-cart-items-list,
  .tpmr-cart-item {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .tpmr-cart-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }

  .tpmr-cart-items-header,
  .tpmr-cart-summary-header,
  .tpmr-cart-summary-total-row,
  .tpmr-cart-summary-line {
    min-width: 0 !important;
    flex-wrap: wrap !important;
  }

  .tpmr-cart-items-header h2,
  .tpmr-cart-summary-header h3 {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .tpmr-cart-summary-card {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 20px 16px !important;
  }

  .tpmr-cart-summary-breakdown {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .tpmr-cart-item,
  .tpmr-cart-item * {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tpmr-cart-item-price-row {
    min-width: 0 !important;
    flex-wrap: wrap !important;
    gap: 8px;
  }

  .tpmr-cart-grand-total {
    font-size: clamp(22px, 8vw, 28px) !important;
    overflow-wrap: anywhere;
  }
}

/* Keep the persistent cart shortcut immediately discoverable on phones. */
@media (max-width: 640px) {
  body:not(.tpmr-cart-page) #tpmr-floating-cart-btn,
  .tpmr-booking-wizard #tpmr-floating-cart-btn {
    top: calc(72px + env(safe-area-inset-top)) !important;
    right: 14px !important;
    bottom: auto !important;
    width: 52px !important;
    height: 52px !important;
    z-index: 2147482000 !important;
  }

  #tpmr-floating-cart-btn .tpmr-cart-icon-symbol {
    font-size: 23px !important;
  }

  #tpmr-floating-cart-btn .tpmr-cart-badge {
    top: -5px !important;
    right: -5px !important;
  }
}

/* Payment cancellation / failure reassurance card. */
.tpmr-payment-cancelled-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 1160px;
  margin: 18px auto 22px;
  padding: 20px 24px;
  border: 1px solid #e8c46a;
  border-left: 5px solid #c9963a;
  border-radius: 16px;
  background: linear-gradient(135deg, #fffaf0 0%, #fff4cf 100%);
  color: #573d13;
  box-shadow: 0 8px 24px rgba(168, 117, 31, 0.12);
  text-align: left;
}
.tpmr-payment-cancelled-icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #c9963a;
  color: #fff;
  font-size: 23px;
}
.tpmr-payment-cancelled-content { min-width: 0; flex: 1; }
.tpmr-payment-cancelled-content h3 { margin: 0 0 6px; color: #573d13; font-size: 17px; font-weight: 800; line-height: 1.3; }
.tpmr-payment-cancelled-content p { margin: 3px 0; color: #76571e; font-size: 14px; line-height: 1.55; }
.tpmr-payment-cancelled-support { display: inline-flex; align-items: center; gap: 7px; margin-top: 13px; padding: 9px 14px; border: 1px solid #b78325; border-radius: 9px; background: #fff; color: #7b5515; font-size: 13px; font-weight: 800; text-decoration: none; transition: background .2s ease, color .2s ease, transform .2s ease; }
.tpmr-payment-cancelled-support:hover { background: #7b5515; color: #fff; transform: translateY(-1px); }
.tpmr-payment-cancelled-support .material-symbols-outlined { font-size: 18px; }
.tpmr-payment-pending-notice {
  max-width: 1160px;
  margin: 18px auto 22px;
  padding: 20px 24px;
  border: 1px solid #e8c46a;
  border-left: 5px solid #c9963a;
  border-radius: 16px;
  background: #fffaf0;
  color: #573d13;
  box-shadow: 0 8px 24px rgba(168, 117, 31, 0.10);
}
.tpmr-payment-pending-notice h3 { margin: 0 0 6px; color: #573d13; font-size: 17px; font-weight: 800; }
.tpmr-payment-pending-notice p { margin: 4px 0; color: #76571e; font-size: 14px; line-height: 1.55; }

/* Theme-independent modal action colors and press states. */
#tpmr-cart-modal .tpmr-modal-btn-primary,
#tpmr-cart-modal .tpmr-modal-btn-primary:visited,
#tpmr-cart-modal .tpmr-modal-btn-primary:focus,
#tpmr-cart-modal .tpmr-modal-btn-primary:active {
  background: #c9963a !important;
  color: #fff !important;
  border-color: #c9963a !important;
  transform: none;
  outline: none;
}
#tpmr-cart-modal .tpmr-modal-btn-primary:hover { background: #b5832d !important; color: #fff !important; transform: translateY(-1px); }
#tpmr-cart-modal .tpmr-modal-btn-secondary,
#tpmr-cart-modal .tpmr-modal-btn-secondary:visited,
#tpmr-cart-modal .tpmr-modal-btn-secondary:focus,
#tpmr-cart-modal .tpmr-modal-btn-secondary:active {
  background: #f4efe6 !important;
  color: #1a1c1c !important;
  border-color: #e7decb !important;
  transform: none;
  outline: none;
}
.tpmr-conf-secondary-action,
.tpmr-conf-secondary-action:visited,
.tpmr-conf-secondary-action:focus,
.tpmr-conf-secondary-action:active {
  background: #c9963a !important;
  color: #fff !important;
  border-color: #c9963a !important;
  transform: none;
  outline: none;
}
.tpmr-conf-secondary-action:hover { background: #b5832d !important; color: #fff !important; transform: translateY(-1px); }
@media (max-width: 600px) {
  .tpmr-payment-cancelled-notice { gap: 11px; margin: 14px 12px 18px; padding: 16px; }
  .tpmr-payment-cancelled-icon { width: 32px; height: 32px; font-size: 20px; }
  .tpmr-payment-cancelled-content h3 { font-size: 15px; }
  .tpmr-payment-cancelled-content p { font-size: 13px; }
  .tpmr-payment-cancelled-support { width: 100%; justify-content: center; box-sizing: border-box; }
  .tpmr-payment-pending-notice { margin: 14px 12px 18px; padding: 16px; }
  .tpmr-payment-pending-notice h3 { font-size: 15px; }
  .tpmr-payment-pending-notice p { font-size: 13px; }
}


/* Final accessibility focus treatment: replace browser-blue rings with TPMR gold. */
.tpmr-booking-wizard .tpmr-step-title:focus { outline: none !important; box-shadow: none !important; }
.tpmr-booking-wizard input:focus,
.tpmr-booking-wizard textarea:focus,
.tpmr-booking-wizard select:focus { outline: none !important; border-color: var(--tpmr-gold, #c9963a) !important; box-shadow: 0 0 0 3px rgba(201, 150, 58, 0.18) !important; }
.tpmr-booking-wizard button:focus-visible,
.tpmr-booking-wizard input:focus-visible,
.tpmr-booking-wizard textarea:focus-visible,
.tpmr-booking-wizard select:focus-visible,
.tpmr-booking-wizard .tpmr-transfer-card:focus-visible,
.tpmr-booking-wizard .tpmr-radio-hidden:focus-visible + .tpmr-equip-card { outline: 3px solid rgba(201, 150, 58, 0.55) !important; outline-offset: 2px !important; }
.tpmr-booking-wizard .tpmr-radio-opt:focus-within .tpmr-radio-custom,
.tpmr-booking-wizard .tpmr-radio-opt:focus-within .tpmr-equip-card { outline: 3px solid rgba(201, 150, 58, 0.55) !important; outline-offset: 2px !important; }

/* Flatpickr: selected today must remain visibly filled, not transparent. */
.flatpickr-calendar .flatpickr-day.selected.today,
.flatpickr-calendar .flatpickr-day.selected.today:hover,
.flatpickr-calendar .flatpickr-day.selected.today:focus { background: var(--tpmr-gold, #c9963a) !important; border-color: var(--tpmr-gold, #c9963a) !important; color: #fff !important; box-shadow: 0 4px 10px rgba(201, 150, 58, 0.3) !important; }
.flatpickr-calendar .flatpickr-day.flatpickr-disabled { color: #cbd5e1 !important; background: transparent !important; cursor: not-allowed !important; text-decoration: line-through !important; }


/* Global wizard focus normalization: no native blue outlines on headings or containers. */
.tpmr-booking-wizard :where(h1, h2, h3, h4, h5, h6, p, section, article, div, span, label, [tabindex="-1"]):focus,
.tpmr-booking-wizard :where(h1, h2, h3, h4, h5, h6, p, section, article, div, span, label, [tabindex="-1"]):focus-visible {
  outline: none !important;
  box-shadow: none !important;
}
.tpmr-booking-wizard :where(input, textarea, select, button, a[href], [role="button"], [role="radio"], [role="checkbox"], [role="combobox"]):focus {
  outline: none !important;
}
.tpmr-booking-wizard :where(input, textarea, select, button, a[href], [role="button"], [role="radio"], [role="checkbox"], [role="combobox"]):focus-visible {
  outline: 3px solid rgba(201, 150, 58, 0.55) !important;
  outline-offset: 2px !important;
}

/* Step 3 contact fields: the input card owns the border; its child input does not. */
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card {
  border: 1.5px solid #e2e8f0 !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card:hover:not(:focus-within) {
  border-color: #c9963a !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card:focus-within {
  border-color: #c9963a !important;
  box-shadow: 0 0 0 3px rgba(201, 150, 58, .22) !important;
}
/* Keep the keyboard focus ring on the single card edge, not on both nested boxes. */
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:not(.tpmr-address-input):focus,
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:not(.tpmr-address-input):focus-visible {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card:has(> .tpmr-input.tpmr-input-valid) {
  border-color: #c9963a !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card:has(> .tpmr-input.tpmr-input-error) {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .16) !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input.tpmr-input-error {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card:has(> .tpmr-input:disabled) {
  border-color: #cbd5e1 !important;
  background: #f3f4f6 !important;
  box-shadow: none !important;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:disabled {
  cursor: not-allowed !important;
}
/* Standalone Step 3 phone/textarea controls retain their own single field border. */
.tpmr-booking-wizard .tpmr-step-3 .iti,
.tpmr-booking-wizard .tpmr-step-3 .iti input#tpmr-phone-iti {
  box-sizing: border-box !important;
}
.tpmr-booking-wizard .tpmr-step-3 textarea.tpmr-textarea {
  border: 1.5px solid var(--tpmr-gray-border, #e2e8f0) !important;
  box-shadow: none !important;
}
.tpmr-booking-wizard .tpmr-step-3 textarea.tpmr-textarea:focus-visible {
  outline: 3px solid rgba(201, 150, 58, .55) !important;
  outline-offset: 2px !important;
  border-color: #c9963a !important;
}


/* Inline route guidance: occupies document flow between addresses and map. */
.tpmr-route-guidance[hidden] { display: none !important; }
.tpmr-route-guidance { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; border: 1px solid #e7c979; border-left: 4px solid #c9963a; border-radius: 12px; background: #fffdf6; color: #334155; }
.tpmr-route-guidance.is-outzone { border-color: #f2c28f; border-left-color: #d97706; background: #fffaf3; }
.tpmr-route-guidance.is-zone { border-color: #b8dfc6; border-left-color: #23834a; background: #f5fbf7; }
.tpmr-route-guidance-text { flex: 1 1 260px; margin: 0; font-size: 14px; line-height: 1.5; }
.tpmr-route-guidance-cta { flex: 0 0 auto; border: 0; border-radius: 8px; padding: 10px 14px; background: #c9963a; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.tpmr-route-guidance-cta:hover, .tpmr-route-guidance-cta:focus-visible { background: #a87927; }
@media (max-width: 600px) { .tpmr-route-guidance { align-items: stretch; gap: 10px; margin-bottom: 14px; padding: 12px; } .tpmr-route-guidance-cta { width: 100%; min-height: 44px; } }

.tpmr-route-guidance { position: relative; padding-right: 44px; }
.tpmr-route-guidance-close { position: absolute; top: 8px; right: 9px; display: inline-flex; align-items: center; justify-content: center; width: 44px !important; height: 44px !important; border: 0; border-radius: 6px; background: transparent; color: #475569; font: 24px/1 system-ui, sans-serif; cursor: pointer; }
.tpmr-route-guidance-close:hover, .tpmr-route-guidance-close:focus-visible { background: rgba(15,23,42,.08); outline: 2px solid #64748b; outline-offset: 1px; }

/* Clip browser-painted autofill backgrounds to the contact field's rounded card.
   The card's focus shadow remains outside the element and therefore visible. */
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card {
  overflow: hidden;
  border-radius: 12px;
  background-clip: padding-box;
}
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:-webkit-autofill,
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:-webkit-autofill:hover,
.tpmr-booking-wizard .tpmr-step-3 .tpmr-input-card > .tpmr-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-text-fill-color: #1e293b !important;
  caret-color: #c9963a !important;
}

/* Cart card containment: keep amount and controls inside the card at every width. */
.tpmr-cart-item-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.tpmr-cart-item-card .tpmr-cart-item-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
}

.tpmr-cart-item-card .tpmr-cart-item-badge-row {
  min-width: 0;
  max-width: 100%;
}

.tpmr-cart-item-card .tpmr-cart-summary-preview {
  min-width: 0;
  max-width: min(240px, 100%);
}

.tpmr-cart-item-card .tpmr-cart-top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 0;
  gap: 6px;
}

.tpmr-cart-item-card .tpmr-cart-preview-price,
.tpmr-cart-item-card .tpmr-cart-item-price {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}

.tpmr-cart-item-card .tpmr-cart-toggle-card-btn,
.tpmr-cart-item-card .tpmr-cart-item-remove-btn {
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}

.tpmr-cart-item-card .tpmr-cart-item-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  width: 100%;
}

.tpmr-cart-item-card .tpmr-cart-ref-text {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .tpmr-cart-item-card,
  .tpmr-cart-item-card.collapsed {
    padding: 14px !important;
  }

  .tpmr-cart-item-card .tpmr-cart-item-top {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
  }

  .tpmr-cart-item-card .tpmr-cart-item-badge-row {
    gap: 5px;
  }

  .tpmr-cart-item-card .tpmr-cart-top-actions {
    gap: 4px;
  }

  .tpmr-cart-item-card .tpmr-cart-preview-price {
    font-size: 13px;
    margin-right: 0;
  }

  .tpmr-cart-item-card .tpmr-cart-item-price-row {
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
  }

  .tpmr-cart-item-card .tpmr-cart-item-price {
    margin-left: auto;
    font-size: clamp(17px, 5vw, 20px);
  }
}


/* Accessible dismissal control for the cancelled-payment notice. */
.tpmr-payment-cancelled-notice {
  position: relative;
  box-sizing: border-box;
  padding-right: 68px;
}
.tpmr-payment-notice-close {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  color: #76571e;
  font: inherit;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}
.tpmr-payment-notice-close:hover {
  border-color: #e8c46a;
  background: rgba(255, 255, 255, 0.72);
}
.tpmr-payment-notice-close:focus-visible {
  outline: 2px solid #c9963a;
  outline-offset: 1px;
}
@media (max-width: 600px) {
  .tpmr-payment-cancelled-notice { padding: 14px 58px 14px 14px; }
  .tpmr-payment-notice-close { top: 6px; right: 6px; }
}
