/* Заявки: ссылка «Перезвоните мне» в шапке, окна «Перезвоните мне» и «Купить в 1 клик».
   Основа окна, полей и кнопок — в main.css (dialog.modal, .field, .input, .btn). */

/* Ссылка под телефоном: та же мелкая строка, что и часы работы. Зелёная, без подчёркивания (оно появляется при наведении). */
.rq-link { position: relative; align-self: flex-start; color: var(--c-green); font: 500 var(--fs-xs)/1.3 var(--font-text); text-decoration: none; white-space: nowrap; }
.rq-link:hover { text-decoration: underline; }
.rq-link::after { content: ""; position: absolute; inset: -4px -8px -14px; } /* область нажатия больше строки */

/* Кнопка «Купить в 1 клик» и просьба выбрать вариант товара под ней */
.rq-note { margin: 0; color: #b42318; font-size: var(--fs-sm); font-weight: 600; }

/* Окно */
.rq [hidden] { display: none !important; }
dialog.rq:not([open]) { display: none; } /* для старых браузеров, которые не знают <dialog> */
/* Без скриптов окно открывается по якорю (#pitomnik-callback) и после отправки формы показывает ответ. */
dialog.rq:target:not([open]) { position: fixed; inset: 0; z-index: 100; display: block; height: fit-content; margin: auto; overflow: auto; box-shadow: 0 0 0 100vmax rgba(23, 37, 28, 0.5); }
dialog.rq.is-closed:not([open]) { display: none; }

.rq__text { margin: 0 0 var(--s-4); }
.rq__alert { margin-bottom: var(--s-4); }
.rq__req { color: #b42318; }
.rq__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.rq__product { display: flex; flex-direction: column; gap: var(--s-1); margin: 0 0 var(--s-4); padding: var(--s-3) var(--s-4); border-radius: var(--radius); background: var(--c-green-tint); }
.rq__product p { margin: 0; }
.rq__product-name { font-weight: 600; }
.rq__product-price { font-size: var(--fs-lg); font-weight: 700; line-height: 1.2; }
.rq__product-price ins { text-decoration: none; }
.rq__product-price del { color: var(--c-price-old); font-size: var(--fs-base); font-weight: 600; text-decoration-thickness: 2px; }
.rq__qty { max-width: 140px; }

.rq__consent { display: flex; flex-direction: column; gap: 6px; margin: 0 0 var(--s-4); }
.rq__consent-label { display: flex; align-items: flex-start; min-height: 44px; padding-block: 10px; color: var(--c-muted); font-size: var(--fs-xs); line-height: 1.4; cursor: pointer; }
.rq__consent-label input.is-invalid { outline: 2px solid #b42318; outline-offset: 2px; }

.rq__status { margin: 0; font-size: var(--fs-md); }
.rq__status:not(:empty) { margin-bottom: var(--s-5); }
