/* universal sheet */
.uniSheet{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none; /* по умолчанию скрыта */
}

.uniSheet.is-open{
  display: block; /* показываем при открытии */
}

.uniSheet__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}

.uniSheet__panel{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #181818;
  color: #fff;
  border-radius: 22px 22px 0 0;
  padding: 12px 24px 18px;
  max-height: 70vh;
  overflow: auto;
}

.uniSheet__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  /*margin-bottom:10px;*/
}

.uniSheet__title{
  font-weight:800;
  font-size:16px;
  display:none;
}

.uniSheet__close{
  width:40px;
  height:40px;
  border:0;
  background:transparent;
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
      position: absolute;
    right: 10px;
    top: 10px;
}

.scbSheet__img{
  width:100%;
  height:auto;
  display:block;
}

.scbSheet__content{
 /* padding-top:12px;*/
 /*font-size: 14px;*/
}
 
.scbSheet__content .box {padding:15px; margin-top:15px;font-size: 15px;}

.scbSheet__h1{
  font-weight:700;
  font-size:18px;
  line-height:1.2;
  margin-bottom:10px;
}

.scbSheet__list{
  margin:0;
  padding-left:18px;
  /*line-height:1.4;*/
  font-size: 14px;
}

.scbSheet__list ul{
  margin-top:8px;
  padding-left:18px;
}

/* grab handle (горизонтальная черточка) */
.uniSheet__grab{
  width: 44px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
  margin: 8px auto 10px;
}

/* блокировка скролла страницы */
html.is-sheet-open,
body.is-sheet-open{
  overflow: hidden;
  height: 100%;
}

/* чуть лучше UX */
.uniSheet__panel{
  touch-action: pan-y;
}

/*Полноэкранная страница*/
body.modal-open{ overflow:hidden; }

.fsModal{
  position:fixed; inset:0;
  background: rgba(0,0,0,.55);
  display:none;
  z-index:999;
}
.fsModal.is-open{ display:block; }

.fsModal__sheet{
  position:absolute; inset:0;
  background: var(--bg, #0f0f0f);
  display:flex;
  flex-direction:column;
}

.fsModal__header{
  height:55px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 13px;
  background:#18181a;
  border-radius:0 0 0px 0px;

}
.fsModal__back{
  width:38px;
  height:38px;
  border:0;
  padding:0;
  background:transparent;
  color:#dddddd;
  margin-left:-8px;

  display:flex;
  align-items:center;
  justify-content:center;
}

.fsModal__back svg{
  display:block;
}
.fsModal__title{ font-weight:800; }

.fsModal__subheader{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0px 20px 10px;
  background:#18181a;
  border-radius:0 0 18px 18px;
}

.fsModal__subheader .btn-ghost {font-size:14px;}

.ratingSum .star{font-size:26px; color: orange;}
.ratingSum .num {font-weight: 600; font-size:22px;}

.fsModal__body{
  flex:1;
  overflow:auto;
  padding:10px 0;
  padding-bottom:84px; /* место под кнопку */
}

.fsModal__footer{
  position:fixed;
  left:0; right:0; bottom:0;
  padding:10px 12px;
  background: color-mix(in srgb, var(--panel2) 90%, transparent);
  border-top:1px solid var(--line);
}

.reviewItem{
  padding:15px 20px;
  border-radius:18px;
  margin-bottom:10px;
  background:#18181a;
}
.reviewHead{
  display:flex;
  gap:10px;
  align-items:baseline;
  justify-content:space-between;
}
.reviewDate {font-size:12px; font-family:'Montserrat';}
.reviewText{ margin-top:6px; font-size:14px;}
.reviewRating{color:orange;margin-left:auto;}


/*Отзыв*/
/* overlay */
.dlg{
  position:fixed;
  inset:0;
  display:none;
  background: rgba(0,0,0,.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index:10000;
}
.dlg.is-open{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}

/* box */
.dlg__box{
  width:min(520px, 100%);
  background:#141416;              /* можно заменить на var(--panel2) */
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  overflow:hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

/* header */
.dlg__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 12px;
  background: rgba(255,255,255,.02);
}
.dlg__title{
  font-weight:900;
  letter-spacing:.2px;
}
.dlg__x{
  width:40px;
  height:40px;
  border:0;
  padding:0;
  border-radius:10px;
  background:transparent;
  color: rgba(255,255,255,.75);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.dlg__x:hover{ background: rgba(255,255,255,.06); color:#fff; }
.dlg__x:active{ transform: translateY(1px); }

/* body */
.dlg__body{ padding:12px; }
.dlg__body textarea{
  width:100%;
  resize:vertical;
  min-height:110px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  color:#fff;
  outline:none;
      font-size: 16px;
      color:var(--muted);
}
.dlg__body textarea:focus{
  border-color: rgba(255,165,0,.55);
  box-shadow: 0 0 0 4px rgba(255,165,0,.12);
}

/* footer */
.dlg__foot{
  padding:12px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

/* stars */
.dlgStars{
  display:flex;
  gap:8px;
  align-items:center;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
    margin-bottom: 20px;
}
.dlgStar{
  border:0;
  background:transparent;
  padding:0;
  font-size:44px;
  line-height:1;
  cursor:pointer;

  color: rgba(255,255,255,.25); /* НЕ выбранные */
  transition: transform .12s ease, color .12s ease, filter .12s ease;
}
.dlgStar:hover{ transform: scale(1.06); color: rgba(255,255,255,.45); }
.dlgStar:active{ transform: scale(0.98); }
.dlgStar:focus-visible{
  outline: none;
  filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  box-shadow: 0 0 0 4px rgba(255,165,0,.12);
  border-radius:10px;
}

/* выбранные звезды = оранжевые */
.dlgStars[data-value="1"] .dlgStar[data-v="1"],
.dlgStars[data-value="2"] .dlgStar[data-v="1"],
.dlgStars[data-value="2"] .dlgStar[data-v="2"],
.dlgStars[data-value="3"] .dlgStar[data-v="1"],
.dlgStars[data-value="3"] .dlgStar[data-v="2"],
.dlgStars[data-value="3"] .dlgStar[data-v="3"],
.dlgStars[data-value="4"] .dlgStar[data-v="1"],
.dlgStars[data-value="4"] .dlgStar[data-v="2"],
.dlgStars[data-value="4"] .dlgStar[data-v="3"],
.dlgStars[data-value="4"] .dlgStar[data-v="4"],
.dlgStars[data-value="5"] .dlgStar{
  color: #ff9800;              }

.dlg__box #reviewDlgSend {width: 100%;border: 0;}

/*Модалка*/
.modal[hidden]{ display:none; }

.modal{
  position:fixed;
  inset:0;
  z-index:9999;

  /* центрирование */
  display:flex;
  align-items:center;
  justify-content:center;

  /* чтобы карточка не прилипала к краям на маленьких экранах */
  padding: 16px;
}

.modalBackdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.modalCard{
  position:relative;
  width:min(92vw, 420px);
  max-height: 80vh;
  overflow:auto;

  background:#18181a;
  color:#fff;
  border-radius:16px;
  box-shadow: 0 16px 60px rgba(0,0,0,.55);
  /*border:1px solid rgba(255,255,255,.08);*/
}

.modalHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 14px 10px 14px;
}

.modalTitle{ font-weight:700; }

.modalX{
  width:34px;
  height:34px;
  border-radius:10px;
  border:0;
  background: rgba(255,255,255,.08);
  color:#fff;
  font-size:20px;
  line-height:34px;
}

.modalBody{
  padding: 0 14px 14px 14px;
  color: rgba(255,255,255,.85);
}

.modalActions{
  display:flex;
  gap:10px;
  padding: 0 14px 14px 14px;
}

.modalActions .btn{ flex:1; }

.addrSheet {padding:30px 0px;min-height: 60vh;}
#addrTop {text-align:center;}
#addrTop .muted{padding:20px 20px 30px;}
fs14{font-size:14px;}

.addrRow{
  display:flex;
  gap:10px;
  align-items:stretch;
  padding: 10px 0 30px 0;
}

.addrTypeBtn{
  width: 65px;
  min-width: 65px;
  height: 48px;

  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;

  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);

  padding: 6px 8px;
}

.addrTypeBtn:active{
  transform: scale(.98);
}

.addrTypeText{
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: .9;
}

.addrTypeIcon{
  display:flex;
  align-items:center;
  justify-content:center;
}

.addrLineInput, .addrSheet input{height: 48px;padding: 12px 12px;font-size: 16px;}