.modal .input_group .custom-checkbox {
    bottom: 31px;
}
.modal .input_group {
position: relative;
}
#jGrowl{
  display:none;
}

.menu .child_menu_img img{
  object-fit: contain;
}

.ajax_form .input_group .btn_black P{
      font-size: 18px;
}

.bowling_track .input_group .smart-captcha {
  border-radius: 8px;
  background-color: #ffbe98;
}

.billiards_track .input_group .smart-captcha {
  border-radius: 8px;
  background-color: #ffffaa;
}

.error_smart-token {
  font-size: 12px;
}

.modal .error_smart-token {
  font-size: 16px;
}

.smart-captcha {
  min-width: 230px !important; 
}

.modal .input_group .smart-captcha {
  background-color: #cebcffa1;
  border-radius: 8px;
}

@media screen and (max-width: 640px) {
  .rate .color_block .btn{
        overflow: hidden;
  }
.rate .color_block{
  padding: 26px 10px;
}
  .rate table td{
    padding: 9px 0px;
  }
 
   /*.ball_selection img{
    max-height:50px;
  } */
  .ball_selection .inner-item{
    overflow: hidden;
    height: auto;
  }
   .shoes .row >img{
        max-height: 240px;
  } 
  
  .ajax_form .input_group .btn_black P{
    font-size: 12px;
  }
}

@media screen and (min-width: 1000px) {
  .billiards_track .input_group, .bowling_track .input_group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "name phone  comment button"
        "captcha captcha captcha checkbox";
  }

  .billiards_track .input_group > .input_group-field:nth-child(1), .bowling_track .input_group > .input_group-field:nth-child(1) {
    grid-area: name;
  }

  .billiards_track .input_group > .input_group-field:nth-child(2), .bowling_track .input_group > .input_group-field:nth-child(2) {
    grid-area: phone;
  }

  .billiards_track .input_group > .input_group-field:nth-child(3), .bowling_track .input_group > .input_group-field:nth-child(3) {
    grid-area: comment;
  }

  .billiards_track .input_group > .input_group-field:nth-child(6), .bowling_track .input_group > .input_group-field:nth-child(6) {
    grid-area: button;
  }

  .billiards_track .input_group > .input_group-field:nth-child(4), .bowling_track .input_group > .input_group-field:nth-child(4) {
    grid-area: captcha;
  }
  .billiards_track .input_group > .input_group-field:nth-child(5), .bowling_track .input_group > .input_group-field:nth-child(5) {
    grid-area: checkbox;
  }
}
.input-policy{
    display: flex;
    align-items: center;
    align-self: center;
    gap: 10px;
}
.text_description-underline{
  text-decoration:underline;
}
.text_description{
  cursor:pointer;
}
.custom-checkbox{
  flex-shrink: 0;
    cursor:pointer;
}
@media (max-height: 790px){
  .modal_reservation .input_group {
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width:thin;
    scrollbar-color:#cebcff #cebcff7a;
}
  .modal {
    flex-wrap:nowrap;
  }
  
}
/*.custom-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    flex-grow: 0;
    border: 1px solid var(--brand-black);
    border-radius: .25em;
    margin-right: .5em;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox:checked+label::before {
    border-color: var(--brand-black);
    background-color: var(--brand-black);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}*/
label .text_description{
  display:inline-flex;

}
input.custom-checkbox{
    cursor: pointer;
}

input[type="checkbox"] {
   width: 24px;
   height: 24px;
   accent-color:#000;
   background-color: #000;

}








/*стили для cookies*/
  .form-success {
    color: var(--brand-black);
    }
     .cookie-notification {
      position: fixed;
      z-index:10000;
      bottom: 0;
      left: 0;
      right: 0;
      background: #ebebeb;
      padding: 24px;
      display: none;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 24px;
      margin:1.5%;
    }
    .cookie__title{
      font-weight: 500;
      font-size: 24px;
      line-height: 140%;
      color: #353632;
    }
    .cookie__info{
    line-height: 140%;
    display: flex;
    gap:24px;
    color:#878784;
    font-size:18px;
    }
    .cookie__buttons{
      display:flex;
      gap:12px;
    }
    .cookie-notification a {
      color:#353632;
      text-decoration: none;
    }
    .cookie__button {
      font-weight: 600;
      font-size: 18px;
      line-height: 140%;
      border-radius: 60px;
      padding: 12px 24px;
      border: none;
      cursor: pointer;
    }
    .cookie-notification .accept {
      background-color: var(--brand-black);
      color: white;
    }
    .cookie-notification .decline {
      background-color: #fff;
      color: var(--brand-black);
    }
    @media(max-width:1024px){
      .cookie__info{
      flex-direction:column;
      }
    }
.billiards__tabs{
      font-family: MursGothic, Arial, sans-serif;
    font-size: 20px;
    line-height: 100%;
    font-weight: 500;
    text-decoration: none;
    padding-bottom: 20px;
}
@media screen and (max-width: 640px) {
    .rate table tr::before {
        padding: 10px 0;
    }
    .billiards__tabs{
    font-size: 14px;
     padding-bottom: 0px;
    }
}

.thanks-letters {
  margin-top: 80px;
  padding: 0;
}

.thanks-letters__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.thanks-letters__title {
  margin: 0;
}

.thanks-letters__controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.thanks-letters__btn {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.thanks-letters__btn:hover {
  transform: translateY(-1px);
  background: #222;
}

.thanks-letters__btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.thanks-letters__viewport {
  overflow: hidden;
  position: relative;
}

.thanks-letters__track {
  margin: 0 -12px;
}

.thanks-letters__slide {
  padding: 0 12px;
}

.thanks-letters__card {
  margin: 0;
  height: 100%;
}

.thanks-letters__zoom {
  display: block;
}

.thanks-letters__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  background: #ececec;
  display: block;
  border: 1px solid #ece7e0;
  cursor: zoom-in;
}

.thanks-letters__caption {
  margin-top: 10px;
  color: #1f1f1f;
  font-size: 14px;
  line-height: 1.3;
}

.thanks-letters .slick-list {
  margin: 0;
}

.thanks-letters .slick-track {
  display: flex;
}

.thanks-letters .slick-slide {
  height: auto;
}

.thanks-letters .slick-slide > div {
  height: 100%;
}

@media (max-width: 560px) {
  .thanks-letters__header {
    margin-bottom: 16px;
  }

  .thanks-letters__btn {
    width: 36px;
    height: 36px;
  }

  .thanks-letters {
    margin-top: 40px;
  }
}


/* Форма книга отзывов */
.review-book__wrap {
  margin-bottom: 65px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-book__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.review-form__line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.review-form__line--four > div {
  width: calc(100% / 4 - 16px * 3 / 4);
}

.review-form__inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form__input {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.review-form__input label {
  margin-bottom: 8px;
}

.review-form__input input {
  border: none;
  outline: 0;
  background: #cebcffa1;
  padding: 12px;
  border-radius: 8px;
  color: #000000;
  height: 45px;
}

.review-form__input select {
  width: 100%;
  border: none;
  outline: 0;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 44px 12px 12px;
  border-radius: 8px;
  background-color: #cebcffa1;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='8' viewBox='0 0 14 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L7 7L13 1' fill='none' stroke='%23000000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px 8px;
  color: #000000;
  cursor: pointer;
  font-size: 14px;
  line-height: 132%;
  font-weight: 400;
  height: 45px;
}

.review-form__input select option {
  color: #000;
}

.review-form__label {
  margin-bottom: 8px;
}

.review-form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.review-form__file-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border: 1px solid #CEBCFFA1;
  border-radius: 8px;
  color: #000000;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  margin-bottom: 0!important;
  height: 45px;
}

.review-form__file-control:hover {
  border-color: #bca5fa;
  background-color: #faf8ff;
}

.review-form__file-control svg {
  flex-shrink: 0;
}

.review-form__file-input:focus-visible + .review-form__file-control {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.review-form__input textarea {
  border: none;
  outline: 0;
  background: #cebcffa1;
  padding: 12px;
  border-radius: 8px;
  color: #000000;
  min-height: 119px;
  resize: vertical;
}

.review-form__bottom {
  display: flex;
  gap: 16px;
}

.review-form__bottom > div {
  width: calc(100% / 2 - 16px / 2);
}

.review-form__captcha .smart-captcha {
  background-color: #cebcffa1;
  border-radius: 8px;
}

.review-form__actions {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-form__policy {
  display: flex;
  align-items: center;
}

.review-form__policy label {
  color: #898989;
  max-width: 310px;
}

@media (max-width: 991px) {
  .review-form__line--four > div {
    width: calc(100% / 2 - 16px / 2);
  }
}

@media (max-width: 640px) {
  .review-form__line--four > div {
    width: 100%;
  }
  .review-form__bottom {
    flex-direction: column;
  }
  .review-form__bottom > div {
    width: 100%;
  }
  .review-form__actions {
    gap: 10px;
  }
}
.local-form-disabled button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

a[data-disabled-link="true"] {
  cursor: default;
  pointer-events: none;
}

.smart-captcha-disabled,
.local-form-disabled div:has(> .smart-captcha-disabled) {
  display: none !important;
}
