body.builder-home #main__content,
body.builder-home #main__content_inner {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

body.builder-home .builder-header {
  width: 100%;
  z-index: 40;
}

body.builder-home .builder-header-inner {
  max-width: var(--builder-container-max);
  margin: 0 auto;
  width: 100%;
  padding: 16px 24px;
}

body.builder-home .builder-header-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  position: relative;
}

body.builder-home .builder-header-logo {
  display: flex !important;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}

body.builder-home .builder-header-logo img {
  display: block;
  max-width: 170px;
  width: auto;
  height: 40px;
  object-fit: contain;
}

body.builder-home .builder-header-nav {
  display: none;
}

body.builder-home .builder-header-nav a {
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  white-space: nowrap;
}

body.builder-home .builder-header-menu-item {
  position: relative;
}

body.builder-home .builder-header-menu-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.builder-home .builder-header-submenu {
  display: none;
}

body.builder-home .builder-header-actions-desktop {
  display: none;
}

body.builder-home .builder-header-actions-mobile {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

body.builder-home .builder-header-burger {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

body.builder-home .builder-header-cta {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
}

body.builder-home .builder-search-tabs {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

body.builder-home .builder-search-tab-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #334155;
  border-radius: 9999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}

body.builder-home .builder-search-tab-btn.is-active {
  background: var(--color-primary) !important;
  color: #ffffff !important;
  border-color: var(--color-primary) !important;
}

body.builder-home .builder-search-pane {
  display: none;
}

body.builder-home .builder-search-pane.is-active {
  display: block;
}

body.builder-home .builder-hotel-search {
  background: transparent !important;
}

@media (min-width: 992px) {
  body.builder-home .builder-header-nav {
    display: flex !important;
    align-items: center;
    gap: 24px;
    min-width: 0;
  }

  body.builder-home .builder-header-submenu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    z-index: 60 !important;
    min-width: 220px !important;
    padding: 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12) !important;
  }

  body.builder-home .builder-header-menu-item:hover > .builder-header-submenu,
  body.builder-home .builder-header-menu-item:focus-within > .builder-header-submenu {
    display: block !important;
  }

  body.builder-home .builder-header-submenu-link {
    display: block !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    color: #0f172a !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-shadow: none !important;
  }

  body.builder-home .builder-header-submenu-link:hover,
  body.builder-home .builder-header-submenu-link:focus {
    background: #f8fafc !important;
    color: var(--color-primary) !important;
  }

  body.builder-home .builder-header-actions-desktop {
    display: flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  body.builder-home .builder-header-actions-mobile,
  body.builder-home .builder-header-burger {
    display: none !important;
  }

  body.builder-home .builder-header[data-layout="l-m-c"] .builder-header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  body.builder-home .builder-header[data-layout="l-mc"] .builder-header-nav {
    margin-left: auto;
    margin-right: 16px;
  }

  body.builder-home .builder-header[data-layout="center"] .builder-header-bar {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 4px;
  }

  body.builder-home .builder-header[data-layout="center"] .builder-header-nav {
    position: static;
    transform: none;
    margin: 0;
  }

  body.builder-home .builder-header[data-layout="center"] .builder-header-actions-desktop {
    position: absolute;
    top: 0;
    right: 0;
  }
}

body.builder-home .builder-mobile-submenu {
  margin-top: 8px !important;
  padding-left: 14px !important;
  border-left: 2px solid #e2e8f0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

body.builder-home .builder-mobile-submenu-link {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-decoration: none !important;
}

@media (max-width: 991px) {
  body.builder-home .builder-header-inner {
    padding: 12px 16px;
  }

  body.builder-home .builder-header-logo img {
    max-width: 150px;
    height: 36px;
  }

  body.builder-home .builder-header-actions-mobile form,
  body.builder-home .builder-header-actions-mobile a {
    width: 36px;
    height: 36px;
  }

  body.builder-home .builder-header-actions-mobile select {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }
}

body.builder-home .builder-hotel-search .builder-hotel-shell {
  padding: 14px !important;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  border: 1px solid #edf2f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body.builder-home .builder-hotel-search .builder-hotel-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr auto;
  gap: 12px;
  align-items: center;
}

body.builder-home .builder-hotel-search .builder-hotel-field {
  position: relative;
}

body.builder-home .builder-hotel-search .builder-hotel-label {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

body.builder-home .builder-hotel-search .builder-hotel-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  z-index: 3;
  color: #475569;
  text-align: center;
  pointer-events: none;
}

body.builder-home .builder-hotel-search .builder-hotel-input,
body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger {
  width: 100%;
  height: 58px;
  border: 1px solid #cfd8e3;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  color: #0f172a;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.builder-home .builder-hotel-search .builder-hotel-input {
  padding: 0 18px 0 42px;
  font-size: 14px;
  font-weight: 500;
  line-height: 58px;
}

body.builder-home .builder-hotel-search .builder-hotel-input::placeholder {
  color: #64748b;
  opacity: 1;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-shell {
  position: relative;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  padding: 0 16px 0 42px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-summary {
  color: #334155;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-chevron {
  color: #64748b;
  flex: 0 0 auto;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 99999;
  width: 100%;
  min-width: 340px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.14);
}

body.builder-home .builder-hotel-search .builder-hotel-input:hover,
body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger:hover {
  border-color: #b8c5d6;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body.builder-home .builder-hotel-search .builder-hotel-input:focus,
body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger:focus,
body.builder-home .builder-hotel-search .builder-hotel-submit:focus {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08), 0 10px 24px rgba(79, 70, 229, 0.08);
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row + .builder-hotel-counter-row {
  margin-top: 12px;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row--main {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-copy {
  min-width: 0;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-label {
  display: block;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-help {
  display: block;
  margin-top: 2px;
  color: #94a3b8;
  font-size: 12px;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dbe3f0;
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-value {
  width: 48px;
  height: 40px;
  border: 1px solid #dbe3f0;
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 0;
  -moz-appearance: textfield;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-value::-webkit-outer-spin-button,
body.builder-home .builder-hotel-search .builder-hotel-stepper-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.builder-home .builder-hotel-search .builder-hotel-room-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body.builder-home .builder-hotel-search .builder-hotel-room-card {
  padding-top: 14px;
  border-top: 1px solid #eef2f7;
}

body.builder-home .builder-hotel-search .builder-hotel-room-card:first-child {
  padding-top: 0;
  border-top: 0;
}

body.builder-home .builder-hotel-search .builder-hotel-room-head {
  margin-bottom: 12px;
}

body.builder-home .builder-hotel-search .builder-hotel-room-title {
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-container {
  margin-top: 12px;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-block {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-title {
  display: block;
  margin-bottom: 10px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

body.builder-home .builder-hotel-search .builder-hotel-age-select {
  width: 100%;
  height: 42px;
  border: 1px solid #dbe3f0;
  border-radius: 9999px;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  padding: 0 14px;
  appearance: none;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor {
  position: relative;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99998;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  max-height: 280px;
  overflow-y: auto;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #0f172a;
  font-size: 14px;
  cursor: pointer;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-item:hover {
  background: #f8fafc;
}

body.builder-home .builder-hotel-search .builder-hotel-period-overlay {
  position: absolute;
  top: 0;
  left: 42px;
  width: calc(100% - 138px);
  height: 58px;
  display: flex;
  align-items: center;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  z-index: 3;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.builder-home .builder-hotel-search .builder-hotel-period-input {
  color: transparent;
  caret-color: transparent;
  position: relative;
  z-index: 2;
}

body.builder-home .builder-hotel-search .builder-hotel-night-count {
  position: absolute;
  top: 0;
  right: 16px;
  height: 58px;
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-left: 1px solid #e2e8f0;
  z-index: 4;
}

body.builder-home .builder-hotel-search .builder-hotel-night-value {
  color: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

body.builder-home .builder-hotel-search .builder-hotel-submit {
  min-width: 168px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9999px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 88%, white 12%), var(--color-primary));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.18);
  cursor: pointer;
  padding: 0 26px;
}

body.builder-home .builder-hotel-search .builder-hotel-submit:hover {
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
}

body.builder-home .builder-hotel-search .builder-hotel-spinner {
  display: none;
}

body.builder-home .builder-hotel-search .msg-error {
  margin-top: 6px;
  color: #dc2626;
  font-size: 12px;
}

@media (max-width: 991px) {
  body.builder-home .builder-hotel-search .builder-hotel-shell {
    padding: 12px !important;
  }

  body.builder-home .builder-hotel-search .builder-hotel-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.builder-home .builder-hotel-search .builder-hotel-submit {
    width: 100%;
  }

  body.builder-home .builder-hotel-search .builder-hotel-passenger-panel {
    min-width: 0;
  }

  body.builder-home .builder-hotel-search .builder-hotel-input,
  body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger,
  body.builder-home .builder-hotel-search .builder-hotel-submit {
    height: 54px;
  }

  body.builder-home .builder-hotel-search .builder-hotel-period-overlay,
  body.builder-home .builder-hotel-search .builder-hotel-night-count {
    height: 54px;
  }
}

@media (max-width: 640px) {
  body.builder-home .builder-hotel-search .builder-hotel-counter-row {
    align-items: stretch;
    flex-direction: column;
  }

  body.builder-home .builder-hotel-search .builder-hotel-stepper {
    justify-content: space-between;
    width: 100%;
  }

  body.builder-home .builder-hotel-search .builder-hotel-stepper-btn,
  body.builder-home .builder-hotel-search .builder-hotel-stepper-value {
    flex: 1 1 0;
  }

  body.builder-home .builder-hotel-search .builder-hotel-stepper-value {
    max-width: 72px;
    flex: 0 0 72px;
  }

  body.builder-home .builder-hotel-search .builder-hotel-ages-grid {
    grid-template-columns: 1fr;
  }
}

/* Final autonomous hotel engine override */
body.builder-home .builder-hotel-search .builder-hotel-shell {
  padding: 14px !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  border: 1px solid #e7edf5 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

body.builder-home .builder-hotel-search .builder-hotel-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr) 178px !important;
  gap: 12px !important;
  align-items: stretch !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card {
  min-height: 64px !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  border: 1px solid #d6deea !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card-title {
  display: none !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card-body {
  position: relative !important;
  width: 100% !important;
  min-height: 56px !important;
  display: flex !important;
  align-items: center !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #6366f1 !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-input,
body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 12px 0 42px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  outline: none !important;
}

body.builder-home .builder-hotel-search .builder-hotel-input::placeholder {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-card--date .builder-hotel-card-body {
  padding-right: 86px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-period-input {
  color: transparent !important;
  caret-color: transparent !important;
  position: relative !important;
  z-index: 1 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-period-overlay {
  position: absolute !important;
  left: 42px !important;
  right: 90px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  pointer-events: none !important;
  z-index: 2 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-night-count {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 76px !important;
  height: 34px !important;
  padding: 0 10px !important;
  border-radius: 9999px !important;
  background: #f3f6fb !important;
}

body.builder-home .builder-hotel-search .builder-hotel-night-value {
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-shell {
  position: relative !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-align: left !important;
  cursor: pointer !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-summary {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  color: #334155 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-chevron {
  flex: 0 0 auto !important;
  color: #64748b !important;
  transition: transform 0.2s ease !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-trigger[aria-expanded="true"] .builder-hotel-passenger-chevron {
  transform: rotate(180deg) !important;
}

body.builder-home .builder-hotel-search .builder-hotel-passenger-panel {
  position: absolute !important;
  top: calc(100% + 12px) !important;
  left: 0 !important;
  z-index: 99999 !important;
  width: min(440px, calc(100vw - 48px)) !important;
  padding: 18px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16) !important;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row + .builder-hotel-counter-row {
  margin-top: 12px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-row--main {
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px solid #e8edf4 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-label {
  display: block !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-counter-help {
  display: block !important;
  margin-top: 3px !important;
  color: #94a3b8 !important;
  font-size: 12px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-btn {
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-value {
  width: 46px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  -moz-appearance: textfield !important;
}

body.builder-home .builder-hotel-search .builder-hotel-stepper-value::-webkit-outer-spin-button,
body.builder-home .builder-hotel-search .builder-hotel-stepper-value::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-room-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-room-card {
  padding-top: 14px !important;
  border-top: 1px solid #eef2f7 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-room-card:first-child {
  padding-top: 0 !important;
  border-top: 0 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-room-head {
  margin-bottom: 10px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-room-title {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-container {
  margin-top: 12px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-block {
  padding: 14px !important;
  border-radius: 18px !important;
  background: #f8fafc !important;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-title {
  display: block !important;
  margin-bottom: 10px !important;
  color: #475569 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

body.builder-home .builder-hotel-search .builder-hotel-ages-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

body.builder-home .builder-hotel-search .builder-hotel-age-select {
  width: 100% !important;
  height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 13px !important;
  appearance: none !important;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor {
  position: relative !important;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-list {
  list-style: none !important;
  margin: 8px 0 0 !important;
  padding: 8px !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99998 !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
  max-height: 280px !important;
  overflow-y: auto !important;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  color: #0f172a !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

body.builder-home .builder-hotel-search .builder-hotel-data-anchor .city-item:hover {
  background: #f8fafc !important;
}

body.builder-home .builder-hotel-search .builder-hotel-submit-field {
  display: flex !important;
}

body.builder-home .builder-hotel-search .builder-hotel-submit {
  width: 100% !important;
  min-height: 64px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 26px !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 88%, white 12%), var(--color-primary)) !important;
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.2) !important;
  cursor: pointer !important;
}

body.builder-home .builder-hotel-search .builder-hotel-spinner {
  display: none !important;
}

@media (max-width: 991px) {
  body.builder-home .builder-hotel-search .builder-hotel-grid {
    grid-template-columns: 1fr !important;
  }

  body.builder-home .builder-hotel-search .builder-hotel-card,
  body.builder-home .builder-hotel-search .builder-hotel-submit {
    min-height: 60px !important;
  }

  body.builder-home .builder-hotel-search .builder-hotel-passenger-panel {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 640px) {
  body.builder-home .builder-hotel-search .builder-hotel-card--date .builder-hotel-card-body {
    padding-right: 0 !important;
  }

  body.builder-home .builder-hotel-search .builder-hotel-period-overlay {
    right: 0 !important;
  }

  body.builder-home .builder-hotel-search .builder-hotel-night-count {
    position: static !important;
    transform: none !important;
    margin-top: 8px !important;
    justify-content: flex-start !important;
    min-width: auto !important;
    padding: 0 !important;
    background: transparent !important;
  }
}


body.builder-home .builder-hotel-search .builder-hotel-passenger-panel[hidden] {
  display: none !important;
}

/* Builder-only styles for flights, activities, packages and transfers */
body.builder-home .builder-flight-search .builder-flight-shell,
body.builder-home .builder-activity-search .builder-activity-shell,
body.builder-home .builder-package-search .builder-package-shell,
body.builder-home .builder-transfer-search .builder-transfer-shell {
  padding: 14px !important;
  border-radius: 24px !important;
  border: 1px solid #e7edf5 !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
}

body.builder-home .builder-flight-search .builder-flight-topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.builder-home .builder-transfer-search .builder-transfer-topbar {
  display: grid !important;
  grid-template-columns: 220px minmax(0, 1fr) !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}

body.builder-home .builder-flight-search .builder-flight-type-group {
  display: inline-flex !important;
  gap: 8px !important;
}

body.builder-home .builder-flight-search .builder-flight-type-group input {
  display: none !important;
}

body.builder-home .builder-flight-search .builder-flight-type-group label,
body.builder-home .builder-flight-search .builder-flight-multi-link {
  border: 1px solid #dbe3ef !important;
  border-radius: 9999px !important;
  padding: 7px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  background: #fff !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

body.builder-home .builder-flight-search .builder-flight-type-group input:checked + label {
  color: #fff !important;
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

body.builder-home .builder-flight-search .builder-flight-grid,
body.builder-home .builder-transfer-search .builder-transfer-grid {
  display: grid !important;
  gap: 10px !important;
}

body.builder-home .builder-flight-search .builder-flight-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr) 178px !important;
}

body.builder-home .builder-transfer-search .builder-transfer-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 178px !important;
}

body.builder-home .builder-activity-search .builder-activity-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) 180px !important;
  gap: 10px !important;
}

body.builder-home .builder-package-search .builder-package-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 180px !important;
  gap: 10px !important;
}

body.builder-home .builder-flight-search .builder-flight-field,
body.builder-home .builder-activity-search .builder-activity-field,
body.builder-home .builder-package-search .builder-package-field,
body.builder-home .builder-transfer-search .builder-transfer-field,
body.builder-home .builder-transfer-search .builder-transfer-passenger-wrap {
  min-height: 64px !important;
  border: 1px solid #d6deea !important;
  border-radius: 26px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
  display: flex !important;
  align-items: center !important;
}

body.builder-home .builder-flight-search .builder-flight-field,
body.builder-home .builder-activity-search .builder-activity-field,
body.builder-home .builder-transfer-search .builder-transfer-field {
  position: relative !important;
  padding: 0 14px 0 42px !important;
}

body.builder-home .builder-package-search .builder-package-field {
  padding: 0 16px !important;
}

body.builder-home .builder-transfer-search .builder-transfer-passenger-wrap {
  position: relative !important;
  padding: 0 12px 0 8px !important;
}

body.builder-home .builder-flight-search .builder-flight-icon,
body.builder-home .builder-activity-search .builder-activity-icon,
body.builder-home .builder-transfer-search .builder-transfer-icon {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  color: #6366f1 !important;
}

body.builder-home .builder-flight-search .builder-flight-icon svg,
body.builder-home .builder-activity-search .builder-activity-icon svg,
body.builder-home .builder-transfer-search .builder-transfer-icon svg {
  width: 100% !important;
  height: 100% !important;
}

body.builder-home .builder-flight-search .builder-flight-input,
body.builder-home .builder-flight-search .builder-flight-select,
body.builder-home .builder-flight-search .builder-flight-passenger-trigger,
body.builder-home .builder-activity-search .builder-activity-input,
body.builder-home .builder-activity-search .builder-activity-select,
body.builder-home .builder-package-search .builder-package-select,
body.builder-home .builder-transfer-search .builder-transfer-input,
body.builder-home .builder-transfer-search .builder-transfer-select,
body.builder-home .builder-transfer-search .builder-transfer-passenger-trigger {
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  width: 100% !important;
  color: #0f172a !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  position: relative !important;
  z-index: 2 !important;
}

body.builder-home .builder-flight-search .builder-flight-passenger-trigger,
body.builder-home .builder-transfer-search .builder-transfer-passenger-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
}

body.builder-home .builder-flight-search .builder-flight-passenger-trigger {
  padding-left: 34px !important;
}

body.builder-home .builder-transfer-search .builder-transfer-passenger-trigger {
  padding-left: 34px !important;
}

body.builder-home .builder-flight-search .builder-flight-chevron,
body.builder-home .builder-transfer-search .builder-transfer-chevron {
  margin-left: auto !important;
  width: 18px !important;
  height: 18px !important;
  color: #64748b !important;
}

body.builder-home .builder-flight-search .builder-flight-submit,
body.builder-home .builder-activity-search .builder-activity-submit,
body.builder-home .builder-package-search .builder-package-submit,
body.builder-home .builder-transfer-search .builder-transfer-submit {
  min-height: 64px !important;
  border: 0 !important;
  border-radius: 26px !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 88%, white 12%), var(--color-primary)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.2) !important;
}

body.builder-home .builder-flight-search .builder-flight-passengers-text,
body.builder-home .builder-transfer-search .builder-transfer-passengers-text {
  color: #334155 !important;
}

body.builder-home .builder-flight-search .date-ar,
body.builder-home .builder-flight-search .date-as {
  color: #0f172a !important;
  caret-color: auto !important;
  opacity: 1 !important;
}

body.builder-home .builder-flight-search #builder-flight-date-as-content,
body.builder-home .builder-flight-search #builder-flight-date-ar-content,
body.builder-home .builder-transfer-search #builder-transfer-date-as-content,
body.builder-home .builder-transfer-search #builder-transfer-date-ar-content {
  display: none !important;
}

body.builder-home .builder-flight-search #builder-flight-date-as-content.is-visible,
body.builder-home .builder-flight-search #builder-flight-date-ar-content.is-visible,
body.builder-home .builder-transfer-search #builder-transfer-date-as-content.is-visible,
body.builder-home .builder-transfer-search #builder-transfer-date-ar-content.is-visible {
  display: flex !important;
}

body.builder-home .builder-flight-search .builder-flight-passenger-panel,
body.builder-home .builder-transfer-search .builder-transfer-passenger-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  width: min(360px, calc(100vw - 48px)) !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 20px !important;
  background: #fff !important;
  padding: 14px !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14) !important;
  z-index: 1000 !important;
}

body.builder-home .builder-flight-search .builder-flight-counter-row,
body.builder-home .builder-transfer-search .builder-transfer-counter-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

body.builder-home .builder-flight-search .builder-flight-counter-row + .builder-flight-counter-row,
body.builder-home .builder-transfer-search .builder-transfer-counter-row + .builder-transfer-counter-row {
  margin-top: 10px !important;
}

body.builder-home .builder-flight-search .builder-flight-stepper,
body.builder-home .builder-transfer-search .builder-transfer-stepper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

body.builder-home .builder-flight-search .builder-flight-stepper-btn,
body.builder-home .builder-flight-search .builder-flight-stepper-value,
body.builder-home .builder-transfer-search .builder-transfer-stepper-btn,
body.builder-home .builder-transfer-search .builder-transfer-stepper-value {
  height: 34px !important;
  border-radius: 9999px !important;
  border: 1px solid #d9e2ec !important;
  background: #fff !important;
}

body.builder-home .builder-flight-search .builder-flight-stepper-btn,
body.builder-home .builder-transfer-search .builder-transfer-stepper-btn {
  width: 34px !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.builder-home .builder-flight-search .builder-flight-stepper-value,
body.builder-home .builder-transfer-search .builder-transfer-stepper-value {
  width: 44px !important;
  text-align: center !important;
}

body.builder-home .builder-flight-search .builder-flight-passenger-panel[hidden],
body.builder-home .builder-transfer-search .builder-transfer-passenger-panel[hidden] {
  display: none !important;
}

@media (max-width: 991px) {
  body.builder-home .builder-flight-search .builder-flight-topbar {
    flex-wrap: wrap !important;
  }

  body.builder-home .builder-transfer-search .builder-transfer-topbar {
    grid-template-columns: 1fr !important;
  }

  body.builder-home .builder-flight-search .builder-flight-grid,
  body.builder-home .builder-activity-search .builder-activity-grid,
  body.builder-home .builder-package-search .builder-package-grid,
  body.builder-home .builder-transfer-search .builder-transfer-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Prevent transfer modal from stretching hero area */
body.builder-home #transferModalLocation.builder-transfer-modal {
  display: none !important;
}

body.builder-home #transferModalLocation.builder-transfer-modal.show {
  display: block !important;
}

/* Final safety net: prevent white blank panes */
body.builder-home .builder-search-panes,
body.builder-home .builder-search-pane {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

body.builder-home .builder-search-pane form,
body.builder-home .builder-search-pane .builder-flight-shell,
body.builder-home .builder-search-pane .builder-activity-shell,
body.builder-home .builder-search-pane .builder-package-shell,
body.builder-home .builder-search-pane .builder-transfer-shell {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

body.builder-home .builder-search-pane input,
body.builder-home .builder-search-pane select,
body.builder-home .builder-search-pane button {
  pointer-events: auto !important;
}

/* If transfer modal is accidentally rendered inside pane, hide it there */
body.builder-home .builder-search-pane .builder-transfer-modal,
body.builder-home .builder-search-pane .modal {
  display: none !important;
}

/* Builder page content plugins (destinations + offers) */
body.builder-home .builder-row-head { margin-bottom: 16px !important; }
body.builder-home .builder-row-title { color: var(--color-secondary, #0f172a) !important; font-size: 30px !important; font-weight: 700 !important; line-height: 1.2 !important; }
body.builder-home .builder-row-subtitle { margin-top: 6px !important; color: color-mix(in srgb, var(--color-secondary, #64748b) 72%, #ffffff) !important; font-size: 14px !important; }

body.builder-home .builder-plugin-carousel {
  overflow-x: auto !important;
  overflow-y: hidden !important;
  padding-bottom: 4px !important;
  -webkit-overflow-scrolling: touch;
}
body.builder-home .builder-plugin-track {
  display: grid !important;
  grid-template-columns: repeat(var(--builder-cols, 3), minmax(0, 1fr)) !important;
  gap: 16px !important;
}
body.builder-home .builder-row-surface {
  margin-top: 10px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  padding: 16px !important;
}
body.builder-home .builder-row-columns {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
}
body.builder-home .builder-row-column {
  width: var(--builder-col-percent, 100%) !important;
  max-width: var(--builder-col-percent, 100%) !important;
  flex: 0 0 var(--builder-col-percent, 100%) !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
}
body.builder-home .builder-row-column > * + * {
  margin-top: 14px !important;
}
body.builder-home .builder-destination-card,
body.builder-home .builder-offer-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}
body.builder-home .builder-destination-link,
body.builder-home .builder-offer-link {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}
body.builder-home .builder-destination-image-wrap,
body.builder-home .builder-offer-image-wrap { height: 170px !important; background: #e2e8f0 !important; }
body.builder-home .builder-destination-image,
body.builder-home .builder-offer-image { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
body.builder-home .builder-destination-image-placeholder,
body.builder-home .builder-offer-image-placeholder { width: 100% !important; height: 100% !important; background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0) !important; }
body.builder-home .builder-destination-body,
body.builder-home .builder-offer-body { padding: 14px 16px !important; }
body.builder-home .builder-destination-title,
body.builder-home .builder-offer-title { color: color-mix(in srgb, var(--color-secondary, #0f172a) 78%, #000000) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.25 !important; }
body.builder-home .builder-destination-country { margin-top: 4px !important; color: color-mix(in srgb, var(--color-secondary, #64748b) 70%, #ffffff) !important; font-size: 16px !important; font-weight: 500 !important; }
body.builder-home .builder-offer-description { margin-top: 8px !important; color: #475569 !important; font-size: 13px !important; line-height: 1.45 !important; min-height: 38px !important; }
body.builder-home .builder-offer-footer { margin-top: 12px !important; display: flex !important; justify-content: space-between !important; align-items: center !important; gap: 10px !important; }
body.builder-home .builder-offer-price-label { display: block !important; color: #64748b !important; font-size: 12px !important; }
body.builder-home .builder-offer-price { display: block !important; color: color-mix(in srgb, var(--color-secondary, #0f172a) 78%, #000000) !important; font-size: 20px !important; font-weight: 700 !important; }
body.builder-home .builder-offer-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary, #2563eb) 82%, #ffffff),
    var(--color-primary, #2563eb)
  ) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.builder-home .builder-blog-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}
body.builder-home .builder-blog-link { display: block !important; color: inherit !important; text-decoration: none !important; }
body.builder-home .builder-blog-image-wrap { height: 190px !important; background: #e2e8f0 !important; }
body.builder-home .builder-blog-image,
body.builder-home .builder-blog-image-placeholder { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
body.builder-home .builder-blog-body { padding: 14px 16px !important; }
body.builder-home .builder-blog-date { color: color-mix(in srgb, var(--color-secondary, #64748b) 68%, #ffffff) !important; font-size: 12px !important; margin-bottom: 6px !important; }
body.builder-home .builder-blog-title { color: color-mix(in srgb, var(--color-secondary, #0f172a) 78%, #000000) !important; font-size: 16px !important; font-weight: 700 !important; line-height: 1.3 !important; }
body.builder-home .builder-blog-description { margin-top: 8px !important; color: #475569 !important; font-size: 13px !important; line-height: 1.45 !important; min-height: 40px !important; }
body.builder-home .builder-blog-cta { display: inline-block !important; margin-top: 12px !important; color: var(--color-primary, #2563eb) !important; font-size: 13px !important; font-weight: 700 !important; }

body.builder-home .builder-form-wrap { width: 100% !important; }
body.builder-home .builder-form-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
  padding: 20px !important;
}
body.builder-home .builder-form-title { color: color-mix(in srgb, var(--color-secondary, #0f172a) 78%, #000000) !important; font-size: 24px !important; font-weight: 700 !important; }
body.builder-home .builder-form-subtitle { margin-top: 6px !important; color: color-mix(in srgb, var(--color-secondary, #64748b) 70%, #ffffff) !important; font-size: 14px !important; }
body.builder-home .builder-form-grid {
  margin-top: 16px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}
body.builder-home .builder-form-field { display: flex !important; flex-direction: column !important; gap: 6px !important; }
body.builder-home .builder-form-field--full { grid-column: 1 / -1 !important; }
body.builder-home .builder-form-field > span { color: #334155 !important; font-size: 13px !important; font-weight: 600 !important; }
body.builder-home .builder-form-field input,
body.builder-home .builder-form-field textarea {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  min-height: 46px !important;
  padding: 10px 12px !important;
  color: #0f172a !important;
  background: #fff !important;
}
body.builder-home .builder-form-submit {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary, #2563eb) 82%, #ffffff),
    var(--color-primary, #2563eb)
  ) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}

body.builder-home .builder-text-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
  padding: 18px !important;
}
body.builder-home .builder-text-title { color: color-mix(in srgb, var(--color-secondary, #0f172a) 78%, #000000) !important; font-size: 26px !important; font-weight: 700 !important; }
body.builder-home .builder-text-subtitle { margin-top: 6px !important; color: color-mix(in srgb, var(--color-secondary, #475569) 72%, #ffffff) !important; font-size: 14px !important; }
body.builder-home .builder-text-content { margin-top: 10px !important; color: #334155 !important; font-size: 15px !important; line-height: 1.65 !important; }

body.builder-home .builder-image-card { border-radius: 16px !important; overflow: hidden !important; }
body.builder-home .builder-image-content { width: 100% !important; display: block !important; object-fit: cover !important; }

@media (max-width: 767px) {
  body.builder-home .builder-row-title { font-size: 22px !important; }
  body.builder-home .builder-plugin-track {
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(220px, 1fr) !important;
    grid-template-columns: unset !important;
  }
  body.builder-home .builder-form-grid { grid-template-columns: 1fr !important; }
  body.builder-home .builder-row-columns { margin-left: -6px !important; margin-right: -6px !important; }
  body.builder-home .builder-row-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
}

/* Footer mobile + link colors */
body.builder-home .builder-footer a,
body.builder-home .builder-footer a:visited,
body.builder-home .builder-footer a:active {
  color: inherit !important;
  text-decoration: none !important;
}

body.builder-home .builder-footer a:hover {
  color: var(--color-primary) !important;
}

@media (max-width: 767px) {
  body.builder-home .builder-footer-columns {
    grid-template-columns: 1fr !important;
  }
}

/* =========================================================
   Builder engines hard-fixes (agency + builder pages)
   - Fix autocomplete dropdown offsets (flights, activities)
   - Align flight/transfer passenger panels with hotel style
========================================================= */
.builder-search-engine .builder-flight-search .builder-flight-field,
.builder-search-engine .builder-activity-search .builder-activity-field,
.builder-search-engine .builder-transfer-search .builder-transfer-field,
.builder-search-engine .builder-transfer-search .builder-transfer-passenger-wrap {
  overflow: visible !important;
}

.builder-search-engine .builder-flight-search .builder-flight-field--city,
.builder-search-engine .builder-activity-search .builder-activity-field {
  position: relative !important;
}

.builder-search-engine .builder-flight-data-anchor,
.builder-search-engine .builder-activity-data-anchor {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 8px) !important;
  z-index: 99998 !important;
}

.builder-search-engine .builder-flight-data-anchor .city-list,
.builder-search-engine .builder-activity-data-anchor .city-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 8px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14) !important;
  max-height: 300px !important;
  overflow-y: auto !important;
}

.builder-search-engine .builder-flight-data-anchor .city-item,
.builder-search-engine .builder-activity-data-anchor .city-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  cursor: pointer !important;
}

.builder-search-engine .builder-flight-data-anchor .city-item:hover,
.builder-search-engine .builder-activity-data-anchor .city-item:hover {
  background: #f8fafc !important;
}

.builder-search-engine .builder-flight-search .builder-flight-passenger-panel,
.builder-search-engine .builder-transfer-search .builder-transfer-passenger-panel {
  top: calc(100% + 12px) !important;
  left: 0 !important;
  z-index: 99999 !important;
  width: min(440px, calc(100vw - 48px)) !important;
  padding: 18px !important;
  border: 1px solid #dbe4ef !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16) !important;
}

.builder-search-engine .builder-flight-search .builder-flight-counter-row,
.builder-search-engine .builder-transfer-search .builder-transfer-counter-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
}

.builder-search-engine .builder-flight-search .builder-flight-counter-row > span,
.builder-search-engine .builder-transfer-search .builder-transfer-counter-row > span {
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

.builder-search-engine .builder-flight-search .builder-flight-counter-row + .builder-flight-counter-row,
.builder-search-engine .builder-transfer-search .builder-transfer-counter-row + .builder-transfer-counter-row {
  margin-top: 12px !important;
}

.builder-search-engine .builder-flight-search .builder-flight-class-row {
  margin-top: 14px !important;
  padding-top: 14px !important;
  border-top: 1px solid #e8edf4 !important;
}

.builder-search-engine .builder-flight-search .builder-flight-class-chooser {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

.builder-search-engine .builder-flight-search .builder-flight-class-btn {
  border: 1px solid #dbe3ef !important;
  border-radius: 9999px !important;
  padding: 6px 12px !important;
  background: #fff !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

.builder-search-engine .builder-flight-search .builder-flight-class-btn.is-active {
  background: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
  color: #fff !important;
}

.builder-search-engine .builder-flight-search .builder-flight-stepper,
.builder-search-engine .builder-transfer-search .builder-transfer-stepper {
  gap: 8px !important;
}

.builder-search-engine .builder-flight-search .builder-flight-stepper-btn,
.builder-search-engine .builder-transfer-search .builder-transfer-stepper-btn {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.builder-search-engine .builder-flight-search .builder-flight-stepper-value,
.builder-search-engine .builder-transfer-search .builder-transfer-stepper-value {
  width: 46px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background: #fff !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-align: center !important;
  -moz-appearance: textfield !important;
}

.builder-search-engine .builder-flight-search .builder-flight-stepper-value::-webkit-outer-spin-button,
.builder-search-engine .builder-flight-search .builder-flight-stepper-value::-webkit-inner-spin-button,
.builder-search-engine .builder-transfer-search .builder-transfer-stepper-value::-webkit-outer-spin-button,
.builder-search-engine .builder-transfer-search .builder-transfer-stepper-value::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.builder-search-engine .builder-flight-search .builder-flight-passenger-trigger[aria-expanded="true"] .builder-flight-chevron,
.builder-search-engine .builder-transfer-search .builder-transfer-passenger-trigger[aria-expanded="true"] .builder-transfer-chevron {
  transform: rotate(180deg) !important;
}

.builder-search-engine .builder-flight-search #class-flight {
  width: 100% !important;
  height: 42px !important;
  padding: 0 36px 0 14px !important;
  border: 1px solid #d9e2ec !important;
  border-radius: 9999px !important;
  background-color: #fff !important;
  color: #0f172a !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%2364758B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}

@media (max-width: 991px) {
  .builder-search-engine .builder-flight-search .builder-flight-passenger-panel,
  .builder-search-engine .builder-transfer-search .builder-transfer-passenger-panel {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* =========================================================
   Agency header nav fix
   - keep parent items aligned with primary nav
   - render children in modern dropdown (desktop)
========================================================= */
body.agency .builder-header .builder-header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}

body.agency .builder-header .builder-header-menu-item {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Keep hover alive while moving cursor to submenu */
body.agency .builder-header .builder-header-menu-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

body.agency .builder-header .builder-header-menu-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  line-height: 1.1 !important;
  color: var(--color-header-text, #ffffff) !important;
}

body.agency .builder-header .builder-header-submenu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  z-index: 120 !important;
  min-width: 230px !important;
  padding: 8px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12) !important;
}

body.agency .builder-header .builder-header-menu-item:hover > .builder-header-submenu,
body.agency .builder-header .builder-header-menu-item:focus-within > .builder-header-submenu {
  display: block !important;
}

body.agency .builder-header .builder-header-submenu-link {
  display: block !important;
  padding: 8px 10px !important;
  border-radius: 8px !important;
  color: #0f172a !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body.agency .builder-header .builder-header-submenu-link:hover,
body.agency .builder-header .builder-header-submenu-link:focus {
  background: #f8fafc !important;
  color: var(--color-primary, #4f46e5) !important;
}

body.agency .builder-header .builder-header-control,
body.agency .builder-header .builder-header-control-link,
body.agency .builder-header .builder-header-icon-control {
  color: var(--color-header-text, #ffffff) !important;
  border-color: var(--color-header-text, #ffffff) !important;
  box-shadow: none !important;
}

body.agency .builder-header .builder-header-control,
body.agency .builder-header .builder-header-control-link {
  background: transparent !important;
}

/* Desktop account block: unified modern pills */
@media (min-width: 992px) {
  body.agency .builder-header .builder-header-actions-desktop {
    gap: 10px !important;
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-control,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-control-link,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-cta {
    height: 40px !important;
    min-height: 40px !important;
    border-radius: 9999px !important;
    padding: 0 14px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    letter-spacing: 0.01em !important;
    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease !important;
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-control,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-control-link {
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: var(--color-header-text, #ffffff) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-cta {
    font-weight: 700 !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    background: var(--color-secondary, var(--color-primary, #4f46e5)) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.32) !important;
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-control:hover,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-control-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.75) !important;
    transform: translateY(-1px) !important;
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-cta:hover {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.38) !important;
  }

  body.agency .builder-header .builder-header-actions-desktop .builder-header-control:focus-visible,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-control-link:focus-visible,
  body.agency .builder-header .builder-header-actions-desktop .builder-header-cta:focus-visible {
    outline: 0 !important;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.30) !important;
  }
}

@media (max-width: 991px) {
  body.agency .builder-header .builder-header-submenu {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 4px 0 0 14px !important;
    margin-top: 6px !important;
  }
}

/* =========================================================
   Agency plugin styling (form/blog/activities)
========================================================= */
body.agency .builder-blog-card,
body.agency .builder-offer-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 18px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
  height: 100% !important;
}

body.agency .builder-blog-link,
body.agency .builder-offer-link {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}

body.agency .builder-blog-image-wrap,
body.agency .builder-offer-image-wrap {
  height: 190px !important;
  background: #e2e8f0 !important;
}

body.agency .builder-blog-image,
body.agency .builder-offer-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

body.agency .builder-blog-image-placeholder,
body.agency .builder-offer-image-placeholder {
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0) !important;
}

body.agency .builder-blog-body,
body.agency .builder-offer-body {
  padding: 14px 16px !important;
}

body.agency .builder-blog-title,
body.agency .builder-offer-title {
  color: #0f172a !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

body.agency .builder-blog-description,
body.agency .builder-offer-description {
  margin-top: 8px !important;
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.agency .builder-blog-date {
  color: #64748b !important;
  font-size: 12px !important;
  margin-bottom: 6px !important;
}

body.agency .builder-blog-cta {
  display: inline-block !important;
  margin-top: 12px !important;
  color: var(--color-primary, #4f46e5) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.agency .builder-offer-footer {
  margin-top: 12px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 10px !important;
}

body.agency .builder-offer-price-label {
  display: block !important;
  color: #64748b !important;
  font-size: 12px !important;
}

body.agency .builder-offer-price {
  display: block !important;
  color: #0f172a !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

body.agency .builder-offer-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary, #4f46e5) 82%, #ffffff),
    var(--color-primary, #4f46e5)
  ) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

body.agency .builder-form-wrap {
  width: 100% !important;
}

body.agency .builder-form-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08) !important;
  padding: 20px !important;
}

body.agency .builder-form-title {
  color: #0f172a !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

body.agency .builder-form-subtitle {
  margin-top: 6px !important;
  color: #64748b !important;
  font-size: 14px !important;
}

body.agency .builder-form-grid {
  margin-top: 16px !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

body.agency .builder-form-field {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

body.agency .builder-form-field--full {
  grid-column: 1 / -1 !important;
}

body.agency .builder-form-field > span {
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

body.agency .builder-form-field input,
body.agency .builder-form-field textarea {
  border: 1px solid #cbd5e1 !important;
  border-radius: 12px !important;
  min-height: 46px !important;
  padding: 10px 12px !important;
  color: #0f172a !important;
  background: #fff !important;
}

body.agency .builder-form-submit {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--color-primary, #4f46e5) 82%, #ffffff),
    var(--color-primary, #4f46e5)
  ) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
}

/* Agency mobile header: always use drawer on small screens */
@media (max-width: 991px) {
  body.agency .builder-header .builder-header-nav,
  body.agency .builder-header .builder-header-actions-desktop {
    display: none !important;
  }

  body.agency .builder-header .builder-header-actions-mobile {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-left: auto !important;
  }

  body.agency .builder-header .builder-header-burger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (min-width: 992px) {
  body.agency .builder-header .builder-header-nav {
    display: flex !important;
  }

  body.agency .builder-header .builder-header-actions-mobile,
  body.agency .builder-header .builder-header-burger {
    display: none !important;
  }
}

/* Builder engines on list pages (agency): mobile stacking fixes */
.builder-search-engine .builder-hotel-search .builder-hotel-passenger-shell {
  position: relative !important;
  z-index: 20 !important;
}

.builder-search-engine .builder-hotel-search .builder-hotel-submit-field {
  position: relative !important;
  z-index: 1 !important;
}

.builder-search-engine .builder-hotel-search .builder-hotel-passenger-panel {
  z-index: 100000 !important;
}

@media (max-width: 991px) {
  .builder-search-engine .builder-hotel-search .builder-hotel-passenger-panel {
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}

@media (max-width: 640px) {
  .builder-search-engine .builder-hotel-search .builder-hotel-card--date .builder-hotel-card-body,
  .builder-search-engine .builder-hotel-search .builder-hotel-card-body--date {
    padding-right: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .builder-search-engine .builder-hotel-search .builder-hotel-period-overlay {
    right: 0 !important;
  }

  .builder-search-engine .builder-hotel-search .builder-hotel-night-count {
    position: static !important;
    transform: none !important;
    margin-top: 8px !important;
    justify-content: flex-start !important;
    min-width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .builder-search-engine .builder-hotel-search .builder-hotel-night-value {
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
}

/* Search pages: keep hero/header behavior like home */
body.agency.search-list-page .builder-header {
  display: block !important;
  z-index: 500 !important;
}

body.agency.search-list-page .builder-hero--search {
  position: relative !important;
  z-index: 1 !important;
  overflow: visible !important;
}

body.agency.search-list-page .builder-hero--search .builder-hero-inner,
body.agency.search-list-page .builder-hero--search .builder-search-engine {
  position: relative !important;
  z-index: 2 !important;
  overflow: visible !important;
}

/* Fix hotel passenger panel overlap on mobile */
body.agency.search-list-page .builder-search-engine .builder-hotel-search .builder-hotel-passengers-field {
  position: relative !important;
  z-index: 35 !important;
}

body.agency.search-list-page .builder-search-engine .builder-hotel-search .builder-hotel-submit-field {
  position: relative !important;
  z-index: 5 !important;
}

body.agency.search-list-page .builder-search-engine .builder-hotel-search .builder-hotel-passenger-shell {
  position: relative !important;
  z-index: 40 !important;
}

body.agency.search-list-page .builder-search-engine .builder-hotel-search .builder-hotel-passenger-panel {
  z-index: 999999 !important;
}

@media (max-width: 767px) {
  body.agency.search-list-page .searchresults_content {
    position: relative !important;
    z-index: 1 !important;
  }
}
