/* Evermore styles */

:root {
  --font-headline: 'Victor';
  --color-primary: 22, 16, 50;
}

@font-face {
  font-family: 'Victor';
  font-display: swap;
  font-weight: 400;
  src: url('https://www.hilton.com/modules/assets/fonts/victor/medium.otf') format('opentype');
}

[data-element-id='nav-desktop'] * {
  font-weight: 600;
}

[data-element-id='subtitle-wrapper']:not(:has(> p)) {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 40px;
}

/* temp */
.QSIWebResponsive {
  display: none !important;
  visibility: hidden !important;
}
/* hide chatbox */
#hilton-chat-root {
  display: none !important;
}

.cp-header-shop-form *:focus,
.generic-modal-booking-widget *:focus {
  --tw-ring-color: #dff2d8 !important;
}

/* OSC Composable Search Form Text Override */
[data-osc-shop-form-rooms] div h2,
[data-osc-shop-form-rooms]
  div[data-testid='rooms-room-1']
  div
  > div:first-child
  > span:first-child {
  visibility: hidden;
  position: relative;
}

[data-osc-shop-form-rooms] > div:nth-child(2) > div:nth-child(3),
[data-osc-shop-form-rooms] > div:nth-child(2) > div:nth-child(4),
[data-osc-shop-form-rooms] div[data-testid='rooms-room-1'] > div > div:first-child,
[data-osc-shop-form-rooms] div div:first-child > div:first-child > span:first-child {
  display: none !important;
}

[data-osc-shop-form-rooms] div div:first-child > div:first-child,
[data-osc-shop-form-rooms] div[data-testid='rooms-room-1'] div {
  justify-content: center;
}

[data-osc-shop-form-rooms] > div:nth-child(2) > div > div > span {
  padding-left: 15px;
}

[data-osc-shop-form-rooms] div h2::before {
  content: 'Guests';
  visibility: visible;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

[data-osc-product='search-rooms-button'] button span {
  width: 10rem;
  width: 84px;
  overflow: hidden;
  text-indent: -93%;
  word-spacing: 6px;
  white-space: nowrap;
}

/* SHOP FORM OVERRIDES */
[data-osc-date-picker='true'] td button.font-bold[tabindex='0']:not(:disabled):not(:focus) {
  background-color: rgb(241, 241, 241);
  border-color: rgb(241, 241, 241);
  color: #1a4954;
}

[data-osc-date-picker='true'] td button.font-bold[tabindex='0']:not(:disabled):not(.bg-bg-alt) {
  background-color: rgb(9, 82, 86);
  border-color: rgb(9, 82, 86);
  color: rgb(255, 255, 255);
}

[data-osc-date-picker='true'] td button.text-text[tabindex='-1']:not(:disabled) {
  background-color: rgb(22, 16, 50);
  border-color: rgb(22, 16, 50);
  color: rgb(255, 255, 255);
}

[data-osc-date-picker='true'] td button[tabindex='0']:not(:disabled) {
  background-color: rgb(9, 82, 86);
  border-color: rgb(9, 82, 86);
  color: rgb(255, 255, 255);
}
