@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: dark;
  --ink: #eef7f1;
  --muted: rgba(238, 247, 241, 0.72);
  --primary: #7ffb96;
  --primary-strong: #49d77f;
  --heading: #58ed70;
  --accent: #6fd7ff;
  --accent-strong: #2aa3e2;
  --warning: #f6c06a;
  --danger: #f06a5f;
  --brand-gradient: linear-gradient(90deg, var(--primary), var(--warning), var(--danger));
  --bg: #070d0a;
  --glass: rgba(15, 26, 20, 0.56);
  --glass-strong: rgba(18, 34, 26, 0.82);
  --glass-border: rgba(200, 255, 218, 0.18);
  --glass-border-strong: rgba(200, 255, 218, 0.28);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.55);
  --shadow-tight: 0 14px 30px rgba(0, 0, 0, 0.42);
  --shadow-float: 0 20px 44px rgba(0, 0, 0, 0.4);
  --ring-color: rgba(111, 215, 255, 0.75);
  --ring-color-primary: rgba(127, 251, 150, 0.75);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  font-size: 15px;
  min-height: 100vh;
  background: var(--bg) url("logo/background.png") center/cover fixed no-repeat;
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
  min-height: 100dvh;
}

body.modal-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 8, 0.66) 0%, rgba(7, 12, 9, 0.84) 56%, rgba(7, 12, 9, 0.92) 100%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 24% 12%, rgba(127, 251, 150, 0.14), transparent 44%),
    radial-gradient(circle at 84% 18%, rgba(111, 215, 255, 0.14), transparent 42%),
    radial-gradient(circle at 52% 84%, rgba(246, 192, 106, 0.12), transparent 44%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 46%);
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: 0;
}

::selection {
  background: rgba(127, 251, 150, 0.28);
  color: #07110c;
}

.ui-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ui-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  flex: 0 0 auto;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a.secondary:hover {
  text-decoration: none;
  color: var(--ink);
}

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

:where(a, button, input, select, textarea, summary) {
  transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out),
    color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
    transform var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--ring-color);
  outline-offset: 3px;
}

:where(button, .pill, .primary, .secondary, .icon-button, .tab, .chip, .quick-tile, .icon-heart):active {
  transform: translateY(1px);
}

h1,
h2,
h3,
.brand-title {
  font-family: "Righteous", "Trebuchet MS", sans-serif;
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}

:where(h1, h2, h3, h4, h5, h6) {
  color: var(--heading);
}

h1 {
  font-size: 32px;
  line-height: 1.15;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  line-height: 1.5;
}

ul {
  margin: 0;
  padding-left: 18px;
}

.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 16px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 26, 0.88), rgba(10, 18, 13, 0.78));
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.topbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 0%, rgba(127, 251, 150, 0.16), transparent 42%),
    radial-gradient(circle at 80% 0%, rgba(111, 215, 255, 0.12), transparent 40%);
  opacity: 0.45;
  pointer-events: none;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.brand-text {
  min-width: 0;
  overflow: hidden;
}

.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex: 0 0 54px;
  aspect-ratio: 1 / 1;
  background: rgba(8, 16, 12, 0.6);
  border: 1px solid rgba(200, 255, 218, 0.22);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(127, 251, 150, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1.12);
  padding: 0;
  filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.32));
}

.brand-title {
  font-weight: 700;
  font-size: clamp(12px, 3.2vw, 17px);
  margin: 0;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-title .brand-wood {
  color: var(--primary);
}

.brand-title .brand-stock {
  color: var(--warning);
}

.brand-title .brand-bar {
  color: var(--danger);
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.topbar-icon {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(200, 255, 218, 0.18);
  background: rgba(8, 16, 12, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(238, 247, 241, 0.82);
  position: relative;
}

.topbar-icon:hover {
  border-color: rgba(127, 251, 150, 0.26);
  color: var(--ink);
}

.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, rgba(127, 251, 150, 0.95), rgba(111, 215, 255, 0.92));
  color: #07110c;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 8px 18px rgba(0, 0, 0, 0.25);
}

.topbar-icon.has-badge .cart-badge,
.cart-fab.has-badge .cart-badge {
  display: inline-flex;
}

.cart-fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom) + 92px);
  width: 56px;
  height: 56px;
  border-radius: 22px;
  border: 1px solid rgba(200, 255, 218, 0.18);
  background: rgba(8, 16, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(238, 247, 241, 0.86);
  z-index: 36;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out),
    border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}

.cart-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

body[data-view="product"] .cart-fab {
  bottom: calc(18px + env(safe-area-inset-bottom) + 92px + 88px);
}

.cart-fab:hover {
  border-color: rgba(127, 251, 150, 0.28);
  color: var(--ink);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42), 0 0 22px rgba(127, 251, 150, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.brand-subtitle {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.pill {
  border: 1px solid rgba(127, 251, 150, 0.22);
  border-radius: 999px;
  padding: 6px 10px 6px 8px;
  background: rgba(17, 30, 23, 0.78);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(111, 215, 255, 0.09);
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.pill-text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  max-width: 180px;
  min-width: 0;
}

.pill-label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-subtitle {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.05;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(127, 251, 150, 0.2);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.pill-avatar.has-image {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.main {
  padding: 12px 16px 12px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.view {
  display: none;
  opacity: 0;
  transform: translateY(14px);
}

.view.is-active {
  display: block;
  animation: viewIn 0.45s ease forwards;
}

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

[data-stagger] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-stagger].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-card {
  background: linear-gradient(180deg, rgba(18, 34, 26, 0.84), rgba(10, 18, 13, 0.78));
  border-radius: var(--radius-xl);
  padding: 22px;
  display: grid;
  gap: 18px;
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 10% 0%, rgba(127, 251, 150, 0.14), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(111, 215, 255, 0.12), transparent 40%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(8, 16, 12, 0.64);
  border: 1px solid rgba(200, 255, 218, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-globe {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(111, 215, 255, 0.12);
  border: 1px solid rgba(111, 215, 255, 0.18);
  color: rgba(238, 247, 241, 0.88);
}

.lang-globe .ui-icon {
  width: 16px;
  height: 16px;
}

.lang-item {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(238, 247, 241, 0.72);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  cursor: pointer;
}

.lang-item.is-active {
  background: linear-gradient(135deg, rgba(127, 251, 150, 0.95), rgba(73, 215, 127, 0.95));
  color: #0c1510;
  border-color: rgba(127, 251, 150, 0.95);
  box-shadow: 0 0 0 1px rgba(127, 251, 150, 0.22), 0 0 16px rgba(127, 251, 150, 0.22);
}

.lang-select {
  width: auto;
  max-width: 86px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: pointer;
  color: rgba(238, 247, 241, 0.78);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-switch--header {
  min-height: 44px;
  padding: 6px 8px;
  gap: 8px;
}

.lang-switch--header .lang-globe {
  width: 28px;
  height: 28px;
}

.lang-switch--header .lang-globe .ui-icon {
  width: 16px;
  height: 16px;
}

.lang-switch--header .lang-item {
  padding: 4px 6px;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.lang-switch--header .lang-select {
  height: 32px;
  padding: 6px 34px 6px 10px;
  font-size: 11px;
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 6px 6px;
}

.hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions .primary,
.hero-actions .secondary {
  flex: 1 1 160px;
  justify-content: center;
}

.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--muted);
}

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

.small {
  font-size: 12px;
}

.bonus-card {
  border-radius: 20px;
  padding: 16px;
  background: rgba(8, 16, 12, 0.62);
  border: 1px solid rgba(200, 255, 218, 0.18);
  display: grid;
  gap: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
}

.bonus-card-main {
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  width: 100%;
  padding-right: 74px;
  color: inherit;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 10px;
}

.bonus-qr {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid rgba(200, 255, 218, 0.18);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(12, 22, 17, 0.78);
  color: var(--ink);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bonus-progress {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.progress.progress--thin {
  height: 6px;
}

.bonus-value {
  font-size: 28px;
  font-weight: 700;
}

.bonus-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(127, 251, 150, 0.7);
}

.section {
  margin-top: 26px;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 6px;
  margin-bottom: 12px;
}

body[data-view="catalog"] .section-title {
  row-gap: 10px;
  margin-bottom: 18px;
}

.section-title > :where(h1, h2, h3) {
  margin: 0;
}

.section-title p {
  max-width: 420px;
  flex: 1 1 100%;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.scroll-row > * {
  scroll-snap-align: start;
}

.card-list {
  display: grid;
  gap: 14px;
}

.card {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.card.highlight {
  border-color: rgba(246, 192, 106, 0.5);
}

.card strong {
  display: block;
  margin: 0;
}

button.card {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(127, 251, 150, 0.14);
  border: 1px solid rgba(127, 251, 150, 0.18);
  color: var(--primary);
}

.badge-soft {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(200, 255, 218, 0.14);
  color: var(--muted);
  font-weight: 600;
}

.promo-card {
  padding: 14px;
  display: grid;
  gap: 10px;
  min-height: 150px;
}

.promo-card--full {
  min-height: unset;
}

.promo-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.promo-benefit {
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.02em;
}

.promo-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.promo-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.event-card {
  display: grid;
  gap: 10px;
}

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

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}

.event-sep {
  opacity: 0.55;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.event-actions .primary {
  flex: 1 1 180px;
}

.event-featured {
  border-color: rgba(111, 215, 255, 0.22);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#home-featured-event {
  margin-bottom: 14px;
}

details.card > summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

details.card > summary::-webkit-details-marker {
  display: none;
}

details.card > summary::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  transform: rotate(90deg);
  transition: transform var(--dur-2) var(--ease-out);
}

details.card[open] > summary::after {
  transform: rotate(-90deg);
}

.text-button {
  border: none;
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}

.text-button:hover {
  color: var(--primary-strong);
}

.text-button:active {
  transform: translateY(1px);
}

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

.quick-tile {
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.7));
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.quick-icon {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(127, 251, 150, 0.12);
  border: 1px solid rgba(127, 251, 150, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--primary);
  flex: 0 0 auto;
}

.quick-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.quick-label {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.notice {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.76), rgba(10, 18, 13, 0.7));
  border-radius: var(--radius-lg);
  padding: 16px;
  border: 1px solid rgba(200, 255, 218, 0.18);
  display: grid;
  gap: 8px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.notice ul {
  display: grid;
  gap: 6px;
}

.rules-banner {
  border: 1px solid rgba(200, 255, 218, 0.18);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.76), rgba(10, 18, 13, 0.7));
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rules-badge {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(246, 192, 106, 0.16);
  border: 1px solid rgba(246, 192, 106, 0.28);
  color: var(--warning);
  font-weight: 900;
  flex: 0 0 auto;
}

.rules-banner-text {
  flex: 1;
  color: rgba(238, 247, 241, 0.76);
  font-size: 12px;
  line-height: 1.35;
}

.rules-banner-link {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}

.rules-banner-link::after {
  content: " →";
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0 18px;
}

input[type="search"],
input[type="tel"],
select,
textarea {
  border-radius: 14px;
  border: 1px solid rgba(200, 255, 218, 0.16);
  padding: 12px 14px;
  background: rgba(9, 16, 12, 0.78);
  font-size: 14px;
  color: var(--ink);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(238, 247, 241, 0.7) 50%),
    linear-gradient(135deg, rgba(238, 247, 241, 0.7) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 13px) calc(50% - 3px);
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

input[type="search"]:focus-visible,
input[type="tel"]:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: rgba(111, 215, 255, 0.35);
}

input[type="checkbox"] {
  accent-color: var(--primary-strong);
}

input::placeholder,
textarea::placeholder {
  color: rgba(238, 247, 241, 0.6);
}

.chip-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.scroll-row,
.chip-row {
  scrollbar-color: rgba(238, 247, 241, 0.22) transparent;
  scrollbar-width: thin;
}

.scroll-row::-webkit-scrollbar,
.chip-row::-webkit-scrollbar {
  height: 10px;
}

.scroll-row::-webkit-scrollbar-thumb,
.chip-row::-webkit-scrollbar-thumb {
  background: rgba(238, 247, 241, 0.22);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

.chip {
  border: 1px solid rgba(200, 255, 218, 0.16);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  background: rgba(12, 22, 17, 0.76);
  cursor: pointer;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
}

.chip.is-active {
  background: linear-gradient(135deg, rgba(127, 251, 150, 0.9), rgba(73, 215, 127, 0.9));
  color: #0d1a12;
  border-color: rgba(127, 251, 150, 0.9);
  box-shadow: 0 0 16px rgba(127, 251, 150, 0.45);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.filter-row .chip {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-right: 12px;
}

.chip-count {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(111, 215, 255, 0.14);
  border: 1px solid rgba(111, 215, 255, 0.26);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
  pointer-events: none;
}

.chip-count.is-visible {
  opacity: 1;
  transform: scale(1);
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  min-width: 0;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.ref-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.referral-card {
  display: grid;
  gap: 12px;
}

.referral-code {
  margin: 0;
  text-align: left;
  font-size: 13px;
  letter-spacing: 0.02em;
  word-break: break-all;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.product-card {
  background: linear-gradient(180deg, rgba(16, 28, 21, 0.86), rgba(10, 18, 13, 0.74));
  border-radius: 22px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  height: 100%;
  overflow: hidden;
  position: relative;
}

.product-kpi {
  position: absolute;
  top: 24px;
  left: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  padding: 0 54px;
  pointer-events: none;
}

.meta-pill {
  max-width: 100%;
  min-width: 0;
  border-radius: 999px;
  padding: 6px 10px;
  border: 1px solid rgba(200, 255, 218, 0.16);
  background: rgba(7, 13, 10, 0.48);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-pill--price {
  color: var(--ink);
  flex: 0 0 auto;
}

.meta-pill--tone {
  color: rgba(238, 247, 241, 0.78);
  border-color: rgba(111, 215, 255, 0.16);
  flex: 0 1 auto;
  min-width: 0;
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 18% 0%, rgba(127, 251, 150, 0.14), transparent 42%),
    radial-gradient(circle at 82% 10%, rgba(111, 215, 255, 0.12), transparent 44%);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.product-card > :not(.product-kpi) {
  position: relative;
  z-index: 1;
}

.product-image {
  height: 132px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.product-card .product-image {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.product-card .product-image--template {
  background-image: url("icon/product.png");
  background-color: rgba(12, 22, 17, 0.42);
}

.product-card .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.product-card .product-image--template::before {
  background: radial-gradient(circle at 22% 20%, var(--product-accent, #6fd7ff) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.28;
}

.product-card .product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(7, 13, 10, 0) 0%,
      rgba(7, 13, 10, 0.16) 55%,
      rgba(7, 13, 10, 0.38) 100%
    ),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 46%);
  pointer-events: none;
  z-index: 0;
}

.icon-mini--media {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 16px;
  background: rgba(8, 16, 12, 0.62);
  border-color: rgba(200, 255, 218, 0.16);
  color: rgba(238, 247, 241, 0.82);
}

.icon-mini--media.active {
  border-color: rgba(127, 251, 150, 0.42);
}

.icon-heart--media {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 16px;
  background: rgba(8, 16, 12, 0.62);
  border-color: rgba(200, 255, 218, 0.16);
  color: rgba(238, 247, 241, 0.82);
}

.icon-heart--media.active {
  background: rgba(127, 251, 150, 0.92);
  border-color: rgba(127, 251, 150, 0.9);
  color: #0c1510;
  box-shadow: 0 0 12px rgba(127, 251, 150, 0.55);
}

.product-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

.product-title {
  flex: 1 1 auto;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.product-link {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

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

.tag {
  font-size: 10px;
  padding: 3px 10px 3px 8px;
  border-radius: 999px;
  background: rgba(12, 22, 17, 0.52);
  color: rgba(238, 247, 241, 0.76);
  border: 1px solid rgba(200, 255, 218, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tag-dot, rgba(238, 247, 241, 0.6));
  box-shadow: 0 0 0 2px rgba(7, 13, 10, 0.34);
  flex: 0 0 auto;
}

.tag--effect {
  --tag-dot: rgba(127, 251, 150, 0.92);
}

.tag--flavor {
  --tag-dot: rgba(246, 192, 106, 0.92);
}

.tag--terpene {
  --tag-dot: rgba(111, 215, 255, 0.92);
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  gap: 10px;
  flex-wrap: wrap;
}

.status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.status.in {
  background: rgba(127, 251, 150, 0.18);
  color: var(--primary);
}

.status.low {
  background: rgba(246, 192, 106, 0.18);
  color: var(--warning);
}

.status.out {
  background: rgba(240, 106, 95, 0.18);
  color: var(--danger);
}

.product-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.product-card .product-actions--single {
  flex-direction: column;
  align-items: center;
}

.product-actions--single .primary {
  flex: 1 1 100%;
  width: 100%;
}

.product-actions--card {
  flex-wrap: nowrap;
  gap: 10px;
}

.product-actions--card .meta-pill--price {
  flex: 0 0 auto;
}

.product-actions--card .product-cta {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34), 0 0 18px rgba(127, 251, 150, 0.18);
}

.product-actions--card .product-cta-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-actions .secondary,
.product-actions .primary {
  flex: 1 1 110px;
}

.product-effect,
.product-desc {
  font-size: 12px;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .product-desc {
  -webkit-line-clamp: 1;
  mask-image: linear-gradient(90deg, #000 0%, #000 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 76%, transparent 100%);
}

.product-detail .product-effect,
.product-detail .product-desc {
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  overflow: visible;
}

.icon-heart {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(127, 251, 150, 0.2);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(12, 22, 17, 0.76);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.icon-mini {
  width: 30px;
  height: 30px;
  border-radius: 14px;
  border: 1px solid rgba(127, 251, 150, 0.2);
  display: grid;
  place-items: center;
  cursor: pointer;
  background: rgba(12, 22, 17, 0.76);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.icon-mini .ui-icon {
  width: 16px;
  height: 16px;
}

.icon-mini.active {
  background: rgba(127, 251, 150, 0.9);
  color: #0c1510;
  border-color: rgba(127, 251, 150, 0.9);
  box-shadow: 0 0 12px rgba(127, 251, 150, 0.55);
}

.icon-mini--danger {
  border-color: rgba(255, 130, 130, 0.22);
  color: rgba(255, 188, 188, 0.88);
}

.icon-mini--danger:hover {
  background: rgba(38, 12, 12, 0.6);
}

.icon-heart .ui-icon {
  width: 16px;
  height: 16px;
}

.icon-heart .ui-icon-heart-on {
  display: none;
}

.icon-heart.active .ui-icon-heart-off {
  display: none;
}

.icon-heart.active .ui-icon-heart-on {
  display: block;
}

.icon-heart.active {
  background: rgba(127, 251, 150, 0.9);
  color: #0c1510;
  border-color: rgba(127, 251, 150, 0.9);
  box-shadow: 0 0 12px rgba(127, 251, 150, 0.6);
}

.primary {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(127, 251, 150, 0.95), rgba(73, 215, 127, 0.95));
  color: #0c1510;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), 0 0 24px rgba(127, 251, 150, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary:focus-visible {
  outline-color: var(--ring-color-primary);
}

.primary:active {
  filter: brightness(0.94);
}

.secondary {
  border: 1px solid rgba(127, 251, 150, 0.22);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(12, 22, 17, 0.76);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  gap: 8px;
}

.primary .ui-icon,
.secondary .ui-icon {
  width: 16px;
  height: 16px;
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.icon-button {
  border: 1px solid rgba(127, 251, 150, 0.2);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(12, 22, 17, 0.76);
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.product-detail {
  display: grid;
  gap: 16px;
  padding-bottom: 92px;
}

.product-gallery {
  display: grid;
  gap: 10px;
}

.gallery-main {
  height: clamp(190px, 32vh, 240px);
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.gallery-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.gallery-main--template {
  background-image: url("icon/product.png");
  background-color: rgba(12, 22, 17, 0.42);
}

.gallery-main--template::before {
  background: radial-gradient(circle at 22% 20%, var(--product-accent, #6fd7ff) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 18%);
  opacity: 0.32;
}

.gallery-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(7, 13, 10, 0) 0%,
      rgba(7, 13, 10, 0.14) 55%,
      rgba(7, 13, 10, 0.36) 100%
    ),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.16), transparent 46%);
  pointer-events: none;
  z-index: 0;
}

.gallery-main > * {
  z-index: 2;
}

.gallery-indicator {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(8, 16, 12, 0.62);
  border: 1px solid rgba(200, 255, 218, 0.16);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(238, 247, 241, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.thumb {
  width: 100%;
  height: clamp(56px, 10vh, 70px);
  padding: 0;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(200, 255, 218, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  filter: saturate(0.92) brightness(0.86);
  opacity: 0.85;
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out),
    filter var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
  background-color: rgba(12, 22, 17, 0.42);
}

.thumb--template {
  background-image: url("icon/product.png");
  position: relative;
  overflow: hidden;
}

.thumb--template::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 26% 22%, var(--product-accent, #6fd7ff) 0%, transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 20%);
  opacity: 0.28;
  pointer-events: none;
}

.thumb.is-active {
  border-color: rgba(127, 251, 150, 0.42);
  box-shadow: 0 0 0 1px rgba(127, 251, 150, 0.22), 0 0 18px rgba(127, 251, 150, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  filter: saturate(1) brightness(1);
  opacity: 1;
  transform: translateY(-1px);
}

.thumb:active {
  transform: translateY(1px);
}

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

.product-info {
  display: grid;
  gap: 10px;
}

.product-price {
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.product-card .product-price {
  font-size: 15px;
}

.specs {
  display: grid;
  gap: 8px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(127, 251, 150, 0.18);
}

.rules-banner--compact {
  padding: 12px 14px;
  border-radius: 18px;
  gap: 10px;
}

.rules-banner--compact .rules-banner-text {
  font-size: 12px;
  line-height: 1.35;
}

.sticky-bar {
  position: sticky;
  bottom: 12px;
  max-width: 520px;
  margin: 0 auto 12px;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 26, 0.92), rgba(10, 18, 13, 0.88));
  border: 1px solid rgba(200, 255, 218, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sticky-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.sticky-price {
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.sticky-sub {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 247, 241, 0.62);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-bar .primary {
  flex: 0 0 auto;
  padding: 10px 16px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.32), 0 0 18px rgba(127, 251, 150, 0.22);
}

.sticky-spacer {
  display: none;
  height: 0;
}

.request-layout {
  display: grid;
  gap: 18px;
}

.request-summary {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.request-form.is-hidden {
  display: none;
}

.request-success {
  display: none;
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: var(--radius-md);
  padding: 16px;
  gap: 12px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.request-success.is-visible {
  display: grid;
}

.status-steps {
  display: grid;
  gap: 6px;
}

.status-step {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(12, 22, 17, 0.7);
  border: 1px solid rgba(127, 251, 150, 0.18);
  font-size: 13px;
}

.status-step.active {
  border-color: rgba(127, 251, 150, 0.4);
  background: rgba(127, 251, 150, 0.12);
}

.bonus-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  padding: 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(127, 251, 150, 0.18);
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.map-shell {
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  position: relative;
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  margin-bottom: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

#map {
  width: 100%;
  height: 100%;
}

.map-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 18, 13, 0.72);
  color: var(--muted);
  font-weight: 600;
}

.leaflet-container {
  font-family: inherit;
}

.leaflet-control a {
  color: var(--ink);
}

.leaflet-control-zoom a,
.leaflet-control-layers {
  background: rgba(12, 22, 17, 0.76) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-tight) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(18, 34, 26, 0.82) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(12, 22, 17, 0.9);
  color: var(--ink);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-tight);
}

.profile-card {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.profile-info {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 3px;
}

.profile-info h3 {
  margin: 0;
}

.profile-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
  flex: 0 0 auto;
}

.meta-pill--tier {
  color: var(--primary);
  border-color: rgba(127, 251, 150, 0.24);
  background: rgba(127, 251, 150, 0.12);
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.switch-track {
  width: 44px;
  height: 26px;
  border-radius: 999px;
  background: rgba(7, 13, 10, 0.48);
  border: 1px solid rgba(200, 255, 218, 0.16);
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.switch-thumb {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(238, 247, 241, 0.82);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(0);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out);
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--ring-color-primary);
  outline-offset: 3px;
}

.switch input:checked + .switch-track {
  background: rgba(127, 251, 150, 0.18);
  border-color: rgba(127, 251, 150, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 16px rgba(127, 251, 150, 0.2);
}

.switch input:checked + .switch-track .switch-thumb {
  transform: translateX(18px);
  background: var(--primary);
}

.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(12, 22, 17, 0.7);
  display: grid;
  place-items: center;
  font-weight: 700;
  border: 1px solid rgba(127, 251, 150, 0.2);
}

.profile-avatar.has-image {
  background-size: cover;
  background-position: center;
  color: transparent;
}

.list-card {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: var(--radius-md);
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(127, 251, 150, 0.15);
  font-weight: 600;
}

.list-row:last-child {
  border-bottom: none;
}

button.list-row {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: var(--ink);
}

.list-row--link {
  padding: 10px 0;
  border-radius: 16px;
}

.list-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.list-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(127, 251, 150, 0.12);
  border: 1px solid rgba(127, 251, 150, 0.18);
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.list-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.list-arrow {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  flex: 0 0 auto;
}

.list-row--link:hover .list-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.contact-card {
  gap: 0;
}

.contact-row {
  text-decoration: none;
  color: var(--ink);
  border-radius: 16px;
  padding: 10px 0;
  overflow: hidden;
  min-width: 0;
}

a.contact-row:hover {
  text-decoration: none;
}

.contact-left {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.contact-left > :last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-icon {
  width: 34px;
  height: 34px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(127, 251, 150, 0.12);
  border: 1px solid rgba(127, 251, 150, 0.18);
  color: var(--primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-icon .ui-icon {
  width: 18px;
  height: 18px;
}

.contact-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 56%;
}

.contact-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
}

.contact-arrow {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

.contact-row:hover .contact-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.faq details {
  background: linear-gradient(180deg, rgba(14, 24, 18, 0.78), rgba(10, 18, 13, 0.72));
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(127, 251, 150, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-tight), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "›";
  font-size: 16px;
  line-height: 1;
  color: var(--muted);
  transform: rotate(90deg);
  transition: transform var(--dur-2) var(--ease-out);
}

.faq details[open] summary::after {
  transform: rotate(-90deg);
}

.tabbar {
  position: relative;
  max-width: 520px;
  width: min(520px, calc(100% - 32px));
  margin: 0 auto;
  margin-bottom: 0;
  z-index: 35;
  background: rgba(10, 18, 13, 0.84);
  border: 1px solid var(--glass-border-strong);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
  gap: 10px;
  border-radius: 20px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
}

.tabbar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 0%, rgba(127, 251, 150, 0.12), transparent 42%),
    radial-gradient(circle at 75% 0%, rgba(111, 215, 255, 0.1), transparent 40%);
  opacity: 0.55;
  pointer-events: none;
}

.tab {
  border: none;
  background: transparent;
  padding: 10px 6px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab-icon {
  width: 18px;
  height: 18px;
  opacity: 0.92;
}

.tab.is-active {
  background: rgba(127, 251, 150, 0.14);
  color: var(--primary);
  box-shadow: 0 0 0 1px rgba(127, 251, 150, 0.18), 0 0 16px rgba(127, 251, 150, 0.28);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.modal.is-open {
  display: block;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

.modal.is-open .modal-backdrop {
  animation: modalFadeIn var(--dur-2) var(--ease-out) both;
}

.modal.is-open .modal-sheet {
  animation: modalSheetIn var(--dur-2) var(--ease-out) both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-sheet {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(18, 34, 26, 0.92), rgba(10, 18, 13, 0.88));
  border: 1px solid var(--glass-border-strong);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 16px;
  max-height: calc(100vh - 32px - env(safe-area-inset-bottom));
  overflow: auto;
}

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

.modal-header h3 {
  margin: 0;
}

.modal-body {
  display: grid;
  gap: 12px;
}

.cart-total {
  text-align: right;
  padding: 0 4px;
}

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

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(12, 22, 17, 0.62);
  border: 1px solid rgba(200, 255, 218, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  flex: 0 0 auto;
}

.cart-meta {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cart-meta strong {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(7, 13, 10, 0.48);
  border: 1px solid rgba(200, 255, 218, 0.12);
}

.qty-value {
  width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.cart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.cart-actions > * {
  flex: 1 1 180px;
}

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

.filter-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(200, 255, 218, 0.16);
  background: rgba(12, 22, 17, 0.62);
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.filter-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.filter-option span {
  flex: 1;
  font-weight: 600;
}

.filter-option:hover {
  border-color: rgba(111, 215, 255, 0.22);
  background: rgba(18, 34, 26, 0.78);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.modal-actions > * {
  flex: 1 1 180px;
}

.qr-card {
  display: grid;
  gap: 12px;
}

.qr-frame {
  width: min(240px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  place-items: center;
}

.qr-frame svg {
  width: 100%;
  height: 100%;
}

.qr-code {
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin: 0;
}

@media (hover: hover) {
  .pill:hover {
    border-color: rgba(111, 215, 255, 0.22);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(111, 215, 255, 0.14);
  }

  .card:hover,
  .product-card:hover,
  .quick-tile:hover,
  .bonus-card:hover,
  .rules-banner:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 255, 218, 0.24);
  }

  .chip:hover {
    border-color: rgba(200, 255, 218, 0.24);
    transform: translateY(-1px);
  }

  .secondary:hover,
  .icon-button:hover {
    border-color: rgba(111, 215, 255, 0.22);
    background: rgba(18, 34, 26, 0.8);
    transform: translateY(-1px);
  }

  .bonus-qr:hover {
    border-color: rgba(111, 215, 255, 0.22);
    background: rgba(18, 34, 26, 0.86);
  }

  .primary:hover {
    filter: brightness(1.04) saturate(1.02);
    transform: translateY(-1px);
  }

  .tab:hover {
    color: rgba(238, 247, 241, 0.88);
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 420px) {
  .filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-row .chip:nth-child(3) {
    grid-column: 1 / -1;
  }

  .ref-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ref-row .secondary {
    width: 100%;
  }
}

@media (min-width: 768px) {
  html:not(.device-mobile) .main {
    max-width: 1080px;
    margin: 0 auto;
  }

  html:not(.device-mobile) .grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  html:not(.device-mobile) .topbar {
    max-width: 1080px;
    margin: 18px auto 12px;
  }

  html:not(.device-mobile) .hero-card {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }

  html:not(.device-mobile) .quick-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  html:not(.device-mobile) .tabbar {
    max-width: 820px;
    margin: 0 auto 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .view.is-active {
    animation: none;
  }

  [data-stagger] {
    transition: none;
  }

  :where(a, button, input, select, textarea, summary) {
    transition: none;
  }

  .modal.is-open .modal-backdrop,
  .modal.is-open .modal-sheet {
    animation: none;
  }
}
