/* Loaded only by the explicit Czech staging preview URLs. */
:is(#PageH, #PageHMobile) .ecz-stage-search-ready,
.ecz-stage-search .ecs-customer-search-slot {
  background: transparent;
}
.ecz-stage-search {
  --draft-radius: 7px;
  --draft-action: 81px;
}
:root:has(link[data-search-draft="5"]) .ecz-stage-search {
  --draft-radius: 99px;
  --draft-action: 38px;
}
.ecz-stage-search .ecs-search {
  max-width: 520px;
  height: 38px;
}
.ecz-stage-search .ecs-form {
  height: 38px !important;
  border: 0;
  border-radius: var(--draft-radius);
  align-items: center;
}
.ecz-stage-search .ecs-form input {
  height: 100% !important;
  padding: 0 14px !important;
  border-radius: inherit;
  background: transparent !important;
  font-size: 15px !important;
}
.ecz-stage-search .ecs-form input::placeholder { color: #737373; }
.ecz-stage-search .ecs-clear { height: 100%; }
:is(#PageH, #PageHMobile) .ecz-stage-search .ecs-submit {
  position: relative;
  height: 100%;
  flex: 0 0 var(--draft-action);
  min-width: var(--draft-action);
  padding: 0;
  border-radius: 0 var(--draft-radius) var(--draft-radius) 0;
  background: #ff6600;
  color: #fff;
}
.ecz-stage-search .ecs-submit span { display: inline; color: #fff; }
.ecz-stage-search .ecs-submit svg { display: none; }
:root:has(link[data-search-draft="5"]) .ecz-stage-search .ecs-submit {
  border-radius: 50%;
  background: transparent !important;
  color: #fff !important;
}
:root:has(link[data-search-draft="5"]) .ecs-submit::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #ff6600;
}
:root:has(link[data-search-draft="5"]) .ecz-stage-search .ecs-submit span { display: none; }
:root:has(link[data-search-draft="5"]) .ecz-stage-search .ecs-submit svg {
  position: relative;
  display: block;
  width: 17px;
  height: 17px;
  stroke-width: 2.5;
}
.ecz-stage-search .ecs-dropdown { top: 38px; }
@media (min-width: 701px) {
  #PageH .ecz-stage-search {
    --search-submit-width: var(--draft-action);
    /* Account for the difference from the usual 44px button on narrow desktops. */
    --draft-panel-width: min(922px, 70vw, 70vw + 44px - var(--draft-action));
  }
  #PageH .ecz-stage-search .ecs-dropdown { width: var(--draft-panel-width) !important; }
  :root:has(link[data-search-draft="2b"]) #PageH .ecz-stage-search .ecs-dropdown {
    right: 0;
    width: calc(var(--draft-panel-width) + var(--draft-action)) !important;
  }
  :root:has(link[data-search-draft="2c"], link[data-search-draft="2d"]) #PageH .ecz-stage-search .ecs-dropdown {
    left: calc(16px - var(--draft-room-to-logo, 16px)) !important;
    right: calc(100% - var(--draft-sets-end, 100%));
    width: auto !important;
  }
}
@media (max-width: 700px) {
  .ecz-stage-search { --draft-action: 68px; }
  #PageHMobile .ecz-stage-search .ecs-form input { font-size: 16px !important; }
  :root:has(link[data-search-draft="2b"], link[data-search-draft="2c"], link[data-search-draft="2d"]) #PageHMobile .ecz-stage-search .ecs-dropdown {
    right: 0;
    width: auto !important;
  }
}
