/* Watch Needs Love — страница «Цены»: калькулятор и прайс-карточки */

/* ---------- Калькулятор ---------- */
.quiz {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  min-height: 420px;
}
.quiz__aside { display: grid; align-content: start; gap: 18px; padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--c-line-soft); }
.quiz__title { max-width: 360px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 400; line-height: 1.2; text-transform: uppercase; }
.quiz__hint { max-width: 340px; font-size: 13px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.quiz__main { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 3vw, 40px); }
.quiz__bar { height: 2px; margin-bottom: 26px; background: var(--c-line-soft); }
.quiz__bar span { display: block; width: 20%; height: 100%; background: var(--c-accent); transition: width 0.5s var(--ease); }
.quiz__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.quiz__step.is-active { animation: quiz-in 0.5s var(--ease) both; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(18px); } }
.quiz__q { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: clamp(15px, 1.3vw, 17px); font-weight: 400; }
.quiz__num { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--c-accent); font-size: 11px; font-weight: 500; }
.quiz__opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.quiz__opts .quiz__field,
.quiz__opts .quiz__note,
.quiz__opts .request-form__consent { grid-column: 1 / -1; }
.quiz__opt { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 300; color: rgba(255, 255, 255, 0.82); cursor: pointer; transition: color 0.2s var(--ease); }
.quiz__opt:hover { color: #fff; }
.quiz__opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__box { position: relative; flex: none; width: 16px; height: 16px; border: 1px solid rgba(255, 255, 255, 0.45); transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease); }
.quiz__opt input[type="radio"] + .quiz__box { border-radius: 50%; }
.quiz__opt input:checked + .quiz__box { background: var(--c-accent); border-color: var(--c-accent); }
.quiz__opt input:checked + .quiz__box::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 9px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.quiz__opt input:focus-visible + .quiz__box { outline: 1px solid #fff; outline-offset: 3px; }
.quiz__note { font-size: 12px; font-weight: 300; line-height: 1.45; color: var(--c-muted); }
.quiz__done .quiz__q { margin-bottom: 10px; }
.quiz__nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: auto; padding-top: 32px; }
.quiz__count { margin-right: auto; font-size: 12px; font-weight: 300; color: var(--c-muted); }
.quiz__count b { font-weight: 400; color: #fff; }
.quiz__back { display: grid; place-items: center; width: 44px; height: 42px; border: 1px solid var(--c-line); transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease); }
.quiz__back svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.5; }
.quiz__back:hover:not(:disabled) { border-color: #fff; }
.quiz__back:disabled { opacity: 0.35; cursor: default; }
.quiz__next { min-width: 220px; min-height: 42px; font-size: 13px; }
.quiz__shake { animation: quiz-shake 0.4s var(--ease); }
@keyframes quiz-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------- Прайс-карточки ---------- */
.pcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.pcard { display: flex; flex-direction: column; padding: 10px 10px 18px; transition: border-color 0.3s var(--ease), transform 0.3s var(--ease); }
.pcard:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-4px); }
.pcard__img { display: block; overflow: hidden; aspect-ratio: 258 / 142; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.06); }
.pcard__title { min-height: 2.5em; margin: 18px 8px 0; font-size: 14px; font-weight: 400; line-height: 1.25; text-transform: uppercase; }
.pcard__price { margin: 8px 8px 0; font-size: 13px; font-weight: 300; color: var(--c-muted); transition: color 0.3s var(--ease); }
.pcard:hover .pcard__price { color: var(--c-accent-hover); }

@media (max-width: 1100px) {
  .pcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .quiz { grid-template-columns: 1fr; }
  .quiz__aside { border-right: 0; border-bottom: 1px solid var(--c-line-soft); }
  .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .quiz__opts { grid-template-columns: 1fr; gap: 14px; }
  .quiz__next { min-width: 0; flex: 1; }
  .quiz__count { flex-basis: 100%; }
  .quiz__nav { flex-wrap: wrap; }
  .pcards { gap: 10px; }
  .pcard__title { margin: 12px 4px 0; font-size: 12px; }
  .pcard__price { margin: 6px 4px 0; font-size: 12px; }
}
.quiz [hidden] { display: none !important; }

/* ---------- Прайс-лист: раскрывающийся список по маркам + поиск ---------- */
.plist__search { position: relative; display: block; max-width: 520px; margin-bottom: 18px; }
.plist__search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; fill: none; stroke: var(--c-muted); stroke-width: 1.5; transform: translateY(-50%); pointer-events: none; }
.plist__search .field { width: 100%; padding-left: 46px; }
.plist__list { border-top: 1px solid var(--c-line); }
.plist__item { border-bottom: 1px solid var(--c-line); }
.plist__item[hidden] { display: none; }
.plist__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; text-transform: uppercase; cursor: pointer; list-style: none; transition: color 0.2s var(--ease); }
.plist__item summary::-webkit-details-marker { display: none; }
.plist__item summary:hover { color: var(--c-accent-hover); }
.plist__body { padding: 0 0 22px; animation: svc-in 0.4s var(--ease) both; }
.ptable { width: 100%; max-width: 760px; border-collapse: collapse; font-size: 13.5px; font-weight: 300; }
.ptable th { padding: 10px 0; font-size: 11px; font-weight: 400; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; color: var(--c-muted); border-bottom: 1px solid var(--c-line-soft); }
.ptable td { padding: 12px 0; border-bottom: 1px solid var(--c-line-soft); }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.ptable tr:hover td { color: #fff; }
.plist__empty { padding: 24px 0; font-size: 14px; font-weight: 300; color: var(--c-muted); }
.plist__empty a { color: var(--c-accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.plist mark { background: none; color: var(--c-accent-hover); }
.plist__search svg { z-index: 1; }
.plist__search input::-webkit-search-cancel-button { filter: grayscale(1) brightness(2); cursor: pointer; }
.plist__item[open] .faq-item__icon { background: var(--c-text); transform: rotate(45deg); }
.plist__item[open] .faq-item__icon::before,
.plist__item[open] .faq-item__icon::after { background: var(--c-accent); width: 20px; }
.plist__sub { margin: 22px 0 4px; font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-accent-hover); }
.plist__sub:first-child { margin-top: 4px; }

/* ---------- Quick service: батарейка и ультразвуковая чистка для всех марок ---------- */
.qs { margin-top: clamp(48px, 6vw, 80px); }
.qs__kicker { margin-bottom: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-accent-hover); }
.qs__title { margin-bottom: clamp(20px, 2.4vw, 32px); }
.qs__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); max-width: 980px; }
.qs__card { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.2vw, 30px); border: 1px solid var(--c-line-soft); }
.qs__name { font-size: clamp(15px, 1.3vw, 18px); font-weight: 400; text-transform: uppercase; line-height: 1.25; }
.qs__price { font-size: clamp(26px, 2.6vw, 36px); font-weight: 300; line-height: 1.1; color: #fff; }
.qs__text { font-size: 13.5px; font-weight: 300; line-height: 1.5; color: var(--c-muted); }
.qs__note { max-width: 980px; margin-top: 18px; font-size: 13.5px; font-weight: 300; line-height: 1.55; color: var(--c-muted); }
.qs__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
@media (max-width: 640px) {
  .qs__grid { grid-template-columns: 1fr; }
  .qs__actions .btn { flex: 1 1 100%; }
}
