/* login.css — СЕВАС вход, регистрация, кабинет (login.html) и 404 (019, build P6, 28.09). Only transform/opacity motion. */

/* ---------- auth: guest (login) + registration ---------- */
.auth__note { display: inline-flex; margin-bottom: clamp(20px, 2vw, 36px); padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--mist); color: var(--ink); font: 500 var(--fs-1)/1.3 var(--f-text); }
.auth__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gutter); align-items: stretch; }
.auth__card { padding: clamp(28px, 2.4vw, 48px); border-radius: var(--r-xl); background: var(--panel);
  display: grid; align-content: start; gap: 6px; }
.auth__card h2.h3 { margin-top: 4px; margin-bottom: 12px; }
.auth__card--new { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(244, 239, 232, .22); align-content: center; gap: 14px; }
.auth__lead { color: var(--ink-2); line-height: 1.5; max-width: 42ch; }
.auth__form { display: grid; gap: 16px; margin-top: 10px; }
.auth__forgot { justify-self: start; font-size: var(--fs-0); }
.auth__switch { margin-top: 18px; font-size: var(--fs-0); color: var(--ink-2); }
.auth__card--reg { max-width: 640px; margin-inline: auto; }
.auth__opthint { margin-top: -6px; }

/* ---------- kabinet ---------- */
.kabinet > .wrap { display: grid; gap: clamp(36px, 3.4vw, 72px); }   /* the blocks are children of .wrap, not of the section (r1: headings stuck to the boxes) */
.kbm__block { display: grid; gap: 16px; }
.kbm__note { margin-top: -8px; }
.kbm__empty { padding: clamp(24px, 2vw, 40px); border-radius: var(--r-l); background: var(--panel); color: var(--ink-2); }
.kbm-order { display: grid; gap: 14px; padding: clamp(20px, 1.8vw, 32px); border-radius: var(--r-l); background: var(--panel); max-width: 640px; }
.kbm-order__head { display: flex; align-items: center; justify-content: space-between; }
.kbm-order__num { font: 600 var(--fs-2)/1 var(--f-text); }
.kbm-order__list { display: grid; }
.kbm-order__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--line);
  font: 600 var(--fs-1)/1 var(--f-text); }
.kbm-order [data-kbm-repeat] { justify-self: start; }
.kbm-notify .stock { display: none; }
.kbm-notify .tile__meta { justify-content: flex-end; }

/* ---------- 404 ---------- */
.nf { position: relative; overflow: hidden; padding-block: clamp(56px, 6.4vw, 130px) clamp(24px, 2.4vw, 48px); text-align: center; }
.nf__in { position: relative; z-index: 1; display: grid; justify-items: center; gap: 14px; }
.nf__stage { position: relative; width: 100%; height: clamp(140px, 12vw, 220px); display: grid; place-items: center; margin-bottom: 4px; }
.nf__smoke { position: absolute; left: 50%; top: 50%; width: min(90vw, 940px); max-width: none; opacity: .4; pointer-events: none;
  transform: translate(-50%, -50%); animation: nfdrift 11s ease-in-out infinite alternate;
  -webkit-mask-image: radial-gradient(50% 50% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(50% 50% at 50% 50%, #000 55%, transparent 100%); }
.nf__mark { position: relative; width: clamp(84px, 7vw, 116px); height: clamp(84px, 7vw, 116px); color: var(--ink); }
@keyframes nfdrift { from { transform: translate(-53%, -47%) scale(1); } to { transform: translate(-47%, -53%) scale(1.05); } }
html.is-shot .nf__smoke { animation: none; }
.nf .h1 { max-width: 22ch; }
.nf__search { position: relative; display: flex; align-items: center; height: 56px; width: min(560px, 100%); margin-top: 6px;
  border-radius: var(--r-pill); background: rgba(244, 239, 232, .07); box-shadow: inset 0 0 0 1.5px rgba(244, 239, 232, .22); }
.nf__search:focus-within { box-shadow: inset 0 0 0 2px var(--ink); }
.nf__search-ic { width: 20px; height: 20px; margin-left: 20px; color: var(--ink-3); flex: none; }
.nf__search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; padding: 0 14px; font-size: 16px; }
.nf__search .btn { margin: 5px 5px 5px 0; }
.nf__cta { margin-top: 4px; }

.secs404 { padding-top: 0; }
.secs404__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gutter); }
.nfc { display: grid; gap: 8px; padding: clamp(22px, 2vw, 38px); border-radius: var(--r-xl); background: var(--panel); color: var(--navy);
  transition: transform var(--t-h) var(--ease-h); }
.nfc[href*="c=kalyany"] { background: linear-gradient(165deg, #ffc9a6 0%, #f2745a 100%); }   /* the vivid tiles of the home sections */
.nfc[href*="c=smesi"] { background: linear-gradient(165deg, #fff3a3 0%, #f3b53a 100%); }
.nfc[href*="c=ugol"] { background: linear-gradient(165deg, #c2f4e2 0%, #38b99d 100%); }
.nfc[href*="c=aksessuary"] { background: linear-gradient(165deg, #ffd0ea 0%, #b983ee 100%); }
.nfc:hover { transform: translateY(-4px); }
.nfc__t { font: 400 clamp(20px, 1.5vw, 30px)/1.1 var(--f-display); }
.nfc__n { color: rgba(15, 36, 64, .8); font: 600 var(--fs-1)/1.3 var(--f-text); }
