﻿:root {
  --bg: #0b0b12;
  --bg-2: #10101b;
  --surface: #161623;
  --surface-2: #1d1d2c;
  --ink: #f5f2ff;
  --muted: #b4aad6;
  --accent: #d7ff46;
  --accent-2: #a78bfa;
  --accent-3: #ff4da6;
  --stroke: #2a2a3d;
  --shadow: 0 18px 50px rgba(10, 10, 20, 0.6);
  --radius: 22px;
  --content-width: 1220px;
  --control-height: 46px;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(600px 360px at 10% 10%, rgba(167, 139, 250, 0.18), transparent 65%),
    radial-gradient(700px 480px at 90% 10%, rgba(255, 77, 166, 0.12), transparent 60%),
    linear-gradient(180deg, #0a0a12 0%, #10101a 45%, #0d0d16 100%);
  min-height: 100vh;
  color-scheme: dark;
}

.shop-view {
  background: #8d73be;
  color: #2b2b2b;
  --auth-stage-width: 1920px;
  --auth-stage-height: 1080px;
  --auth-scale: min(calc(100vw / 1920px), calc(100vh / 1080px));
  --auth-topbar-height: calc(102px * var(--auth-scale));
}

.shop-view--regular {
  background: #8d73be url("/static/img/shop/vitrina-mk.png") center top / cover no-repeat;
}

.shop-view--premium {
  background: #8d73be url("/static/img/shop/vitrina-prem.png") center top / cover no-repeat;
}

.shop-result {
  background: #8d73be url("/static/img/shop/back-dog.png") center top / cover no-repeat;
  --result-scale: 0.5625;
}

.shop-result .main {
  padding: var(--auth-topbar-height) 0 0;
}

.shop-result .main__inner {
  width: 100%;
  align-items: center;
  justify-content: center;
}

.shop-result__wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0 80px;
}

.shop-result__card {
  position: relative;
  width: min(calc(762px * var(--result-scale)), 92vw);
  aspect-ratio: 762 / 734;
}

.shop-result__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.shop-result__action {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 6.5%;
  height: 12.5%;
  border-radius: 999px;
  background: transparent;
  display: block;
  cursor: pointer;
  z-index: 1;
}

.shop-result__action:focus-visible {
  outline: 2px solid #7c63c4;
  outline-offset: 4px;
}

.shop-view .shop-topbar-stage {
  position: fixed;
  left: 50%;
  top: 0;
  width: var(--auth-stage-width);
  height: 102px;
  transform: translateX(-50%) scale(var(--auth-scale));
  transform-origin: top center;
  z-index: 4;
  pointer-events: none;
}

.shop-view .shop-topbar-stage .auth-topbar {
  pointer-events: auto;
}

.shop-view .bg-orbs,
.shop-view .footer {
  display: none;
}

.shop-view .container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
}

.shop-view .topbar {
  position: sticky;
  top: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}

.shop-view .topbar .container {
  padding: 0;
}

.shop-view .topbar__inner {
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: 102px;
  border-radius: 0 0 30px 30px;
  background: #1d1c1d;
  border-bottom: 0.6px solid #ffffff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
  padding: 0 159px;
  gap: 0;
  position: relative;
}

.shop-view .brand {
  gap: 12px;
  font-family: "Druk Cyr", "Oswald", sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.shop-view .brand__logo {
  width: 78px;
  height: 41px;
}

.shop-view .brand__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.shop-view .brand__tag {
  font-size: 21px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1.2px solid #ede5fc;
  letter-spacing: 1px;
  color: #ede5fc;
  background: transparent;
}

.shop-view .pill {
  padding: 8px 14px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #d6ff4a;
}

.shop-view .pill__label {
  color: rgba(255, 255, 255, 0.7);
}

.shop-view .pill__value {
  color: #d6ff4a;
}

.shop-view .ghost {
  padding: 8px 14px;
  font-size: 0.95rem;
  background: rgba(177, 150, 255, 0.12);
  border: 1px solid rgba(177, 150, 255, 0.35);
  color: #b196ff;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 240px at 20% 5%, rgba(215, 255, 70, 0.08), transparent 60%),
    radial-gradient(640px 360px at 85% 10%, rgba(167, 139, 250, 0.12), transparent 60%),
    radial-gradient(700px 420px at 60% 80%, rgba(255, 77, 166, 0.08), transparent 65%);
  z-index: 0;
}

.container {
  width: min(100% - 48px, var(--content-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 18px 0 12px;
  background: rgba(10, 10, 18, 0.65);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(48, 48, 70, 0.8);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand--stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.brand__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 36px;
  height: 36px;
}

.brand__title {
  font-family: "Oswald", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand__tag {
  color: var(--accent);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(215, 255, 70, 0.4);
  background: rgba(215, 255, 70, 0.1);
}

.topbar__nav {
  display: flex;
  gap: 14px;
  align-items: center;
}

.main {
  position: relative;
  z-index: 1;
  padding: 40px 0 100px;
}

.main__inner {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.admin-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.admin-page .card {
  margin-top: 6px;
}

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  animation: reveal 0.6s ease;
}

.hero--compact {
  align-items: flex-start;
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 560px;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(215, 255, 70, 0.7);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.grid--two {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  background: linear-gradient(160deg, rgba(24, 24, 36, 0.95), rgba(18, 18, 26, 0.95));
  border-radius: var(--radius);
  border: 1px solid rgba(52, 52, 78, 0.8);
  box-shadow: var(--shadow);
  padding: 24px;
  animation: reveal 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform: translateZ(0);
}

.panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel__header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.panel__header h2,
.panel__header h3 {
  margin: 0;
}

.shop-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shop-card__actions {
  margin-top: 20px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  animation: none;
}

.js .product-card {
  opacity: 0;
  transform: translateY(18px) scale(0.98);
}

.js .product-card.is-visible {
  animation: card-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.product-grid .product-card:nth-child(1) { animation-delay: 0.05s; }
.product-grid .product-card:nth-child(2) { animation-delay: 0.1s; }
.product-grid .product-card:nth-child(3) { animation-delay: 0.15s; }
.product-grid .product-card:nth-child(4) { animation-delay: 0.2s; }
.product-grid .product-card:nth-child(5) { animation-delay: 0.25s; }
.product-grid .product-card:nth-child(6) { animation-delay: 0.3s; }
.product-grid .product-card:nth-child(7) { animation-delay: 0.35s; }
.product-grid .product-card:nth-child(8) { animation-delay: 0.4s; }
.product-grid .product-card:nth-child(9) { animation-delay: 0.45s; }
.product-grid .product-card:nth-child(10) { animation-delay: 0.5s; }

.product-card--link {
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.product-card--link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.55);
  border-color: rgba(215, 255, 70, 0.45);
}

.product-card__media {
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(48, 48, 70, 0.8);
  background: #0d0d16;
  aspect-ratio: 1 / 1;
  min-height: 220px;
  overflow: hidden;
}

.product-card__media img,
.product-detail__media img,
.image-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: rgba(39, 39, 58, 0.6);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 600;
}

.image-placeholder[hidden] {
  display: none !important;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-card__body h3 {
  margin: 0;
  font-size: 1.1rem;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 28px;
  align-items: start;
}

.product-detail__media {
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(48, 48, 70, 0.8);
  background: #0d0d16;
  padding: 12px;
  min-height: 320px;
}

.product-detail__info h2 {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product__variants {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.product__variants .btn {
  justify-content: space-between;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.image-preview {
  margin-top: 6px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(48, 48, 70, 0.8);
  background: #0d0d16;
  height: 160px;
  display: grid;
  place-items: center;
}

.btn {
  background: linear-gradient(120deg, #6f5bff, #b28bff);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 26px rgba(91, 71, 199, 0.35);
  font-family: "Manrope", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(215, 255, 70, 0.4);
  box-shadow: none;
  text-decoration: none;
}

.ghost {
  color: var(--accent-2);
  text-decoration: none;
  font-weight: 600;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ghost:hover {
  background: rgba(167, 139, 250, 0.22);
  color: #efe7ff;
  border-color: rgba(167, 139, 250, 0.55);
}

.ghost--danger {
  color: #ff8ea6;
  background: rgba(255, 77, 166, 0.14);
  border-color: rgba(255, 77, 166, 0.4);
}

.ghost--danger:hover {
  color: #ffd5e2;
  background: rgba(255, 77, 166, 0.24);
  border-color: rgba(255, 77, 166, 0.58);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(215, 255, 70, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.pill__label {
  color: var(--muted);
}

.pill__value {
  color: var(--accent);
}

.pill--muted {
  background: rgba(167, 139, 250, 0.15);
  color: var(--accent-2);
}

.pill--inline {
  margin-left: 8px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.chip--open {
  background: rgba(215, 255, 70, 0.15);
  color: var(--accent);
}

.chip--closed {
  background: rgba(255, 77, 166, 0.18);
  color: var(--accent-3);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
  border: 1px solid rgba(48, 48, 70, 0.8);
  padding: 10px 12px;
  font-family: "Manrope", sans-serif;
  background: #131320;
  color: var(--ink);
  min-height: var(--control-height);
}

.admin-page input[type="text"],
.admin-page input[type="number"],
.admin-page input[type="date"],
.admin-page input[type="datetime-local"],
.admin-page textarea,
.admin-page select {
  border-radius: 12px;
  border: 1px solid rgba(48, 48, 70, 0.9);
  padding: 10px 12px;
  font-family: "Manrope", sans-serif;
  background: #131320;
  color: var(--ink);
  min-height: var(--control-height);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-page select {
  appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(167, 139, 250, 0.8) 50%),
    linear-gradient(135deg, rgba(167, 139, 250, 0.8) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.admin-page select option {
  background: #131320;
  color: var(--ink);
}

.admin-page select option:checked {
  background: #1e1e2f;
  color: var(--ink);
}

.admin-page input[type="text"]:focus,
.admin-page input[type="number"]:focus,
.admin-page input[type="date"]:focus,
.admin-page input[type="datetime-local"]:focus,
.admin-page textarea:focus,
.admin-page select:focus {
  outline: none;
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.15);
}

.admin-page input[type="file"] {
  width: 100%;
  background: #131320;
  color: var(--muted);
  border: 1px dashed rgba(48, 48, 70, 0.9);
  border-radius: 12px;
  padding: 10px 12px;
  min-height: var(--control-height);
}

.admin-page input[type="file"]::file-selector-button {
  background: rgba(167, 139, 250, 0.18);
  color: #efe7ff;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 999px;
  padding: 8px 14px;
  margin-right: 12px;
  cursor: pointer;
  font: inherit;
}

.admin-page input[type="file"]::file-selector-button:hover {
  background: rgba(167, 139, 250, 0.28);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(180, 170, 214, 0.7);
}

.hint {
  font-size: 0.75rem;
  color: var(--muted);
}

textarea {
  resize: vertical;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.alert {
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid rgba(167, 139, 250, 0.45);
  padding: 12px;
  border-radius: 12px;
  color: var(--accent-2);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.list__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 32, 0.8);
  border: 1px solid rgba(48, 48, 70, 0.6);
}

.list__row--stack {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.list__main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.field--compact span {
  font-size: 0.8rem;
  color: var(--muted);
}

.subcard {
  margin-top: 20px;
  padding: 18px;
  background: rgba(22, 22, 34, 0.8);
  border: 1px solid rgba(48, 48, 70, 0.6);
}

.admin-page .form--inline {
  align-items: flex-end;
}

.admin-page .variants .form--inline {
  align-items: center;
  gap: 12px;
}

.admin-page .variants .form--inline input[type="text"],
.admin-page .variants .form--inline input[type="number"] {
  flex: 1 1 160px;
}

.admin-page .variants .form--inline .ghost,
.admin-page .variants .form--inline .btn {
  margin-left: auto;
}

.admin-page .form--inline .field {
  flex: 1 1 160px;
}

.admin-page .form--inline .btn,
.admin-page .form--inline .ghost {
  min-height: var(--control-height);
}

.admin-page .form:not(.form--inline) .btn,
.admin-page .form:not(.form--inline) .ghost {
  width: 100%;
  justify-content: center;
}

.admin-page .list__row .ghost {
  min-height: var(--control-height);
}

.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.orders-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.variants {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: rgba(17, 17, 26, 0.95);
  color: white;
  padding: 14px 18px;
  border-radius: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 5;
}

.toast--show {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  text-align: center;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth {
  background: #8d73be;
  color: #2e2e34;
  color-scheme: light;
  --auth-texture-main: none;
  --auth-texture-paper: none;
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
}

.auth .bg-orbs,
.auth .topbar,
.auth .footer {
  display: none;
}

.auth .main {
  padding: 0;
  min-height: 100vh;
  width: 100%;
}

.auth .main__inner {
  align-items: stretch;
  min-height: 100vh;
  width: 100%;
  padding: 0;
  max-width: 100%;
}

.auth .container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.auth-shell {
  width: 100%;
  height: 100vh;
  position: relative;
}

.auth-caption {
  display: none;
}

.auth-board {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  padding: 0;
  border-radius: 0;
  background-color: #8d73be;
  box-shadow: none;
  border: none;
  overflow: hidden;
  z-index: 0;
  --auth-stage-width: 1920px;
  --auth-stage-height: 1080px;
  --auth-scale: min(calc(100vw / 1920px), calc(100vh / 1080px));
}

.auth-stage {
  position: absolute;
  width: var(--auth-stage-width);
  height: var(--auth-stage-height);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(var(--auth-scale));
  transform-origin: center;
}

.auth--login .auth-board,
.auth--register .auth-board,
.auth--shops .auth-board {
  background-image: url("/static/img/auth/exit-background-without.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.auth-board::before,
.auth-board::after {
  content: none;
}

.auth-topbar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 1;
  background: #1d1c1d;
  color: #ffffff;
  border-radius: 0 0 30px 30px;
  padding: 0 159px;
  height: 102px;
  display: flex;
  align-items: center;
  border-bottom: 0.6px solid #ffffff;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.auth-topbar__points {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: "Inter", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  white-space: nowrap;
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  font-family: "Druk Cyr", "Oswald", sans-serif;
  letter-spacing: 0.8px;
}

.auth-brand__logo {
  width: 78px;
  height: 41px;
}

.auth-brand__name {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
}

.auth-brand__pill {
  font-size: 21px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1.2px solid #ede5fc;
  letter-spacing: 1px;
  color: #ede5fc;
}

.auth-decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  width: 162px;
  height: 177px;
  overflow: hidden;
}

.auth-decor img {
  position: absolute;
  width: 149px;
  height: 127px;
  left: 36px;
  top: 31px;
  display: block;
  object-fit: contain;
  transform: rotate(100deg);
}

.auth-decor--stars-left {
  left: 380.43px;
  top: 257.61px;
  opacity: 0.8;
  transform: rotate(23.79deg);
  mix-blend-mode: screen;
  filter: saturate(0.6);
  z-index: 0;
}

.auth-decor--stars-right {
  left: 1280.43px;
  top: 907.61px;
  opacity: 0.3;
  transform: rotate(23.79deg);
  mix-blend-mode: soft-light;
  filter: saturate(0.4);
  z-index: 0;
}

.auth-decor--tape {
  display: none;
}

.auth-panel {
  background: #ffffff;
  border-radius: 45px;
  padding: 60px 90px 56px;
  box-shadow:
    -6px 21px 49.5px rgba(49, 18, 107, 0.1),
    -25.5px 85.5px 88.5px rgba(39, 15, 83, 0.09),
    -58.5px 192px 120px rgba(136, 113, 179, 0.05),
    -103.5px 340.5px 142.5px rgba(39, 17, 80, 0.01);
  color: #2f2f35;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 900px;
  min-height: 725px;
  position: absolute;
  z-index: 2;
  left: 50%;
  top: calc(50% + 51px);
  transform: translate(-50%, -50%);
}

.auth-panel__header {
  text-align: center;
  width: 100%;
}

.auth-panel__header h1 {
  margin: 0 0 10px;
  font-family: "Druk Cyr", "Oswald", sans-serif;
  font-size: 96px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2a2a29;
  line-height: 1.3;
}

.auth-panel__header p {
  margin: 0;
  color: #2a2a29;
  font-size: 27px;
  font-family: "Inter", sans-serif;
}

.auth-panel__header span {
  color: #7c63c4;
  font-weight: 500;
}

.shop-shell {
  color: #2a2a29;
}

.shop-panel {
  position: absolute;
  left: 50%;
  top: calc(50% + 51px);
  transform: translate(-50%, -50%);
  width: 1560px;
  height: 863px;
  background: #ffffff;
  border-radius: 45px;
  padding: 0;
  box-shadow:
    -6px 21px 49.5px rgba(49, 18, 107, 0.1),
    -25.5px 85.5px 88.5px rgba(39, 15, 83, 0.09),
    -58.5px 192px 120px rgba(136, 113, 179, 0.05),
    -103.5px 340.5px 142.5px rgba(39, 17, 80, 0.01);
  display: block;
}

.shop-hero {
  position: absolute;
  left: 50%;
  top: 60px;
  transform: translateX(-50%);
  text-align: center;
  width: 1084px;
}

.shop-hero h1 {
  display: none;
}

.shop-hero__script {
  display: none;
}

.shop-hero__headline {
  width: 1084px;
  height: 219px;
  margin: 0 auto;
  background: url("/static/img/common/thetext.png") center/contain no-repeat;
  user-select: none;
  pointer-events: none;
}

.shop-view {
  color: #f2edf9;
}

.shop-view .main {
  min-height: 100vh;
  padding: var(--auth-topbar-height) 0 0;
  display: flex;
  align-items: center;
}

.shop-view .main__inner {
  align-items: center;
}

.store-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

.store-hero__title {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.store-hero__headline {
  height: 186px;
  max-width: 100%;
  background: center/contain no-repeat;
  margin-bottom: var(--store-hero-gap, 48px);
}

.shop-view--regular .store-hero__headline {
  width: 659px;
  background-image: url("/static/img/shop/text-shop-new.png");
}

.shop-view--premium .store-hero__headline {
  width: 867px;
  background-image: url("/static/img/shop/text-shop-premium.png");
}

.store-panel {
  width: min(1560px, 100%);
  margin: 30px auto 50px;
  background: #ffffff;
  border-radius: 45px;
  padding: 24px 60px 36px;
  --store-hero-gap: 48px;
  box-shadow:
    0 18px 50px rgba(46, 26, 88, 0.25),
    0 2px 0 rgba(255, 255, 255, 0.7) inset;
}

.store-panel--message {
  width: min(1200px, 100%);
  padding: 36px 42px 40px;
}

.shop-view .store-panel {
  zoom: 0.8;
}

.store-message {
  background: rgba(20, 20, 30, 0.8);
  border: 1px solid rgba(70, 70, 110, 0.6);
  border-radius: 22px;
  padding: 24px;
  color: #f2edf9;
  width: 100%;
}

.store-message h2 {
  margin: 0 0 14px;
  font-family: "Inter", sans-serif;
  font-size: clamp(1.9rem, 2.7vw, 2.65rem);
  line-height: 1.15;
}

.store-message p {
  margin: 0;
  font-size: clamp(1.1rem, 1.45vw, 1.6rem);
  line-height: 1.35;
  color: rgba(242, 237, 249, 0.92);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 338px));
  gap: 28px;
  margin-top: 0;
  justify-items: center;
  justify-content: start;
}

.store-card {
  width: min(338px, 100%);
  height: auto;
  aspect-ratio: 338 / 459;
  display: grid;
  place-items: center;
}

.store-card__shell {
  background: url("/static/img/shop/the-card.png") center/contain no-repeat;
  width: 100%;
  height: 100%;
  padding: 0;
  position: relative;
}

.store-card__frame {
  position: absolute;
  left: 4.438%;
  top: 3.268%;
  width: 91.124%;
  height: 49.02%;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 1;
}

.store-card__frame img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.store-card__qty {
  position: absolute;
  right: 7.396%;
  top: 5.446%;
  width: 18.343%;
  height: 6.319%;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 0 1px;
  font-size: clamp(0.6rem, 0.57rem + 0.12vw, 0.68rem);
  font-weight: 700;
  font-family: "Inter", sans-serif;
  color: #7b66c5;
  background: transparent;
  text-align: center;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.store-card__price {
  position: absolute;
  left: 26.331%;
  top: 50.109%;
  width: 47.929%;
  height: 8.932%;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: clamp(0.78rem, 0.74rem + 0.2vw, 0.85rem);
  font-weight: 600;
  color: #ffffff;
  background: #9574c7;
  z-index: 2;
}

.store-card__shell h3 {
  position: absolute;
  left: 7.101%;
  top: 61.438%;
  width: 85.799%;
  margin: 0;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  line-height: 1.1;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #2b2b2b;
  text-align: center;
}

.store-card__desc {
  position: absolute;
  left: 7.101%;
  top: 68.409%;
  width: 85.799%;
  margin: 0;
  color: rgba(43, 43, 43, 0.65);
  font-size: 0.78rem;
  min-height: 38px;
  text-align: center;
  display: none;
}

.store-card__buy {
  position: absolute;
  left: 11.834%;
  top: 83.66%;
  width: 77.219%;
  height: 12.419%;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: transparent;
  font-weight: 600;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.store-card__buy:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.store-card__buy:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.shop-grid {
  position: absolute;
  left: 60px;
  top: 281px;
  display: flex;
  gap: 30px;
}

.shop-tile {
  border-radius: 48px;
  padding: 0;
  position: relative;
  overflow: hidden;
  width: 705px;
  height: 477px;
}

.shop-tile__surface {
  border-radius: 38px;
  padding: 0;
  min-height: 0;
  display: block;
  box-sizing: border-box;
  position: relative;
  width: 705px;
  height: 477px;
}

.shop-tile--regular {
  background: transparent;
}

.shop-tile--regular .shop-tile__surface {
  background: url("/static/img/common/mk-shop.png") center/contain no-repeat;
  color: #5b7de9;
}

.shop-tile--premium {
  background: transparent;
}

.shop-tile--premium .shop-tile__surface {
  background: url("/static/img/common/mk-shop-premium.png") center/contain no-repeat;
  border: none;
  color: #e4e9ff;
}

.shop-tile__brand {
  display: none;
}

.shop-tile__brand-main {
  font-family: "Druk Cyr", "Oswald", sans-serif;
  font-size: 64px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.shop-tile__brand-script {
  font-family: "Baystar Script PERSONAL USE ONLY", "Times New Roman", cursive;
  font-size: 52px;
  font-style: italic;
}

.shop-tile__time {
  position: absolute;
  left: 342px;
  top: 206px;
  display: flex;
  align-items: center;
}

.shop-tile__label {
  display: none;
}

.shop-tile__time-pill {
  width: 161px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  background: #5b7de9;
  font-weight: 600;
  font-size: 20px;
  color: #e4e9ff;
  line-height: 1;
  position: relative;
  overflow: hidden;
}

.shop-tile__time-pill::before {
  content: "";
  position: absolute;
  inset: 0.7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  pointer-events: none;
}

.shop-tile--premium .shop-tile__time-pill {
  background: #e4e9ff;
  color: #5b7de9;
}

.shop-tile--premium .shop-tile__time-pill::before {
  border-color: rgba(91, 125, 233, 0.24);
}

.shop-tile__status {
  position: absolute;
  left: 51px;
  top: 383px;
}

.shop-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 187px;
  height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  line-height: 1;
}

.shop-pill--open {
  background: #5b7de9;
  color: #e4e9ff;
}

.shop-pill--closed {
  background: rgb(187, 201, 248);
  color: #ffffff;
}

.shop-tile--regular .shop-pill--closed {
  background: rgb(187, 201, 248);
  color: #ffffff;
}

.shop-tile--regular .shop-pill--open {
  background: #5b7de9;
  color: #e4e9ff;
}

.shop-tile--premium .shop-pill--open {
  background: #5b7de9;
  color: #e4e9ff;
}

.shop-tile--premium .shop-pill--closed {
  background: #5b7de9;
  color: #e4e9ff;
}

.auth-form {
  gap: 22px;
  text-align: left;
  width: 100%;
}

.auth-form .field span {
  font-size: 24px;
  color: #2a2a29;
  font-family: "Inter", sans-serif;
}

.auth-form .field input {
  background: #f1f1f1;
  border: 1px solid transparent;
  border-radius: 150px;
  padding: 12px 24px;
  min-height: 72px;
  color: #2d2d33;
  font-family: "Inter", sans-serif;
  font-size: 24px;
}

.auth-form .field input::placeholder {
  color: #9a9aa5;
}

.auth-form .field input:focus {
  outline: none;
  border-color: rgba(124, 99, 196, 0.45);
  box-shadow: 0 0 0 3px rgba(124, 99, 196, 0.18);
  background: #f8f7fb;
}

.auth-panel .btn {
  background: #9574c7;
  box-shadow: none;
  border-radius: 60px;
  padding: 18px 48px;
  font-weight: 500;
  width: 100%;
  min-height: 81px;
  font-family: "Inter", sans-serif;
  font-size: 27px;
}

.auth-panel .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.auth-panel .ghost {
  width: 100%;
  background: #ede5fc;
  color: #9574c7;
  border: none;
  font-weight: 500;
  min-height: 81px;
  font-family: "Inter", sans-serif;
  font-size: 27px;
  border-radius: 60px;
}

.auth-panel .ghost:hover {
  background: #e1d3fb;
  color: #5a46a3;
}

.auth-panel .alert {
  background: #f3e8ff;
  border: 1px solid #d3bdf8;
  color: #6947c7;
}

.polaroid {
  position: absolute;
  width: var(--polaroid-width, 366px);
  height: var(--polaroid-height, 443px);
  border-radius: 18px;
  box-shadow:
    5.46px -4.25px 18.2px rgba(0, 0, 0, 0.15),
    1.3px 14.32px 31.25px rgba(0, 0, 0, 0.11);
  --polaroid-padding: 15px;
  --polaroid-bottom: 56px;
  z-index: 2;
}

.polaroid__photo {
  position: absolute;
  top: var(--polaroid-padding);
  left: var(--polaroid-padding);
  right: var(--polaroid-padding);
  bottom: var(--polaroid-bottom);
  border-radius: 6px;
  background-image: var(
    --photo,
    linear-gradient(135deg, rgba(255, 137, 126, 0.65), rgba(113, 94, 188, 0.75))
  );
  background-size: cover;
  background-position: center;
}

.polaroid__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 2;
}

.polaroid__clip {
  position: absolute;
  left: 20px;
  top: -38px;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.polaroid__tape {
  position: absolute;
  left: -38px;
  top: -52px;
  width: 160px;
  transform: rotate(-12deg);
  z-index: 4;
  pointer-events: none;
}

.polaroid--left .polaroid__photo {
  --photo: var(--auth-photo-left);
  background-position: 50% 30%;
}

.polaroid--rear .polaroid__photo {
  --photo: var(--auth-photo-top);
  background-position: 50% 25%;
}

.polaroid--front .polaroid__photo {
  --photo: var(--auth-photo-bottom);
  background-position: 50% 20%;
}

.polaroid--left {
  position: absolute;
  --polaroid-width: 366px;
  --polaroid-height: 443px;
  --polaroid-padding: 15px;
  --polaroid-bottom: 56px;
  left: -81px;
  top: 410.32px;
  transform: rotate(-14.17deg);
}

.polaroid--left .polaroid__clip {
  left: 10px;
  top: -144px;
  width: 211px;
}

.polaroid--left::before {
  content: none;
}

.polaroid--right {
  --polaroid-padding: 13px;
  --polaroid-bottom: 48px;
}

.polaroid--rear {
  position: absolute;
  --polaroid-width: 315px;
  --polaroid-height: 381px;
  --polaroid-padding: 13px;
  --polaroid-bottom: 48px;
  left: 1572.5px;
  top: 211px;
  transform: rotate(15.12deg);
  z-index: 2;
}

.polaroid--rear .polaroid__tape {
  width: 115px;
  left: 54px;
  top: -72px;
  transform: rotate(10deg);
}

.polaroid--front {
  position: absolute;
  --polaroid-width: 410px;
  --polaroid-height: 495px;
  --polaroid-padding: 12px;
  --polaroid-bottom: 55px;
  left: 1464px;
  top: 513.2px;
  transform: rotate(-6.14deg);
  z-index: 3;
}

.polaroid--right::before {
  content: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 1200px) {
  .auth--shops .auth-topbar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "points";
    height: auto;
    min-height: 80px;
    padding: 10px 18px 12px;
    border-radius: 0 0 20px 20px;
    justify-content: start;
    align-content: center;
    row-gap: 6px;
  }

  .auth--shops .auth-brand {
    grid-area: brand;
    gap: 8px;
    min-width: 0;
    flex-wrap: nowrap;
  }

  .auth--shops .auth-brand__logo {
    width: 52px;
    height: 28px;
  }

  .auth--shops .auth-brand__name {
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    line-height: 1.1;
    white-space: nowrap;
  }

  .auth--shops .auth-brand__pill {
    font-size: clamp(0.75rem, 1.6vw, 0.95rem);
    padding: 2px 8px;
    letter-spacing: 0.5px;
  }

  .auth--shops .auth-topbar__points {
    grid-area: points;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 60px;
    font-size: clamp(0.75rem, 1.7vw, 0.95rem);
    letter-spacing: 0.3px;
    text-transform: none;
    white-space: nowrap;
    text-align: left;
  }

  .auth--shops .shop-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(calc(100% - 24px), 920px);
    margin: 20px auto 28px;
    padding: 24px 18px 24px;
    min-height: auto;
    height: auto;
    border-radius: 28px;
    gap: 18px;
  }

  .auth--shops .shop-hero {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-bottom: 8px;
  }

  .auth--shops .shop-hero__headline {
    width: min(100%, 820px);
    height: auto;
    aspect-ratio: 1084 / 219;
  }

  .auth--shops .shop-grid {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    justify-items: center;
    width: 100%;
  }

  .auth--shops .shop-tile {
    width: min(705px, 100%);
    height: auto;
    aspect-ratio: 705 / 477;
  }

  .auth--shops .shop-tile__surface {
    width: 100%;
    height: 100%;
    transform: none;
  }

  .auth--shops .shop-tile__time {
    left: 49%;
    top: 43.5%;
  }

  .auth--shops .shop-tile__status {
    left: 7.4%;
    top: 76.6%;
  }

  .auth--shops .shop-pill {
    width: max-content;
    min-width: 172px;
    height: clamp(34px, 4.2vw, 40px);
    padding: 0 18px;
    font-size: clamp(0.88rem, 1.45vw, 1rem);
    white-space: nowrap;
  }

  .auth--shops .shop-tile__time-pill {
    width: clamp(130px, 19vw, 152px);
    height: clamp(28px, 3.9vw, 34px);
    font-size: clamp(0.84rem, 1.35vw, 1.02rem);
    white-space: nowrap;
  }

  .shop-view {
    --auth-scale: 1;
    --auth-topbar-height: 72px;
  }

  .shop-view .container {
    padding: 0 20px;
  }

  .shop-view .shop-topbar-stage {
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
  }

  .shop-view .main {
    align-items: flex-start;
  }

  .shop-view .store-panel {
    zoom: 1;
    margin: 18px auto 32px;
  }
}

@media (max-width: 900px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .polaroid--left,
  .polaroid--right {
    display: none;
  }

  .auth-decor {
    display: none;
  }

  .auth-board {
    overflow-y: auto;
  }

  .auth-stage {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 100vh;
    left: auto;
    top: auto;
    transform: none;
  }

  .auth-topbar {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 8px 24px 10px;
    border-radius: 0 0 24px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "brand"
      "points";
    row-gap: 4px;
    align-content: center;
  }

  .auth-brand {
    grid-area: brand;
  }

  .auth-topbar__points {
    grid-area: points;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 0.88rem;
    letter-spacing: 0.4px;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-view {
    --auth-scale: 1;
    --auth-topbar-height: 88px;
  }

  .shop-view .container {
    padding: 0 20px;
  }

  .shop-view .shop-topbar-stage {
    left: 0;
    width: 100%;
    height: auto;
    transform: none;
  }

  .shop-view .main {
    align-items: flex-start;
  }

  .shop-view .store-panel {
    zoom: 1;
    margin: 18px auto 32px;
  }

  .store-hero__headline {
    margin-bottom: 30px;
  }

  .shop-view--regular .store-hero__headline {
    width: min(659px, 100%);
    height: auto;
    aspect-ratio: 659 / 186;
  }

  .shop-view--premium .store-hero__headline {
    width: min(867px, 100%);
    height: auto;
    aspect-ratio: 867 / 186;
  }

  .auth-panel {
    position: relative;
    width: min(calc(100% - 32px), 520px);
    left: auto;
    top: auto;
    transform: none;
    margin: 32px auto 48px;
  }

  .shop-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(calc(100% - 32px), 920px);
    margin: 32px auto 48px;
    padding: 36px 28px 40px;
    min-height: auto;
    height: auto;
    gap: 28px;
  }

  .shop-grid {
    position: relative;
    left: auto;
    top: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shop-tile__surface {
    transform: none;
  }

  .shop-tile {
    width: min(530px, 100%);
    height: auto;
  }

  .auth-panel__header h1 {
    font-size: 3rem;
  }

  .auth-panel__header p {
    font-size: 1.1rem;
  }

  .shop-hero__headline {
    width: min(820px, 92%);
    height: auto;
    aspect-ratio: 1084 / 219;
  }

  .shop-hero {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    justify-items: center;
  }

  .store-hero {
    flex-direction: column;
    align-items: center;
  }

  .store-panel {
    width: min(100%, 980px);
    padding: 26px 24px 32px;
  }

  .store-panel--message {
    width: min(100%, 920px);
    padding: 24px 20px 26px;
  }

  .store-panel--message .store-message {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .store-panel--message .store-message h2 {
    font-size: clamp(1.45rem, 3.4vw, 2rem);
  }

  .store-panel--message .store-message p {
    font-size: clamp(0.95rem, 2.3vw, 1.15rem);
  }

  .shop-result__wrap {
    padding: 20px 0 36px;
  }

  .auth-form .field span,
  .auth-form .field input {
    font-size: 1rem;
  }

  .auth-form .field input {
    min-height: 56px;
    padding: 10px 18px;
  }

  .auth-panel .btn,
  .auth-panel .ghost {
    font-size: 1.05rem;
    min-height: 58px;
  }
}

@media (max-width: 768px) {
  .topbar__inner {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    border-radius: 20px;
  }

  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .form--inline {
    flex-direction: column;
    align-items: stretch;
  }

  .orders-actions {
    align-items: stretch;
  }

  .auth-shell {
    width: 100%;
  }

  .auth-panel {
    padding: 28px 22px;
    min-height: auto;
  }

  .shop-view {
    --auth-topbar-height: 84px;
  }

  .shop-view .container {
    padding: 0 12px;
  }

  .shop-view .shop-topbar-stage .auth-topbar {
    height: auto;
    min-height: 0;
    padding: 8px 14px 10px;
    border-radius: 0 0 18px 18px;
  }

  .auth--shops .auth-topbar {
    min-height: 74px;
    padding: 8px 14px 10px;
    row-gap: 5px;
  }

  .auth--shops .auth-topbar__points {
    padding-left: 0;
    font-size: 0.9rem;
  }

  .auth--shops .shop-panel {
    width: min(calc(100% - 12px), 560px);
    margin: 14px auto 22px;
    padding: 16px 10px 16px;
    border-radius: 22px;
  }

  .auth--shops .shop-grid {
    gap: 12px;
  }

  .auth--shops .shop-tile {
    width: min(438px, 100%);
    height: auto;
    aspect-ratio: 705 / 477;
  }

  .auth--shops .shop-tile__time {
    left: 48.7%;
    right: auto;
    top: 42%;
  }

  .auth--shops .shop-tile__status {
    left: 7.6%;
    top: 76.8%;
  }

  .auth--shops .shop-pill {
    min-width: 156px;
    height: 36px;
    font-size: 0.88rem;
    padding: 0 16px;
  }

  .auth--shops .shop-tile__time-pill {
    width: clamp(110px, 30vw, 124px);
    height: clamp(30px, 7.4vw, 34px);
    font-size: clamp(0.82rem, 2.2vw, 0.9rem);
    padding: 0 6px;
  }

  .auth--shops .shop-tile__time-pill::before {
    display: none;
  }

  .auth-brand__logo {
    width: 52px;
    height: 28px;
  }

  .auth-brand {
    gap: 8px;
  }

  .auth-brand__name {
    font-size: 1.2rem;
  }

  .auth-brand__pill {
    font-size: 0.75rem;
    padding: 2px 8px;
    letter-spacing: 0.5px;
  }

  .auth-topbar__points {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 0.82rem;
  }

  .auth-panel__header h1 {
    font-size: 2.4rem;
  }

  .auth-panel__header p,
  .auth-form .field span,
  .auth-panel .btn,
  .auth-panel .ghost {
    font-size: 1rem;
  }

  .shop-panel {
    padding: 24px 20px 32px;
  }

  .shop-hero__headline {
    width: min(640px, 94%);
    height: auto;
    aspect-ratio: 1084 / 219;
  }

  .shop-tile__surface {
    transform: none;
  }

  .shop-tile__time {
    font-size: 0.95rem;
  }

  .shop-tile {
    width: min(438px, 100%);
    height: auto;
  }

  .shop-hero {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }

  .store-grid {
    grid-template-columns: 1fr;
  }

  .store-hero {
    flex-direction: column;
    align-items: center;
  }

  .store-panel {
    width: min(100%, 520px);
    border-radius: 28px;
    padding: 18px 14px 22px;
  }

  .store-panel--message {
    width: min(100%, 520px);
    border-radius: 24px;
    padding: 14px 10px 16px;
  }

  .store-panel--message .store-message {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .store-panel--message .store-message h2 {
    font-size: clamp(1.25rem, 5.4vw, 1.5rem);
    margin-bottom: 10px;
  }

  .store-panel--message .store-message p {
    font-size: clamp(0.95rem, 3.9vw, 1.05rem);
    line-height: 1.4;
  }

  .store-hero__headline {
    margin-bottom: 24px;
  }

  .toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 420px) {
  .auth--shops .shop-tile__time {
    left: 48.2%;
    right: auto;
    top: 42.3%;
  }

  .auth--shops .shop-tile__time-pill {
    width: 110px;
    height: 30px;
    font-size: 0.82rem;
  }
}
