.whb-widget {
  --whb-border-color: #1b1a17;
  --whb-shape-url: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 234.99 37.75' preserveAspectRatio='none'><path fill='none' stroke='currentColor' stroke-width='0.75' stroke-miterlimit='10' d='M14.29,35.37c-3.52-.04-6.76-1.65-8.49-4.23l-2.37-3.52c-4.03-5.99-4.06-13.31-.09-19.32l2.4-3.63C7.5,1.99,10.85.35,14.48.38h204.23c3.52.04,6.76,1.65,8.5,4.23l2.37,3.52c4.03,5.99,4.06,13.31.09,19.32l-2.4,3.63c-1.77,2.67-5.12,4.32-8.75,4.29H14.29Z'/></svg>");
  color: #1b1a17;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.whb-widget button,
.whb-widget input {
  font: inherit;
}

.whb-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px 28px;
  border: none;
  background-color: #efe6d9;
}

.whb-row {
  display: grid;
  grid-template-columns: minmax(200px, 1fr) repeat(2, minmax(160px, 1fr)) minmax(190px, 1fr);
  gap: 18px;
  align-items: center;
}

.whb-date-trigger {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 8px 4px 10px;
  border: none;
  border-bottom: 1px solid var(--whb-border-color);
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.whb-chevron {
  width: 10px;
  height: 10px;
  border: 1px solid var(--whb-border-color);
  border-left: 0;
  border-top: 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.whb-date-trigger.is-open .whb-chevron {
  transform: rotate(-135deg);
}

.whb-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.whb-stepper-label {
  white-space: nowrap;
}

.whb-stepper-controls {
  display: grid;
  grid-template-columns: 36px minmax(44px, 1fr) 36px;
  align-items: center;
  padding: 6px 16px;
  gap: 6px;
  min-height: 44px;
  color: var(--whb-border-color);
  position: relative;
}

.whb-stepper-btn {
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.whb-stepper-value {
  width: 100%;
  border: none;
  background: transparent;
  text-align: center;
  color: inherit;
  font-size: 1em;
  letter-spacing: 0.02em;
  -moz-appearance: textfield;
  cursor: default;
  padding: 0;
}

.whb-stepper-value-input {
  display: none;
}

.whb-submit {
  border: none;
  background: transparent;
  color: inherit;
  width: 100%;
  padding: 10px 24px;
  text-transform: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.whb-submit-wrap {
  position: relative;
  color: var(--whb-border-color);
}

.whb-submit-wrap > :not(.whb-shape-outline) {
  position: relative;
  z-index: 1;
}

.whb-submit.is-disabled,
.whb-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.whb-date-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 24px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.whb-date-panel[hidden] {
  display: none !important;
}

.whb-date-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whb-date-input {
  width: 100%;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: inherit;
}

.whb-date-display {
  width: 100%;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: center;
  letter-spacing: 0.02em;
}

.whb-field-wrap {
  display: flex;
  align-items: center;
  padding: 2px;
  position: relative;
}

.whb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whb-date-input.whb-visually-hidden {
  display: none;
}

.whb-field {
  background-color: transparent;
}

.whb-pill {
  border-radius: 999px;
  background-image: var(--whb-shape-url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
}

.whb-stepper-controls.whb-pill {
  background-image: none;
  outline: none;
}

.whb-submit-wrap.whb-pill {
  background-image: none;
}

.whb-shape-outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  overflow: visible;
}

.whb-shape-outline--mobile {
  display: none;
}

.whb-shape-outline path {
  vector-effect: non-scaling-stroke;
}

.whb-stepper-controls > :not(.whb-shape-outline) {
  position: relative;
  z-index: 1;
}

.whb-field-wrap.whb-pill {
  background-image: none;
}

.whb-field-wrap > :not(.whb-shape-outline) {
  position: relative;
  z-index: 1;
}

.whb-calendar {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.whb-calendar .ui-datepicker {
  width: 100%;
  margin-top: 0;
  padding: 10px 4px 4px;
  border: none !important;
  background: transparent;
  color: inherit;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.whb-calendar .ui-widget-content {
  border: 0 !important;
  background: transparent;
}

.whb-calendar .ui-datepicker-multi {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px;
}

.whb-calendar .ui-datepicker-multi .ui-datepicker-group {
  width: 50% !important;
  float: none !important;
}

.whb-calendar .ui-datepicker-multi-2 {
  width: 100% !important;
}

.whb-calendar .ui-datepicker table,
.whb-calendar .ui-datepicker th,
.whb-calendar .ui-datepicker td {
  border: none;
}

.whb-calendar .ui-datepicker table {
  width: 100%;
  border-collapse: collapse;
}

.whb-calendar .ui-datepicker-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.35em;
  letter-spacing: 0.08em;
}

.whb-calendar .ui-datepicker-title {
  font-weight: 500;
  border-bottom: 1px solid var(--whb-border-color);
  padding-bottom: 8px;
  width: 100%;
  text-align: center;
}

.whb-calendar .ui-datepicker th {
  padding: 6px 4px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.whb-calendar .ui-datepicker td {
  padding: 8px 4px;
  text-align: center;
  background: transparent !important;
}

.whb-calendar .ui-datepicker td a,
.whb-calendar .ui-datepicker td span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 0;
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.whb-calendar .ui-datepicker-prev,
.whb-calendar .ui-datepicker-next {
  position: absolute;
  top: 2px;
  width: 32px;
  height: 32px;
  border: none;
  cursor: pointer;
  background: none !important;
}

.whb-calendar .ui-datepicker-group-first .ui-datepicker-prev {
  left: 0 !important;
}

.whb-calendar .ui-datepicker-group-last .ui-datepicker-next {
  right: 0 !important;
}

.whb-calendar .ui-datepicker-group-first .ui-datepicker-next,
.whb-calendar .ui-datepicker-group-last .ui-datepicker-prev {
  display: none;
}

.whb-calendar .ui-datepicker-single .ui-datepicker-prev,
.whb-calendar .ui-datepicker-single .ui-datepicker-next {
  display: block;
}

.whb-calendar .ui-datepicker-single .ui-datepicker-prev {
  left: 0 !important;
}

.whb-calendar .ui-datepicker-single .ui-datepicker-next {
  right: 0 !important;
}

.whb-calendar .ui-datepicker-next {
  right: 0 !important;
  left: auto !important;
}

.whb-calendar .ui-datepicker-prev {
  left: 0 !important;
  right: auto !important;
}

.whb-calendar .ui-datepicker-prev span,
.whb-calendar .ui-datepicker-next span,
.whb-calendar .ui-icon {
  display: none !important;
}

.whb-calendar .ui-datepicker-prev::before,
.whb-calendar .ui-datepicker-next::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border: 1px solid var(--whb-border-color);
  border-left: 0;
  border-top: 0;
  margin: 12px auto;
  transform: rotate(135deg);
}

.whb-calendar .ui-datepicker-next::before {
  transform: rotate(-45deg);
}

.whb-calendar td.whb-range {
  background: #a89278 !important;
}

.whb-calendar td.whb-range-start,
.whb-calendar td.whb-range-end {
  background: #a89278 !important;
}

.whb-calendar td.whb-range-start {
  border-radius: 999px 0 0 999px;
}

.whb-calendar td.whb-range-end {
  border-radius: 0 999px 999px 0;
}

.whb-calendar td.whb-range-start.whb-range-end {
  border-radius: 999px;
}

.whb-calendar .whb-range a,
.whb-calendar .whb-range span,
.whb-calendar .ui-state-active,
.whb-calendar .ui-widget-content .ui-state-active {
  background: transparent !important;
  color: #1b1a17;
}

.whb-calendar .whb-range-start a {
  border-radius: 999px 0 0 999px;
}

.whb-calendar .whb-range-end a {
  border-radius: 0 999px 999px 0;
}

.whb-calendar .whb-range-start.whb-range-end a {
  border-radius: 999px;
}

.whb-calendar .ui-datepicker tr,
.whb-calendar .ui-datepicker tbody,
.whb-calendar .ui-datepicker thead {
  background: transparent !important;
}

@media (max-width: 1024px) {
  .whb-row {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }

  .whb-submit {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .whb-form {
    display: flex;
    flex-direction: column;
  }

  .whb-row {
    display: contents;
  }

  .whb-date-trigger {
    order: 1;
  }

  .whb-date-panel {
    order: 2;
  }

  .whb-stepper {
    order: 3;
  }

  .whb-submit {
    order: 4;
  }

  .whb-stepper,
  .whb-submit {
    display: none;
  }

  .whb-widget.whb-panel-open .whb-stepper,
  .whb-widget.whb-panel-open .whb-submit {
    display: flex;
  }

  .whb-widget.whb-panel-open .whb-submit {
    display: inline-flex;
  }

  .whb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .whb-date-trigger {
    grid-column: 1 / -1;
  }

  .whb-submit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .whb-date-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-top: 12px;
  }
  .whb-stepper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 0 !important;
  }

  .whb-field-wrap {
    padding: 0;
  }

  .whb-date-fields--checkin .whb-field-wrap {
    border-radius: 999px 0 0 999px;
  }

  .whb-date-fields--checkout .whb-field-wrap {
    border-radius: 0 999px 999px 0;
  }

  .whb-date-fields--checkin .whb-field-wrap::after {
    content: none;
  }

  .whb-date-fields--checkin .whb-shape-outline--wide,
  .whb-date-fields--checkout .whb-shape-outline--wide {
    display: none !important;
  }

  .whb-date-fields--checkin .whb-shape-outline--checkin-mobile,
  .whb-date-fields--checkout .whb-shape-outline--checkout-mobile {
    display: block !important;
  }

  .whb-stepper-controls {
    grid-template-columns: 15px minmax(15px, 1fr) 15px;
    width: 112px;
  }

  .whb-submit {
    margin-top: 8px;
  }

  .whb-row > .whb-stepper {
    justify-content: space-between !important;
  }

  .whb-widget.whb-panel-open .whb-submit {
    justify-content: center;
  }

  .whb-calendar .ui-datepicker-prev,
  .whb-calendar .ui-datepicker-next {
    top: 50%;
    transform: translateY(-50%);
  }

}
.whb-date-text {
  font-size: 0.95em;
  letter-spacing: 0.08em;
}

.whb-stepper-controls {
  grid-template-columns: 0.781vw minmax(0.781vw, 1fr) 0.781vw;
}



.whb-row > .whb-stepper:last-of-type {
  justify-content: flex-start;
  padding-left: 1.042vw;
}

.whb-row > .whb-stepper:first-of-type {
    justify-content: flex-end;
  }

.whb-submit.whb-pill.is-disabled {
  opacity: 1;
}

.whb-calendar .ui-datepicker-title {
  padding: 0;
}

.ui-corner-right .ui-datepicker-title {
  text-align: start;
}

.ui-corner-left .ui-datepicker-title {
  text-align: end;
}

@media (min-width: 1024px) {
  .whb-date-panel {
    padding: 16px 7.292vw 0 !important;
  }
}

@media (max-width: 767px) {
  /* .whb-stepper-controls {
    grid-template-columns: 25px minmax(25px, 1fr) 25px;
  }*/

  .whb-stepper-controls.whb-pill {
    width: 112px;
  } 

  .whb-stepper {
    padding: 0 !important;
    gap: 5px;
  }
}
