:root {
  --ink: #1f2228;
  --muted: #6e7480;
  --line: rgba(31, 34, 40, 0.1);
  --paper: rgba(255, 255, 255, 0.88);
  --paper-solid: #ffffff;
  --accent: #ff3d3d;
  --accent-2: #ff8a1f;
  --green: #16b981;
  --blue: #2f7df6;
  --shadow: 0 18px 50px rgba(33, 28, 36, 0.12);
  --soft-shadow: 0 10px 28px rgba(33, 28, 36, 0.08);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: linear-gradient(135deg, #fff1ee 0%, #ffffff 34%, #eefbf7 66%, #fff2f8 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(calc(100% - 32px), var(--container));
  margin: 12px auto 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(31, 34, 40, 0.11),
    0 8px 22px rgba(255, 61, 61, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(1.2px) saturate(135%) contrast(1.03);
  -webkit-backdrop-filter: blur(1.2px) saturate(135%) contrast(1.03);
  overflow: hidden;
  isolation: isolate;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.site-header::before {
  inset: -8px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 15% 14%, rgba(255, 255, 255, 0.48), transparent 22%),
    radial-gradient(circle at 82% 4%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.1));
  opacity: 0.74;
  transform: scale(1.025);
  backdrop-filter: blur(0.6px) saturate(150%) contrast(1.05);
  -webkit-backdrop-filter: blur(0.6px) saturate(150%) contrast(1.05);
}

.site-header::after {
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 10px 26px rgba(31, 34, 40, 0.08);
  backdrop-filter: blur(1px) saturate(130%);
  -webkit-backdrop-filter: blur(1px) saturate(130%);
  font-weight: 900;
  font-size: 20px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.top-nav {
  display: none;
  gap: 6px;
  align-items: center;
  min-width: 0;
  overflow-x: auto;
  max-width: 100%;
  padding: 8px 2px;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.nav-chip,
.filter-pill {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #343840;
  background: rgba(255, 255, 255, 0.66);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-chip:hover,
.filter-pill:hover {
  z-index: 2;
  transform: translateY(-1px);
  border-color: rgba(255, 61, 61, 0.22);
  box-shadow: 0 4px 10px rgba(31, 34, 40, 0.05);
}

.nav-chip.is-active {
  z-index: 1;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 5px 12px rgba(255, 61, 61, 0.16);
}

.nav-chip:active,
.filter-pill:active,
.gradient-button:active,
.soft-button:active,
.ghost-button:active,
.cart-button:active,
.choice-card:active,
.quantity-button:active {
  transform: translateY(1px) scale(0.98);
}

.header-actions,
.hero-actions,
.menu-tools,
.promo-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-actions {
  justify-self: end;
  min-width: 0;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(1px) saturate(132%);
  -webkit-backdrop-filter: blur(1px) saturate(132%);
}

.login-button {
  display: inline-flex;
}

.ghost-button,
.soft-button,
.cart-button,
.gradient-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, background 160ms ease;
}

.ghost-button,
.soft-button {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: var(--ink);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.34));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 8px 20px rgba(31, 34, 40, 0.06);
  backdrop-filter: blur(1px) saturate(130%);
  -webkit-backdrop-filter: blur(1px) saturate(130%);
}

.ghost-button:hover,
.soft-button:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 14px 28px rgba(31, 34, 40, 0.12);
}

.cart-button,
.gradient-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(135deg, var(--accent) 0%, #ff5b2f 48%, var(--accent-2) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 14px 30px rgba(255, 61, 61, 0.28);
}

.cart-button {
  gap: 10px;
}

.cart-button strong,
.mobile-cart-button strong {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: #ff3d3d;
  background: #ffffff;
  font-size: 13px;
}

.gradient-button:hover,
.cart-button:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 16px 34px rgba(255, 61, 61, 0.34);
}

.view {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 34px;
  align-items: center;
  min-height: 650px;
  padding: 60px 0 42px;
}

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

.hero-logo-panel {
  width: min(100%, 760px);
  min-height: 0;
  margin: 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hero-logo-panel img {
  width: min(100%, 520px);
  max-height: 176px;
  object-fit: contain;
  object-position: left center;
}

.eyebrow,
.section-heading span,
.success-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #bd2020;
  background: rgba(255, 61, 61, 0.1);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1,
.checkout-head h1 {
  margin: 16px 0 14px;
  font-size: 76px;
  line-height: 0.92;
}

.hero-copy p,
.checkout-head p {
  max-width: 660px;
  margin: 0 0 24px;
  color: #505761;
  font-size: 19px;
  line-height: 1.62;
}

.hero-copy .hero-intro {
  display: grid;
  max-width: 620px;
  gap: 8px;
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.48;
}

.hero-copy .hero-intro strong {
  color: var(--ink);
  font-size: 1.1em;
  line-height: 1.25;
}

.hero-copy .hero-intro b {
  color: #d83333;
}

.hero-copy .hero-intro span {
  display: block;
}

.hero-showcase {
  position: relative;
  min-height: 520px;
}

.hero-hits-label {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 3;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  color: #ffffff;
  background: rgba(31, 34, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  box-shadow: 0 14px 32px rgba(31, 34, 40, 0.18);
  font-size: 26px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
}

.showcase-orbit {
  position: absolute;
  inset: 36px 22px 10px 22px;
  border: 1px solid rgba(255, 61, 61, 0.14);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 232, 225, 0.7));
  box-shadow: inset 0 0 60px rgba(255, 138, 31, 0.12), var(--shadow);
}

.showcase-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  padding: 88px 18px 36px;
}

.hero-product {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  max-width: 430px;
  min-height: 150px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    0 24px 58px rgba(31, 34, 40, 0.12),
    0 8px 22px rgba(255, 61, 61, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(1.2px) saturate(135%) contrast(1.03);
  -webkit-backdrop-filter: blur(1.2px) saturate(135%) contrast(1.03);
  cursor: pointer;
  animation: floatCard 5.8s ease-in-out infinite;
}

.hero-product::before,
.hero-product::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}

.hero-product::before {
  inset: -8px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 255, 255, 0.5), transparent 24%),
    radial-gradient(circle at 88% 2%, rgba(255, 255, 255, 0.26), transparent 28%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.12));
  opacity: 0.72;
  transform: scale(1.025);
  backdrop-filter: blur(0.6px) saturate(150%) contrast(1.05);
  -webkit-backdrop-filter: blur(0.6px) saturate(150%) contrast(1.05);
}

.hero-product::after {
  left: 22px;
  right: 22px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

.hero-product:nth-child(2) {
  margin-left: auto;
  animation-delay: -1.8s;
}

.hero-product:nth-child(3) {
  margin-left: 42px;
  animation-delay: -3.2s;
}

.hero-product img,
.product-card img,
.order-thumb {
  width: 100%;
  height: 118px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #f7f7f7;
}

.hero-product img {
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.26);
  box-shadow: 0 10px 22px rgba(31, 34, 40, 0.07);
}

.hero-product strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.hero-product span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero-product b {
  display: inline-flex;
  margin-top: 12px;
  color: #ff3d3d;
  font-size: 18px;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.category-strip,
.menu-section {
  padding: 28px 0 34px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: 34px;
  line-height: 1.05;
}

.category-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.category-card {
  position: relative;
  min-width: 0;
  min-height: 136px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-accent) 34%, transparent);
  box-shadow: var(--shadow);
}

.category-card:active {
  transform: translateY(1px) scale(0.98);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: auto -20px -34px auto;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 18%, transparent);
}

.category-card strong {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 1.2;
}

.category-card span,
.category-card small {
  position: relative;
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.35;
}

.category-card small {
  font-weight: 800;
  color: color-mix(in srgb, var(--card-accent) 72%, #1f2228);
}

.menu-topline {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
}

.search-field {
  display: grid;
  gap: 6px;
  min-width: 300px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.checkout-form input,
.promo-row input,
.auth-form input,
.account-form input,
.account-form select,
.account-form textarea,
.referral-card input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(31, 34, 40, 0.1);
  border-radius: var(--radius);
  outline: none;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.account-form textarea {
  min-height: 96px;
  padding: 14px;
  resize: vertical;
}

.search-field input:focus,
.checkout-form input:focus,
.promo-row input:focus,
.auth-form input:focus,
.account-form input:focus,
.account-form select:focus,
.account-form textarea:focus,
.referral-card input:focus {
  border-color: rgba(255, 61, 61, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 61, 61, 0.1);
}

.filter-pills {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  margin: 10px 0 12px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scroll-padding-inline: 2px;
  scrollbar-width: none;
}

.filter-pills::-webkit-scrollbar {
  display: none;
}

.filter-pill.is-active {
  z-index: 1;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 5px 12px rgba(255, 61, 61, 0.16);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 61, 61, 0.18);
  box-shadow: var(--shadow);
}

.product-card:focus-visible,
.hero-product:focus-visible {
  outline: 4px solid rgba(255, 61, 61, 0.18);
  border-color: rgba(255, 61, 61, 0.52);
}

.product-media {
  position: relative;
  padding: 10px 10px 0;
}

.product-card img {
  height: 190px;
}

.favorite-button {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
  color: #ff3d3d;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(31, 34, 40, 0.12);
  font-size: 20px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.favorite-button:hover {
  transform: translateY(-2px);
}

.favorite-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.image-skeleton {
  width: 100%;
  height: 190px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 61, 61, 0.12), rgba(255, 255, 255, 0.5));
  background-size: 220% 100%;
  animation: skeletonMove 1.2s ease-in-out infinite;
}

@keyframes skeletonMove {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: -100% 0;
  }
}

.badge-row {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(31, 34, 40, 0.76);
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  display: flex;
  flex-direction: column;
  padding: 14px;
}

.product-category {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.product-card h3 {
  margin: 7px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

.product-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.price {
  display: grid;
  gap: 2px;
}

.price strong {
  font-size: 22px;
}

.price span {
  color: var(--muted);
  font-size: 13px;
}

.add-button {
  min-width: 112px;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 220px;
  border: 1px dashed rgba(31, 34, 40, 0.2);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
  font-size: 22px;
}

.checkout-view {
  padding: 52px 0 54px;
}

.checkout-head {
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
}

.checkout-head h1 {
  margin: 12px 0 8px;
  font-size: 40px;
  line-height: 1.05;
}

.checkout-head p {
  max-width: 640px;
  font-size: 16px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 18px;
  align-items: start;
}

.checkout-form {
  display: grid;
  gap: 14px;
}

.checkout-panel,
.order-summary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.checkout-panel {
  padding: 18px;
}

.order-summary {
  position: sticky;
  top: 90px;
  padding: 18px;
}

.panel-title {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.panel-title h2 {
  margin: 0;
  font-size: 18px;
}

.panel-mark {
  width: 12px;
  height: 12px;
  border: 2px solid #ff3d3d;
  border-radius: 4px;
  background: rgba(255, 61, 61, 0.08);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice-card {
  min-width: 0;
  min-height: 70px;
  padding: 13px 14px;
  border: 1px solid rgba(31, 34, 40, 0.1);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.choice-card strong,
.choice-card span {
  display: block;
}

.choice-card strong {
  font-size: 15px;
}

.choice-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.choice-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(31, 34, 40, 0.08);
}

.choice-card.is-active {
  border-color: rgba(255, 61, 61, 0.82);
  background: linear-gradient(135deg, rgba(255, 61, 61, 0.1), rgba(255, 138, 31, 0.1));
  box-shadow: 0 10px 24px rgba(255, 61, 61, 0.14);
}

.form-grid,
.address-row {
  display: grid;
  gap: 12px;
}

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

.address-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-form label,
.promo-box label {
  display: grid;
  gap: 7px;
  color: #626874;
  font-size: 13px;
  font-weight: 800;
}

.checkout-form label + label,
.delivery-fields,
.pickup-fields,
.delivery-fields + label,
.pickup-fields + label {
  margin-top: 12px;
}

.pickup-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(22, 185, 129, 0.2);
  border-radius: var(--radius);
  background: rgba(22, 185, 129, 0.08);
}

.pickup-card span {
  color: var(--muted);
  line-height: 1.45;
}

.checkout-submit {
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  padding: 0 22px;
  font-size: 17px;
}

.order-items {
  display: grid;
  gap: 10px;
  padding-right: 4px;
}

.order-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 10px;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 34, 40, 0.08);
}

.order-thumb {
  height: 64px;
}

.order-info {
  min-width: 0;
}

.order-info strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.25;
}

.order-info span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-controls {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(31, 34, 40, 0.1);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.quantity-button {
  display: grid;
  place-items: center;
  height: 30px;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
}

.quantity-value {
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.remove-button {
  color: #d83333;
  background: transparent;
  font-size: 13px;
  font-weight: 900;
}

.order-gift-note {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0f7a45;
  background: rgba(20, 184, 105, 0.12);
  font-size: 12px;
  font-weight: 900;
}

.checkout-addons {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 244, 240, 0.78);
}

.checkout-addons-head {
  display: grid;
  gap: 3px;
}

.checkout-addons-head strong {
  font-size: 14px;
}

.checkout-addons-head span,
.checkout-addons small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-addons-list {
  display: grid;
  gap: 8px;
}

.checkout-addon-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
}

.checkout-addon-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: rgba(31, 34, 40, 0.04);
}

.checkout-addon-info {
  min-width: 0;
}

.checkout-addon-info strong,
.checkout-addon-info span {
  display: block;
}

.checkout-addon-info strong {
  overflow-wrap: anywhere;
  font-size: 13px;
}

.checkout-addon-info span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.promo-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(31, 34, 40, 0.08);
}

.bonus-checkout-box {
  display: grid;
  gap: 12px;
  margin-top: 12px;
  padding: 14px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 61, 61, 0.96) 0%, rgba(255, 91, 47, 0.96) 52%, rgba(255, 138, 31, 0.96) 100%);
  box-shadow: 0 16px 34px rgba(255, 61, 61, 0.24);
}

.bonus-checkout-head {
  display: grid;
  gap: 4px;
}

.bonus-checkout-head strong,
.bonus-checkout-head span {
  display: block;
}

.bonus-checkout-head span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.35;
}

.bonus-checkout-button {
  width: 100%;
  border: 0;
  color: #242832;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(91, 30, 20, 0.18);
}

.bonus-checkout-button.is-active {
  color: #242832;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(91, 30, 20, 0.22);
}

.promo-row {
  align-items: stretch;
}

.promo-button {
  min-height: 48px;
  padding: 0 14px;
  font-size: 13px;
}

.promo-message {
  display: block;
  min-height: 18px;
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.promo-message.is-error {
  color: #d83333;
}

.total-box {
  display: grid;
  gap: 10px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(31, 34, 40, 0.08);
}

.total-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.total-line strong {
  color: var(--ink);
}

.total-line.is-final {
  align-items: end;
  padding-top: 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.total-line.is-final strong {
  font-size: 28px;
}

.empty-cart {
  display: grid;
  gap: 8px;
  min-height: 160px;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  margin: 42px 0 0;
  color: rgba(255, 255, 255, 0.72);
  background: #090909;
}

.footer-inner {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 52px 0 34px;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(190px, 0.65fr) minmax(280px, 0.85fr);
  gap: 76px;
  align-items: start;
}

.footer-brand-block,
.footer-work,
.footer-nav {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
}

.footer-logo img {
  width: 86px;
  height: 86px;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(255, 61, 61, 0.22);
}

.footer-brand-block p {
  max-width: 430px;
  margin: 20px 0 22px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 16px;
  line-height: 1.65;
}

.footer-phone {
  display: inline-flex;
  color: #ffd21f;
  font-size: 24px;
  font-weight: 950;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-phone:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.footer-nav h2,
.footer-work h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-nav {
  display: grid;
  gap: 14px;
}

.footer-nav button {
  width: fit-content;
  min-height: 24px;
  padding: 0;
  color: rgba(255, 255, 255, 0.48);
  background: transparent;
  font-weight: 800;
  text-align: left;
  transition: color 160ms ease, transform 160ms ease;
}

.footer-nav button:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-work {
  display: grid;
  gap: 14px;
}

.work-row {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  align-items: start;
}

.work-row strong,
.work-row span,
.footer-contact-link {
  display: block;
}

.work-row strong {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
}

.work-row span,
.footer-contact-link {
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.45;
}

.footer-contact-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.work-dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #ff4a4a;
  box-shadow: 0 0 0 4px rgba(255, 74, 74, 0.12);
}

.work-dot.is-open {
  background: #40e083;
  box-shadow: 0 0 0 4px rgba(64, 224, 131, 0.13), 0 0 18px rgba(64, 224, 131, 0.38);
}

.work-dot.is-closed {
  background: #ff4a4a;
  box-shadow: 0 0 0 4px rgba(255, 74, 74, 0.13), 0 0 18px rgba(255, 74, 74, 0.28);
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-socials a,
.footer-socials button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  font-size: 20px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.footer-socials a:hover,
.footer-socials button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 31, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.38);
  font-size: 14px;
}

.footer-live {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.footer-live .work-dot {
  margin-top: 0;
}

.mobile-cart-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: none;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 34px rgba(255, 61, 61, 0.32);
  font-weight: 900;
}

.toast-region {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 40;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 32px));
}

.toast {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(31, 34, 40, 0.94), rgba(70, 42, 42, 0.94));
  box-shadow: var(--shadow);
  animation: toastIn 200ms ease both;
}

@keyframes toastIn {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.product-modal,
.success-modal,
.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(31, 34, 40, 0.48);
  backdrop-filter: blur(14px);
}

.product-modal-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100vh - 40px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.product-modal-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  min-height: 470px;
  padding: 18px;
}

.product-modal-media {
  position: relative;
  min-height: 430px;
}

.product-modal-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  border-radius: var(--radius);
  object-fit: cover;
  background: #f6f6f6;
}

.product-modal-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.product-modal-content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 30px 12px 18px 0;
}

.product-modal-category {
  color: #ff3d3d;
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.product-modal-content h2 {
  margin: 12px 0 12px;
  font-size: 36px;
  line-height: 1.04;
}

.product-modal-content p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.product-modal-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.product-modal-meta div {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(31, 34, 40, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 246, 243, 0.72);
}

.product-modal-meta span,
.product-modal-meta strong {
  display: block;
}

.product-modal-meta span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-modal-meta strong {
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 17px;
}

.product-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.success-card {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.success-card h2 {
  margin: 14px 0 8px;
  font-size: 32px;
}

.success-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(31, 34, 40, 0.06);
  font-size: 13px;
  font-weight: 800;
}

.auth-card {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(440px, 100%);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.auth-card h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
}

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

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(31, 34, 40, 0.08);
  border-radius: 999px;
  background: rgba(31, 34, 40, 0.04);
}

.auth-tab {
  min-height: 38px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 900;
}

.auth-tab.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 18px rgba(255, 61, 61, 0.22);
}

.auth-form,
.auth-fields {
  display: grid;
  gap: 12px;
}

.auth-form label,
.account-form label,
.referral-card label {
  display: grid;
  gap: 7px;
  color: #626874;
  font-size: 13px;
  font-weight: 850;
}

.auth-submit {
  width: 100%;
}

.auth-message {
  min-height: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.auth-message.is-error {
  color: #d83333;
}

.auth-switch {
  width: fit-content;
  padding: 0;
  color: #d83333;
  background: transparent;
  font-weight: 900;
}

.account-view {
  padding: 48px 0 54px;
}

.account-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.account-auth-prompt {
  display: grid;
  gap: 16px;
  width: min(640px, 100%);
  margin: 70px auto;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  text-align: center;
}

.account-auth-prompt h1 {
  margin: 0;
  font-size: 42px;
  line-height: 1.05;
}

.account-auth-prompt p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.account-sidebar,
.account-profile-card,
.account-section,
.account-card,
.order-history-card,
.favorite-card,
.address-card,
.bonus-summary article,
.loyalty-board,
.coupon-card,
.referral-card,
.review-card,
.notification-list article,
.account-form,
.account-empty {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.account-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
  padding: 14px;
}

.account-mini,
.account-profile-card {
  display: flex;
  gap: 14px;
  align-items: center;
}

.account-mini {
  padding: 10px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 61, 61, 0.08), rgba(255, 138, 31, 0.08));
}

.account-mini > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.account-mini strong,
.account-mini span {
  display: block;
}

.account-mini span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.account-mini-logout {
  display: none;
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(31, 34, 40, 0.08);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(31, 34, 40, 0.08);
}

.account-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 24px rgba(255, 61, 61, 0.22);
  font-weight: 950;
}

.account-avatar.is-large {
  width: 78px;
  height: 78px;
  font-size: 24px;
}

.account-menu {
  display: grid;
  gap: 6px;
}

.account-menu button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: #3a3e46;
  background: transparent;
  font-weight: 850;
  text-align: left;
}

.account-menu button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 8px;
  background: rgba(31, 34, 40, 0.06);
}

.account-menu button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 22px rgba(255, 61, 61, 0.2);
}

.account-menu button.is-active span {
  color: #ff3d3d;
  background: #ffffff;
}

.account-workspace {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.account-profile-card {
  padding: 18px;
}

.account-profile-main {
  min-width: 0;
  flex: 1;
}

.account-profile-main h1 {
  margin: 10px 0 8px;
  overflow-wrap: anywhere;
  font-size: 34px;
  line-height: 1.05;
}

.account-contact-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.account-contact-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 34, 40, 0.05);
}

.account-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 8px;
}

.account-stats div {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 246, 243, 0.8);
}

.account-stats span,
.account-stats strong,
.account-card span,
.account-card strong,
.bonus-summary span,
.bonus-summary strong {
  display: block;
}

.account-stats span,
.account-card span,
.bonus-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.account-stats strong {
  margin-top: 4px;
  font-size: 18px;
}

.account-section {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.account-card-grid,
.bonus-summary,
.coupon-grid,
.referral-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 190px;
  padding: 18px;
}

.account-card.is-accent {
  color: #ffffff;
  background: linear-gradient(135deg, #232323, #4d1c1c 55%, #ff3d3d);
}

.account-card.is-accent span,
.account-card.is-accent p {
  color: rgba(255, 255, 255, 0.72);
}

.account-card strong {
  font-size: 32px;
  line-height: 1;
}

.account-card p,
.bonus-summary p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-list,
.favorite-grid,
.address-grid,
.review-list,
.notification-list,
.bonus-history {
  display: grid;
  gap: 12px;
}

.order-history-card {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.order-history-head,
.order-history-body,
.order-detail-row,
.address-card-head {
  display: flex;
  gap: 12px;
  align-items: start;
  justify-content: space-between;
}

.order-history-head strong,
.order-history-head span {
  display: block;
}

.order-history-head span,
.order-history-body span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.status-pill {
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0e7e4d;
  background: rgba(22, 185, 129, 0.12);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.order-history-body {
  display: grid;
  grid-template-columns: 140px 1fr;
}

.order-history-body strong {
  display: block;
  margin-top: 6px;
  font-size: 24px;
}

.order-history-body ul {
  margin: 6px 0 0;
  padding-left: 18px;
  color: #3a3e46;
}

.order-detail {
  display: grid;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(31, 34, 40, 0.04);
}

.order-detail-row strong {
  text-align: right;
}

.account-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.favorite-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.favorite-card img {
  width: 100%;
  height: 100px;
  border-radius: var(--radius);
  object-fit: cover;
}

.favorite-card strong,
.favorite-card span {
  display: block;
}

.favorite-card span {
  margin: 6px 0 12px;
  color: var(--muted);
}

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

.address-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.address-card.is-default {
  border-color: rgba(255, 61, 61, 0.28);
  box-shadow: 0 12px 26px rgba(255, 61, 61, 0.12);
}

.address-card-head span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #bd2020;
  background: rgba(255, 61, 61, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.address-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.account-form {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.account-form h3,
.bonus-history h3 {
  margin: 0;
  font-size: 20px;
}

.bonus-summary article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.bonus-summary article:first-child {
  grid-column: auto;
}

.bonus-summary strong {
  font-size: 26px;
}

.bonus-summary .bonus-balance-value {
  font-size: 78px;
  line-height: 0.95;
  letter-spacing: 0;
}

.bonus-summary article.bonus-timer-card {
  border-color: rgba(255, 61, 61, 0.18);
  color: var(--ink);
  background-color: #fff3ef;
  background-image: linear-gradient(135deg, #fff7f2 0%, #ffe4df 52%, #fff0e2 100%);
  box-shadow: 0 14px 30px rgba(255, 61, 61, 0.12);
}

.bonus-summary article.bonus-timer-card span,
.bonus-summary article.bonus-timer-card p,
.bonus-summary article.bonus-timer-card small {
  color: #6f3d38;
}

.bonus-summary article.bonus-timer-card .bonus-timer-value {
  color: #d83333;
  font-size: 36px;
  letter-spacing: 0;
}

.bonus-summary article.bonus-timer-card b {
  color: #111827;
  font-weight: 950;
}

.bonus-progress {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 34, 40, 0.08);
}

.bonus-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.loyalty-board {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.loyalty-board-image {
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.loyalty-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.loyalty-title {
  text-align: center;
}

.loyalty-title h3 {
  margin: 0;
  color: #111111;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
  text-transform: uppercase;
}

.loyalty-title h3 span {
  color: #d71920;
}

.loyalty-title p {
  margin: 12px 0 0;
  color: #5f6570;
  font-size: 18px;
  text-transform: uppercase;
}

.loyalty-levels {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.loyalty-level {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  text-align: center;
}

.loyalty-level > span {
  color: #111111;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.loyalty-plastic {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--level-color) 34%, transparent);
  border-radius: var(--radius);
  color: #111111;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    repeating-radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18) 0 2px, transparent 2px 8px),
    color-mix(in srgb, var(--level-color) 14%, #f8f8f8);
  box-shadow: 0 10px 22px rgba(31, 34, 40, 0.12);
  text-align: left;
}

.loyalty-plastic.gold {
  background: linear-gradient(135deg, #fce197, #d6a43c);
}

.loyalty-plastic.diamond {
  background: linear-gradient(135deg, #f6fbff, #a8c9e8 48%, #ffffff);
}

.loyalty-plastic.royal {
  color: #f6c64d;
  background: linear-gradient(135deg, #3f175e, #6c2d8f);
}

.loyalty-plastic.vip {
  color: #f6c64d;
  background: linear-gradient(135deg, #050505, #1f1f1f);
}

.loyalty-plastic strong {
  position: absolute;
  top: 16px;
  left: 14px;
  font-weight: 950;
}

.loyalty-plastic b {
  position: absolute;
  top: 46px;
  right: 18px;
  font-size: 34px;
  line-height: 1;
}

.loyalty-plastic small {
  position: absolute;
  left: 14px;
  bottom: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.loyalty-level h4 {
  margin: 8px 0 0;
  color: var(--level-color);
  font-size: 18px;
  text-transform: uppercase;
}

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

.loyalty-percent {
  color: var(--level-color);
  font-size: 40px;
  line-height: 1;
}

.loyalty-min {
  display: grid;
  gap: 2px;
  min-height: 58px;
  place-items: center;
  padding: 8px;
  border: 1px solid color-mix(in srgb, var(--level-color) 30%, rgba(31, 34, 40, 0.12));
  border-radius: var(--radius);
  font-weight: 950;
}

.loyalty-min small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.loyalty-level.is-current .loyalty-plastic {
  outline: 3px solid rgba(255, 61, 61, 0.26);
}

.loyalty-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(31, 34, 40, 0.08);
  border-radius: var(--radius);
}

.loyalty-rules span {
  display: grid;
  min-height: 48px;
  place-items: center;
  color: #252932;
  text-align: center;
  font-weight: 850;
}

.bonus-history {
  padding: 16px;
}

.bonus-history div,
.notification-list article {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 34, 40, 0.08);
}

.bonus-history div:last-child,
.notification-list article:last-child {
  border-bottom: 0;
}

.bonus-history strong {
  font-size: 22px;
}

.bonus-history strong.is-credit {
  color: #0e7e4d;
}

.bonus-history strong.is-debit {
  color: #d83333;
}

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

.coupon-card {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(255, 61, 61, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.9);
}

.coupon-card strong {
  font-size: 24px;
}

.coupon-card span,
.coupon-card small,
.review-card span,
.notification-list span {
  color: var(--muted);
}

.referral-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 18px;
  overflow: hidden;
}

.referral-card-soon .soon-content {
  filter: blur(5px);
  opacity: 0.42;
  pointer-events: none;
  user-select: none;
}

.soon-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(31, 34, 40, 0.42);
  font-size: clamp(34px, 6vw, 76px);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.referral-benefits div {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 246, 243, 0.78);
}

.referral-benefits strong,
.referral-benefits span,
.review-card strong,
.review-card span {
  display: block;
}

.referral-benefits span {
  margin-top: 6px;
  color: #d83333;
  font-size: 22px;
  font-weight: 950;
}

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

.review-card {
  padding: 16px;
}

.review-card strong {
  color: #f1a208;
  letter-spacing: 2px;
}

.review-card p {
  margin: 10px 0 0;
  color: #3a3e46;
  line-height: 1.5;
}

.account-empty {
  display: grid;
  gap: 6px;
  min-height: 140px;
  place-items: center;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.account-empty strong {
  color: var(--ink);
  font-size: 22px;
}

.notification-list .account-empty {
  display: grid;
  justify-content: center;
  border-bottom: 0;
}

.danger-button {
  color: #d83333;
}

body.is-admin {
  color: #f7f8fb;
  background: #111827;
}

body.is-admin .site-footer {
  display: none;
}

body.is-admin .site-header {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(31, 41, 55, 0.72), rgba(5, 8, 13, 0.56)),
    rgba(5, 8, 13, 0.42);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body.is-admin .brand,
body.is-admin .ghost-button,
body.is-admin .soft-button.login-button,
body.is-admin .admin-link-button {
  color: #f7f8fb;
}

.admin-view {
  width: 100%;
  padding: 28px 0 64px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  width: min(calc(100% - 32px), 1540px);
  margin: 0 auto;
}

.admin-sidebar,
.admin-panel,
.admin-metric,
.admin-category-row,
.admin-order-modal,
.admin-promo-modal {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius);
  background: #1f2937;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.admin-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
  align-self: start;
  padding: 18px 10px;
}

.admin-brand {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-brand span {
  color: #ff3d3d;
}

.admin-brand strong,
.admin-brand small,
.admin-table strong,
.admin-promo-row strong {
  display: block;
}

.admin-brand small,
.admin-page-head p,
.admin-count,
.admin-table th,
.admin-table small,
.admin-promo-row span,
.admin-promo-row small,
.admin-order-modal > span,
.admin-order-modal p,
.admin-order-modal small {
  color: #9ca3af;
}

.admin-menu {
  display: grid;
  gap: 6px;
}

.admin-menu button {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: #cbd5e1;
  background: transparent;
  font-weight: 850;
  text-align: left;
}

.admin-menu button.is-active {
  color: #ffffff;
  background: #374151;
}

.admin-menu button.is-active span {
  color: #ff3d3d;
}

.admin-workspace {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.admin-page-head,
.admin-panel-head,
.admin-promo-row,
.admin-toolbar,
.admin-head-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-page-head {
  justify-content: space-between;
}

.admin-page-head h1 {
  margin: 8px 0 6px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.admin-page-head p {
  margin: 0;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.admin-metric {
  display: grid;
  gap: 8px;
  min-height: 132px;
  place-items: center;
  padding: 18px;
  text-align: center;
}

.admin-metric strong {
  color: #ff4d4d;
  font-size: 34px;
}

.admin-metric span {
  color: #cbd5e1;
  font-weight: 850;
}

.admin-metric small {
  color: #9ca3af;
}

.admin-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.admin-panel h2 {
  margin: 0;
  color: #ffffff;
}

.admin-panel-head {
  justify-content: space-between;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-inline-select,
.admin-promo-modal input,
.admin-promo-modal select,
.admin-promo-modal textarea {
  min-height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: var(--radius);
  color: #f8fafc;
  background: #374151;
}

.admin-promo-modal textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.admin-toolbar input,
.admin-toolbar select {
  padding: 0 14px;
}

.admin-toolbar input {
  min-width: min(360px, 100%);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 940px;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  text-align: left;
  vertical-align: middle;
}

.admin-table td {
  color: #e5e7eb;
}

.admin-table small {
  margin-top: 4px;
}

.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 8px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.admin-status.is-cancelled {
  color: #f87171;
  background: rgba(239, 68, 68, 0.16);
}

.admin-empty {
  display: grid;
  min-height: 110px;
  place-items: center;
  color: #9ca3af;
}

.admin-list,
.admin-promo-list,
.admin-bars {
  display: grid;
  gap: 12px;
}

.admin-category-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 1.4fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px 22px;
}

.admin-category-row span,
.admin-category-row small {
  color: #9ca3af;
}

.admin-product-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.admin-product-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(17, 24, 39, 0.72);
}

.admin-product-row img {
  width: 72px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-product-row span,
.admin-product-row small {
  display: block;
  color: #9ca3af;
}

.admin-product-row small {
  margin-top: 4px;
  line-height: 1.35;
}

.admin-product-row .admin-row-actions {
  justify-content: flex-end;
}

.admin-product-status {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-product-status:hover {
  transform: translateY(-1px);
}

.admin-product-status.is-live {
  background: #a3e635;
  box-shadow: 0 14px 32px rgba(163, 230, 53, 0.28);
}

.admin-product-status.is-stopped {
  color: #ffffff;
  background: #ef4444;
  box-shadow: 0 14px 32px rgba(239, 68, 68, 0.3);
}

.admin-mini-button {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #ffffff;
  background: #374151;
}

.admin-promo-row {
  display: grid;
  grid-template-columns: 52px minmax(220px, 1fr) auto auto auto auto;
  padding: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-promo-row:last-child {
  border-bottom: 0;
}

.admin-promo-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #ff3d3d, #ff8a1f);
  font-weight: 950;
}

.admin-code {
  color: #facc15;
}

.admin-row-actions {
  display: flex;
  gap: 8px;
}

.admin-review {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-review strong {
  color: #facc15;
}

.admin-review p {
  margin: 0;
  color: #e5e7eb;
}

.admin-bars div {
  display: grid;
  grid-template-columns: 180px 1fr 110px;
  gap: 12px;
  align-items: center;
}

.admin-bars strong {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3d3d, #ff8a1f);
}

.admin-bars b {
  text-align: right;
}

.admin-modal-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 8, 13, 0.72);
}

.admin-order-modal,
.admin-promo-modal {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(560px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 26px;
}

.admin-promo-modal {
  width: min(680px, 100%);
}

.admin-product-edit-head {
  display: flex;
  gap: 12px;
  align-items: center;
}

.admin-product-edit-head img {
  width: 86px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.admin-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #cbd5e1;
  background: transparent;
  font-size: 26px;
}

.admin-order-modal h2,
.admin-promo-modal h2 {
  margin: 0;
  color: #ffffff;
}

.admin-order-items {
  display: grid;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-order-items div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-order-total {
  color: #ffffff;
  font-size: 22px;
}

.admin-status-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 8px;
}

.admin-status-actions button {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: #e5e7eb;
  background: #4b5563;
  font-weight: 850;
}

.admin-status-actions button.is-active {
  color: #ffffff;
  background: #16a34a;
}

.admin-status-actions button.is-danger,
.admin-status-actions button.is-active.is-danger {
  color: #ffffff;
  background: #ef4444;
}

.admin-promo-modal label,
.admin-check {
  display: grid;
  gap: 7px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 850;
}

.admin-check {
  grid-template-columns: auto 1fr;
  align-items: center;
}

.admin-check input {
  min-height: auto;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .top-nav {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-actions {
    justify-content: end;
  }

  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-showcase {
    min-height: 420px;
  }

  .category-cards,
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .order-summary {
    order: -1;
    position: static;
  }

  .account-shell {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    position: static;
  }

  .account-profile-card {
    display: none;
  }

  .account-mini-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-sidebar {
    position: static;
  }

  .admin-menu {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .account-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .account-menu::-webkit-scrollbar {
    display: none;
  }

  .account-menu button {
    flex: 0 0 auto;
  }

  .loyalty-levels {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header,
  .view,
  .footer-inner {
    width: min(calc(100% - 20px), var(--container));
  }

  .site-header {
    grid-template-columns: auto 1fr;
    top: 8px;
    gap: 10px;
  }

  .top-nav {
    display: none;
  }

  .brand span {
    display: none;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .header-actions .ghost-button {
    display: none;
  }

  .header-actions .cart-button,
  .login-button {
    display: inline-flex;
  }

  .header-actions .cart-button,
  .login-button {
    min-height: 42px;
    padding: 0 14px;
  }

  .header-actions .cart-button span {
    display: none;
  }

  .mobile-cart-button {
    display: none;
  }

  .hero-section {
    gap: 18px;
    padding: 34px 0 24px;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .hero-logo-panel {
    min-height: 0;
    padding: 0;
  }

  .hero-logo-panel img {
    max-height: 138px;
  }

  .hero-copy p {
    font-size: 16px;
  }

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

  .hero-actions button {
    width: 100%;
  }

  .hero-showcase {
    display: none;
  }

  .filter-pills {
    flex-wrap: wrap;
    overflow-x: visible;
    padding: 8px 0 12px;
    scroll-padding-inline: 0;
  }

  .filter-pill {
    flex: 1 1 auto;
    min-width: fit-content;
  }

  .category-cards,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .menu-topline,
  .menu-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-inner {
    padding: 40px 0 28px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-logo {
    font-size: 24px;
  }

  .footer-logo img {
    width: 76px;
    height: 76px;
  }

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

  .search-field {
    min-width: 0;
  }

  .product-card {
    min-height: auto;
  }

  .choice-grid,
  .form-grid,
  .address-row {
    grid-template-columns: 1fr;
  }

  .checkout-view {
    padding-top: 32px;
  }

  .checkout-head h1 {
    font-size: 32px;
  }

  .account-view {
    padding-top: 32px;
  }

  .account-profile-card {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
  }

  .account-profile-card {
    display: none;
  }

  .account-profile-card .account-avatar.is-large {
    grid-column: 1;
  }

  .account-profile-main {
    grid-column: 2;
  }

  .account-stats,
  .account-profile-card > .soft-button {
    grid-column: 1 / -1;
  }

  .account-profile-card > .soft-button {
    width: 100%;
  }

  .account-section,
  .account-profile-card,
  .account-sidebar,
  .loyalty-board {
    padding: 14px;
  }

  .account-auth-prompt {
    margin: 34px auto;
    padding: 22px;
  }

  .account-auth-prompt h1,
  .account-profile-main h1 {
    font-size: 30px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .account-contact-row span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .account-stats,
  .account-card-grid,
  .bonus-summary,
  .admin-metrics,
  .address-grid,
  .coupon-grid,
  .review-list,
  .loyalty-rules,
  .referral-benefits {
    grid-template-columns: 1fr;
  }

  .admin-menu,
  .admin-promo-row,
  .admin-bars div {
    grid-template-columns: 1fr;
  }

  .admin-page-head,
  .admin-toolbar,
  .admin-head-actions,
  .admin-category-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-product-row {
    grid-template-columns: 64px 1fr;
  }

  .admin-product-row .soft-button {
    grid-column: 1 / -1;
  }

  .admin-product-row .admin-row-actions {
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .admin-product-row .admin-row-actions button {
    flex: 1;
  }

  .admin-shell {
    width: min(calc(100% - 20px), var(--container));
  }

  .bonus-summary article:first-child {
    grid-column: auto;
  }

  .order-history-body,
  .favorite-card {
    grid-template-columns: 1fr;
  }

  .favorite-card img {
    height: 180px;
  }

  .loyalty-levels {
    grid-template-columns: 1fr;
  }

  .loyalty-plastic {
    min-height: 150px;
  }

  .auth-card {
    padding: 22px;
  }

  .promo-row {
    flex-direction: column;
  }

  .product-modal-body {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 12px;
  }

  .product-modal-media,
  .product-modal-media img {
    min-height: 260px;
  }

  .product-modal-content {
    padding: 10px 2px 6px;
  }

  .product-modal-content h2 {
    font-size: 28px;
  }

  .product-modal-meta {
    grid-template-columns: 1fr;
  }

  .product-modal-actions {
    flex-direction: column;
  }

  .product-modal-actions button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-logo-panel {
    min-height: 0;
    margin-top: 14px;
  }

  .hero-logo-panel img {
    max-height: 108px;
  }

  .hero-product {
    grid-template-columns: 1fr;
  }

  .hero-product img {
    height: 180px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .checkout-panel,
  .order-summary {
    padding: 14px;
  }

  .account-contact-row,
  .account-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-actions button {
    width: 100%;
  }

  .loyalty-title h3 {
    font-size: 28px;
  }
}
