/* HL 309 — консьерж-система (гостевая часть).
   Подборка номеров, чат, окно входа. Переиспользует переменные из site.css
   (--brass, --green, --ink, --panel, --line, --muted, --ease). Тёмная
   «ночной камень» эстетика: подборка = папка-фолио консьержа, не витрина OTA. */

:root{
  --cx-glass: rgba(22,28,24,.86);
  --cx-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
  --cx-radius: 20px;
}

/* ================= ПОЛОСА КОНСУЛЬТАЦИИ (даты/гости) ================= */
.cx-datebar{
  position:relative; z-index:1;
  margin:0 auto clamp(20px,3vw,34px); max-width:1180px;
  background:linear-gradient(180deg,rgba(27,35,30,.94),rgba(18,23,20,.94));
  border:1px solid var(--line); border-radius:var(--cx-radius);
  box-shadow:0 18px 44px -26px rgba(0,0,0,.6);
}
/* единый стиль для всех текстовых полей консьержа (имя, телефон, даты) — тёмные */
.cx-field input[type="text"], .cx-field input[type="tel"], .cx-field input[type="email"],
.cx-field input[type="date"], .cx-field input[type="number"]{
  background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:12px; padding:0 14px; height:48px; font:inherit; font-size:15px;
  color-scheme:dark; transition:border-color .25s var(--ease); width:100%; box-sizing:border-box;
}
.cx-field input:hover{border-color:var(--brass2)}
.cx-field input:focus{border-color:var(--brass); outline:none}
/* не давать браузеру красить поля белым при автозаполнении */
.cx-field input:-webkit-autofill, .cx-auth input:-webkit-autofill{
  -webkit-text-fill-color:var(--ink); caret-color:var(--ink);
  transition:background-color 9999s ease-out; box-shadow:0 0 0 1000px var(--bg) inset !important;
}
.cx-datebar-in{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:16px 22px;
  padding:18px 22px;
}
.cx-field{display:flex; flex-direction:column; gap:8px; min-width:0}
.cx-field > span{
  font-size:10.5px; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  color:var(--brass);
}
.cx-dates{display:flex; align-items:center; gap:10px}
.cx-dates input, .cx-guests-box{
  background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:12px; padding:0 14px; height:48px; font:inherit; font-size:15px;
  color-scheme:dark; transition:border-color .25s var(--ease); line-height:normal;
}
.cx-dates input{width:100%; min-width:150px; cursor:pointer; font-variant-numeric:tabular-nums}
.cx-dates input:hover{border-color:var(--brass2)}
.cx-dates input:focus, .cx-guests-box:focus-within{border-color:var(--brass); outline:none}
/* иконка календаря — латунная и кликабельная по всему полю */
.cx-dates input::-webkit-calendar-picker-indicator{
  filter:invert(72%) sepia(38%) saturate(500%) hue-rotate(3deg) brightness(92%);
  cursor:pointer; opacity:.85; padding-left:6px;
}
.cx-dates input::-webkit-calendar-picker-indicator:hover{opacity:1}
.cx-nights{font-size:14px; color:var(--muted); align-self:center; white-space:nowrap; padding-bottom:12px}
.cx-nights b{color:var(--ink); font-size:16px}
.cx-guests-box{display:inline-flex; align-items:center; gap:10px; padding:0 10px; height:48px}
.cx-guests-box button{
  width:32px; height:32px; border-radius:50%; border:1px solid var(--line);
  background:transparent; color:var(--ink); cursor:pointer; font-size:18px; line-height:1;
  display:grid; place-items:center; transition:.2s var(--ease); flex:none;
}
.cx-guests-box button:hover{border-color:var(--brass); color:var(--brass)}
.cx-guests-box b{min-width:86px; text-align:center; font-size:15px; font-weight:600}
.cx-datebar-note{flex-basis:100%; order:9; margin:2px auto 0; text-align:center; color:var(--muted); font-size:12.5px; max-width:520px; line-height:1.5}
/* ---- Дети: счётчик + возрасты ---- */
.cx-children-host{display:contents}
.cx-children-field .cx-guests-box b{min-width:44px}
.cx-children-ages{display:flex; flex-wrap:wrap; align-items:flex-end; gap:10px 14px; flex-basis:100%; order:8; justify-content:center; margin-top:-2px}
.cx-child-age{display:flex; flex-direction:column; gap:6px}
.cx-child-age > span{font-size:10px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--brass)}
.cx-child-age select{
  background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:10px; padding:0 10px; height:42px; font:inherit; font-size:15px;
  color-scheme:dark; cursor:pointer; min-width:74px; transition:border-color .25s var(--ease);
}
.cx-child-age select:hover{border-color:var(--brass2)}
.cx-child-age select:focus{border-color:var(--brass); outline:none}
.cx-field-hint{flex-basis:100%; margin:8px 2px 0; color:var(--muted); font-size:12px; line-height:1.5}
/* полоса дат сама даёт нижний отступ — убираем большой верхний отступ у следующей секции */
.cx-datebar-wrap{margin-bottom:0}
.cx-datebar-wrap + .section{padding-top:0}

/* ================= КНОПКА/СТЕПЕР В КАРТОЧКЕ НОМЕРА ================= */
.cx-add{
  display:inline-flex; align-items:center; gap:9px;
  background:transparent; color:var(--ink); border:1px solid var(--brass);
  border-radius:999px; padding:13px 22px; font-weight:700; font-size:14px; cursor:pointer;
  transition:.28s var(--ease);
}
.cx-add:hover{background:var(--brass); color:#1a130a; transform:translateY(-1px)}
.cx-add .cx-plus{font-size:17px; line-height:1}
.cx-add.is-in{background:var(--green); border-color:var(--green); color:#eafff2}
.cx-add-out{border-color:var(--line); color:var(--muted); cursor:not-allowed; opacity:.7}
.cx-add-out:hover{background:transparent; color:var(--muted); transform:none}
.cx-step{
  display:inline-flex; align-items:center; gap:2px;
  border:1px solid var(--line); border-radius:999px; padding:5px; background:var(--bg);
}
.cx-step button{
  width:36px; height:36px; border-radius:50%; border:none; background:transparent;
  color:var(--ink); cursor:pointer; font-size:19px; line-height:1; display:grid; place-items:center;
  transition:.2s var(--ease);
}
.cx-step button:hover{background:var(--panel2); color:var(--brass)}
.cx-step b{min-width:34px; text-align:center; font-size:15px; font-weight:700}

/* ================= ПЛАВАЮЩАЯ ПОЛОСА ИТОГА ================= */
.cx-bar{
  position:fixed; left:50%; bottom:22px; transform:translate(-50%,140%);
  z-index:115; width:min(920px,calc(100% - 32px));
  display:flex; align-items:center; gap:18px;
  background:var(--cx-glass); border:1px solid var(--line);
  border-radius:999px; padding:12px 12px 12px 26px; box-shadow:var(--cx-shadow);
  backdrop-filter:blur(16px);
  transition:transform .5s var(--ease), opacity .4s;
  opacity:0;
}
.cx-bar.show{transform:translate(-50%,0); opacity:1}
.cx-bar-count{
  display:inline-flex; align-items:center; justify-content:center;
  min-width:30px; height:30px; padding:0 9px; border-radius:999px;
  background:var(--brass); color:#1a130a; font-weight:800; font-size:14px;
}
.cx-bar-text{display:flex; flex-direction:column; line-height:1.3}
.cx-bar-text .cx-bar-rooms{font-weight:700; font-size:14.5px; color:var(--ink)}
.cx-bar-text .cx-bar-meta{font-size:12.5px; color:var(--muted)}
.cx-bar-total{margin-left:auto; text-align:right; line-height:1.2}
.cx-bar-total span{display:block; font-size:11px; color:var(--muted); letter-spacing:.1em; text-transform:uppercase}
.cx-bar-total b{font-size:19px; color:var(--ink); font-weight:800; letter-spacing:.01em}
.cx-bar .btn{white-space:nowrap}
.cx-bar-x{
  width:34px; height:34px; border-radius:50%; border:1px solid var(--line);
  background:transparent; color:var(--muted); cursor:pointer; flex:none;
}
.cx-bar-x:hover{color:var(--ink); border-color:var(--muted)}

/* ================= ПАНЕЛЬ ПОДБОРКИ (drawer) ================= */
.cx-scrim{
  position:fixed; inset:0; z-index:200; background:rgba(6,8,7,.66);
  opacity:0; visibility:hidden; transition:.4s var(--ease); backdrop-filter:blur(3px);
}
.cx-scrim.show{opacity:1; visibility:visible}
.cx-drawer{
  position:fixed; top:0; right:0; z-index:210; height:100%;
  width:min(468px,100%); background:var(--panel);
  border-left:1px solid var(--line); box-shadow:var(--cx-shadow);
  transform:translateX(100%); transition:transform .5s var(--ease);
  display:flex; flex-direction:column;
}
.cx-drawer.show{transform:none}
.cx-drawer-head{
  display:flex; align-items:center; gap:14px; padding:22px 24px 18px;
  border-bottom:1px solid var(--line);
}
.cx-drawer-head .eyebrow{margin:0}
.cx-drawer-head h2{font-size:22px; margin:2px 0 0}
.cx-drawer-x{
  margin-left:auto; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--line); background:transparent; color:var(--ink); cursor:pointer; font-size:16px;
}
.cx-drawer-x:hover{border-color:var(--brass); color:var(--brass)}
.cx-drawer-body{flex:1; overflow-y:auto; padding:20px 24px}

/* сводка дат/гостей в фолио */
.cx-folio-meta{
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden;
  margin-bottom:22px;
}
.cx-folio-meta div{background:var(--panel2); padding:13px 14px; text-align:center}
.cx-folio-meta span{display:block; font-size:10px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin-bottom:5px}
.cx-folio-meta b{font-size:15px; color:var(--ink); font-weight:700}

/* строки-номера как в ведомости */
.cx-line{
  display:grid; grid-template-columns:1fr auto; gap:6px 14px;
  padding:16px 0; border-bottom:1px solid var(--line);
}
.cx-line-name{font-weight:700; font-size:15.5px; color:var(--ink)}
.cx-line-unit{font-size:12.5px; color:var(--muted); margin-top:3px}
.cx-line-sum{text-align:right; font-weight:700; font-size:15px; color:var(--ink); white-space:nowrap}
.cx-line-ctl{display:flex; align-items:center; gap:14px; grid-column:1/-1; margin-top:10px}
.cx-line-ctl .cx-step{padding:3px}
.cx-line-ctl .cx-step button{width:30px; height:30px; font-size:17px}
.cx-line-remove{
  background:none; border:none; color:var(--muted); cursor:pointer; font-size:12.5px;
  text-decoration:underline; text-underline-offset:3px;
}
.cx-line-remove:hover{color:#e0a3a3}

.cx-empty{text-align:center; padding:60px 20px; color:var(--muted)}
.cx-empty svg{width:44px; height:44px; opacity:.4; margin-bottom:14px}

.cx-note{margin-top:22px}
.cx-note label{display:block; font-size:12.5px; color:var(--muted); margin-bottom:8px}
.cx-note textarea{
  width:100%; min-height:74px; resize:vertical; background:var(--bg); color:var(--ink);
  border:1px solid var(--line); border-radius:12px; padding:12px 14px; font:inherit; font-size:14px;
}
.cx-note textarea:focus{border-color:var(--brass); outline:none}

.cx-drawer-foot{border-top:1px solid var(--line); padding:20px 24px; background:var(--panel)}
.cx-total-row{display:flex; align-items:baseline; justify-content:space-between; margin-bottom:6px}
.cx-total-row .cx-total-lbl{color:var(--muted); font-size:13px}
.cx-total-row .cx-total-val{font-size:26px; font-weight:800; color:var(--brass)}
.cx-foot-note{color:var(--muted); font-size:12px; line-height:1.5; margin:8px 0 16px}
.cx-drawer-foot .btn{width:100%}

/* экран успеха */
.cx-done{text-align:center; padding:30px 10px}
.cx-done-badge{
  width:66px; height:66px; margin:0 auto 18px; border-radius:50%;
  background:var(--green); display:grid; place-items:center; color:#eafff2; font-size:30px;
}
.cx-done h2{font-size:24px; margin-bottom:8px}
.cx-done p{color:var(--muted); line-height:1.6; max-width:320px; margin:0 auto 8px}
.cx-done-code{
  display:inline-block; margin:14px 0; padding:9px 18px; border-radius:999px;
  border:1px dashed var(--brass); color:var(--brass); font-weight:800; letter-spacing:.08em; font-size:16px;
}

/* ================= ОКНО ВХОДА / РЕГИСТРАЦИИ ================= */
.cx-auth-scrim{
  position:fixed; inset:0; z-index:300; background:rgba(6,8,7,.7);
  display:grid; place-items:center; padding:20px;
  opacity:0; visibility:hidden; transition:.35s var(--ease); backdrop-filter:blur(4px);
}
.cx-auth-scrim.show{opacity:1; visibility:visible}
.cx-auth{
  width:min(410px,100%); background:var(--panel); border:1px solid var(--line);
  border-radius:24px; box-shadow:var(--cx-shadow); padding:30px 28px;
  transform:translateY(16px) scale(.98); transition:.4s var(--ease);
}
.cx-auth-scrim.show .cx-auth{transform:none}
.cx-auth-head{text-align:center; margin-bottom:22px}
.cx-auth-head .eyebrow{margin-bottom:8px}
.cx-auth-head h2{font-size:23px}
.cx-auth-head p{color:var(--muted); font-size:13.5px; margin-top:6px; line-height:1.5}
.cx-tabs{display:flex; gap:4px; background:var(--bg); border:1px solid var(--line); border-radius:999px; padding:4px; margin-bottom:20px}
.cx-tabs button{
  flex:1; border:none; background:transparent; color:var(--muted); cursor:pointer;
  padding:10px; border-radius:999px; font:inherit; font-weight:700; font-size:14px; transition:.25s var(--ease);
}
.cx-tabs button.on{background:var(--panel2); color:var(--ink)}
.cx-auth label{display:block; margin-bottom:13px}
.cx-auth label span{display:block; font-size:12px; color:var(--muted); margin-bottom:6px}
.cx-auth input{
  width:100%; background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:12px; padding:12px 14px; font:inherit; font-size:14.5px;
}
.cx-auth input:focus{border-color:var(--brass); outline:none}
.cx-auth .btn{width:100%; margin-top:8px}
.cx-auth-err{
  background:rgba(180,70,70,.14); border:1px solid rgba(200,90,90,.4); color:#f0c0c0;
  border-radius:11px; padding:10px 14px; font-size:13px; margin-bottom:16px; display:none;
}
.cx-auth-err.show{display:block}
.cx-auth-x{
  position:absolute; top:14px; right:16px; width:36px; height:36px; border-radius:50%;
  border:1px solid var(--line); background:var(--panel); color:var(--ink); cursor:pointer; font-size:15px;
}

/* ================= ЧАТ-ВИДЖЕТ ================= */
.cx-chat-btn{
  position:fixed; right:22px; bottom:22px; z-index:150;
  width:60px; height:60px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--brass),var(--brass2)); color:#1a130a;
  box-shadow:0 16px 40px -12px rgba(211,173,108,.6);
  display:grid; place-items:center; transition:transform .3s var(--ease);
}
.cx-chat-btn:hover{transform:translateY(-3px) scale(1.05)}
.cx-chat-btn svg{width:26px; height:26px}
.cx-chat-btn .cx-chat-dot{
  position:absolute; top:2px; right:2px; min-width:20px; height:20px; padding:0 5px;
  border-radius:999px; background:#c9524e; color:#fff; font-size:11px; font-weight:800;
  display:none; place-items:center; border:2px solid var(--bg);
}
.cx-chat-btn .cx-chat-dot.show{display:grid}

.cx-chat-panel{
  position:fixed; right:22px; bottom:22px; z-index:151;
  width:min(380px,calc(100% - 20px)); height:min(560px,calc(100% - 40px));
  background:var(--panel); border:1px solid var(--line); border-radius:22px;
  box-shadow:var(--cx-shadow); display:flex; flex-direction:column; overflow:hidden;
  transform:translateY(24px) scale(.96); opacity:0; visibility:hidden; transform-origin:bottom right;
  transition:.4s var(--ease);
}
.cx-chat-panel.show{transform:none; opacity:1; visibility:visible}
.cx-chat-top{
  display:flex; align-items:center; gap:12px; padding:16px 18px;
  background:linear-gradient(180deg,var(--panel2),var(--panel)); border-bottom:1px solid var(--line);
}
.cx-chat-top .cx-chat-ava{
  width:38px; height:38px; border-radius:50%; background:var(--green); display:grid; place-items:center;
  color:#eafff2; font-weight:800; flex:none;
}
.cx-chat-top .cx-chat-title{line-height:1.3}
.cx-chat-top .cx-chat-title b{font-size:15px; color:var(--ink)}
.cx-chat-top .cx-chat-title small{display:block; font-size:12px; color:var(--muted)}
.cx-chat-top .cx-chat-close{
  margin-left:auto; width:34px; height:34px; border-radius:50%; border:1px solid var(--line);
  background:transparent; color:var(--ink); cursor:pointer; font-size:15px;
}
.cx-chat-scroll{flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:10px}
.cx-msg{max-width:80%; padding:10px 14px; border-radius:16px; font-size:14px; line-height:1.5; word-wrap:break-word}
.cx-msg.guest{align-self:flex-end; background:var(--brass); color:#1a130a; border-bottom-right-radius:5px}
.cx-msg.staff{align-self:flex-start; background:var(--panel2); color:var(--ink); border:1px solid var(--line); border-bottom-left-radius:5px}
.cx-msg-time{display:block; font-size:10px; opacity:.6; margin-top:4px}
/* вложения в чате */
.cx-msg-img{display:block; margin:-2px 0 2px}
.cx-msg-img img{max-width:220px; max-height:240px; border-radius:12px; display:block}
.cx-msg-cap{margin-top:6px}
.cx-msg-file{display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit}
.cx-file-ic{width:38px; height:38px; border-radius:10px; background:rgba(0,0,0,.12); display:grid; place-items:center; font-size:18px; flex:none}
.cx-msg.staff .cx-file-ic{background:var(--panel)}
.cx-file-meta{min-width:0; line-height:1.3}
.cx-file-meta b{display:block; font-size:13.5px; word-break:break-word}
.cx-file-meta small{opacity:.7; font-size:11.5px}
.cx-chat-attach{width:40px; height:40px; border-radius:50%; border:1px solid var(--line); background:transparent; color:var(--muted); cursor:pointer; flex:none; display:grid; place-items:center}
.cx-chat-attach:hover{border-color:var(--brass); color:var(--brass)}
.cx-chat-attach svg{width:19px; height:19px}
.cx-chat-intro{text-align:center; color:var(--muted); font-size:13px; padding:20px 10px; line-height:1.6}
.cx-chat-form{display:flex; gap:8px; padding:14px; border-top:1px solid var(--line)}
.cx-chat-form input{
  flex:1; background:var(--bg); color:var(--ink); border:1px solid var(--line);
  border-radius:999px; padding:11px 16px; font:inherit; font-size:14px;
}
.cx-chat-form input:focus{border-color:var(--brass); outline:none}
.cx-chat-form button{
  width:44px; height:44px; border-radius:50%; border:none; cursor:pointer; flex:none;
  background:linear-gradient(135deg,var(--brass),var(--brass2)); color:#1a130a; display:grid; place-items:center;
}
.cx-chat-form button svg{width:20px; height:20px}
.cx-chat-gate{padding:22px; text-align:center}
.cx-chat-gate p{color:var(--muted); font-size:13.5px; line-height:1.6; margin-bottom:16px}

/* напоминание о регистрации в чате */
.cx-chat-remind{display:flex; align-items:center; gap:10px; padding:9px 14px;
  background:var(--panel2); border-top:1px solid var(--line); font-size:12.5px; color:var(--muted)}
.cx-chat-remind span{flex:1; line-height:1.4}
.cx-chat-remind button{flex:none; background:transparent; border:1px solid var(--brass); color:var(--brass);
  border-radius:999px; padding:6px 13px; font:inherit; font-weight:700; font-size:12.5px; cursor:pointer}
.cx-chat-remind button:hover{background:var(--brass); color:#1a130a}

/* карточка-заявка в чате */
.cx-msg.cx-msg-req{max-width:92%; background:transparent!important; padding:0; border:none}
.cx-req-card{background:var(--panel2); border:1px solid var(--brass2); border-radius:14px; padding:14px 16px; color:var(--ink)}
.cx-req-top{display:flex; align-items:center; gap:8px; font-weight:800; font-size:14px}
.cx-req-code{margin-left:auto; font-family:ui-monospace,Menlo,monospace; font-size:12px; color:var(--brass)}
.cx-req-sub{color:var(--muted); font-size:12px; margin:6px 0 10px; line-height:1.4}
.cx-req-lines{display:flex; flex-direction:column; gap:5px; padding:10px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.cx-req-line{display:flex; justify-content:space-between; gap:12px; font-size:13px}
.cx-req-total{display:flex; justify-content:space-between; align-items:baseline; margin-top:10px; font-size:13px; color:var(--muted)}
.cx-req-total b{font-size:17px; color:var(--brass)}
.cx-req-note{margin-top:8px; font-size:12.5px; color:var(--muted); font-style:italic}
.cx-anon-fields{margin-bottom:16px}

/* тост */
.cx-toast{
  position:fixed; left:50%; bottom:96px; transform:translate(-50%,20px);
  z-index:400; background:var(--panel2); color:var(--ink); border:1px solid var(--line);
  border-radius:999px; padding:12px 22px; font-size:14px; box-shadow:var(--cx-shadow);
  opacity:0; transition:.35s var(--ease); pointer-events:none;
}
.cx-toast.show{transform:translate(-50%,0); opacity:1}

/* системное сообщение в чате (взял в работу, передал и т.д.) */
.cx-msg-sys{align-self:center; max-width:90%; text-align:center; font-size:12px; color:var(--muted);
  background:rgba(211,173,108,.10); border:1px solid rgba(211,173,108,.22); border-radius:999px;
  padding:6px 14px; margin:2px auto; line-height:1.4}

/* ================= МОБИЛЬНАЯ АДАПТАЦИЯ ================= */
@media (max-width:720px){
  .cx-datebar{top:70px; border-radius:16px}
  .cx-datebar-in{padding:14px 14px; gap:12px 14px}
  .cx-datebar-note{display:none}
  /* даты и гости — в полную ширину, крупные для пальца */
  .cx-datebar-in .cx-field{flex:1 1 46%; min-width:46%}
  .cx-dates{width:100%}
  .cx-dates input{min-width:0; height:50px; font-size:16px}
  .cx-guests-box{width:100%; justify-content:space-between; height:50px}
  .cx-guests-box b{min-width:0; flex:1}
  .cx-nights{flex-basis:100%; padding-bottom:0; padding-left:2px}
  .cx-bar{bottom:12px; padding:9px 9px 9px 16px; gap:10px; width:calc(100% - 20px)}
  .cx-bar-text{flex:1; min-width:0}
  .cx-bar-total{display:none}
  .cx-bar .btn{padding:12px 16px; font-size:13px}
  .cx-drawer{width:100%}
  .cx-chat-panel{right:0; bottom:0; width:100%; height:100%; height:100dvh; border-radius:0}
  .cx-chat-btn{right:16px; bottom:16px}
  /* когда видна полоска корзины — поднимаем кнопку чата, чтобы не перекрывала крестик */
  .cx-bar.show ~ .cx-chat-btn{bottom:88px}
  .cx-auth{padding:24px 20px}
}
@media (max-width:420px){
  .cx-datebar-in .cx-field{flex-basis:100%; min-width:100%}
}

@media (prefers-reduced-motion:reduce){
  .cx-bar,.cx-drawer,.cx-scrim,.cx-auth,.cx-auth-scrim,.cx-chat-panel,.cx-toast,.cx-chat-btn{transition:none}
}

/* --- Согласие с офертой + подсказка по стране (турсбор) --- */
.cx-consent{display:flex;align-items:flex-start;gap:8px;margin:2px 0 12px;font-size:13px;line-height:1.4;cursor:pointer}
.cx-consent input{margin-top:2px;flex:0 0 auto}
.cx-oferta-link{text-decoration:underline}
.cx-fee-hint .cx-total-lbl{opacity:.75;font-style:italic}
.cx-field select{width:100%;box-sizing:border-box}

/* --- Онлайн-оплата в карточке заявки --- */
.cx-req-pay:empty{display:none}
.cx-pay-box{margin-top:10px;padding-top:10px;border-top:1px dashed rgba(0,0,0,.15)}
.cx-pay-lbl{font-size:12px;opacity:.75;margin:0 0 6px}
.cx-pay-pcts{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.cx-pay-pct{padding:6px 12px;border:1px solid rgba(0,0,0,.2);border-radius:8px;background:transparent;cursor:pointer;font-size:13px}
.cx-pay-pct.on{background:#1a1a1a;color:#fff;border-color:#1a1a1a}
.cx-pay-btn{width:100%}
.cx-pay-rest{font-size:12px;opacity:.8;margin-top:6px}
.cx-pay-badge{margin-top:10px;padding:8px 10px;border-radius:8px;font-size:13px;font-weight:600}
.cx-pay-badge.ok{background:rgba(46,160,67,.12);color:#1a7f37}
.cx-pay-curs{margin-top:-4px}

/* --- Кнопка отмены заявки --- */
.cx-cancel-btn{display:block;width:100%;margin-top:8px;padding:8px 12px;background:transparent;border:1px solid rgba(0,0,0,.18);border-radius:8px;font-size:13px;cursor:pointer;opacity:.75}
.cx-cancel-btn:hover{opacity:1;border-color:rgba(180,60,60,.5);color:#a33}

/* --- Промокод в корзине --- */
.cx-promo-line{display:flex;align-items:center;gap:6px;font-size:13px;margin:0 0 10px;padding:6px 10px;background:rgba(46,160,67,.08);border-radius:8px}
.cx-promo-x{margin-left:auto;border:none;background:transparent;cursor:pointer;font-size:15px;opacity:.6}
.cx-promo-x:hover{opacity:1}

/* --- Личный кабинет (account.php) и служебные ссылки --- */
.cx-link{border:none;background:transparent;text-decoration:underline;cursor:pointer;font-size:13px;opacity:.75;padding:6px 0}
.cx-link:hover{opacity:1}
.cx-account{max-width:640px}
.cx-acc-login{padding:24px;border:1px dashed rgba(0,0,0,.2);border-radius:12px;text-align:center}
.cx-acc-login .cx-field input{width:100%;box-sizing:border-box;margin:10px 0}
.cx-acc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.cx-acc-mail{display:block;font-size:13px;opacity:.7}
.cx-acc-h{margin:0 0 12px;font-size:20px}
.cx-acc-card{border:1px solid rgba(0,0,0,.12);border-radius:12px;padding:14px 16px;margin:0 0 12px}
.cx-acc-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px}
.cx-acc-sum{font-weight:600}
.cx-acc-st{font-size:12px;padding:2px 10px;border-radius:99px;background:rgba(0,0,0,.07)}
.cx-st-confirmed{background:rgba(46,160,67,.15);color:#1a7f37}
.cx-st-declined,.cx-st-cancelled{background:rgba(180,60,60,.12);color:#a33}
.cx-acc-empty{opacity:.7}
