.saved-address-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.saved-address-card__title {
  margin: 0 0 6px;
  font-size: 13px;
  opacity: 0.75;
}

.saved-address-card__text {
  margin: 0 0 10px;
}

.saved-address-card__select {
  width: 100%;
  margin-bottom: 10px;
}

.saved-address-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-address-editor-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 2px;
}

.checkout-address-editor-actions .btn {
  min-height: 38px;
}
@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/Unbounded-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Unbounded";
  src: url("./assets/fonts/Unbounded-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("./assets/fonts/Raleway-Variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f5f8;
  --surface: #ffffff;
  --surface-soft: #f8f3ff;
  --text: #1e1a26;
  --muted: #5b5568;
  --muted-strong: #4a4358;
  --line: #e4d9f2;
  --purple: #5d279e;
  --purple-strong: #4c1f83;
  --yellow: #ffcc00;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Raleway", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
  overscroll-behavior: none;
}

img {
  max-width: 100%;
  height: auto;
}

.topbar,
.page {
  width: min(1180px, 100% - 2rem);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(27, 16, 43, 0.08);
}

.city-picker {
  position: relative;
  flex: 0 0 auto;
}

.delivery-rating {
  position: relative;
  flex: 0 0 auto;
}

.delivery-rating__trigger {
  border: 0;
  background: transparent;
  color: #2e1455;
  font: inherit;
  text-align: left;
  padding: 0;
  display: grid;
  line-height: 1.15;
  cursor: default;
}

.delivery-rating__title {
  font-weight: 800;
  font-size: 0.95rem;
}

.delivery-rating__meta {
  margin-top: 0.15rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: #5f5574;
}

.delivery-rating__hint {
  margin-top: 0.14rem;
  font-size: 0.73rem;
  color: #857a99;
}

.delivery-rating__popover {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(34rem, 84vw);
  border-radius: 16px;
  background: rgba(63, 59, 66, 0.92);
  color: #fff;
  padding: 0.85rem 1rem;
  box-shadow: 0 12px 28px rgba(20, 10, 35, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 140;
}

.delivery-rating:hover .delivery-rating__popover,
.delivery-rating:focus-within .delivery-rating__popover {
  opacity: 1;
  visibility: visible;
}

.delivery-rating__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.delivery-rating__row strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffd247;
}

.delivery-rating__row span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
}

.delivery-rating__popover > p {
  margin: 0.65rem 0 0 !important;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82) !important;
}

.city-picker__current {
  border: 1px solid #d8caeb;
  border-radius: 999px;
  background: #fff;
  color: #4c1f83;
  font: inherit;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 0.42rem 0.72rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.city-picker__current::after {
  content: "▾";
  font-size: 0.72rem;
  color: #7d66a8;
  transition: transform 0.18s ease;
}

.city-picker__current[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.city-picker__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 190px;
  border: 1px solid #d8caeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(35, 17, 64, 0.14);
  padding: 0.35rem;
  display: grid;
  gap: 0.2rem;
  z-index: 120;
}

.city-picker__menu[hidden] {
  display: none !important;
}

.city-picker__option {
  border: 0;
  border-radius: 9px;
  background: transparent;
  text-align: left;
  font: inherit;
  color: #3b2d56;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
}

.city-picker__option:hover {
  background: #f3ebff;
}

.city-picker__option.is-active {
  background: #f1e7ff;
  color: #4c1f83;
  font-weight: 700;
}

.city-picker__option.is-disabled {
  color: #9d96ab;
  background: #f4f3f7;
  cursor: not-allowed;
  pointer-events: none;
}

.city-picker__option.is-disabled:hover {
  background: #f4f3f7;
}

.city-picker__soon {
  display: inline-block;
  margin-left: 0.28rem;
  font-size: 0.72rem;
  color: #8f889e;
}

.city-opening-note {
  width: min(1180px, 100% - 2rem);
  margin: 0.35rem auto 0;
  border: 1px solid #ecd8ae;
  border-radius: 12px;
  background: #fff8e8;
  color: #845300;
  padding: 0.55rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-toggle {
  position: relative;
}

.cart-count {
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  margin-left: 0.3rem;
  padding: 0 0.3rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 24, 0.46);
  z-index: 90;
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 24, 0.46);
  z-index: 110;
}

.cart-overlay[hidden],
.checkout-overlay[hidden],
.cart-drawer[hidden],
.checkout-modal[hidden],
.suggest-box[hidden] {
  display: none !important;
}

.checkout-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(62rem, calc(100vw - 1.2rem));
  max-height: calc(100dvh - 1.2rem);
  overflow: auto;
  z-index: 120;
}

.checkout-modal .order-box {
  margin-top: 0;
  padding: 1rem;
}

.checkout-modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
  padding: 0.2rem 0;
  border-bottom: 1px solid #efe6fb;
}

.checkout-modal__head h2 {
  margin: 0 !important;
}

.status-frame {
  width: 100%;
  min-height: min(72dvh, 760px);
  border: 1px solid #e6dbf5;
  border-radius: 14px;
  background: #fff;
}

.site-footer {
  margin: 1.1rem 0 4.2rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.site-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #d8c4f2;
  background: #fff;
  color: #6f3db8;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.site-footer__link:hover {
  background: #f5ecff;
  border-color: #b994ea;
  transform: translateY(-1px);
}

.site-footer__link:focus-visible {
  outline: 2px solid #7f4dcf;
  outline-offset: 2px;
}

.site-footer__sep {
  display: none;
}

.profile-box {
  display: grid;
  gap: 0.8rem;
}

.profile-box > p {
  margin: 0 !important;
  color: #605778 !important;
  font-size: 0.92rem;
}

.profile-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.profile-form input {
  border-color: #ccb7e8 !important;
  background: #fdfbff !important;
}

.profile-summary {
  display: none !important;
}

.profile-stat {
  border: 1px solid #dfcff5;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbf8ff, #ffffff);
  padding: 0.6rem 0.7rem;
  display: grid;
  gap: 0.2rem;
}

.profile-stat span {
  font-size: 0.76rem;
  color: #7f7398;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.profile-stat strong {
  font-size: 1rem;
  color: #38205f;
  font-weight: 800;
}

.profile-meta {
  border: 1px solid #dfcdf6;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbf8ff, #ffffff);
  padding: 0.7rem;
  display: grid;
  gap: 0.35rem;
}

.profile-meta p {
  margin: 0.2rem 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  color: #4f4566 !important;
}

.profile-meta p strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #786d91;
}

.profile-orders {
  display: grid;
  gap: 0.65rem;
}

.profile-bonus-details {
  border: 1px solid #e4d6f7;
  border-radius: 12px;
  background: #fcf9ff;
  padding: 0.65rem 0.75rem;
}

.profile-bonus-details summary {
  cursor: pointer;
  font-weight: 700;
  color: #5e2ca1;
}

.profile-bonus-history {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.35rem;
}

.profile-bonus-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  border-bottom: 1px dashed #eadff8;
  padding-bottom: 0.35rem;
}

.profile-bonus-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.profile-bonus-row b.is-plus { color: #2f8f46; }
.profile-bonus-row b.is-minus { color: #ba3f45; }

.profile-order-card--highlight {
  border-color: #7b42c4;
  box-shadow: 0 0 0 2px rgba(123, 66, 196, 0.28);
}

.profile-paid-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #c8e8c0;
  background: linear-gradient(135deg, #f0fff0, #e8f8e4);
  color: #2d5a2a;
}

.profile-paid-banner p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.profile-box--redirect__text {
  margin: 0 0 12px;
  color: #5f5378;
  line-height: 1.5;
}

.profile-box--redirect .btn {
  width: 100%;
}

.admin-dashboard__head--filters {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: end;
}

.admin-field--grow {
  grid-column: 1 / -1;
}

.checkout-modal .order-form input,
.checkout-modal .order-form select,
.checkout-modal .order-form textarea {
  font-size: 16px;
}

.profile-order-card {
  border: 1px solid #decff3;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff, #fbf9ff);
  padding: 0.75rem;
  display: grid;
  gap: 0.45rem;
  box-shadow: 0 8px 22px rgba(27, 11, 46, 0.07);
}

.profile-order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  color: #3f2a66;
}

.profile-order-card__status-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.profile-order-status-badge {
  border: 1px solid #cbb2f1;
  background: #f3e9ff;
  color: #6a37b6;
  border-radius: 999px;
  padding: 0.18rem 0.42rem;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.profile-order-card__id {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.profile-order-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.profile-order-card__chips .profile-order-chip:nth-child(2) {
  flex-basis: 100%;
  border-radius: 10px;
}

.profile-order-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e3d7f4;
  border-radius: 999px;
  background: #f9f6ff;
  color: #5f5474;
  padding: 0.2rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
}

.profile-order-progress {
  border: 1px solid #e6dbf5;
  border-radius: 11px;
  background: #fff;
  padding: 0.45rem 0.55rem;
  display: grid;
  gap: 0.25rem;
}

.profile-order-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.55rem;
  color: #5f5573;
  font-size: 0.8rem;
  font-weight: 700;
}

.profile-order-progress__track {
  height: 0.42rem;
  border-radius: 999px;
  background: #ece4fa;
  overflow: hidden;
}

.profile-order-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #7e43d5, #5d279e);
}

.profile-order-card__payment {
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.profile-order-card__payment.is-paid {
  background: #e2f8e8;
  color: #1b7e35;
  border-color: #bfeccc;
}

.profile-order-card__payment.is-unpaid {
  background: #fff3de;
  color: #9b6214;
  border-color: #ffdba2;
}

.profile-order-card__status {
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 800;
  border: 1px solid transparent;
}

.profile-order-card__meta--warn b {
  color: #9b6214;
}

.profile-order-pay {
  width: 100%;
  margin-top: 0.35rem;
}

.profile-order-card__status.is-new {
  background: #efe5ff;
  color: #5a2ca0;
  border-color: #dcc5ff;
}

.profile-order-card__status.is-confirmed {
  background: #eaf2ff;
  color: #2d5cb4;
  border-color: #cfe0ff;
}

.profile-order-card__status.is-cooking {
  background: #fff3de;
  color: #9b6214;
  border-color: #ffdba2;
}

.profile-order-card__status.is-delivery {
  background: #def7f2;
  color: #167565;
  border-color: #bcefe4;
}

.profile-order-card__status.is-done {
  background: #e2f8e8;
  color: #1b7e35;
  border-color: #bfeccc;
}

.profile-order-card__status.is-cancelled {
  background: #ffe7eb;
  color: #a03248;
  border-color: #ffc7d2;
}

.profile-order-card__meta {
  margin: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  border-bottom: 1px dashed #eee5fa;
  padding-bottom: 0.28rem;
}

.profile-order-card__meta span {
  color: #7a6f91;
  font-size: 0.8rem;
}

.profile-order-card__meta b {
  color: #44385d;
  font-weight: 700;
  text-align: right;
}

.profile-order-card__items {
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  color: #5a506c;
}

.profile-order-card__items li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
}

.profile-order-card__item-name {
  color: #4f4565;
}

.profile-order-card__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid #eee5fa;
  padding-top: 0.45rem;
  margin-top: 0.1rem;
}

.profile-order-repeat {
  margin-top: 0.2rem;
  justify-self: start;
}

.profile-page .profile-order-card__head {
  flex-wrap: wrap;
}

.profile-page .profile-order-card__status-wrap {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-order-empty {
  margin: 0;
  color: #7a6f91;
  font-size: 0.92rem;
}

#profile-feedback {
  min-height: 1.1rem;
  margin: 0 !important;
  color: #5a5070 !important;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(26rem, 100vw);
  height: 100dvh;
  border-left: 1px solid #dfd2f3;
  background: #ffffff;
  box-shadow: -12px 0 30px rgba(20, 9, 34, 0.22);
  padding: 1rem;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  gap: 0.7rem;
}

.cart-drawer__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-close {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
  border: 1px solid #dacced;
  background: #fff;
  color: #4b3b63;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.cart-popover__title {
  margin: 0;
  font-weight: 700;
  color: #2e1455;
}

.cart-popover__items {
  display: grid;
  gap: 0.38rem;
  align-content: start;
  max-height: 100%;
  overflow: auto;
  padding-right: 0.2rem;
}

.cart-popover__empty {
  margin: 0;
  color: #6a637a;
}

.cart-popover__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: #403a50;
  border-bottom: 1px dashed #eee5fa;
  padding-bottom: 0.5rem;
}

.cart-popover__item-side {
  display: grid;
  justify-items: end;
  gap: 0.28rem;
}

.cart-remove-btn {
  border: 1px solid #dfd2f3;
  background: #fff;
  color: #6a5e81;
  border-radius: 8px;
  width: 1.45rem;
  height: 1.45rem;
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
}

.cart-remove-btn:hover {
  background: #f8f2ff;
  color: #4d2f79;
}

.cart-remove-btn:active,
.cart-qty-btn:active,
.qty-btn:active,
.order-summary__btn:active {
  transform: scale(0.97);
}

.cart-popover__item:last-child {
  border-bottom: 0;
}

.cart-popover__item-main {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.cart-popover__thumb {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid #e3d7f4;
  flex-shrink: 0;
}

.cart-popover__text {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
}

.cart-popover__text span {
  font-size: 0.86rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-popover__text small {
  color: #6b637d;
  font-size: 0.76rem;
}

.cart-popover__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.cart-popover__qty b {
  min-width: 1.1rem;
  text-align: center;
  font-size: 0.82rem;
  color: #3e3551;
}

.cart-qty-btn {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  border: 1px solid #d8caeb;
  background: #fff;
  color: #4d2e79;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.cart-qty-btn:hover {
  background: #f6f0ff;
}

.cart-popover__summary {
  margin: 0.3rem 0;
  display: grid;
  gap: 0.3rem;
  border-top: 1px solid #eee5fa;
  padding-top: 0.7rem;
  color: #2e1455;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4a425a;
}

.cart-row--total {
  color: #2e1455;
  font-weight: 700;
}

.total-with-old {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.total-old {
  color: #8d849f;
  text-decoration: line-through;
  font-size: 0.84em;
}

.cart-promo {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #faf7ff;
  padding: 0.7rem;
}

.cart-promo label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #453a58;
}

.cart-promo__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

.cart-promo input {
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.58rem 0.7rem;
  font: inherit;
}

.cart-promo__feedback {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #5a506c;
}

.cart-drawer__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
}

.cart-drawer__actions .btn {
  justify-content: center;
}

@media (max-width: 520px) {
  .cart-drawer__actions {
    grid-template-columns: 1fr;
  }

  #cart-go-order {
    grid-column: auto;
  }
}

.mobile-cart-bar {
  position: fixed;
  left: 0.6rem;
  right: 0.6rem;
  bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  border: 1px solid #e1d4f5;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(20, 8, 33, 0.2);
  padding: 0.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.45rem;
}

.last-order-bar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: min(760px, calc(100vw - 1.2rem));
  z-index: 130;
  border: 1px solid #d8caeb;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(20, 8, 33, 0.16);
  padding: 0.55rem 0.65rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

/* Временно скрываем нижнюю плашку статуса после заказа. */
.last-order-bar {
  display: none !important;
}

.last-order-bar__close {
  border: 1px solid #dccdf1;
  background: #fff;
  color: #6e6187;
  border-radius: 999px;
  width: 1.65rem;
  height: 1.65rem;
  line-height: 1;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.last-order-bar__close:hover {
  background: #f6f1ff;
}

.last-order-bar__meta {
  display: grid;
  gap: 0.22rem;
}

.last-order-bar__meta strong {
  color: #3b2160;
  font-size: 0.85rem;
}

.last-order-bar__meta span {
  color: #6c5f84;
  font-size: 0.78rem;
  font-weight: 700;
}

.last-order-bar__timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.05rem;
}

.last-order-bar__step {
  position: relative;
  text-align: center;
  font-size: 0.67rem;
  font-weight: 800;
  color: #8a7fa0;
  border: 1px solid #e2d7f3;
  border-radius: 999px;
  background: #faf7ff;
  padding: 0.16rem 0.35rem;
}

.last-order-bar__step.is-active {
  color: #fff;
  border-color: #6f3dbf;
  background: linear-gradient(90deg, #8b58db, #5f2ca6);
}

.last-order-bar__step.is-done {
  color: #6c39b8;
  border-color: #ceb9ef;
  background: #f3eaff;
}

.mobile-cart-bar__meta {
  display: grid;
  justify-items: center;
  line-height: 1.1;
  width: 100%;
}

.mobile-cart-bar__meta strong {
  color: #2e1455;
  font-size: 0.84rem;
}

.mobile-cart-bar__meta span {
  color: #5f5870;
  font-size: 0.8rem;
}

.mobile-cart-bar__hint {
  margin-top: 0.12rem;
  color: #6f4ca5;
  font-size: 0.72rem;
  font-weight: 600;
}

.mobile-delivery-progress {
  margin-top: 0.22rem;
  width: min(190px, 100%);
  height: 6px;
  border-radius: 999px;
  background: #e8ddf8;
  overflow: hidden;
}

.mobile-delivery-progress__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #8d5cd9, #5f2ca6);
  transition: width 0.22s ease;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 2.5rem;
  width: auto;
  display: block;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.top-nav > a {
  padding: 0.5rem 0.72rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--purple-strong);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.top-nav > a:hover {
  background: var(--surface-soft);
}

.top-nav > a:active {
  background: #ece2fb;
}

.top-profile-btn {
  width: auto;
  height: auto;
  padding: 0.58rem 0.7rem;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 10px;
}

.top-profile-btn svg {
  width: 1.12rem;
  height: 1.12rem;
  fill: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  padding: 0.78rem 1.12rem;
  min-height: 2.75rem;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled,
.qty-btn:disabled,
.cart-qty-btn:disabled,
.cart-remove-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.btn--primary {
  background: var(--purple);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(93, 39, 158, 0.3);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--secondary {
  background: #ffffff;
  color: var(--purple-strong);
  border-color: #d8caeb;
}

.btn--secondary:hover {
  background: var(--surface-soft);
}

.btn[aria-busy="true"] {
  opacity: 0.75;
  cursor: wait;
}

.btn:focus-visible,
.qty-btn:focus-visible,
.cart-qty-btn:focus-visible,
.cart-remove-btn:focus-visible,
.order-summary__btn:focus-visible,
.order-summary__remove:focus-visible,
.coin-help__btn:focus-visible,
.city-picker__current:focus-visible,
.city-picker__option:focus-visible,
.top-nav > a:focus-visible,
.delivery-date-chip:focus-visible,
.check-row input:focus-visible {
  outline: 2px solid #7f4dcf;
  outline-offset: 2px;
}

.page {
  padding: 1.1rem 0 2.8rem;
}

.page > section {
  scroll-margin-top: 5.5rem;
}

.legal-doc {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
  color: #44385d;
  line-height: 1.6;
}

.legal-doc h1 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.35rem, 3.4vw, 1.95rem);
  color: #31185a;
}

.legal-doc h2 {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  color: #4a2f78;
}

.legal-doc p,
.legal-doc li {
  margin: 0;
  font-size: 0.95rem;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.legal-doc__meta {
  color: #7a6f91;
  font-size: 0.88rem;
}

.legal-doc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e4d6f7;
  border-radius: 12px;
  background: #faf7ff;
  font-size: 0.88rem;
  font-weight: 700;
}

.legal-doc__nav a {
  color: #5d279e;
  text-decoration: none;
}

.legal-doc__nav a:hover {
  text-decoration: underline;
}

.legal-doc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.check-row--legal {
  align-items: flex-start;
}

.check-row--legal span {
  font-size: 0.86rem;
  line-height: 1.45;
  color: #5a506c;
}

.check-row--legal a {
  color: #5d279e;
  font-weight: 700;
}

.hero {
  margin-top: 0.9rem;
  border: 1px solid #e4d9f2;
  border-radius: 22px;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: linear-gradient(140deg, #ffffff, #f7f0ff);
  box-shadow: 0 20px 40px rgba(29, 12, 52, 0.08);
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) clamp(26rem, 38vw, 34rem);
    align-items: start;
  }
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
}

h1,
h2,
h3 {
  font-family: "Unbounded", "Raleway", sans-serif;
  margin: 0;
  line-height: 1.22;
}

h1 {
  font-size: clamp(1.7rem, 4.8vw, 2.8rem);
  color: #2c1250;
}

.lead {
  margin: 0.95rem 0 0;
  max-width: 52rem;
  line-height: 1.56;
  color: var(--muted);
  font-size: 1.02rem;
}

.ritual-steps {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ritual-steps li {
  display: flex;
  align-items: center;
  gap: 0.58rem;
  color: #403a50;
  font-weight: 600;
  font-size: 0.95rem;
}

.ritual-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #efe4ff;
  color: var(--purple);
  font-family: "Unbounded", sans-serif;
  font-size: 0.72rem;
}

.hero-actions {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-mini-video {
  margin-top: 0.75rem;
  width: min(290px, 100%);
  border: 1px solid #e5d9f7;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 20px rgba(26, 12, 43, 0.08);
}

.hero-mini-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
}

@media (min-width: 980px) {
  .hero-mini-video {
    margin-top: 0;
    width: 100%;
    max-width: 34rem;
    justify-self: end;
  }

  .hero-mini-video iframe {
    aspect-ratio: 16 / 9;
  }
}

.hero-meta {
  margin-top: 0.75rem;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: #f1e7ff;
  color: #4f2a85;
  border: 1px solid #dccaf5;
  font-size: 0.79rem;
  font-weight: 700;
}

.hero-panel {
  position: relative;
  border: 1px solid #e3d2fb;
  background: #ffffff;
  color: #1e1a26;
  border-radius: 18px;
  padding: 1rem 1rem 1rem 0.95rem;
  padding-right: 6.1rem;
  box-shadow: 0 12px 24px rgba(31, 15, 52, 0.08);
  overflow: hidden;
}

.hero-panel__title {
  margin: 0 0 0.6rem;
  font-family: "Unbounded", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--purple);
}

.hero-panel__line {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.43rem 0;
  border-bottom: 1px solid #ece3f8;
  color: #3c3650;
  font-size: 0.9rem;
}

.hero-panel__logo {
  margin-top: 0.72rem;
}

.hero-panel__logo img {
  width: 4.2rem;
}

.hero-panel__footer {
  margin: 0.65rem 0 0;
  color: var(--purple);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-sticker {
  position: absolute;
  right: 0.72rem;
  top: 0.72rem;
  width: 4.7rem;
  height: 4.7rem;
  border-radius: 50%;
  background: var(--purple);
  color: var(--yellow);
  border: 2px solid var(--yellow);
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.48rem;
  transform: rotate(8deg);
}

.features,
.menu-grid,
.format {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.95rem;
}

.features {
  margin-top: 1rem;
}

@media (min-width: 860px) {
  .features,
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.feature,
.menu-card,
.flow,
.order-box,
.format-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 12, 43, 0.06);
}

.menu-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: #d7c5f1;
  box-shadow: 0 14px 30px rgba(26, 12, 43, 0.1);
}

.feature,
.menu-card,
.flow,
.order-box,
.format-card {
  padding: 1.05rem;
}

.menu,
.video-section,
.idea,
.format,
.quality-lab,
.convenience,
.delivery-info,
.packaging-delivery,
.wholesale,
.kitchen-survey-cta,
.partner-cta,
.order-box {
  margin-top: 1.8rem;
}

.feature h3,
.menu-card h3,
.format-card h3,
.quality-card h3 {
  font-size: 1rem;
  color: #31185a;
  margin-bottom: 0.42rem;
}

.feature p,
.menu-card p,
.format-card p,
.quality-lab__head p,
.quality-card p,
.order-box p,
.flow ol {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.menu h2,
.idea h2,
.quality-lab h2,
.convenience h2,
.order-box h2 {
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  margin-bottom: 0.8rem;
  color: #2e1455;
}

.video-section {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 12, 43, 0.06);
  padding: 1.05rem;
}

.video-section h2 {
  margin-bottom: 0.75rem;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #dfd2f3;
  background: #0f0b1b;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pill {
  display: inline-block;
  margin: 0 0 0.58rem;
  padding: 0.2rem 0.54rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffe88a;
  color: #5a4300;
}

.pill--light {
  background: #f0e8ff;
  color: #4f2984;
}

.price {
  margin-top: 0.58rem !important;
  color: var(--purple) !important;
  font-weight: 800;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.product-sku {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #7a728b;
}

.product-media {
  margin: 0.1rem 0 0.75rem;
  min-height: 9rem;
  border: 1px dashed #d9caef;
  border-radius: 14px;
  background: linear-gradient(145deg, #faf7ff, #f2e9ff);
  display: grid;
  place-items: center;
  gap: 0.4rem;
}

.product-media img {
  width: 3.2rem;
  opacity: 0.75;
}

.product-media span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6d6183;
}

.product-media--photo {
  min-height: 0;
  height: clamp(190px, 30vw, 270px);
  aspect-ratio: 4 / 3;
  border-style: solid;
  border-color: #e4d9f2;
  background: #f7f3ff;
  overflow: hidden;
  padding: 0;
  place-items: center;
}

.product-media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}

.product-weight {
  margin-top: 0.35rem !important;
  font-size: 0.9rem;
  color: #4d4760 !important;
  font-weight: 600;
}

.product-list {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: #4f4a5c;
  line-height: 1.46;
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.product-bottom {
  margin-top: auto;
  padding-top: 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.delivery-note {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2a7a2a !important;
}

.product-coins {
  margin: 0;
  padding: 0.45rem 0.55rem;
  border: 1px solid #eadffd;
  border-radius: 12px;
  background: #fcf9ff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4f2a85 !important;
  line-height: 1.2;
}

.coin-value {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.coin-value::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  background: no-repeat center/contain url("./assets/icons/chef-coin.svg?v=2");
}

.product-coins.coin-value {
  align-items: flex-start;
  gap: 0.5rem;
}

.product-coins.coin-value::before {
  width: 1.45rem;
  height: 1.45rem;
  flex: 0 0 1.45rem;
  margin-top: 0.02rem;
  background-image: url("./assets/icons/chef-coin-card.svg?v=2");
}

.product-coins__main {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.product-coins__meta {
  margin-top: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #6a5d85;
}

.product-coins__info {
  width: 1rem;
  height: 1rem;
  background: #c9b7e7;
  color: #fff;
  font-size: 0.72rem;
}

.product-coins .coin-help__tip {
  width: min(16rem, 72vw);
  bottom: calc(100% + 0.45rem);
}

.coin-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.coin-help {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.coin-help__btn {
  width: 1.1rem;
  height: 1.1rem;
  border: 0;
  border-radius: 999px;
  background: #b7b3be;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.coin-help__tip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.6rem);
  transform: translateX(-50%);
  width: min(20rem, 72vw);
  background: rgba(70, 70, 72, 0.97);
  color: #fff;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(20, 8, 33, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease;
  z-index: 130;
}

.coin-help__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(70, 70, 72, 0.97);
}

.coin-help:hover .coin-help__tip,
.coin-help:focus-within .coin-help__tip {
  opacity: 1;
  visibility: visible;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.qty-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  border: 1px solid #d8caeb;
  background: #fff;
  color: #4f2984;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  background: #f6f0ff;
}

.ui-toast {
  position: fixed;
  right: 0.9rem;
  bottom: 5.2rem;
  z-index: 140;
  max-width: min(84vw, 320px);
  border-radius: 12px;
  background: #2f1652;
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 8, 33, 0.25);
  padding: 0.6rem 0.75rem;
  font-weight: 600;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.ui-toast__text {
  display: inline-block;
}

.ui-toast__action {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.ui-toast__action:hover {
  background: rgba(255, 255, 255, 0.22);
}

.app-download-fab {
  position: fixed;
  left: 0.85rem;
  bottom: 1.05rem;
  z-index: 145;
  width: min(92vw, 340px);
}

.app-download-fab__close {
  position: absolute;
  top: -0.45rem;
  right: -0.45rem;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid #dccbf2;
  border-radius: 999px;
  background: #fff;
  color: #6b5a89;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(20, 8, 33, 0.16);
}

.app-download-fab__panel {
  width: 100%;
  border: 1px solid #ddcdf4;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 30px rgba(20, 8, 33, 0.2);
  padding: 0.85rem;
  display: grid;
  gap: 0.6rem;
}

.app-download-fab__title {
  margin: 0 !important;
  color: #2e1455 !important;
  font-size: 1.04rem;
  font-weight: 800;
}

.app-download-fab__hint {
  margin: 0 !important;
  color: #594f6d !important;
  font-size: 0.9rem;
  line-height: 1.3;
}

.app-download-fab__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.app-download-fab__actions .btn {
  min-height: 2.8rem;
  font-size: 0.92rem;
  width: 100%;
}

.app-download-fab__store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.58rem;
  padding-inline: 0.78rem;
}

.app-download-fab__store-icon {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

.app-download-fab__store-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

.app-download-fab__store-text {
  display: inline-block;
  text-align: left;
}

.qty-value {
  min-width: 1.4rem;
  text-align: center;
  font-weight: 700;
  color: #332b45;
}

.format-card__kicker {
  margin: 0 0 0.45rem;
  color: #8b6100;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}

.idea-card,
.convenience {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(26, 12, 43, 0.06);
  padding: 1.05rem;
}

.value-list,
.convenience-list {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
  color: #4d4760;
  line-height: 1.5;
}

.loyalty {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #faf6ff 100%);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1.1rem;
}

.loyalty__head p {
  margin: 0.45rem 0 0;
}

.loyalty__steps,
.loyalty__mission-grid {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.loyalty-card,
.mission-card {
  border: 1px solid #dfd2f3;
  border-radius: 16px;
  background: #fff;
  padding: 0.85rem;
}

.loyalty-card h3,
.mission-card h4 {
  margin: 0;
  color: #2e1455;
}

.loyalty-card p,
.mission-card p {
  margin: 0.45rem 0 0;
}

.loyalty__missions {
  margin-top: 1rem;
}

.loyalty__missions h3,
.loyalty-faq h3 {
  margin: 0;
}

.loyalty-faq {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.loyalty-faq details {
  border: 1px solid #dfd2f3;
  border-radius: 12px;
  background: #fff;
  padding: 0.65rem 0.75rem;
}

.loyalty-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #342154;
}

.loyalty-faq details p {
  margin: 0.45rem 0 0;
}

.quality-lab__caption {
  margin: 0.35rem 0 0;
  color: #554f64;
  font-weight: 600;
}

.quality-lab {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(165deg, #ffffff, #f6f1ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1.1rem;
}

.quality-lab__head h2 {
  margin-bottom: 0.55rem;
}

.quality-grid {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .quality-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quality-card {
  border: 1px solid #dfd2f3;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
}

.quality-card__kicker {
  margin: 0 0 0.38rem;
  color: var(--purple);
  font-family: "Unbounded", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
}

.quality-metrics {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 740px) {
  .quality-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.quality-metrics div {
  border-radius: 14px;
  border: 1px solid #e1d4f5;
  background: #fffdf5;
  padding: 0.82rem 0.9rem;
}

.quality-metrics strong {
  display: block;
  color: #2b1450;
  font-family: "Unbounded", sans-serif;
  font-size: 1.14rem;
}

.quality-metrics span {
  display: block;
  margin-top: 0.2rem;
  color: #5a5468;
  font-size: 0.9rem;
}

.delivery-info {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f6f1ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.06);
  padding: 1.1rem;
}

.delivery-info__head h2 {
  margin-bottom: 0;
}

.delivery-info__grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

@media (min-width: 860px) {
  .delivery-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.delivery-point {
  border: 1px solid #e1d4f5;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
}

.delivery-point strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  color: #2e1455;
  font-size: 1.12rem;
}

.delivery-point span {
  display: block;
  margin-top: 0.2rem;
  color: #5d586b;
  font-size: 0.9rem;
}

.packaging-delivery {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f7f1ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1rem;
  display: grid;
  gap: 0.95rem;
  grid-template-columns: 1fr;
}

@media (min-width: 980px) {
  .packaging-delivery {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }
}

.packaging-delivery__media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #dfd2f3;
  background: #fff;
}

.packaging-delivery__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.packaging-delivery__content p {
  margin: 0;
  color: #575164;
  line-height: 1.56;
}

.packaging-delivery__content h2 {
  margin-bottom: 0.55rem;
}

.packaging-delivery__list {
  margin: 0.75rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.35rem;
  color: #4b465a;
  line-height: 1.5;
}

.kitchen-survey-cta {
  border: 1px solid #d8c4f2;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff8ef 0%, #f3e8ff 55%, #ffffff 100%);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.08);
  padding: 1.15rem 1rem 1.2rem;
}

.kitchen-survey-cta__layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 760px) {
  .kitchen-survey-cta__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
    gap: 1.25rem;
  }
}

.kitchen-survey-cta__content {
  display: grid;
  gap: 0.65rem;
  text-align: left;
  align-content: center;
}

.kitchen-survey-cta__content h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.8vw, 1.85rem);
  line-height: 1.2;
  color: #31185a;
}

.kitchen-survey-cta__lead {
  margin: 0;
  color: #4f4a5d;
  line-height: 1.55;
  font-size: 1rem;
  max-width: 38rem;
}

.kitchen-survey-cta__btn {
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.15rem;
}

.kitchen-survey-cta__brand {
  display: grid;
  place-items: center;
  padding: 0.85rem 0.5rem;
  border-radius: 16px;
  border: 1px solid #e8dbf8;
  background: rgba(255, 255, 255, 0.72);
}

.kitchen-survey-cta__logo {
  width: min(100%, 220px);
  height: auto;
  display: block;
  opacity: 0.92;
}

.partner-cta__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

@media (min-width: 760px) {
  .partner-cta__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.partner-cta__card {
  position: relative;
  border: 1px solid #d8c4f2;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f7f1ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1rem 1rem 1.1rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.partner-cta__card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #31185a;
}

.partner-cta__text {
  margin: 0;
  color: #4f4a5d;
  line-height: 1.55;
  font-size: 0.95rem;
  flex: 1;
}

.partner-cta__btn {
  justify-self: start;
  margin-top: 0.15rem;
}

.partner-cta__card--soon {
  background: linear-gradient(160deg, #faf8fc, #f3edf9);
  border-color: #e5d9f4;
}

.partner-cta__card--soon .partner-cta__text {
  color: #6d6780;
}

.partner-cta__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  margin: 0;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #efe4ff;
  border: 1px solid #d3b8f4;
  color: #6f3db8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wholesale {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f8f3ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1.1rem;
}

.wholesale__head h2 {
  margin-bottom: 0.55rem;
}

.wholesale__head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.wholesale__grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

@media (min-width: 900px) {
  .wholesale__grid {
    grid-template-columns: 1.3fr 1fr;
  }
}

.wholesale-card,
.wholesale-process,
.wholesale-price {
  border: 1px solid #dfd2f3;
  background: #ffffff;
  border-radius: 16px;
  padding: 1rem;
}

.wholesale-card h3,
.wholesale-process h3,
.wholesale-price h3 {
  color: #31185a;
  margin-bottom: 0.45rem;
}

.wholesale-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.32rem;
  color: #4d4760;
  line-height: 1.45;
}

.wholesale-specs p {
  margin: 0;
  padding: 0.48rem 0;
  border-bottom: 1px solid #efe7fb;
  color: #4d4760;
}

.wholesale-specs p:last-child {
  border-bottom: 0;
}

.wholesale-specs span {
  font-weight: 700;
  color: #2e1455;
}

.wholesale-process {
  margin-top: 0.9rem;
}

.wholesale-process p {
  margin: 0.45rem 0 0;
  color: #565064;
  line-height: 1.56;
}

.wholesale-price {
  margin-top: 0.9rem;
  background: linear-gradient(180deg, #fff8d8, #ffffff);
  border-color: #f0df9d;
}

.wholesale-price p {
  margin: 0;
  color: #5b5568;
  font-weight: 600;
}

.order-box {
  background: #ffffff;
  border-color: #e7dcf8;
  box-shadow: 0 18px 36px rgba(52, 29, 90, 0.1);
}

.order-box p {
  margin: 0.45rem 0 0.7rem;
}

.order-layout {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 980px) {
  .order-layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
  }
}

.order-layout__summary,
.order-layout__form {
  border: 1px solid #e7dcf8;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.65rem;
}

.order-login-title {
  margin-bottom: 0.2rem !important;
  font-weight: 700;
  color: #2e1455 !important;
}

.order-form {
  display: grid;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.checkout-step {
  display: grid;
  gap: 0.45rem;
}

.checkout-step__title {
  margin: 0 !important;
  color: #4c4460 !important;
  font-size: 0.92rem;
  font-weight: 600 !important;
}

.checkout-step__hint {
  margin: 0 !important;
  color: #756c89 !important;
  font-size: 0.82rem;
}

.checkout-field-error {
  margin: -0.2rem 0 0 !important;
  color: #a03248 !important;
  font-size: 0.82rem;
  font-weight: 700;
}

.checkout-inline-label {
  margin: 0.08rem 0 -0.18rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6a617d;
}

.checkout-inline-help {
  margin: -0.05rem 0 0.15rem !important;
  font-size: 0.7rem;
  color: #7b728d !important;
}

.order-form input.is-invalid,
.order-form textarea.is-invalid,
.order-form select.is-invalid {
  border-color: #de6f88 !important;
  background: #fff7fa !important;
}

.checkout-progress {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #faf7ff;
  padding: 0.45rem 0.58rem;
  display: grid;
  gap: 0.38rem;
}

.checkout-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: #5a516d;
  font-size: 0.76rem;
}

.checkout-progress__meta strong {
  color: #5a4d73;
  font-size: 0.78rem;
  font-weight: 600;
}

.checkout-progress__track {
  width: 100%;
  height: 0.45rem;
  border-radius: 999px;
  background: #ece4fa;
  overflow: hidden;
}

.checkout-progress__fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7e43d5, #5d279e);
  transition: width 0.22s ease;
}

.checkout-nav {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.5rem;
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: #fff;
  padding-top: 0.4rem;
}

#checkout-next,
#checkout-submit {
  min-height: 2.7rem;
  font-size: 0.9rem;
  padding: 0.72rem 1rem;
  grid-column: 2 / -1;
}

@media (max-width: 900px) {
  .checkout-modal {
    inset: 0;
    transform: none;
    width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }

  .checkout-modal .order-box {
    min-height: 100dvh;
    border-radius: 0;
    padding: 0.9rem;
  }

  /* Модалка адреса на мобильных: fullscreen, чтобы iPhone не "прыгал". */
  #guest-address-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    max-height: 100svh;
    transform: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    overscroll-behavior: contain;
    -webkit-transform: translateZ(0);
  }

  #guest-address-modal .order-box {
    min-height: 100svh;
    border-radius: 0;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 0.75rem calc(0.8rem + env(safe-area-inset-bottom, 0px));
    max-height: inherit;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* iOS: font-size < 16px вызывает авто-zoom и "прыжки" при фокусе. */
  #guest-address-modal input,
  #guest-address-modal select,
  #guest-address-modal textarea {
    font-size: 16px !important;
    line-height: 1.25;
  }

  .profile-form {
    grid-template-columns: 1fr;
  }

  .profile-summary {
    grid-template-columns: 1fr;
  }

  .checkout-nav {
    grid-template-columns: 1fr;
  }

  #checkout-prev,
  #checkout-next,
  #checkout-submit {
    grid-column: auto;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 900px) {
    #guest-address-modal {
      max-height: 100svh;
    }
  }
}

.order-form--profile {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.order-form input {
  width: 100%;
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  font-size: 0.9rem;
  font: inherit;
  background: #fff;
  color: #2b2540;
}

.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.64rem 0.72rem;
  font-size: 0.9rem;
  font: inherit;
  background: #fff;
  color: #2b2540;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus,
.cart-promo input:focus,
.order-promo input:focus {
  border-color: #b996e6;
  box-shadow: 0 0 0 3px rgba(125, 77, 207, 0.14);
  outline: none;
}

.delivery-extra {
  display: grid;
  gap: 0.5rem;
}

.geo-row {
  display: grid;
  gap: 0.35rem;
}

.geo-row .btn {
  justify-self: start;
}

.geo-feedback {
  margin: 0;
  font-size: 0.82rem;
  color: #5f5871;
}

.order-promo {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #faf7ff;
  padding: 0.7rem;
}

.order-promo label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #453a58;
}

.order-promo__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem;
}

.order-promo__feedback {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: #5a506c;
  min-height: 1.05rem;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #5e566f;
  font-weight: 500;
  font-size: 0.88rem;
}

.check-row input[type="checkbox"],
.check-row input[type="radio"] {
  width: auto;
  margin: 0;
  accent-color: #5a2ca0;
}

.delivery-time {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #faf7ff;
  padding: 0.65rem 0.75rem 0.75rem;
  display: grid;
  gap: 0.45rem;
  overflow: hidden;
}

.delivery-time legend {
  font-family: "Unbounded", "Raleway", sans-serif;
  font-size: 0.78rem;
  color: #4b2b7f;
  padding: 0 0.25rem;
}

.delivery-schedule {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.5rem;
  align-items: start;
}

.delivery-schedule__field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.delivery-schedule__title {
  font-size: 0.78rem;
  color: #5b5470;
  font-weight: 700;
}

.delivery-date-chips {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.05rem 0.05rem 0.15rem;
  scrollbar-width: thin;
}

.delivery-date-chip {
  border: 1px solid #d8caeb;
  border-radius: 10px;
  background: #fff;
  color: #4a3f60;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.42rem 0.55rem;
  min-width: 5.5rem;
  text-align: left;
  cursor: pointer;
  flex: 0 0 auto;
}

.delivery-date-chip small {
  display: block;
  font-size: 0.72rem;
  color: #7e7493;
  font-weight: 600;
}

.delivery-date-chip.is-active {
  background: #f3ebff;
  color: #4c1f83;
  border-color: #bea7e6;
}

.delivery-date-chip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.delivery-time-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #665f77;
}

.delivery-time .check-row {
  display: flex;
  width: 100%;
  min-width: 0;
}

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

.suggest-wrap {
  position: relative;
}

.suggest-box {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.25rem);
  z-index: 30;
  border: 1px solid #dacced;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(20, 10, 35, 0.12);
  max-height: 13rem;
  overflow: auto;
}

.suggest-item {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #efe8fb;
  background: #fff;
  text-align: left;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: #352d47;
  cursor: pointer;
}

.suggest-item:last-child {
  border-bottom: 0;
}

.suggest-item:hover,
.suggest-item:focus-visible {
  background: #f6f0ff;
  outline: none;
}

.order-summary {
  margin: 0;
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #fff;
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.18;
  color: #4a425a;
}

.order-summary__items {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.order-summary__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px dashed #eee5fa;
  padding-bottom: 0.35rem;
  font-size: 0.88rem;
}

.order-summary__text {
  display: grid;
  gap: 0.25rem;
}

.order-summary__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.order-summary__btn {
  width: 1.65rem;
  height: 1.65rem;
  border: 1px solid #dacced;
  border-radius: 8px;
  background: #fff;
  color: #4b2b7f;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.order-summary__remove {
  border: 1px solid #e5d8f5;
  border-radius: 8px;
  background: #faf6ff;
  color: #5b2f95;
  font: inherit;
  font-size: 0.78rem;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
}

.order-summary__remove:hover {
  background: #f2e8ff;
}

.order-summary__item:last-child {
  border-bottom: 0;
}

.order-summary__left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.order-summary__left img {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #e3d7f4;
  flex-shrink: 0;
}

.order-summary__left span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #433b53;
}

.order-summary__empty {
  margin: 0;
  color: #6a627b;
}

.order-summary p {
  margin: 0.1rem 0 !important;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4a425a;
}

.order-summary p strong {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4a425a;
}

.order-summary #summary-total {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2e1455;
}

.order-summary #summary-total-old {
  font-size: 0.64rem;
}

.order-summary #summary-promo,
.order-summary #summary-discount,
.order-summary #summary-coins {
  font-size: 0.78rem;
  font-weight: 500;
}

.order-summary .coin-label {
  gap: 0.18rem;
}

.order-summary .coin-help__btn {
  width: 0.78rem;
  height: 0.78rem;
  font-size: 0.54rem;
}

.order-feedback {
  margin-top: 0.7rem !important;
  font-weight: 700;
  color: #2e1455 !important;
}

.order-form #checkout-submit {
  min-height: 2.9rem;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-panel h1 {
  font-family: "Unbounded", "Raleway", sans-serif;
  margin: 0 0 0.8rem;
  color: #2e1455;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.admin-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.admin-dashboard {
  margin-top: 0.85rem;
  border: 1px solid #e3d9f3;
  border-radius: 14px;
  background: #fbf9ff;
  padding: 0.7rem;
}

.admin-dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.admin-field--inline {
  margin: 0;
  max-width: 220px;
}

.admin-field--inline select {
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.52rem 0.62rem;
  font: inherit;
  background: #fff;
}

.admin-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.admin-kpi {
  border: 1px solid #e8def7;
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.15rem;
}

.admin-kpi span {
  color: #6f6880;
  font-size: 0.8rem;
}

.admin-kpi strong {
  color: #2e1455;
  font-size: 0.98rem;
}

.admin-kpi--wide {
  grid-column: 1 / -1;
}

.admin-login-panel {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.admin-orders {
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.admin-order {
  border: 1px solid #dfd2f3;
  border-radius: 14px;
  background: #fff;
  padding: 0.9rem;
}

.admin-order p {
  margin: 0.28rem 0 !important;
}

.admin-field {
  display: grid;
  gap: 0.3rem;
  margin: 0.45rem 0;
}

.admin-field span {
  font-weight: 700;
  color: #3d3451;
}

.admin-field input {
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.admin-order__top {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 0.35rem;
}

.admin-order__top strong {
  color: #2e1455;
}

.admin-order__top span {
  color: #726b84;
  font-size: 0.86rem;
}

.admin-status {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
}

.admin-status span {
  font-weight: 700;
  color: #3d3451;
}

.admin-status select {
  border: 1px solid #dacced;
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
  font: inherit;
}

.admin-order__actions {
  margin-top: 0.7rem;
}

.admin-order__history {
  margin-top: 0.6rem;
  border: 1px dashed #e4d9f2;
  border-radius: 10px;
  background: #fcf9ff;
  padding: 0.45rem 0.6rem;
}

.admin-order__history summary {
  cursor: pointer;
  font-weight: 700;
  color: #3d3451;
}

.admin-order__history-list {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.45rem;
}

.admin-order__history-item {
  border: 1px solid #eee4fb;
  border-radius: 8px;
  background: #fff;
  padding: 0.4rem 0.5rem;
}

.admin-order__history-item p,
.admin-order__history-empty {
  margin: 0.15rem 0 !important;
}

.admin-empty {
  margin: 0;
  border: 1px dashed #dacced;
  border-radius: 12px;
  background: #fff;
  color: #5c556b;
  padding: 1rem;
}

#admin-login-feedback,
#admin-runtime-feedback {
  padding: 0.65rem 0.8rem;
}

.payment-box {
  max-width: 700px;
  margin: 0 auto;
}

.payment-meta {
  margin: 0.75rem 0 0.9rem;
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.85rem;
}

.payment-meta p {
  margin: 0.25rem 0 !important;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.status-box {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.status-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-brand-link {
  display: inline-flex;
  align-items: center;
}

.status-brand-logo {
  height: 2.35rem;
  width: auto;
  display: block;
}

.status-contact-link {
  border: 1px solid #decff3;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbf8ff, #ffffff);
  color: #3f2a66;
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.45rem;
  row-gap: 0.08rem;
  align-items: center;
  min-width: 16rem;
}

.status-contact-icon {
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  background: #5d279e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-row: 1 / span 2;
}

.status-contact-icon svg {
  width: 1rem;
  height: 1rem;
  fill: #fff;
}

.status-contact-link span {
  font-size: 0.76rem;
  color: #7f7398;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.status-contact-link strong {
  font-size: 0.95rem;
  color: #38205f;
}

.status-box__lead {
  margin: 0 !important;
  color: #4c4360 !important;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.status-stat {
  border: 1px solid #e0d2f4;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbf8ff, #fff);
  padding: 0.65rem 0.75rem;
  display: grid;
  gap: 0.22rem;
}

.status-stat span {
  color: #7f7398;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.status-stat strong {
  color: #3c2164;
  font-size: 1.05rem;
}

.status-progress {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #faf7ff;
  padding: 0.62rem 0.72rem;
  display: grid;
  gap: 0.35rem;
}

.status-progress__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  color: #5a516d;
  font-size: 0.84rem;
}

.status-progress__track {
  height: 0.5rem;
  border-radius: 999px;
  background: #ece4fa;
  overflow: hidden;
}

.status-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #7e43d5, #5d279e);
  transition: width 0.25s ease;
}

.status-timeline {
  border: 1px solid #e4d9f2;
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
}

.status-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  opacity: 0.58;
  transition: opacity 0.18s ease;
}

.status-step.is-active {
  opacity: 1;
}

.status-step__dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 2px solid #d8caeb;
  background: #fff;
  margin-top: 0.2rem;
}

.status-step.is-active .status-step__dot {
  border-color: #5d279e;
  background: #5d279e;
}

.status-step.is-complete .status-step__dot {
  border-color: #5d279e;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #5d279e;
}

.status-step strong {
  color: #39205f;
  font-size: 0.9rem;
}

.status-step small {
  display: block;
  margin-top: 0.12rem;
  color: #6f6583;
  font-size: 0.8rem;
}

.status-timeline__stamp {
  margin: 0.2rem 0 0;
  color: #7b6f91;
  font-size: 0.74rem;
  text-align: right;
}

.status-game {
  border: 1px solid #e4d9f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #fbf8ff);
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
}

.status-game__head {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.status-game__head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.status-game__hint {
  margin: 0.4rem 0 0 !important;
  color: #615876 !important;
  max-width: 34rem;
}

.status-game__rules {
  border: 1px solid #e3d8f4;
  border-radius: 12px;
  background: linear-gradient(180deg, #fbf8ff, #ffffff);
  padding: 0.6rem 0.75rem;
  min-width: 15rem;
}

.status-game__rules p {
  margin: 0 !important;
  color: #473068 !important;
  font-size: 0.9rem;
}

.status-game__rules ul {
  margin: 0.45rem 0 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.2rem;
  color: #5f5573;
  font-size: 0.82rem;
}

.status-game__stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.status-game__stat-card {
  border: 1px solid #e3d8f4;
  border-radius: 12px;
  background: #fff;
  padding: 0.55rem 0.65rem;
  display: grid;
  gap: 0.2rem;
}

.status-game__stat-card span {
  color: #7c7192;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.status-game__stat-card strong {
  color: #3f2369;
  font-size: 1.25rem;
  line-height: 1;
}

#duck-tower-canvas {
  width: 100%;
  height: auto;
  border: 1px solid #d9cbef;
  border-radius: 12px;
  background: #fff;
  display: block;
}

.status-game__canvas-wrap {
  position: relative;
}

.duck-game-over {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.55rem;
  background: rgba(27, 11, 46, 0.62);
  border-radius: 12px;
  padding: 0.9rem;
}

.duck-game-over p {
  margin: 0 !important;
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 800;
}

.duck-game-over small {
  color: #f1eaff;
  font-size: 0.85rem;
  text-align: center;
  max-width: 18rem;
}

.duck-game-over .btn {
  min-width: 8.5rem;
}

.duck-game-over__actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.status-game__notice {
  margin: 0 !important;
  min-height: 1.1rem;
  color: #4e4562 !important;
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero .lead {
    display: none;
  }

  .topbar {
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 0.62rem 0.72rem;
    row-gap: 0;
    gap: 0.35rem;
    border-radius: 14px;
  }

  .top-nav {
    order: 3;
    width: auto;
    margin-left: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    row-gap: 0;
  }

  .city-picker {
    display: block !important;
    order: 2;
    margin-left: auto;
  }

  .city-picker__current {
    font-size: 0.74rem;
    padding: 0.3rem 0.5rem;
  }

  .delivery-rating {
    order: 4;
    display: none !important;
    margin-left: 0.2rem;
    max-width: 6.2rem;
  }

  .delivery-rating__title {
    display: none;
  }

  .delivery-rating__meta {
    margin-top: 0;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .delivery-rating__hint {
    display: none;
  }

  .delivery-rating__popover {
    display: none !important;
  }

  .cart-drawer {
    width: 100vw;
  }

  .top-nav > a {
    display: none !important;
  }

  .top-nav .cart-toggle {
    flex: 0 0 auto;
    justify-content: center;
    margin-left: 0;
    padding: 0.38rem 0.56rem;
    font-size: 0.74rem;
    border-radius: 10px;
  }

  .top-profile-btn {
    padding: 0.38rem 0.56rem;
  }

  .top-profile-btn svg {
    width: 0.98rem;
    height: 0.98rem;
  }

  .hero-mini-video {
    width: 100%;
    max-width: none;
    margin-top: 0.9rem;
  }

  .page {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

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

  .status-contact-link {
    width: 100%;
    min-width: 0;
  }

  .status-game__stats {
    width: 100%;
  }

  .status-game__rules {
    width: 100%;
  }

  .status-game__stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-download-fab {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: env(safe-area-inset-bottom, 0px);
    width: min(94vw, 430px);
  }

  .app-download-fab__panel {
    width: 100%;
  }

}

@media (min-width: 901px) {
  .mobile-cart-bar {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 560px) {
  .topbar,
  .page,
  .city-opening-note {
    width: min(1180px, 100% - 1.2rem);
  }

  .hero-panel {
    padding-right: 0.95rem;
    padding-top: 5.8rem;
  }

  .hero-mini-video {
    width: calc(100% + 0.8rem);
    margin-left: -0.4rem;
    border-radius: 14px;
  }

  .menu,
  .quality-lab,
  .packaging-delivery,
  .wholesale,
  .order-box {
    margin-top: 1.35rem;
  }

  .delivery-rating {
    max-width: 5.2rem;
    margin-left: 0.12rem;
  }

  .city-picker__current {
    font-size: 0.74rem;
    padding: 0.3rem 0.52rem;
  }

  .delivery-rating__title {
    display: none;
  }

  .delivery-rating__meta {
    margin-top: 0;
    font-size: 0.64rem;
  }

  .top-nav {
    margin-left: auto;
    width: auto;
  }

  .top-nav .cart-toggle {
    padding: 0.32rem 0.44rem;
    font-size: 0.71rem;
  }

  .top-profile-btn {
    padding: 0.32rem 0.44rem;
  }

  .top-profile-btn svg {
    width: 0.92rem;
    height: 0.92rem;
  }

  .brand-logo {
    height: 2.1rem;
  }

  .hero-sticker {
    right: 50%;
    top: 0.5rem;
    transform: translateX(50%) rotate(4deg);
    width: 4.25rem;
    height: 4.25rem;
  }

  .product-media--photo {
    height: 205px;
  }

  .product-actions {
    gap: 0.35rem;
  }

  .product-actions .btn {
    flex: 1 1 100%;
    margin-top: 0.2rem;
    min-height: 2.85rem;
  }

  .qty-btn {
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.1rem;
  }

  .cart-qty-btn,
  .cart-remove-btn,
  .order-summary__btn,
  .order-summary__remove {
    min-width: 2.2rem;
    min-height: 2.2rem;
  }

  .order-form--profile {
    grid-template-columns: 1fr;
  }

  .profile-order-card__meta,
  .profile-order-card__items li,
  .profile-order-card__total {
    flex-direction: column;
    align-items: flex-start;
  }
}

.profile-page {
  width: min(920px, 100% - 2rem);
  margin: 1.25rem auto 2rem;
}

.profile-page__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.profile-page__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.profile-auth-lead {
  margin: 0 0 10px;
  color: var(--muted-strong);
  font-size: 14px;
}

.profile-page__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-family: "Unbounded", sans-serif;
  color: var(--purple-strong);
}

.profile-page .profile-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(40, 22, 71, 0.06);
}

.profile-orders-section__title {
  margin: 0 0 12px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--purple-strong);
}

.profile-page .profile-orders {
  gap: 0.85rem;
}

.profile-page .profile-order-card {
  margin: 0;
}

.profile-page .profile-order-pay {
  margin-top: 0.15rem;
}

.profile-page .profile-order-repeat {
  margin-top: 0.35rem;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
}

.profile-page .profile-feedback {
  min-height: 20px;
  color: var(--purple);
  margin-top: 8px;
}

.loyalty-card {
  margin-top: 12px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 14px;
  background: linear-gradient(135deg, #5d279e 0%, #7b42c4 58%, #ffcc00 100%);
  color: #fff;
  box-shadow: 0 16px 26px rgba(93, 39, 158, 0.28);
}

.loyalty-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.loyalty-card__logo {
  width: 118px;
  height: auto;
  filter: brightness(0) invert(1);
}

.loyalty-card__label {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.loyalty-card__balance {
  margin: 2px 0 0;
  font-size: clamp(18px, 2.3vw, 22px);
  line-height: 1.25;
  font-family: "Unbounded", sans-serif;
  color: #fff;
}

.loyalty-card .btn {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.loyalty-card .btn:hover {
  background: rgba(255, 255, 255, 0.28);
}

.survey-page {
  max-width: 640px;
  margin: 1.2rem auto 2rem;
  padding: 0 1rem;
}

.survey-page__box {
  border: 1px solid #d8c4f2;
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff, #f7f1ff);
  box-shadow: 0 14px 28px rgba(26, 12, 43, 0.07);
  padding: 1.2rem 1rem 1.3rem;
  display: grid;
  gap: 0.85rem;
}

.survey-page__box h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  color: #31185a;
}

.survey-page__box p {
  margin: 0;
  color: #4f4a5d;
  line-height: 1.55;
}

.survey-form {
  display: grid;
  gap: 0.65rem;
}

.survey-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #4a3f62;
}

.survey-form input,
.survey-form select,
.survey-form textarea {
  width: 100%;
  border: 1px solid #d8c4f2;
  border-radius: 12px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.survey-form textarea {
  min-height: 110px;
  resize: vertical;
}

.survey-form__row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 560px) {
  .survey-form__row {
    grid-template-columns: 1fr;
  }
}

.survey-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: #5d279e;
  font-weight: 600;
}
