.age-gate-open {
  position: fixed;
  overflow: hidden;
  left: 0;
  top: 0;
  width: 100%;
}

.age-gate,
.age-gate *,
.age-gate:before,
.age-gate:after,
.age-gate *:before,
.age-gate *:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.age-gate {
  font-size: 16px;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 999;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  overflow-y: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.age-gate-open:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  z-index: 998;
}

.age-gate__wrapper {
  transition: 0.3s;
  margin: 0 auto;
  max-width: 540px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100%;
  padding: 40px 20px 30px;
  gap: 20px;
}

.age-gate__form {
  padding: 45px;
  background: #ffffff;
  border-radius: 0 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media only screen and (max-width: 600px) {
  .age-gate__form {
    padding: 25px;
    border-radius: 0 30px 0 0;
  }
}

.age-gate__title {
  max-width: 75%;
  margin: 0 auto 15px;
  font-size: 14px;
  text-transform: uppercase;
  line-height: 1.2;
}

.age-gate label {
  display: block;
  margin: 10px 0;
  text-align: left;
  font-size: 12px;
  color: #000;
}

.age-gate__logo {
  max-width: 170px;
  margin: 0 auto;
}

.age-gate__logo img {
  max-width: 100%;
}

.age-gate input[type="text"] {
  width: 100%;
  padding: 5px 16px;
  height: 40px;
  border: 1px solid #000000;
  border-radius: 0;
  min-height: 0;
}

.age-gate input[type="text"]:focus,
.age-gate input[type="text"]:focus-visible {
  outline: 2px solid #000;
}

.age-gate select {
  width: 100%;
  padding: 5px 16px;
  height: 40px;
  border: 1px solid #000000;
  border-radius: 0;
  min-height: 0;
  background: transparent;
}

.age-gate__date [role="group"] {
  display: flex;
  gap: 10px;
}

@media only screen and (max-width: 600px) {
  .age-gate__date [role="group"] {
    flex-direction: column;
  }
}

.age-gate__date .form-item {
  flex: 1;
  min-width: 0;
}

.age-gate__language .form-radios {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  flex-flow: row wrap;
  justify-content: flex-start;
}

.age-gate__language .form-type-radio {
  flex-grow: 1;
  padding: 0;
  position: relative;
}

.age-gate__language .form-radios input {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

.age-gate__language .form-radios label {
  border: 1px solid rgba(0, 0, 0, 0.9);
  padding: 10px;
  text-align: center;
  color: rgba(0, 0, 0, 0.9);
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin: 0;
  font-size: 16px;
}

.age-gate__language .form-radios input:focus + label {
  outline: 2px solid #000;
}

.age-gate__language .form-radios input:checked + label,
.age-gate__language .form-radios label:hover {
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
}

.age-gate__remember {
  margin-top: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 1;
}

.age-gate__remember .form-type-checkbox {
  position: relative;
  margin-right: 10px;
}

.age-gate__remember .form-item input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  z-index: 1;
  margin: 0;
  left: 0;
  top: 0;
  width: auto;
  height: auto;
}

.age-gate__remember input:focus-visible + label:before {
  outline: 1px solid #000000;
}

.age-gate__remember input[type="checkbox"] + label {
  padding-left: 25px;
  margin: 0;
  flex-wrap: wrap;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  white-space: nowrap;
}

.age-gate__remember label:before {
  width: 16px;
  height: 16px;
  display: inline-block;
  content: '';
  border: 1px solid rgba(0, 0, 0, 0.9);
  position: absolute;
  margin-right: 6px;
  left: 0;
}

.age-gate__remember label:after {
  content: '';
  display: inline-block;
  height: 8px;
  width: 8px;
  position: absolute;
  left: 4px;
  background: rgba(0, 0, 0, 0.9);
  transition: transform 0.25s cubic-bezier(0.165,0.84,0.44,1);
  transform: scale(0) translateZ(0);
}

.age-gate__remember input:checked + label:after {
  transform: scale(1) translateZ(0);
}

.age-gate__remember p {
  margin: 0;
}

.age-gate .form-item {
  margin: 0;
}

.age-gate .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 15px 0 0;
}

.age-gate .form-actions button {
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 0;
  color: #ffffff;
  padding: 14px;
  text-align: center;
  border: 0;
  width: 100%;
  max-width: 45%;
  margin: 0;
  display: block;
  height: auto;
}

.age-gate .form-actions button:hover {
  opacity: 0.8;
  transition: 0.4s;
}

.age-gate .form-item.error input:not(.nice-select-search) {
  border-color: #eb3755;
}

.age-gate__error-message {
  font-size: 13px;
  text-align: left;
  display: block;
  color: #eb3755;
}

.age-gate__description {
  font-size: 12px;
  line-height: 1.5;
  color: #ffffff;
}

/* Nice select*/
.age-gate .nice-select {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  background-color: #fff;
  border: solid 1px #000;
  cursor: pointer;
  display: block;
  font-size: 14px;
  font-weight: normal;
  height: 40px;
  line-height: 38px;
  outline: none;
  padding-left: 18px;
  padding-right: 30px;
  position: relative;
  text-align: left !important;
  transition: all 0.2s ease-in-out;
  user-select: none;
  width: 100%;
}

.age-gate .nice-select:focus {
  outline: 2px solid #000;
}

.age-gate .form-type-select.error .nice-select {
  border-color: #eb3755;
}
.age-gate .nice-select:hover {
  border-color: #000;
}
.age-gate .nice-select:active,
.age-gate .nice-select.open,
.age-gate .nice-select:focus {
  border-color: #000;
}
.age-gate .nice-select:after {
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
  content: "";
  display: block;
  height: 5px;
  margin-top: -4px;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform-origin: 66% 66%;
  transform: rotate(45deg);
  transition: all 0.15s ease-in-out;
  width: 5px;
}
.age-gate .nice-select.open:after {
  transform: rotate(-135deg);
}

.age-gate .nice-select.open .nice-select-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1) translateY(0);
}
.age-gate .nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}
.age-gate .nice-select.disabled:after {
  border-color: #ccc;
}
.age-gate .nice-select.wide {
  width: 100%;
}
.age-gate .nice-select.wide .nice-select-dropdown {
  left: 0 !important;
  right: 0 !important;
}
.age-gate .nice-select.right {
  float: right;
}
.age-gate .nice-select.right .nice-select-dropdown {
  left: auto;
  right: 0;
}
.age-gate .nice-select.small {
  font-size: 12px;
  height: 40px;
  line-height: 34px;
}
.age-gate .nice-select.small:after {
  height: 4px;
  width: 4px;
}
.age-gate .nice-select .nice-select-dropdown {
  background-color: #fff;
  border: 1px solid;
  pointer-events: none;
  position: absolute;
  top: 100%;
  transform-origin: 50% 0;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  opacity: 0;
  left: -1px;
  right: -1px;
}
.age-gate .nice-select .list {
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0;
  max-height: 210px;
  overflow-y: auto;
  margin: 0;
}
.age-gate .nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}
.age-gate .nice-select .list:hover .option:not(:hover) {
  background-color: rgba(0, 0, 0, 0) !important;
}
.age-gate .nice-select .option {
  cursor: pointer;
  font-weight: 400;
  list-style: none;
  outline: none;
  padding: 13px 30px 13px 20px;
  text-align: left;
  transition: all 0.2s;
  line-height: 1.2;
}
.age-gate .nice-select .option:hover,
.age-gate .nice-select .option.focus,
.age-gate .nice-select .option:focus,
.age-gate .nice-select .option.selected.focus {
  background-color: #f6f6f6;
}
.age-gate .nice-select .option.selected {
  font-weight: bold;
}
.age-gate .nice-select .option.disabled {
  background-color: rgba(0, 0, 0, 0);
  color: #999;
  cursor: default;
}
.age-gate .nice-select .optgroup {
  font-weight: bold;
}

.age-gate .nice-select .has-multiple {
  white-space: inherit;
  height: auto;
  padding: 7px 12px;
  min-height: 36px;
  line-height: 22px;
}
.age-gate .nice-select .has-multiple span.current {
  border: 1px solid #ccc;
  background: #eee;
  padding: 0 10px;
  border-radius: 3px;
  display: inline-block;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 3px;
  margin-right: 3px;
}

.age-gate .nice-select .current {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.age-gate .nice-select .has-multiple .multiple-options {
  display: block;
  line-height: 24px;
  padding: 0;
}
.age-gate .nice-select .nice-select-search-box {
  width: 100%;
  padding: 5px;
}
.age-gate .nice-select .nice-select-search {
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  color: #444;
  display: inline-block;
  vertical-align: middle;
  padding: 7px 12px;
  width: 100%;
  min-height: 36px;
  line-height: 22px;
  height: auto;
  outline: 0 !important;
  font-size: 14px;
}

.custom-select-enabled {
  position: absolute;
}

.svelte-select-list {
  top: 100% !important;
  bottom: auto !important;
}
