:root {
  color-scheme: dark;
  --bg: #05070d;
  --surface: #0b1220;
  --surface-2: #101a2b;
  --line: rgba(119, 234, 255, 0.2);
  --text: #eff8ff;
  --muted: #95a9bd;
  --cyan: #39ddff;
  --blue: #3678ff;
  --green: #50f2a5;
  --pink: #ff4fd8;
  --danger: #ff637d;
  --yellow: #ffd447;
  --orange: #ff9a3c;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(57, 221, 255, 0.22), transparent 34rem),
    linear-gradient(180deg, #07101f 0%, var(--bg) 42%, #030409 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before,
body::after {
  display: none;
}

body::before {
  background:
    linear-gradient(115deg, transparent 8%, rgba(57, 221, 255, 0.14) 24%, transparent 42%),
    linear-gradient(245deg, transparent 18%, rgba(80, 242, 165, 0.1) 36%, transparent 55%),
    linear-gradient(15deg, transparent 28%, rgba(54, 120, 255, 0.12) 48%, transparent 66%);
  animation: none;
}

body::after {
  opacity: 0.22;
  background:
    linear-gradient(65deg, transparent 10%, rgba(255, 79, 216, 0.1) 30%, transparent 52%),
    linear-gradient(300deg, transparent 20%, rgba(57, 221, 255, 0.12) 44%, transparent 70%);
  animation: none;
}

@keyframes ambientSweep {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(5%, 3%, 0) rotate(12deg);
  }

  100% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg);
  }
}

@keyframes ambientSweepReverse {
  0% {
    transform: translate3d(4%, 3%, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(-5%, -2%, 0) rotate(-10deg);
  }

  100% {
    transform: translate3d(4%, 3%, 0) rotate(0deg);
  }
}

button,
input,
select,
textarea {
  font: inherit;
  font-size: 16px;
}

button {
  position: relative;
  border: 0;
  transition: transform 160ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

button:active {
  transform: scale(0.97);
}

.app-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px 14px calc(86px + env(safe-area-inset-bottom));
}

.loading-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  color: var(--muted);
}

.logo-pulse,
.brand-logo {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(57, 221, 255, 0.55);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(54, 120, 255, 0.24), rgba(57, 221, 255, 0.12));
  color: var(--cyan);
  box-shadow: 0 0 30px rgba(57, 221, 255, 0.28), inset 0 0 22px rgba(57, 221, 255, 0.08);
  font-weight: 800;
}

.logo-pulse {
  animation: pulse 1.6s ease-in-out infinite;
}

.brand-logo {
  animation: borderPulse 3.4s ease-in-out infinite;
}

.image-logo {
  overflow: hidden;
}

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

@keyframes pulse {
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 42px rgba(57, 221, 255, 0.38);
  }
}

@keyframes borderPulse {
  0%,
  100% {
    border-color: rgba(57, 221, 255, 0.42);
    box-shadow: 0 0 24px rgba(57, 221, 255, 0.18), inset 0 0 18px rgba(57, 221, 255, 0.06);
  }

  50% {
    border-color: rgba(57, 221, 255, 0.78);
    box-shadow: 0 0 42px rgba(57, 221, 255, 0.3), inset 0 0 28px rgba(57, 221, 255, 0.1);
  }
}

@keyframes softRise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  display: grid;
  gap: 18px;
  padding: 18px 2px 8px;
}

.hero,
.contacts-highlight,
.product-preview-grid,
.product-grid,
.menu-header,
.filter-strip,
.subcategory-strip,
.menu-product-list,
.profile-hero,
.profile-stats-grid,
.order-summary-list,
.admin-stat-grid,
.admin-tabs,
.admin-form,
.admin-product-list,
.admin-category-list,
.admin-user-list,
.panel {
  animation: softRise 360ms ease both;
}

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

.brand-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
}

.brand-description {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.news-ticker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 44px;
  overflow: hidden;
  border: 1px solid rgba(57, 221, 255, 0.28);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.82);
  box-shadow: var(--shadow);
}

.news-ticker > span {
  display: grid;
  place-items: center;
  align-self: stretch;
  padding: 0 11px;
  background: rgba(57, 221, 255, 0.12);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.news-ticker div {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.news-ticker p {
  display: inline-block;
  margin: 0;
  min-width: 100%;
  color: var(--text);
  animation: newsScroll 18s linear infinite;
}

@keyframes newsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.78);
  box-shadow: var(--shadow);
  animation: borderPulse 4.2s ease-in-out infinite;
}

.stat strong {
  display: block;
  font-size: 22px;
  color: var(--cyan);
}

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

.section-title {
  margin: 24px 2px 12px;
  font-size: 18px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  padding: 7px 10px;
  border: 1px solid rgba(80, 242, 165, 0.34);
  border-radius: 999px;
  background: rgba(80, 242, 165, 0.08);
  color: #c8ffe4;
  font-size: 13px;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.home-info-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mini-info {
  min-height: 64px;
  grid-template-columns: 42px 1fr;
}

.mini-info .contact-icon {
  width: 42px;
  height: 42px;
}

.contacts-highlight {
  display: grid;
  gap: 10px;
}

.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 12px;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(57, 221, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(11, 18, 32, 0.94), rgba(16, 26, 43, 0.74));
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: borderPulse 4.8s ease-in-out infinite;
}

.product-card,
.menu-product-card,
.product-preview-card,
.order-summary-card,
.admin-product-card,
.admin-category-card,
.admin-user-card,
.review-card,
.panel {
  animation: softRise 360ms ease both, cardNeonGlow 5.8s ease-in-out infinite;
}

@keyframes cardNeonGlow {
  0%,
  100% {
    border-color: rgba(57, 221, 255, 0.18);
    box-shadow: 0 18px 56px rgba(0, 0, 0, 0.42), 0 0 0 rgba(57, 221, 255, 0);
  }

  50% {
    border-color: rgba(57, 221, 255, 0.5);
    box-shadow: 0 18px 58px rgba(0, 0, 0, 0.46), 0 0 24px rgba(57, 221, 255, 0.18);
  }
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 10%, rgba(255, 255, 255, 0.08) 46%, transparent 72%);
  transform: translateX(-110%);
  transition: transform 520ms ease;
}

.contact-card:active::after {
  transform: translateX(110%);
}

.contact-card.green {
  border-color: rgba(80, 242, 165, 0.28);
}

.contact-card.pink {
  border-color: rgba(255, 79, 216, 0.3);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #06111c;
  background: var(--cyan);
  font-weight: 900;
  box-shadow: 0 0 28px rgba(57, 221, 255, 0.3);
}

.contact-card.green .contact-icon {
  background: var(--green);
  box-shadow: 0 0 28px rgba(80, 242, 165, 0.24);
}

.contact-card.pink .contact-icon {
  background: var(--pink);
  box-shadow: 0 0 28px rgba(255, 79, 216, 0.22);
}

.contact-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.contact-copy strong,
.contact-copy small {
  overflow-wrap: anywhere;
}

.contact-copy small {
  color: var(--muted);
  line-height: 1.35;
}

.product-grid {
  display: grid;
  gap: 12px;
}

.menu-header {
  display: grid;
  gap: 10px;
  padding: 18px 2px 8px;
}

.menu-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.menu-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.compact-button {
  width: auto;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.filter-strip,
.subcategory-strip {
  display: flex;
  gap: 8px;
  margin: 8px -14px 0;
  padding: 0 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-strip::-webkit-scrollbar,
.subcategory-strip::-webkit-scrollbar {
  display: none;
}

.filter-chip,
.subfilter-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(57, 221, 255, 0.22);
  border-radius: 999px;
  background: rgba(149, 169, 189, 0.07);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.filter-chip {
  min-height: 42px;
  padding: 0 15px;
  font-weight: 800;
}

.subfilter-chip {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.filter-chip.active,
.subfilter-chip.active {
  border-color: rgba(57, 221, 255, 0.68);
  background: rgba(57, 221, 255, 0.14);
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(57, 221, 255, 0.14);
}

.menu-product-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.menu-product-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.clickable-card {
  cursor: pointer;
}

.menu-product-media {
  position: relative;
  min-height: 126px;
  overflow: hidden;
  border-radius: 8px;
  background: #09111f;
}

.menu-product-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-product-media video,
.preview-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-product-body {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.menu-product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.menu-product-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(57, 221, 255, 0.18);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(57, 221, 255, 0.08);
  font-size: 12px;
  line-height: 1;
}

.menu-product-meta .category-badge {
  border-color: rgba(255, 212, 71, 0.52);
  background: rgba(255, 212, 71, 0.14);
  color: var(--yellow);
  font-size: 13px;
}

.menu-product-meta .subcategory-badge {
  font-size: 12px;
}

.menu-product-body h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.menu-product-body p,
.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-line;
}

.variant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.variant-list span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 212, 71, 0.42);
  border-radius: 8px;
  background: rgba(255, 212, 71, 0.11);
  color: #fff0aa;
  font-size: 12px;
  font-weight: 800;
}

.variant-select {
  display: grid;
  gap: 6px;
  margin-top: 3px;
}

.variant-select span {
  color: var(--muted);
  font-size: 12px;
}

.variant-select select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(255, 212, 71, 0.32);
  border-radius: 8px;
  background: rgba(255, 212, 71, 0.1);
  color: var(--text);
  padding: 0 10px;
}

.menu-product-footer {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.menu-product-footer small {
  color: var(--muted);
  font-size: 11px;
}

.menu-product-footer strong {
  color: var(--green);
  font-size: 15px;
}

.option-pill-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.option-pill-row::-webkit-scrollbar {
  display: none;
}

.option-pill {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  min-width: 76px;
  min-height: 44px;
  padding: 7px 9px;
  border: 1px solid rgba(80, 242, 165, 0.24);
  border-radius: 8px;
  background: rgba(80, 242, 165, 0.08);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.option-pill span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
}

.option-pill strong {
  color: var(--green);
  font-size: 13px;
  line-height: 1.1;
}

.option-pill:disabled,
.icon-button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 99, 125, 0.26);
  background: rgba(255, 99, 125, 0.09);
  color: rgba(255, 215, 223, 0.72);
}

.option-pill:disabled strong,
.icon-button:disabled {
  color: var(--danger);
}

.product-card.is-sold-out .media img,
.product-card.is-sold-out .media video,
.menu-product-card.is-sold-out .menu-product-media img,
.menu-product-card.is-sold-out .menu-product-media video {
  filter: saturate(0.45) brightness(0.72);
}

.new-arrivals-wrap {
  position: relative;
}

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

.product-preview-grid.single-row {
  display: flex;
  overflow-x: auto;
  padding: 2px 1px 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-preview-grid.single-row::-webkit-scrollbar {
  display: none;
}

.product-preview-grid.single-row .product-preview-card {
  flex: 0 0 calc(50% - 5px);
  scroll-snap-align: start;
}

.floating-scroll {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 48px;
  transform: translateY(-50%);
  border: 1px solid rgba(57, 221, 255, 0.38);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.78);
  color: var(--cyan);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.floating-scroll.left {
  left: -8px;
}

.floating-scroll.right {
  right: -8px;
}

.product-preview-card {
  display: grid;
  gap: 9px;
  width: 100%;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.9);
  box-shadow: var(--shadow);
  cursor: pointer;
  animation: borderPulse 5.4s ease-in-out infinite;
}

.preview-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.76;
  background: #09111f;
}

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

.reviews-highlight,
.reviews-list {
  display: grid;
  gap: 10px;
}

.review-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.review-card.is-hidden {
  opacity: 0.62;
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.review-top div {
  display: grid;
  gap: 3px;
}

.review-top span,
.review-products span {
  color: var(--muted);
  font-size: 12px;
}

.review-rating,
.heart-badge {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 154, 60, 0.42);
  background: rgba(255, 154, 60, 0.1);
  color: var(--orange);
  font-weight: 900;
}

.review-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.42;
  white-space: pre-line;
}

.review-products {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.review-products span {
  padding: 5px 7px;
  border: 1px solid rgba(149, 169, 189, 0.16);
  border-radius: 999px;
  background: rgba(149, 169, 189, 0.07);
}

.preview-copy {
  display: grid;
  gap: 4px;
  padding: 0 10px 11px;
}

.preview-copy strong {
  font-size: 14px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.preview-copy small {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #09111f;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-badge-stack {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 20px);
}

.product-badge-stack.inline {
  position: static;
  margin: 7px 0;
}

.product-badge {
  display: inline-grid;
  place-items: center;
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(5, 7, 13, 0.82);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.product-badge-stack.compact {
  top: 7px;
  left: 7px;
  gap: 4px;
  max-width: calc(100% - 14px);
}

.product-badge-stack.compact .product-badge {
  min-height: 21px;
  padding: 4px 6px;
  font-size: 10px;
}

.product-badge.is-new {
  border-color: rgba(255, 212, 71, 0.9);
  background: linear-gradient(135deg, #ffe173, #ff9a3c);
  color: #211000;
  box-shadow: 0 0 18px rgba(255, 212, 71, 0.46), 0 6px 20px rgba(255, 154, 60, 0.22);
}

.product-badge.is-limited {
  border-color: rgba(54, 120, 255, 0.74);
  background: rgba(54, 120, 255, 0.24);
  color: #dbe7ff;
}

.product-badge.is-preorder {
  border-color: rgba(80, 242, 165, 0.78);
  background: rgba(80, 242, 165, 0.2);
  color: #d9ffeb;
}

.product-badge.is-sold-out {
  border-color: rgba(255, 99, 125, 0.82);
  background: rgba(255, 99, 125, 0.22);
  color: #ffd7df;
}

.product-body {
  padding: 14px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-title-row h3 {
  margin: 0;
  font-size: 18px;
}

.product-body .product-description {
  margin: 8px 0 12px;
  color: var(--muted);
  line-height: 1.45;
}

.option-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid rgba(149, 169, 189, 0.12);
}

.option-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.price {
  color: var(--green);
  font-weight: 700;
}

.icon-button,
.primary-button,
.ghost-button {
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  animation: buttonNeonBreath 3.8s ease-in-out infinite;
}

.icon-button {
  width: 42px;
  display: grid;
  place-items: center;
  background: rgba(57, 221, 255, 0.13);
  color: var(--cyan);
  border: 1px solid rgba(57, 221, 255, 0.32);
  font-size: 22px;
}

.primary-button {
  width: 100%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #02111b;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(57, 221, 255, 0.22);
}

.primary-button:disabled,
.choice-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  border-color: rgba(149, 169, 189, 0.14);
  background: rgba(35, 43, 55, 0.72);
  color: rgba(149, 169, 189, 0.58);
  box-shadow: none;
  animation: none;
}

.ghost-button {
  width: 100%;
  background: rgba(149, 169, 189, 0.08);
  color: var(--text);
  border: 1px solid rgba(149, 169, 189, 0.22);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 10;
  width: min(100%, 480px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(5, 7, 13, 0.9);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.floating-profile-badge {
  position: fixed;
  right: max(14px, calc((100vw - 480px) / 2 + 14px));
  top: calc(14px + env(safe-area-inset-top));
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(57, 221, 255, 0.54);
  background: rgba(5, 7, 13, 0.84);
  color: var(--muted);
  box-shadow: 0 0 18px rgba(57, 221, 255, 0.12);
  font-size: 21px;
  display: grid;
  place-items: center;
}

.floating-profile-badge.has-notice {
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(57, 221, 255, 0.28);
}

.profile-glyph {
  position: relative;
  width: 20px;
  height: 22px;
  color: currentColor;
  filter: none;
}

.profile-glyph::before,
.profile-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 2px solid currentColor;
}

.profile-glyph::before {
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(57, 221, 255, 0.08);
}

.profile-glyph::after {
  bottom: 0;
  width: 17px;
  height: 8px;
  border-radius: 999px 999px 4px 4px;
  border-bottom-color: transparent;
}

.floating-profile-badge .profile-notice-dot {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(57, 221, 255, 0.8);
}

.nav-button {
  min-height: 48px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  gap: 2px;
  font-size: 12px;
}

.nav-button strong {
  font-size: 26px;
  line-height: 1;
}

.nav-button span {
  font-size: 11px;
  line-height: 1.1;
}

.nav-button.active {
  color: var(--cyan);
  background: rgba(57, 221, 255, 0.1);
}

.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  padding: 14px;
}

.profile-list,
.cart-list,
.contacts-list {
  display: grid;
  gap: 10px;
}

.profile-hero {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.profile-hero .status-badge {
  grid-column: 2;
  justify-self: start;
  margin-top: -8px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(57, 221, 255, 0.62);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(57, 221, 255, 0.24), rgba(54, 120, 255, 0.16));
  color: var(--cyan);
  font-size: 34px;
  font-weight: 900;
  box-shadow: 0 0 36px rgba(57, 221, 255, 0.26), inset 0 0 22px rgba(57, 221, 255, 0.08);
  animation: borderPulse 3.8s ease-in-out infinite;
}

.profile-heading {
  min-width: 0;
}

.profile-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.profile-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
  gap: 8px;
  margin: 4px 0 12px;
}

.profile-stat {
  min-height: 66px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.78);
  text-align: center;
}

.profile-stat strong {
  display: block;
  color: var(--cyan);
  font-size: 18px;
}

.profile-stat.is-clear strong {
  color: var(--green);
}

.profile-stat.verified-counter {
  border-color: rgba(80, 242, 165, 0.46);
  background: rgba(80, 242, 165, 0.11);
}

.profile-stat.verified-counter strong {
  color: var(--green);
}

.profile-stat.needs-attention {
  border-color: rgba(255, 99, 125, 0.42);
  background: rgba(255, 99, 125, 0.09);
}

.profile-stat.needs-attention strong {
  color: var(--danger);
}

.profile-stat span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
}

.status-badge {
  display: inline-grid;
  place-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(57, 221, 255, 0.28);
  border-radius: 999px;
  background: rgba(57, 221, 255, 0.1);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.pending {
  border-color: rgba(57, 221, 255, 0.36);
  background: rgba(57, 221, 255, 0.1);
  color: var(--cyan);
}

.status-badge.approved {
  border-color: rgba(80, 242, 165, 0.34);
  background: rgba(80, 242, 165, 0.1);
  color: var(--green);
}

.status-badge.rejected {
  border-color: rgba(255, 99, 125, 0.34);
  background: rgba(255, 99, 125, 0.1);
  color: var(--danger);
}

.order-summary-list {
  display: grid;
  gap: 10px;
}

.order-summary-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.order-summary-top,
.order-summary-total {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-summary-top h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.order-summary-top p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.order-summary-details {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.order-summary-details span {
  padding: 6px 8px;
  border: 1px solid rgba(149, 169, 189, 0.16);
  border-radius: 999px;
  background: rgba(149, 169, 189, 0.07);
  color: var(--muted);
  font-size: 12px;
}

.order-summary-total {
  padding-top: 10px;
  border-top: 1px solid rgba(149, 169, 189, 0.12);
}

.order-summary-total span {
  color: var(--muted);
}

.order-summary-total strong {
  color: var(--green);
}

.admin-order-card {
  gap: 14px;
}

.admin-order-customer {
  display: grid;
  gap: 0;
  padding: 0 10px;
  border: 1px solid rgba(149, 169, 189, 0.12);
  border-radius: 8px;
  background: rgba(149, 169, 189, 0.05);
}

.admin-order-items {
  display: grid;
  gap: 8px;
}

.admin-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(80, 242, 165, 0.16);
  border-radius: 8px;
  background: rgba(80, 242, 165, 0.06);
}

.admin-order-item div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-order-item span {
  color: var(--muted);
  font-size: 12px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin: 10px -14px 14px;
  padding: 0 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.admin-tabs::-webkit-scrollbar {
  display: none;
}

.admin-form,
.admin-product-list,
.admin-category-list,
.admin-user-list {
  display: grid;
  gap: 12px;
}

.admin-form-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.admin-form-title h3,
.admin-help h3,
.admin-category-card h3,
.admin-product-card h3,
.admin-user-card h3 {
  margin: 0;
}

.admin-help p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

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

.text-field textarea,
.admin-option-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
  resize: vertical;
}

.text-field input[type="file"] {
  padding: 10px;
  min-height: 44px;
}

.text-field textarea:focus,
.admin-option-row input:focus {
  border-color: rgba(57, 221, 255, 0.7);
  box-shadow: 0 0 24px rgba(57, 221, 255, 0.14);
}

.toggle-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  color: var(--muted);
}

.toggle-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}

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

.badge-toggle {
  min-height: 44px;
  padding: 0 10px;
  border: 1px solid rgba(149, 169, 189, 0.18);
  border-radius: 8px;
  background: rgba(149, 169, 189, 0.06);
}

.badge-toggle.limited input {
  accent-color: var(--blue);
}

.badge-toggle.preorder input {
  accent-color: var(--green);
}

.badge-toggle.soldout input {
  accent-color: var(--danger);
}

.switch-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
}

.switch-line input {
  flex: 0 0 42px;
  position: relative;
  width: 42px;
  min-width: 42px;
  height: 22px;
  appearance: none;
  border: 1px solid rgba(57, 221, 255, 0.28);
  border-radius: 999px;
  background: rgba(149, 169, 189, 0.14);
  transition: background 180ms ease, border-color 180ms ease;
}

.switch-line input::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform 180ms ease, background 180ms ease;
}

.switch-line input:checked {
  border-color: rgba(57, 221, 255, 0.72);
  background: rgba(57, 221, 255, 0.2);
}

.switch-line input:checked::before {
  transform: translateX(19px);
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(57, 221, 255, 0.42);
}

.menu-autoplay-toggle {
  margin-top: 8px;
  padding-right: 2px;
}

.profile-text-size {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.profile-large-text {
  font-size: 17px;
}

.thin-upload-row {
  grid-template-columns: minmax(0, 1fr);
}

.thin-upload-row input[type="file"] {
  min-height: 38px;
  padding: 7px;
}

.admin-options {
  display: grid;
  gap: 9px;
}

.admin-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px 76px;
  gap: 8px;
}

.media-manager {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.media-manager-item {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid rgba(57, 221, 255, 0.18);
  border-radius: 8px;
  background: #09111f;
}

.media-manager-item img,
.media-manager-item video {
  width: 100%;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  display: block;
}

.media-manager-item span {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  padding: 4px 6px;
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.78);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
}

.upload-progress {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress div {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(149, 169, 189, 0.14);
}

.upload-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transition: width 180ms ease;
}

.header-actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-actions,
.admin-row-actions,
.admin-user-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.admin-row-actions .choice-button:only-child {
  grid-column: 1 / -1;
}

.danger-button,
.danger-choice {
  border-color: rgba(255, 99, 125, 0.34);
  background: rgba(255, 99, 125, 0.1);
  color: var(--danger);
}

.admin-product-card,
.admin-category-card,
.admin-user-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
}

.admin-product-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.admin-product-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 8px;
  background: #09111f;
}

.admin-product-card p,
.admin-user-card p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.admin-user-warning {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 154, 60, 0.36);
  border-radius: 999px;
  background: rgba(255, 154, 60, 0.1);
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
}

.admin-product-card strong {
  color: var(--green);
  font-size: 13px;
}

.admin-category-card {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.admin-user-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.admin-user-actions {
  grid-column: 1 / -1;
}

.admin-user-toggle {
  grid-column: 1 / -1;
}

.admin-user-detail-grid,
.admin-user-order-stats,
.admin-user-recent {
  grid-column: 1 / -1;
}

.admin-user-detail-grid {
  display: grid;
  gap: 0;
  padding: 0 10px;
  border: 1px solid rgba(149, 169, 189, 0.12);
  border-radius: 8px;
  background: rgba(149, 169, 189, 0.05);
}

.admin-user-detail-grid .kv strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.admin-user-order-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.admin-user-recent {
  display: grid;
  gap: 7px;
}

.admin-user-recent > span {
  color: var(--muted);
  font-size: 13px;
}

.admin-user-recent p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-user-recent-order {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(57, 221, 255, 0.14);
  border-radius: 8px;
  background: rgba(57, 221, 255, 0.06);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.admin-user-recent-order span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
}

.profile-avatar.small {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 22px;
}

@media (max-width: 380px) {
  .admin-grid-two,
  .admin-media-row,
  .admin-badge-grid,
  .admin-actions,
  .admin-row-actions,
  .admin-user-actions {
    grid-template-columns: 1fr;
  }

  .admin-product-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

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

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

  .admin-product-card .compact-button {
    grid-column: 1 / -1;
  }
}

.contacts-list {
  padding-top: 2px;
}

.kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(149, 169, 189, 0.12);
}

.kv:last-child {
  border-bottom: 0;
}

.kv span {
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(149, 169, 189, 0.12);
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 48px 32px;
  gap: 5px;
  align-items: center;
}

.small-icon {
  width: 32px;
  min-height: 32px;
  height: 32px;
  font-size: 16px;
}

.quantity-control input {
  width: 48px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  text-align: center;
}

.admin-order-note,
.review-summary {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(255, 212, 71, 0.24);
  border-radius: 8px;
  background: rgba(255, 212, 71, 0.07);
  color: var(--muted);
  line-height: 1.4;
}

.admin-order-note strong,
.review-summary strong {
  color: var(--yellow);
}

.order-filter-panel {
  margin-bottom: 12px;
}

.compact-dates {
  gap: 8px;
}

.broadcast-guide {
  padding: 10px;
  border: 1px solid rgba(57, 221, 255, 0.18);
  border-radius: 8px;
  background: rgba(57, 221, 255, 0.06);
}

.broadcast-audience {
  display: grid;
  gap: 8px;
}

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

.broadcast-audience-control {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 44px;
  padding: 4px;
  border: 1px solid rgba(57, 221, 255, 0.22);
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.6);
  overflow: hidden;
}

.broadcast-audience-control::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(57, 221, 255, 0.3), rgba(80, 242, 165, 0.18));
  box-shadow: 0 0 22px rgba(57, 221, 255, 0.2);
  transform: translateX(calc(var(--active-index, 0) * 100%));
  transition: transform 180ms ease;
}

.broadcast-audience-control button {
  z-index: 1;
  min-width: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.broadcast-audience-control button.active {
  color: var(--text);
}

.broadcast-result {
  display: grid;
  gap: 5px;
  padding: 10px;
  border: 1px solid rgba(80, 242, 165, 0.24);
  border-radius: 8px;
  background: rgba(80, 242, 165, 0.08);
  color: var(--muted);
  line-height: 1.35;
}

.broadcast-result strong {
  color: var(--green);
}

.broadcast-result.has-errors {
  border-color: rgba(255, 99, 125, 0.34);
  background: rgba(255, 99, 125, 0.09);
}

.broadcast-result.has-errors strong {
  color: var(--danger);
}

.scheduled-broadcast-list {
  display: grid;
  gap: 10px;
}

.backup-list {
  display: grid;
  gap: 10px;
}

.scheduled-broadcast-card {
  display: grid;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
  animation: cardNeonGlow 5.8s ease-in-out infinite;
}

.backup-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.88);
  box-shadow: var(--shadow);
  animation: cardNeonGlow 5.8s ease-in-out infinite;
}

.backup-card div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.backup-card strong {
  overflow-wrap: anywhere;
}

.backup-card span {
  color: var(--muted);
  font-size: 12px;
}

.stacked-actions {
  align-self: end;
}

.scheduled-broadcast-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.scheduled-broadcast-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
  max-height: 3.9em;
  overflow: hidden;
}

.scheduled-broadcast-card small {
  color: var(--muted);
}

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

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

.cart-item h4 {
  margin: 0 0 4px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.checkout-flow {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.choice-group {
  display: grid;
  gap: 9px;
}

.choice-label {
  color: var(--muted);
  font-size: 13px;
}

.choice-grid {
  display: grid;
  gap: 8px;
}

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

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

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

.choice-button {
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid rgba(57, 221, 255, 0.22);
  border-radius: 8px;
  background: rgba(149, 169, 189, 0.07);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  overflow-wrap: anywhere;
  animation: buttonNeonBreath 4.2s ease-in-out infinite;
}

.choice-button.active {
  border-color: rgba(57, 221, 255, 0.72);
  background: linear-gradient(135deg, rgba(57, 221, 255, 0.18), rgba(54, 120, 255, 0.14));
  color: var(--cyan);
  box-shadow: 0 0 24px rgba(57, 221, 255, 0.16), inset 0 0 18px rgba(57, 221, 255, 0.08);
}

@keyframes buttonNeonBreath {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(57, 221, 255, 0), inset 0 0 0 rgba(57, 221, 255, 0);
  }

  50% {
    box-shadow: 0 0 18px rgba(57, 221, 255, 0.2), inset 0 0 14px rgba(57, 221, 255, 0.05);
  }
}

.primary-button {
  animation-name: primaryNeonBreath;
}

@keyframes primaryNeonBreath {
  0%,
  100% {
    box-shadow: 0 12px 32px rgba(57, 221, 255, 0.22);
  }

  50% {
    box-shadow: 0 14px 36px rgba(57, 221, 255, 0.34), 0 0 24px rgba(54, 120, 255, 0.18);
  }
}

.text-field {
  display: grid;
  gap: 7px;
}

.text-field label {
  color: var(--muted);
  font-size: 13px;
}

.text-field input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.text-field input:focus {
  border-color: rgba(57, 221, 255, 0.7);
  box-shadow: 0 0 24px rgba(57, 221, 255, 0.14);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--muted);
  font-size: 13px;
}

.field select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  padding: 0 12px;
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 24px 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 90;
  width: min(calc(100% - 28px), 452px);
  transform: translateX(-50%);
  padding: 12px 14px;
  border: 1px solid rgba(57, 221, 255, 0.28);
  border-radius: 8px;
  background: rgba(11, 18, 32, 0.96);
  box-shadow: var(--shadow);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.product-modal {
  position: relative;
  width: min(100%, 448px);
  max-height: min(88vh, 760px);
  margin: 0 auto;
  overflow-y: auto;
  border: 1px solid rgba(57, 221, 255, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(5, 7, 13, 0.92), rgba(11, 18, 32, 0.84));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.68), inset 0 0 36px rgba(57, 221, 255, 0.06);
  backdrop-filter: blur(18px);
  animation: softRise 220ms ease both;
}

.modal-close {
  position: sticky;
  top: 10px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 10px 10px -48px auto;
  border-radius: 8px;
  background: rgba(5, 7, 13, 0.92);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
  cursor: pointer;
}

.modal-media-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 86%;
  gap: 10px;
  overflow-x: auto;
  padding: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.modal-media-strip.single {
  grid-auto-columns: minmax(0, 1fr);
  justify-items: center;
}

.modal-media-strip::-webkit-scrollbar {
  display: none;
}

.modal-media-strip img,
.modal-media-strip video,
.modal-media-empty {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 8px;
  background: #09111f;
  scroll-snap-align: center;
}

.modal-media-strip.single img,
.modal-media-strip.single video {
  max-width: 92%;
}

.modal-media-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.modal-body {
  display: grid;
  gap: 12px;
  padding: 2px 14px 18px;
}

.modal-body h2 {
  margin: 0;
  font-size: 24px;
}

.modal-body .product-description {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.modal-option-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.modal-option {
  width: 100%;
}

.modal-option.selected {
  border-color: rgba(57, 221, 255, 0.78);
  background: rgba(57, 221, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(57, 221, 255, 0.2);
}

.modal-option.selected span,
.modal-option.selected strong {
  color: var(--cyan);
}

.modal-cart-bar {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid;
  gap: 10px;
  margin: 2px -14px -18px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(57, 221, 255, 0.22);
  background: rgba(5, 7, 13, 0.94);
  backdrop-filter: blur(14px);
}

.modal-cart-bar div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.modal-cart-bar span {
  color: var(--muted);
  font-size: 12px;
}

.modal-cart-bar strong {
  color: var(--green);
  font-size: 13px;
  overflow-wrap: anywhere;
  text-align: right;
}

.neon-sequence {
  animation: optionNeon 7.5s ease-in-out infinite;
  animation-delay: calc(var(--pulse-index, 0) * 520ms);
}

@keyframes optionNeon {
  0%,
  54%,
  100% {
    box-shadow: none;
    border-color: rgba(80, 242, 165, 0.24);
  }

  64%,
  78% {
    border-color: rgba(80, 242, 165, 0.86);
    box-shadow: 0 0 24px rgba(80, 242, 165, 0.34), inset 0 0 18px rgba(80, 242, 165, 0.08);
  }
}

.orange-neon {
  border-color: rgba(255, 154, 60, 0.72);
  background: rgba(255, 154, 60, 0.14);
  color: #ffd9b6;
  animation: orangeNeon 2.4s ease-in-out infinite;
}

@keyframes orangeNeon {
  50% {
    box-shadow: 0 0 28px rgba(255, 154, 60, 0.36), inset 0 0 20px rgba(255, 154, 60, 0.1);
  }
}

.hero,
.contacts-highlight,
.product-preview-grid,
.product-grid,
.menu-header,
.filter-strip,
.subcategory-strip,
.menu-product-list,
.profile-hero,
.profile-stats-grid,
.order-summary-list,
.admin-stat-grid,
.admin-tabs,
.admin-form,
.admin-product-list,
.admin-category-list,
.admin-user-list,
.panel,
.product-card,
.menu-product-card,
.product-preview-card,
.order-summary-card,
.review-card,
.admin-product-card,
.admin-category-card,
.admin-user-card,
.product-modal,
.brand-logo,
.profile-avatar,
.icon-button,
.primary-button,
.ghost-button,
.choice-button,
.orange-neon,
.neon-sequence {
  animation: none;
}

.product-card,
.menu-product-card,
.product-preview-card,
.order-summary-card,
.review-card,
.admin-product-card,
.admin-category-card,
.admin-user-card,
.panel {
  contain: layout paint style;
}

.media img,
.media video,
.menu-product-media img,
.menu-product-media video,
.preview-media img,
.preview-media video {
  backface-visibility: hidden;
  transform: translateZ(0);
}

[data-static-video-preview] {
  pointer-events: none;
}

.app-shell *,
.bottom-nav,
.bottom-nav *,
.floating-profile-badge {
  animation: none !important;
}

.error {
  color: var(--danger);
}

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