:root {
  --bg: #f3f1ea;
  --panel: #ffffff;
  --panel-warm: #fbfaf6;
  --text: #151a18;
  --muted: #66706b;
  --line: #dedbd2;
  --accent: #245f8f;
  --accent-strong: #173a59;
  --accent-ink: #151722;
  --soft: #eef4fa;
  --warning: #8c5b08;
  --screen: #f8f6ef;
  --cream: #fffdf8;
  --shadow: 0 16px 38px rgba(25, 30, 27, 0.10);
  --shadow-tight: 0 7px 18px rgba(25, 30, 27, 0.11);
  --shadow-soft: 0 2px 8px rgba(25, 30, 27, 0.06);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, #fffcf4 0, var(--screen) 240px, var(--bg) 100%),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

.runtime-banner {
  position: fixed;
  z-index: 3200;
  top: calc(10px + env(safe-area-inset-top));
  left: 12px;
  right: 12px;
  border: 1px solid rgba(112, 69, 0, 0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffe79a, #ffc857);
  color: #221700;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(25, 30, 27, 0.22);
  pointer-events: none;
}

.app-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: calc(14px + env(safe-area-inset-top)) 14px 132px;
}

.brand-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 82px;
  gap: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid rgba(16, 36, 24, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(232, 241, 249, 0.92) 100%);
  box-shadow: var(--shadow);
  padding: 14px;
}

.brand-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.brand-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  border-radius: 8px;
  background: var(--accent-ink);
  color: #fff;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  align-self: start;
  width: 72px;
  height: 72px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, var(--accent-ink), var(--accent));
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), var(--shadow-tight);
}

.brand-mark span {
  font-size: 34px;
  font-weight: 860;
  line-height: 1;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: 26px;
  line-height: 1.12;
  font-weight: 840;
}

.brand-hero p {
  max-width: 440px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.34;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.hero-facts span {
  border: 1px solid rgba(36, 95, 143, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  color: #344139;
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 730;
  line-height: 1;
}

.mode-badge {
  flex: 0 0 auto;
  border-radius: 8px;
  background: #edf4fb;
  color: var(--accent-strong);
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 700;
}

.selector-panel {
  display: grid;
  gap: 13px;
}

.order-detail-screen .selector-panel {
  display: none;
}

.order-detail-screen .game-pass-panel {
  display: none;
}

.selector-panel .section-line {
  display: grid;
  gap: 4px;
}

.selector-panel .section-line strong {
  overflow-wrap: anywhere;
}

.section-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.section-line span,
.variant-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-transform: uppercase;
}

.section-line strong {
  font-size: 18px;
  line-height: 1.2;
}

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

.category-tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 74px;
  padding: 12px;
  background: linear-gradient(180deg, var(--panel-warm), #fff);
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.category-tab-copy,
.category-tab-copy strong,
.category-tab-copy span {
  display: block;
  min-width: 0;
}

.category-tab-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef1ec;
  font-size: 18px;
}

.category-tab-copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.category-tab-copy span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.category-tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-tight);
}

.category-tab.active span {
  color: rgba(255, 255, 255, 0.84);
}

.category-tab.active .category-tab-icon {
  background: rgba(255, 255, 255, 0.16);
}

.variant-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 2px;
}

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

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.mode-tabs button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.mode-tabs button {
  transition: none;
}

.tab,
button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  font-weight: 740;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

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

.tab {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: start;
  gap: 9px;
  min-width: 0;
  min-height: 62px;
  padding: 10px 12px;
  background: linear-gradient(180deg, var(--panel-warm), #fff);
  text-align: left;
  line-height: 1.15;
  white-space: normal;
}

.tab-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eef1ec;
  font-size: 17px;
}

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

.tab-title {
  min-width: 0;
}

.tab-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  line-height: 1.2;
}

.tab.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-tight);
}

.tab.active .tab-icon {
  background: rgba(255, 255, 255, 0.16);
}

.tab.active .tab-meta {
  color: rgba(255, 255, 255, 0.82);
}

.panel {
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  padding: 14px;
}

.experience-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 250, 0.84));
}

.experience-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.experience-head h2 {
  font-size: 22px;
}

.experience-head p {
  max-width: 620px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.32;
}

.experience-head button {
  flex: 0 0 auto;
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: #fff;
  padding: 0 16px;
}

.experience-head .secondary-link {
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
  padding: 0 4px;
  font-size: 13px;
  font-weight: 780;
}

.experience-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(228px, 1fr);
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.experience-rail::-webkit-scrollbar {
  display: none;
}

.experience-card {
  min-width: 0;
  scroll-snap-align: start;
}

.experience-card button {
  display: grid;
  grid-template-rows: 104px minmax(124px, auto);
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 0;
  background: var(--panel);
  text-align: left;
}

.experience-card button:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-tight);
  transform: translateY(-2px);
}

.experience-card button.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-tight);
}

.experience-image {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #17202a, #245f8f);
}

.experience-image img {
  width: min(150px, 78%);
  max-height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.18));
}

.experience-image span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-ink);
}

.experience-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 11px;
}

.experience-copy strong {
  font-size: 16px;
  line-height: 1.12;
}

.experience-copy em,
.experience-copy small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.34;
}

.experience-copy em {
  font-size: 14px;
  font-weight: 820;
  color: var(--accent-strong);
}

.experience-copy small {
  display: -webkit-box;
  overflow: hidden;
  min-height: 34px;
  font-size: 12px;
  font-weight: 650;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.experience-copy .included-line {
  min-height: 0;
  color: #48544e;
  -webkit-line-clamp: 3;
}

.experience-copy b {
  width: fit-content;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1;
}

.experience-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(248px, 0.8fr);
  gap: 12px;
  border: 1px solid rgba(36, 95, 143, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px;
}

.experience-detail-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.experience-detail-copy > span {
  width: fit-content;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.experience-detail h3 {
  font-size: 22px;
  line-height: 1.12;
}

.experience-detail p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.experience-detail-tags,
.soft-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.experience-detail-tags b,
.soft-terms span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
  padding: 6px 8px;
  color: #2c3632;
  font-size: 12px;
  font-weight: 740;
  line-height: 1.15;
}

.experience-detail-tags .muted {
  color: var(--muted);
}

.experience-detail-money {
  display: grid;
  gap: 8px;
  align-content: start;
}

.experience-detail-money dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.experience-detail-money div {
  min-width: 0;
}

.experience-detail-money dl div {
  display: grid;
  gap: 4px;
  background: var(--cream);
  padding: 9px;
}

.experience-detail-money dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.experience-detail-money dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 840;
  line-height: 1.15;
}

.soft-terms span {
  background: #f6f8f5;
}

#experienceSelectButton {
  width: 100%;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.single-rent-panel {
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.single-rent-panel p {
  max-width: 760px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.single-rent-panel .section-line {
  display: grid;
  gap: 4px;
}

.single-rent-panel .section-line strong {
  overflow-wrap: anywhere;
}

.single-rent-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.single-rent-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon meta";
  gap: 3px 9px;
  align-items: center;
  min-height: 68px;
  padding: 10px;
  background: var(--panel-warm);
  text-align: left;
}

.single-rent-card span {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
}

.single-rent-card strong {
  grid-area: title;
  min-width: 0;
  font-size: 14px;
  line-height: 1.15;
}

.single-rent-card em {
  grid-area: meta;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
  line-height: 1.2;
}

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

.trust-strip div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  padding: 10px;
}

.trust-strip strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-ink);
  color: #fff;
  font-size: 14px;
}

.trust-strip span {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.85fr);
  gap: 12px;
  align-items: start;
}

.detail-page-head {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.detail-page-head button {
  width: auto;
  min-width: 82px;
  border-color: var(--accent-ink);
  background: var(--accent-ink);
  color: #fff;
}

.detail-page-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.detail-page-head h2 {
  margin-top: 2px;
  font-size: 22px;
  line-height: 1.15;
}

.detail-page-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.32;
}

body:not(.order-detail-screen) .sticky-bar {
  display: none;
}

body:not(.order-detail-screen) .app-shell {
  padding-bottom: 24px;
}

.order-detail-screen .product-panel {
  grid-template-columns: 116px minmax(0, 1fr);
  min-height: 0;
  padding: 12px;
}

.order-detail-screen .product-visual {
  min-height: 104px;
}

.order-detail-screen .product-visual img {
  width: 112%;
  height: 112%;
}

.order-detail-screen .product-heading h2 {
  font-size: 20px;
}

.order-detail-screen .product-heading {
  grid-template-columns: 1fr;
  gap: 7px;
}

.order-detail-screen .mode-badge {
  justify-self: start;
}

.order-detail-screen .product-copy p {
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.32;
}

.order-detail-screen .item-list {
  gap: 5px;
  margin-top: 8px;
}

.order-detail-screen .item-list span {
  padding: 6px 8px;
  font-size: 12px;
}

.catalog-column,
.booking-rail {
  min-width: 0;
}

.booking-rail {
  position: sticky;
  top: 12px;
}

.catalog-filter-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-filter-line span {
  border: 1px solid rgba(36, 95, 143, 0.16);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 740;
  line-height: 1;
}

.below-flow {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
}

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

.ready-item {
  display: grid;
  grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
  padding: 12px;
}

.ready-item strong {
  font-size: 14px;
}

.ready-item span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.product-panel {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  background:
    linear-gradient(135deg, #ffffff 0%, #fbfaf6 58%, #eef6ee 100%);
}

.product-visual {
  display: grid;
  place-items: center;
  min-height: 124px;
  border-radius: 8px;
  background: linear-gradient(145deg, #16231c, #287446);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  font-size: 52px;
}

.product-visual.has-photo {
  background:
    linear-gradient(180deg, rgba(8, 122, 61, 0.08), rgba(8, 122, 61, 0.24)),
    url("./assets/xbox-series-s.png") center / cover;
}

.product-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

h2 {
  font-size: 23px;
  line-height: 1.15;
}

.product-copy p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.item-list span {
  border-radius: 8px;
  background: var(--soft);
  padding: 7px 9px;
  color: #344139;
  font-size: 13px;
  font-weight: 650;
}

.extra-fields,
.soft-rules {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
  padding: 10px 11px;
}

.extra-fields summary,
.soft-rules summary {
  cursor: pointer;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 820;
  line-height: 1.2;
}

.extra-fields[open],
.soft-rules[open] {
  display: grid;
  gap: 10px;
}

.soft-rules ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

h3 {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
}

.variant-head h3,
.pricing-panel h3 {
  margin-bottom: 0;
}

.quantity-block {
  margin-bottom: 14px;
}

.quantity-grid,
.duration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 8px;
}

.quantity-grid button.active,
.duration-grid button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-tight);
}

.quantity-grid button,
.duration-grid button {
  background: linear-gradient(180deg, #fff, var(--panel-warm));
}

.price-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 10px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.price-summary div {
  min-width: 0;
  background: #fbfcfb;
  padding: 12px;
}

dt {
  color: var(--muted);
  font-size: 13px;
}

dd {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 790;
  line-height: 1.15;
}

.pricing-panel {
  display: grid;
  gap: 12px;
}

.pay-now {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--accent-ink), var(--accent-strong));
  color: #fff;
  padding: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.pay-now span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 760;
}

.pay-now strong {
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}

.pay-now small {
  grid-column: 1 / -1;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.3;
}

.payment-guide {
  display: grid;
  gap: 9px;
  border: 1px solid rgba(36, 95, 143, 0.18);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 11px;
}

.payment-guide-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.payment-guide-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.payment-guide-head strong {
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
}

.payment-guide p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-guide-methods {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.payment-guide-methods span {
  display: grid;
  place-items: center;
  gap: 5px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 7px 5px;
  color: #33413a;
  font-size: 10px;
  font-weight: 760;
  line-height: 1.1;
  text-align: center;
}

.payment-guide-methods img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.payment-guide-methods .cash {
  background: #fff8e9;
  color: var(--warning);
}

.form-panel {
  display: grid;
  gap: 11px;
}

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

.choice-block > strong {
  font-size: 14px;
}

.segmented,
.date-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.segmented button,
.date-picks button {
  min-height: 38px;
  background: linear-gradient(180deg, #fff, var(--panel-warm));
  padding: 8px 10px;
  font-size: 13px;
}

.segmented button.active,
.date-picks button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.date-picks-empty {
  color: var(--muted);
  font-size: 13px;
}

.booking-calendar {
  display: grid;
  gap: 10px;
  width: 100%;
}

.calendar-head {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 8px;
  align-items: center;
}

.calendar-head strong {
  text-align: center;
  font-size: 16px;
  text-transform: capitalize;
}

.calendar-head button {
  display: grid;
  place-items: center;
  min-height: 38px;
  padding: 0;
}

.calendar-head svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-align: center;
}

.calendar-cell {
  min-width: 0;
  min-height: 48px;
  border-radius: 14px;
  padding: 6px 3px;
  text-align: center;
}

.calendar-cell strong,
.calendar-cell span {
  display: block;
}

.calendar-cell strong {
  font-size: 14px;
}

.calendar-cell span {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 760;
}

.calendar-cell.empty {
  min-height: 48px;
}

.calendar-cell.unavailable {
  opacity: 0.42;
}

.calendar-footer {
  display: grid;
  gap: 8px;
}

.calendar-footer > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.calendar-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.check-line {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 9px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.check-line input {
  width: auto;
  margin-top: 2px;
}

.section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.cabinet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #eef6ee 100%);
}

.cabinet-head p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.cabinet-head button {
  min-width: 132px;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cabinet-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.cabinet-head-actions button {
  min-width: 132px;
}

.cabinet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 12px;
}

.cabinet-order {
  display: grid;
  gap: 14px;
}

.cabinet-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.cabinet-summary div {
  min-width: 0;
  background: var(--cream);
  padding: 13px;
}

.status-rail {
  display: grid;
  gap: 10px;
}

.status-step {
  position: relative;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
  padding: 11px 12px 11px 34px;
}

.status-step::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 13px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.status-step.done::before,
.status-step.active::before {
  border-color: var(--accent);
  background: var(--accent);
}

.status-step.active {
  border-color: rgba(33, 122, 67, 0.36);
  background: var(--soft);
}

.status-step strong {
  font-size: 14px;
}

.status-step span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.cabinet-actions {
  display: grid;
  gap: 12px;
}

.customer-bookings {
  display: grid;
  gap: 10px;
}

.customer-booking-card {
  display: grid;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--panel-warm));
  padding: 12px;
}

.customer-booking-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.customer-booking-head strong,
.customer-booking-head span {
  display: block;
}

.customer-booking-head strong {
  font-size: 15px;
}

.customer-booking-head span,
.customer-booking-meta,
.customer-booking-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.customer-booking-head em {
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
  text-align: right;
}

.customer-booking-money {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.customer-booking-money div {
  min-width: 0;
  background: #fff;
  padding: 10px;
}

.customer-booking-money dd {
  font-size: 15px;
}

.customer-booking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-booking-note {
  margin: 0;
  border-left: 3px solid rgba(33, 122, 67, 0.28);
  padding-left: 9px;
}

.customer-actions {
  margin-top: 0;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-waiting {
  display: grid;
  gap: 4px;
  border: 1px solid rgba(36, 95, 143, 0.18);
  border-radius: 8px;
  background: #eef4fa;
  padding: 10px;
}

.payment-waiting strong {
  color: var(--accent-strong);
  font-size: 14px;
}

.payment-waiting span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-due {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(36, 95, 143, 0.18);
  border-radius: 8px;
  background: #fbfcfb;
  padding: 11px;
}

.payment-due-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
}

.payment-due-head strong,
.payment-due-head span {
  display: block;
}

.payment-due-head strong {
  font-size: 15px;
}

.payment-due-head span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-due-head em {
  color: var(--accent-strong);
  font-size: 15px;
  font-style: normal;
  font-weight: 820;
  white-space: nowrap;
}

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

.payment-qr-card {
  display: grid;
  gap: 7px;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.payment-qr-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  background: var(--panel-warm);
  object-fit: contain;
}

.payment-qr-card figcaption {
  display: grid;
  gap: 3px;
}

.payment-qr-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.payment-qr-card span,
.payment-cash-box span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.32;
}

.payment-cash-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(140, 91, 8, 0.28);
  border-radius: 8px;
  background: #fff8e9;
  padding: 10px;
}

.payment-cash-box strong,
.payment-cash-box span {
  display: block;
}

.payment-cash-box button {
  min-width: 154px;
  border-color: rgba(140, 91, 8, 0.36);
  background: #fff;
  color: var(--warning);
  font-size: 12px;
}

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

.action-grid button {
  min-height: 58px;
  background: linear-gradient(180deg, #fff, var(--panel-warm));
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  padding: 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(33, 122, 67, 0.68);
  box-shadow: 0 0 0 3px rgba(33, 122, 67, 0.12);
}

input.invalid,
textarea.invalid {
  border-color: #b42318;
  background: #fff7f5;
}

.form-error {
  display: none;
  border-radius: 8px;
  background: #fff0ed;
  color: #9c1c12;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.form-error.visible {
  display: block;
}

textarea {
  resize: vertical;
}

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

.ready-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

.ready-item strong {
  display: block;
  font-size: 15px;
}

.ready-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.terms-panel {
  display: grid;
  gap: 12px;
}

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

.terms-summary span {
  border: 1px solid rgba(36, 95, 143, 0.16);
  border-radius: 8px;
  background: var(--soft);
  color: var(--accent-strong);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 760;
  line-height: 1.3;
}

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

.terms-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
}

.terms-card summary {
  cursor: pointer;
  list-style: none;
  padding: 13px 14px;
  font-size: 15px;
  font-weight: 820;
  line-height: 1.25;
}

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

.terms-card summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 860;
}

.terms-card[open] summary::after {
  content: "−";
}

.terms-card div {
  border-top: 1px solid var(--line);
  padding: 12px 14px 14px;
}

.terms-card p {
  color: #2d3733;
  font-size: 13px;
  line-height: 1.45;
}

.terms-card p + p {
  margin-top: 10px;
}

.manual {
  color: var(--warning);
  font-size: 13px;
  font-weight: 760;
}

.sticky-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
  gap: 10px;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 28px rgba(25, 30, 27, 0.10);
}

.sticky-bar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.sticky-bar strong {
  display: block;
  margin-top: 3px;
  font-size: 19px;
  line-height: 1.1;
}

#submitButton {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow-tight);
}

#submitButton:active {
  background: var(--accent-strong);
}

.operator-head {
  border: 1px solid rgba(16, 36, 24, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-ink), var(--accent-strong));
  color: #fff;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.operator-head p {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.operator-head button {
  min-width: 116px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, var(--panel-warm));
  padding: 14px;
  box-shadow: var(--shadow);
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 26px;
}

.operator-filter-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}

.operator-filter-grid button {
  min-height: 40px;
  padding: 8px;
  font-size: 12px;
}

.operator-filter-grid button.active,
.calendar-month-grid button.available {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

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

.operator-list-result,
.calendar-day-journal {
  margin-top: 12px;
}

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

.calendar-month-grid button {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 7px 5px;
  background: #fff;
}

.calendar-month-grid button.busy {
  color: var(--muted);
  background: var(--panel-warm);
}

.calendar-month-grid strong,
.calendar-month-grid span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.calendar-month-grid span {
  font-size: 10px;
  font-weight: 700;
}

.ops-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

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

.ops-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px;
}

.ops-row strong,
.ops-row span {
  display: block;
}

.ops-row strong {
  font-size: 14px;
}

.ops-row span,
.empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

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

.ops-actions button {
  min-height: 34px;
  border-color: rgba(33, 122, 67, 0.26);
  background: var(--soft);
  color: var(--accent-strong);
  padding: 7px 9px;
  font-size: 12px;
  font-weight: 780;
}

.ops-actions button:disabled {
  opacity: 0.48;
}

.open-detail {
  min-height: 30px;
  margin-top: 8px;
  padding: 6px 9px;
  border-color: rgba(33, 122, 67, 0.26);
  background: #fff;
  color: var(--accent-strong);
  font-size: 12px;
}

.operator-detail {
  display: grid;
  gap: 12px;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.detail-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.detail-head button {
  min-width: 96px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.detail-grid div {
  min-width: 0;
  background: #fff;
  padding: 10px;
}

.detail-notes {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.detail-notes p {
  overflow-wrap: anywhere;
}

.detail-block {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-warm);
  padding: 10px;
}

.detail-block strong {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
}

.detail-block pre {
  overflow-x: auto;
  margin: 7px 0 0;
  white-space: pre-wrap;
  font: inherit;
  color: var(--text);
}

.ops-row em {
  color: var(--accent-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 760;
  text-align: right;
}

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

.compact-row {
  min-height: 74px;
}

.operator-message {
  color: var(--warning);
  font-weight: 740;
}

.operator-mode .sticky-bar,
.cabinet-mode .sticky-bar {
  display: none;
}

.modal-open {
  overflow: hidden;
}

.app-modal-root {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 13, 10, 0.56);
  backdrop-filter: blur(8px);
}

.app-modal {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: min(520px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
  padding: 16px;
  animation: modal-in 0.22s ease both;
}

.app-modal p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.app-modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.app-modal-actions [data-modal-confirm] {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

body[data-theme="dark"] .app-modal-actions [data-modal-confirm] {
  color: #07100c;
}

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

.operator-locked .operator-data {
  display: none;
}

@media (max-width: 520px) {
  .app-shell {
    padding-right: 10px;
    padding-left: 10px;
  }

  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 10px;
    padding: 14px;
  }

  h1 {
    font-size: 23px;
  }

  .brand-hero p {
    font-size: 14px;
  }

  .brand-kicker {
    font-size: 11px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-mark span {
    font-size: 26px;
  }

  .hero-facts {
    gap: 6px;
  }

  .hero-facts span {
    padding: 7px 8px;
  }

  .category-tabs,
  .tabs,
  .terms-summary,
  .terms-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-tab {
    min-height: 66px;
    padding: 11px;
  }

  .category-tab-icon {
    width: 30px;
    height: 30px;
  }

  .tab {
    min-height: 58px;
    font-size: 15px;
    padding: 10px;
  }

  .product-panel {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .product-visual {
    min-height: 96px;
    font-size: 42px;
  }

  .product-heading {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mode-badge {
    justify-self: start;
    padding: 7px 9px;
    font-size: 12px;
  }

  h2 {
    font-size: 22px;
  }

  .price-summary div {
    padding: 10px 8px;
  }

  dt {
    font-size: 12px;
  }

  dd {
    font-size: 15px;
  }

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

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

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

  .cabinet-head {
    display: grid;
  }

  .cabinet-head-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cabinet-head button {
    width: 100%;
  }

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

  .compact-list {
    grid-template-columns: 1fr;
  }

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

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

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

  .payment-cash-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .payment-cash-box button {
    width: 100%;
  }

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

  .sticky-bar {
    grid-template-columns: minmax(0, 1fr) minmax(140px, 1fr);
    align-items: center;
  }
}

@media (max-width: 360px) {
  .brand-hero {
    display: grid;
    grid-template-columns: 1fr;
  }

  .brand-mark {
    justify-self: start;
  }

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

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

  .product-visual {
    min-height: 120px;
  }

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

  .mode-tabs,
  .cabinet-summary,
  .customer-booking-head,
  .customer-booking-money,
  .payment-qr-grid,
  .detail-head,
  .detail-grid,
  .action-grid {
    grid-template-columns: 1fr;
  }

  .sticky-bar {
    grid-template-columns: 1fr;
  }
}

:root {
  --bg: #ece8dc;
  --panel: #fffdf7;
  --panel-warm: #f8f2e5;
  --text: #151816;
  --muted: #626b66;
  --line: rgba(25, 30, 27, 0.14);
  --accent: #245f8f;
  --accent-strong: #173a59;
  --accent-ink: #151722;
  --accent-2: #ce5b3c;
  --accent-3: #2c78a8;
  --gold: #d79b2d;
  --soft: #eef4fa;
  --warning: #966410;
  --screen: #f6f1e6;
  --cream: #fffaf0;
  --shadow: 0 18px 44px rgba(19, 24, 22, 0.12);
  --shadow-tight: 0 10px 24px rgba(19, 24, 22, 0.15);
  --shadow-soft: 0 5px 14px rgba(19, 24, 22, 0.08);
  --focus: rgba(36, 95, 143, 0.24);
  --hero: linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(232, 241, 249, 0.92) 52%, rgba(255, 239, 228, 0.94));
  --surface-gradient: linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(248, 242, 229, 0.96));
}

body[data-theme="dark"] {
  --bg: #101512;
  --panel: #161d19;
  --panel-warm: #1d251f;
  --text: #f3f1e8;
  --muted: #a5b0aa;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #7db8f0;
  --accent-strong: #b5d7f7;
  --accent-ink: #0b1320;
  --accent-2: #f08864;
  --accent-3: #74c7f5;
  --gold: #e4b756;
  --soft: rgba(125, 184, 240, 0.14);
  --warning: #e4b756;
  --screen: #0e1512;
  --cream: #121a16;
  --shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  --shadow-tight: 0 10px 28px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 5px 16px rgba(0, 0, 0, 0.26);
  --focus: rgba(125, 184, 240, 0.24);
  --hero: linear-gradient(145deg, rgba(26, 30, 38, 0.98), rgba(16, 24, 36, 0.96) 50%, rgba(34, 28, 26, 0.96));
  --surface-gradient: linear-gradient(180deg, rgba(22, 29, 25, 0.98), rgba(29, 37, 31, 0.96));
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  background:
    linear-gradient(180deg, var(--screen) 0, var(--bg) 440px, var(--bg) 100%),
    repeating-linear-gradient(90deg, rgba(20, 31, 26, 0.035) 0 1px, transparent 1px 92px),
    var(--bg);
  transition: background-color 0.24s ease, color 0.24s ease;
}

.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-3));
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 3px 18px rgba(23, 109, 68, 0.28);
}

.app-shell {
  padding-top: calc(18px + env(safe-area-inset-top));
}

.brand-hero {
  grid-template-columns: minmax(0, 1fr) 170px;
  min-height: 214px;
  gap: 18px;
  background: var(--hero);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.brand-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 36%),
    repeating-linear-gradient(135deg, rgba(23, 109, 68, 0.05) 0 1px, transparent 1px 18px);
  pointer-events: none;
}

.brand-copy {
  align-self: center;
  padding-right: 6px;
}

.brand-stage {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 172px;
}

.brand-stage img {
  position: absolute;
  right: -56px;
  bottom: -40px;
  width: 258px;
  max-width: none;
  filter: drop-shadow(0 20px 20px rgba(13, 36, 25, 0.18));
  transform: rotate(-4deg);
}

.brand-mark {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 58px;
  height: 58px;
  background: linear-gradient(145deg, var(--accent-ink), var(--accent), var(--accent-3));
}

.theme-toggle {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .theme-toggle {
  background: rgba(12, 18, 15, 0.72);
}

.theme-toggle-icon {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-ink);
  box-shadow: inset -6px -4px 0 var(--gold);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

body[data-theme="dark"] .theme-toggle-icon {
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(228, 183, 86, 0.18);
  transform: rotate(135deg);
}

h1 {
  font-size: 31px;
  line-height: 1.06;
}

.hero-facts span,
.item-list span,
.mode-badge {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.64);
  color: var(--text);
  backdrop-filter: blur(10px);
}

body[data-theme="dark"] .hero-facts span,
body[data-theme="dark"] .item-list span,
body[data-theme="dark"] .mode-badge {
  background: rgba(255, 255, 255, 0.07);
}

.mode-tabs {
  position: sticky;
  z-index: 40;
  top: 7px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

body[data-theme="dark"] .mode-tabs {
  background: rgba(14, 21, 18, 0.76);
}

.mode-tabs button {
  border-color: transparent;
  background: transparent;
}

.mode-tabs button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: var(--shadow-tight);
}

body[data-theme="dark"] .mode-tabs button.active {
  color: #07100c;
}

.panel,
.metric,
.customer-booking-card,
.ops-row,
.ready-item,
.status-step,
.detail-block {
  background: var(--surface-gradient);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 16px;
}

.selector-panel {
  gap: 14px;
}

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

.category-tab {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 10px;
  min-height: 122px;
  padding: 12px;
  background: var(--surface-gradient);
  overflow: hidden;
}

.category-tab::after,
.tab::after,
.product-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  opacity: 0;
  transform: translateX(-90%);
  pointer-events: none;
}

.category-tab,
.tab,
.product-panel,
.metric,
.ops-row,
.customer-booking-card {
  position: relative;
}

.category-tab-mark,
.tab-icon,
.metric span svg,
.item-list svg {
  color: currentColor;
}

.category-tab-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent-strong);
}

.category-tab-mark svg,
.tab-icon svg,
.metric svg,
.item-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-tab-copy strong {
  font-size: 15px;
}

.category-tab-copy span {
  font-size: 12px;
}

.category-tab.active {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.category-tab.active .category-tab-mark {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

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

.tab {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  min-height: 96px;
  padding: 10px;
  background: var(--surface-gradient);
  overflow: hidden;
}

.tab-media {
  position: relative;
  display: block;
  width: 82px;
  height: 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.tab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  transition: transform 0.2s ease;
}

.tab-icon {
  position: absolute;
  right: 5px;
  bottom: 5px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(13, 36, 25, 0.82);
  color: #fff;
  backdrop-filter: blur(8px);
}

.tab-icon svg {
  width: 16px;
  height: 16px;
}

.tab-title {
  font-size: 15px;
  line-height: 1.18;
}

.tab.active {
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
}

.tab.active .tab-media {
  border-color: rgba(255, 255, 255, 0.28);
}

.tab:hover,
.category-tab:hover,
.metric:hover,
.customer-booking-card:hover,
.ops-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-tight);
}

.tab:hover .tab-media img {
  transform: scale(1.25);
}

.tab:hover::after,
.category-tab:hover::after,
.product-panel:hover::after {
  opacity: 1;
  transform: translateX(90%);
  transition: transform 0.62s ease, opacity 0.18s ease;
}

.product-panel {
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 246px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(245, 239, 223, 0.94) 48%, rgba(232, 246, 238, 0.96));
  overflow: hidden;
}

body[data-theme="dark"] .product-panel {
  background:
    linear-gradient(135deg, rgba(22, 29, 25, 0.98), rgba(29, 37, 31, 0.94) 48%, rgba(24, 38, 45, 0.96));
}

.product-visual {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(23, 109, 68, 0.16), rgba(215, 155, 45, 0.13), rgba(44, 120, 168, 0.14));
  z-index: -1;
}

.product-visual img {
  width: 118%;
  height: 118%;
  max-width: none;
  object-fit: cover;
  transform: rotate(-2deg) scale(1.02);
  filter: drop-shadow(0 14px 18px rgba(12, 28, 20, 0.18));
}

.visual-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(14, 22, 18, 0.72);
  color: #fff;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 790;
  line-height: 1.15;
  backdrop-filter: blur(14px);
}

.product-heading {
  align-items: center;
}

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

.item-list span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.item-list svg {
  width: 15px;
  height: 15px;
  color: var(--accent-strong);
  stroke-width: 2.1;
}

.optional-list span {
  background: color-mix(in srgb, var(--accent-2) 10%, var(--panel));
  color: var(--muted);
}

.game-pass-panel {
  display: grid;
  gap: 12px;
}

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

.game-pass-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent),
    var(--surface-gradient);
  padding: 12px;
}

.game-pass-card strong,
.game-pass-card span {
  display: block;
  min-width: 0;
}

.game-pass-card strong {
  margin-bottom: 7px;
  font-size: 14px;
}

.game-pass-card span,
.game-pass-source {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.game-pass-source a {
  color: var(--accent-strong);
  font-weight: 760;
}

.inventory-row {
  align-items: start;
}

.inventory-components {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.inventory-components span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 8%, var(--panel));
  color: var(--muted);
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.2;
}

.calendar-action-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.calendar-action-bar button {
  width: auto;
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.checklist-preview ul {
  display: grid;
  gap: 5px;
  margin: 6px 0 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.pricing-panel,
.form-panel,
.cabinet-actions,
.operator-detail {
  gap: 14px;
}

.quantity-grid button,
.duration-grid button,
.segmented button,
.date-picks button,
.action-grid button,
.operator-filter-grid button,
.ops-actions button,
.open-detail,
.cabinet-head button,
#submitButton,
#operatorRefreshButton {
  position: relative;
  overflow: hidden;
}

button:hover {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--line));
  box-shadow: var(--shadow-soft);
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.quantity-grid button.active,
.duration-grid button.active,
.segmented button.active,
.date-picks button.active,
.operator-filter-grid button.active,
.calendar-month-grid button.available {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

body[data-theme="dark"] .quantity-grid button.active,
body[data-theme="dark"] .duration-grid button.active,
body[data-theme="dark"] .segmented button.active,
body[data-theme="dark"] .date-picks button.active,
body[data-theme="dark"] .operator-filter-grid button.active,
body[data-theme="dark"] .calendar-month-grid button.available,
body[data-theme="dark"] #submitButton {
  color: #07100c;
}

.pay-now {
  background: linear-gradient(135deg, var(--accent-ink), var(--accent), var(--accent-3));
}

.price-summary,
.cabinet-summary,
.customer-booking-money,
.detail-grid {
  border-color: var(--line);
  background: var(--line);
}

.price-summary div,
.cabinet-summary div,
.customer-booking-money div,
.detail-grid div,
.calendar-month-grid button,
input,
textarea {
  background: var(--cream);
}

.sticky-bar {
  background: color-mix(in srgb, var(--panel) 84%, transparent);
  backdrop-filter: blur(18px);
}

.cabinet-head {
  background: var(--hero);
}

.status-step::before {
  background: var(--panel);
}

.operator-head {
  background: linear-gradient(135deg, var(--accent-ink), var(--accent), var(--accent-3));
  box-shadow: var(--shadow-tight);
}

.metric {
  min-height: 112px;
  overflow: hidden;
}

.metric span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.metric svg {
  width: 18px;
  height: 18px;
  color: var(--accent-strong);
}

.metric strong {
  line-height: 1;
}

.ops-row {
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.calendar-month-grid button {
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.calendar-month-grid button:hover {
  transform: translateY(-2px);
}

.reveal-ready {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.order-mode .panel.reveal-ready,
body.order-mode .category-tab.reveal-ready,
body.order-mode .tab.reveal-ready {
  opacity: 1;
  transform: none;
}

.mode-transition #customerView,
.mode-transition #cabinetView,
.mode-transition #operatorView {
  animation: view-in 0.32s ease both;
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .app-shell {
    width: min(720px, 100%);
    padding-top: calc(8px + env(safe-area-inset-top));
  }

  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 86px;
    min-height: 142px;
    margin-bottom: 8px;
  }

  .experience-head {
    display: grid;
    align-items: start;
  }

  .experience-head button {
    width: 100%;
  }

  .experience-rail {
    grid-auto-columns: minmax(218px, 78%);
  }

  .experience-detail {
    grid-template-columns: 1fr;
  }

  .experience-detail-money dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

  .detail-page-head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .detail-page-head button {
    width: auto;
  }

  .booking-rail {
    position: static;
  }

  .brand-stage img {
    right: -76px;
    bottom: -42px;
    width: 196px;
  }

  .theme-toggle {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

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

  .category-tab {
    min-height: 94px;
  }

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

  .product-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .order-detail-screen .product-panel {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .product-visual {
    min-height: 208px;
  }

  .order-detail-screen .product-visual {
    min-height: 88px;
  }

  .game-pass-grid {
    grid-template-columns: 1fr;
  }

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

  .ready-item {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 25px;
  }

  .brand-hero {
    grid-template-columns: minmax(0, 1fr) 72px;
    min-height: 0;
    padding-right: 14px;
  }

  .brand-copy {
    padding-right: 0;
  }

  .brand-stage {
    min-height: 88px;
  }

  .brand-stage img {
    right: -84px;
    bottom: -44px;
    width: 180px;
  }

  .brand-mark {
    left: 0;
    right: auto;
    top: auto;
    bottom: 10px;
    width: 48px;
    height: 48px;
  }

  .category-tabs {
    grid-template-columns: 1fr;
  }

  .category-tab {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 70px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .single-rent-rail {
    grid-template-columns: 1fr;
  }

  .product-visual {
    min-height: 180px;
  }

  .order-detail-screen .product-panel {
    grid-template-columns: 1fr;
  }

  .order-detail-screen .product-visual {
    min-height: 126px;
  }

  .tab {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .experience-detail-money dl {
    grid-template-columns: 1fr;
  }

  .tab-media {
    width: 72px;
    height: 66px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal-ready {
    opacity: 1;
    transform: none;
  }
}

/* Premium Telegram Mini App order/vitrine skin */
body.order-mode {
  --bg: #06110d;
  --panel: rgba(13, 28, 22, 0.72);
  --panel-warm: rgba(19, 42, 32, 0.66);
  --text: #f5f8ef;
  --muted: rgba(229, 239, 222, 0.68);
  --line: rgba(232, 205, 154, 0.18);
  --accent: #d3a85f;
  --accent-strong: #ffe0a3;
  --accent-ink: #07120d;
  --soft: rgba(211, 168, 95, 0.14);
  --warning: #ffd783;
  --screen: #07120e;
  --cream: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --shadow-tight: 0 18px 42px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.28);
  min-height: 100dvh;
  background:
    radial-gradient(circle at 18% 4%, rgba(112, 217, 123, 0.34), transparent 34%),
    radial-gradient(circle at 84% 12%, rgba(185, 255, 119, 0.16), transparent 28%),
    linear-gradient(180deg, #082018 0%, #06110d 46%, #030806 100%);
  color: var(--text);
}

body.order-mode::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 22px);
  pointer-events: none;
}

body.order-mode .scroll-progress {
  background: linear-gradient(90deg, #9de35c, #d8ff91, #46c181);
  box-shadow: 0 0 22px rgba(157, 227, 92, 0.45);
}

body.order-mode .app-shell {
  width: min(430px, 100%);
  padding: calc(12px + env(safe-area-inset-top)) 14px 132px;
}

body.order-mode .brand-hero,
body.order-mode .mode-tabs,
body.order-mode .experience-panel,
body.order-mode .panel,
body.order-mode .detail-page-head,
body.order-mode .sticky-bar {
  border: 1px solid rgba(230, 255, 215, 0.14);
  background: rgba(12, 28, 21, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

body.order-mode .brand-hero {
  display: block;
  min-height: 470px;
  margin-bottom: 12px;
  padding: 22px 18px 18px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(4, 12, 9, 0.06) 0%, rgba(4, 12, 9, 0.16) 34%, rgba(4, 12, 9, 0.78) 100%),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover,
    #07120e;
  overflow: hidden;
}

body.order-mode .brand-hero::before {
  background:
    radial-gradient(circle at 52% 42%, rgba(255, 224, 163, 0.14), transparent 32%),
    linear-gradient(180deg, transparent 0%, rgba(5, 12, 9, 0.48) 72%);
}

body.order-mode .brand-copy {
  display: flex;
  position: relative;
  z-index: 2;
  min-height: 430px;
  flex-direction: column;
  justify-content: flex-end;
}

body.order-mode .brand-stage,
body.order-mode .brand-mark {
  display: none;
}

.location-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.42);
  color: rgba(247, 255, 239, 0.92);
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 820;
  line-height: 1;
  backdrop-filter: blur(16px);
}

body.order-mode h1 {
  max-width: 330px;
  color: #fff;
  font-size: 39px;
  line-height: 0.96;
  text-wrap: balance;
}

body.order-mode .brand-hero p {
  max-width: 342px;
  margin-top: 10px;
  color: rgba(246, 255, 238, 0.82);
  font-size: 15px;
  line-height: 1.42;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin-top: 14px;
}

body.order-mode .hero-actions button,
body.order-mode #submitButton {
  min-height: 49px;
  border: 1px solid rgba(255, 224, 163, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 217, 145, 0.96), rgba(190, 131, 62, 0.96));
  color: #15100a;
  box-shadow: 0 16px 36px rgba(174, 117, 55, 0.28);
  font-weight: 850;
}

body.order-mode .hero-actions .telegram-button {
  border-color: rgba(230, 255, 215, 0.2);
  background: rgba(5, 15, 11, 0.58);
  color: #f8fff0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.2);
}

body.order-mode .hero-facts {
  margin-top: 12px;
}

body.order-mode .hero-facts span,
body.order-mode .category-chips button,
body.order-mode .catalog-filter-line span,
body.order-mode .item-list span,
body.order-mode .mode-badge,
body.order-mode .terms-summary span {
  border: 1px solid rgba(230, 255, 215, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 255, 239, 0.82);
  backdrop-filter: blur(16px);
}

body.order-mode .mode-tabs {
  position: static;
  z-index: auto;
  top: 8px;
  gap: 4px;
  padding: 5px;
  border-radius: 22px;
  background: rgba(9, 24, 18, 0.72);
}

body.order-mode .mode-tabs button {
  min-height: 46px;
  border-radius: 18px;
  color: rgba(247, 255, 239, 0.72);
}

body.order-mode .mode-tabs button.active {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

body.order-mode .theme-toggle {
  border-radius: 999px;
  background: rgba(8, 18, 13, 0.42);
}

body.order-mode .experience-panel {
  gap: 13px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(15, 36, 27, 0.74), rgba(8, 20, 15, 0.78));
  padding: 16px;
}

body.order-mode .experience-head {
  align-items: start;
}

body.order-mode .experience-head h2 {
  color: #fff;
  font-size: 28px;
  line-height: 1.02;
}

body.order-mode .experience-head p {
  color: var(--muted);
}

body.order-mode .experience-head .secondary-link {
  width: auto;
  min-height: 34px;
  border-radius: 999px;
  border-color: rgba(240, 211, 154, 0.24);
  background: rgba(240, 211, 154, 0.10);
  color: #f0d39a;
  padding: 0 12px;
}

.scenario-selector {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 70px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  text-align: left;
  padding: 13px 15px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.11);
}

.scenario-selector span {
  color: rgba(245, 255, 237, 0.58);
  font-size: 12px;
  font-weight: 780;
  text-transform: uppercase;
}

.scenario-selector strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.24;
}

.category-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 1px;
  scrollbar-width: none;
}

.category-chips::-webkit-scrollbar {
  display: none;
}

.category-chips button {
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 760;
}

body.order-mode .experience-rail {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: 1fr;
  gap: 12px;
  overflow: visible;
}

body.order-mode .experience-card button {
  grid-template-rows: 186px auto;
  min-height: 296px;
  border-radius: 26px;
  border-color: rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.06);
  color: #fff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

body.order-mode .experience-card.featured button {
  grid-template-rows: 332px auto;
  min-height: 520px;
}

body.order-mode .experience-image {
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0), rgba(4, 10, 7, 0.38)),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover;
}

body.order-mode .experience-card.featured .experience-image {
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0), rgba(4, 10, 7, 0.26)),
    url("./assets/promos/scenario-full-setup-clean.svg") center 58% / cover;
}

body.order-mode .experience-card[data-tone="cinema"] .experience-image {
  background:
    linear-gradient(180deg, rgba(6, 16, 18, 0.04), rgba(7, 16, 14, 0.58)),
    radial-gradient(circle at 70% 24%, rgba(169, 236, 255, 0.42), transparent 28%),
    linear-gradient(135deg, rgba(10, 48, 42, 0.72), rgba(18, 59, 72, 0.78)),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover;
}

body.order-mode .experience-card[data-tone="lounge"] .experience-image {
  background:
    linear-gradient(180deg, rgba(6, 16, 12, 0.08), rgba(7, 16, 14, 0.56)),
    radial-gradient(circle at 62% 20%, rgba(255, 207, 142, 0.34), transparent 30%),
    linear-gradient(135deg, rgba(24, 53, 31, 0.74), rgba(58, 42, 35, 0.78)),
    url("./assets/promos/scenario-full-setup-clean.svg") 35% 50% / cover;
}

body.order-mode .experience-card[data-tone="nature"] .experience-image {
  background:
    linear-gradient(180deg, rgba(6, 16, 12, 0.04), rgba(7, 16, 14, 0.56)),
    radial-gradient(circle at 40% 22%, rgba(215, 255, 135, 0.38), transparent 32%),
    linear-gradient(135deg, rgba(10, 42, 31, 0.72), rgba(53, 91, 39, 0.76)),
    url("./assets/promos/scenario-full-setup-clean.svg") 62% 44% / cover;
}

body.order-mode .experience-card[data-tone="music"] .experience-image {
  background:
    linear-gradient(180deg, rgba(6, 16, 12, 0.06), rgba(7, 16, 14, 0.58)),
    radial-gradient(circle at 70% 25%, rgba(255, 221, 128, 0.34), transparent 32%),
    linear-gradient(135deg, rgba(11, 36, 29, 0.72), rgba(58, 51, 32, 0.78)),
    url("./assets/promos/scenario-full-setup-clean.svg") 58% 52% / cover;
}

body.order-mode .experience-image img {
  width: min(190px, 70%);
  max-height: 150px;
  opacity: 0.96;
  filter: drop-shadow(0 22px 24px rgba(0, 0, 0, 0.34));
}

body.order-mode .experience-card.featured .experience-image img {
  display: none;
}

body.order-mode .experience-image span {
  top: 12px;
  right: 12px;
  bottom: auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(157, 227, 92, 0.2);
  color: #d8ff91;
  backdrop-filter: blur(16px);
}

body.order-mode .experience-copy {
  gap: 8px;
  padding: 16px;
}

body.order-mode .experience-copy strong {
  color: #fff;
  font-size: 23px;
  line-height: 1.02;
}

body.order-mode .experience-copy em {
  color: var(--accent-strong);
  font-size: 18px;
}

body.order-mode .experience-copy small {
  color: rgba(247, 255, 239, 0.68);
}

body.order-mode .experience-copy b {
  justify-self: end;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #d8ff91;
  padding: 10px 13px;
}

body.order-mode .experience-card.featured .experience-copy {
  margin: -86px 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(11, 28, 21, 0.78), rgba(6, 16, 12, 0.9));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
}

body.order-mode .experience-card.featured .experience-copy strong {
  font-size: 30px;
}

body.order-mode.order-detail-screen .brand-hero,
body.order-mode.order-detail-screen .experience-panel {
  display: none;
}

body.order-mode .booking-layout {
  grid-template-columns: 1fr;
  gap: 12px;
}

body.order-mode .detail-page-head {
  grid-template-columns: auto minmax(0, 1fr);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 45, 34, 0.78), rgba(9, 23, 17, 0.78));
}

body.order-mode .detail-page-head button {
  min-width: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

body.order-mode .detail-page-head h2 {
  color: #fff;
  font-size: 24px;
}

body.order-mode .catalog-column,
body.order-mode .booking-rail {
  display: grid;
  gap: 12px;
}

body.order-mode .panel,
body.order-mode .product-panel,
body.order-mode .pricing-panel,
body.order-mode .form-panel {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(18, 39, 30, 0.74), rgba(8, 20, 15, 0.76));
}

body.order-mode .product-panel {
  grid-template-columns: 1fr;
  min-height: 0;
  padding: 14px;
}

body.order-mode.order-detail-screen .product-panel {
  grid-template-columns: 1fr;
}

body.order-mode .product-visual {
  min-height: 238px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.04), rgba(4, 10, 7, 0.44)),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover;
}

body.order-mode .product-visual[data-tone="cinema"] {
  background:
    radial-gradient(circle at 60% 20%, rgba(159, 224, 255, 0.28), transparent 30%),
    linear-gradient(180deg, rgba(6, 16, 18, 0.06), rgba(7, 16, 14, 0.58)),
    linear-gradient(145deg, rgba(11, 52, 46, 0.76), rgba(23, 58, 76, 0.82)),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover;
}

body.order-mode .product-visual[data-tone="lounge"] {
  background:
    radial-gradient(circle at 62% 20%, rgba(255, 207, 142, 0.3), transparent 30%),
    linear-gradient(180deg, rgba(6, 16, 12, 0.06), rgba(7, 16, 14, 0.58)),
    linear-gradient(145deg, rgba(24, 53, 31, 0.76), rgba(58, 42, 35, 0.82)),
    url("./assets/promos/scenario-full-setup-clean.svg") 35% 50% / cover;
}

body.order-mode .product-visual[data-tone="nature"] {
  background:
    radial-gradient(circle at 40% 18%, rgba(215, 255, 135, 0.3), transparent 32%),
    linear-gradient(180deg, rgba(6, 16, 12, 0.06), rgba(7, 16, 14, 0.58)),
    linear-gradient(145deg, rgba(10, 42, 31, 0.76), rgba(53, 91, 39, 0.82)),
    url("./assets/promos/scenario-full-setup-clean.svg") 62% 44% / cover;
}

body.order-mode .product-visual img {
  width: min(250px, 76%);
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

body.order-mode .visual-badge {
  border-radius: 999px;
  background: rgba(5, 14, 10, 0.58);
}

body.order-mode .product-heading h2,
body.order-mode .section-line strong,
body.order-mode h3 {
  color: #fff;
}

body.order-mode .price-summary,
body.order-mode .customer-booking-money,
body.order-mode .detail-grid {
  border-color: rgba(230, 255, 215, 0.12);
  background: rgba(230, 255, 215, 0.12);
}

body.order-mode .price-summary div,
body.order-mode input,
body.order-mode textarea,
body.order-mode .extra-fields,
body.order-mode .soft-rules {
  border-color: rgba(230, 255, 215, 0.13);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

body.order-mode .quantity-grid button,
body.order-mode .duration-grid button,
body.order-mode .segmented button,
body.order-mode .date-picks button {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 255, 239, 0.82);
}

body.order-mode .quantity-grid button.active,
body.order-mode .duration-grid button.active,
body.order-mode .segmented button.active,
body.order-mode .date-picks button.active {
  background: linear-gradient(135deg, rgba(255, 217, 145, 0.96), rgba(190, 131, 62, 0.96));
  color: #15100a;
}

body.order-mode .pay-now {
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 10%, rgba(216, 255, 145, 0.35), transparent 34%),
    linear-gradient(135deg, rgba(89, 154, 54, 0.95), rgba(19, 78, 48, 0.95));
}

body.order-mode .payment-guide {
  border-color: rgba(230, 255, 215, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

body.order-mode .payment-guide-head span,
body.order-mode .payment-guide p {
  color: rgba(247, 255, 239, 0.68);
}

body.order-mode .payment-guide-head strong {
  color: #f8fff0;
}

body.order-mode .payment-guide-methods span {
  border-color: rgba(230, 255, 215, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 255, 239, 0.82);
}

body.order-mode .payment-guide-methods .cash {
  color: #ffe6aa;
}

body.order-mode .sticky-bar {
  width: min(430px, 100%);
  border-radius: 24px 24px 0 0;
  background: rgba(6, 17, 13, 0.86);
}

body.order-mode .form-error.visible {
  background: rgba(255, 105, 92, 0.14);
  color: #ffd8d2;
}

@media (max-width: 420px) {
  body.order-mode h1 {
    font-size: 37px;
  }

  body.order-mode .brand-hero {
    min-height: 456px;
    border-radius: 28px;
  }

  body.order-mode .brand-copy {
    min-height: 416px;
  }
}

/* Premium vitrine completion pass: tighter first screen, stronger scenario cards. */
body.order-mode .brand-hero {
  min-height: 326px;
  padding: 18px 16px 16px;
  background:
    linear-gradient(180deg, rgba(4, 12, 9, 0.02) 0%, rgba(4, 12, 9, 0.12) 36%, rgba(4, 12, 9, 0.84) 100%),
    url("./assets/promos/scenario-full-setup-clean.svg") center 46% / cover,
    #07120e;
}

body.order-mode .brand-copy {
  min-height: 290px;
}

body.order-mode h1 {
  max-width: 310px;
  font-size: 33px;
}

body.order-mode .brand-hero p {
  max-width: 322px;
  margin-top: 8px;
  font-size: 13px;
}

body.order-mode .hero-actions {
  gap: 8px;
  margin-top: 12px;
}

body.order-mode .hero-actions button {
  min-height: 44px;
}

body.order-mode .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

body.order-mode .hero-facts span {
  padding: 8px 10px;
  font-size: 11px;
}

body.order-mode .mode-tabs {
  margin-bottom: 10px;
}

body.order-mode .mode-tabs button {
  min-height: 40px;
}

body.order-mode .experience-panel {
  gap: 9px;
  padding: 13px;
}

body.order-mode .experience-head {
  gap: 10px;
}

body.order-mode .experience-head h2 {
  font-size: 23px;
}

body.order-mode .experience-head p {
  max-width: 250px;
  font-size: 12px;
  line-height: 1.32;
}

body.order-mode .experience-head .secondary-link {
  min-height: 30px;
  font-size: 12px;
}

body.order-mode .scenario-selector {
  min-height: 52px;
  border-radius: 19px;
  padding: 11px 13px;
}

body.order-mode .scenario-selector span {
  font-size: 10px;
  letter-spacing: 0;
}

body.order-mode .scenario-selector strong {
  font-size: 14px;
}

body.order-mode .category-chips {
  flex-wrap: wrap;
  gap: 7px;
  overflow: visible;
  padding-bottom: 0;
}

body.order-mode .category-chips button {
  padding: 8px 10px;
  font-size: 12px;
}

body.order-mode .experience-rail {
  gap: 10px;
}

body.order-mode .experience-card button {
  position: relative;
}

body.order-mode .experience-card .experience-image {
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0), rgba(4, 10, 7, 0.34)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center / cover;
}

body.order-mode .experience-card.featured .experience-image {
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0), rgba(4, 10, 7, 0.24)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center 58% / cover;
}

body.order-mode .experience-card.featured button {
  grid-template-rows: 236px auto;
  min-height: 390px;
}

body.order-mode .experience-card:not(.featured) button {
  grid-template-columns: 154px minmax(0, 1fr);
  grid-template-rows: minmax(158px, auto);
  min-height: 158px;
  border-radius: 22px;
}

body.order-mode .experience-card:not(.featured) .experience-image {
  min-height: 100%;
  background:
    linear-gradient(90deg, rgba(4, 12, 9, 0.03), rgba(4, 12, 9, 0.38)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center / cover;
}

body.order-mode .experience-card:not(.featured) .experience-image img {
  display: none;
}

body.order-mode .experience-card:not(.featured) .experience-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 34%, rgba(216, 255, 145, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(4, 12, 9, 0.16));
  pointer-events: none;
}

body.order-mode .experience-card:not(.featured)[data-tone="cinema"] .experience-image {
  background:
    linear-gradient(90deg, rgba(6, 16, 18, 0.02), rgba(7, 16, 14, 0.42)),
    radial-gradient(circle at 64% 20%, rgba(169, 236, 255, 0.20), transparent 30%),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) 48% 52% / cover;
}

body.order-mode .experience-card:not(.featured)[data-tone="lounge"] .experience-image {
  background:
    linear-gradient(90deg, rgba(8, 22, 13, 0.03), rgba(20, 29, 22, 0.44)),
    radial-gradient(circle at 60% 22%, rgba(255, 207, 142, 0.20), transparent 32%),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) 28% 52% / cover;
}

body.order-mode .experience-card:not(.featured)[data-tone="nature"] .experience-image {
  background:
    linear-gradient(90deg, rgba(6, 18, 12, 0.03), rgba(14, 34, 22, 0.42)),
    radial-gradient(circle at 38% 22%, rgba(215, 255, 135, 0.22), transparent 34%),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) 62% 45% / cover;
}

body.order-mode .experience-card:not(.featured)[data-tone="music"] .experience-image {
  background:
    linear-gradient(90deg, rgba(8, 20, 14, 0.03), rgba(28, 30, 20, 0.42)),
    radial-gradient(circle at 68% 25%, rgba(255, 221, 128, 0.20), transparent 34%),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) 58% 52% / cover;
}

body.order-mode .experience-card:not(.featured) .experience-image span {
  right: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
}

body.order-mode .experience-copy {
  align-content: start;
  gap: 7px;
  padding: 13px;
}

body.order-mode .experience-card.featured .experience-copy {
  margin: -126px 11px 11px;
  padding: 15px;
}

body.order-mode .experience-card.featured .experience-copy strong {
  max-width: 282px;
  font-size: 25px;
}

body.order-mode .experience-card:not(.featured) .experience-copy strong {
  font-size: 17px;
  line-height: 1.08;
}

body.order-mode .experience-card:not(.featured) .experience-copy em {
  font-size: 15px;
}

body.order-mode .experience-card:not(.featured) .experience-copy small {
  min-height: 0;
  font-size: 12px;
}

body.order-mode .experience-card:not(.featured) .included-line {
  display: none;
}

body.order-mode .experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

body.order-mode .experience-tags span {
  border: 1px solid rgba(230, 255, 215, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(247, 255, 239, 0.82);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 760;
  line-height: 1;
  backdrop-filter: blur(14px);
}

body.order-mode .experience-card:not(.featured) .experience-tags span:nth-child(n+3) {
  display: none;
}

body.order-mode .experience-copy b {
  display: grid;
  width: 42px;
  height: 42px;
  justify-self: end;
  place-items: center;
  border: 1px solid rgba(230, 255, 215, 0.16);
  background: rgba(255, 255, 255, 0.14);
  padding: 0;
}

body.order-mode .experience-copy b svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.order-mode .product-visual {
  min-height: 208px;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.02), rgba(4, 10, 7, 0.5)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center 56% / cover;
}

body.order-mode .product-visual[data-tone="terrace"] {
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.02), rgba(4, 10, 7, 0.5)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center 56% / cover;
}

body.order-mode .product-visual img {
  width: min(210px, 66%);
  max-height: 176px;
}

body.order-mode.order-detail-screen .product-visual[data-tone="terrace"] img,
body.order-mode.order-detail-screen .product-visual[data-tone="nature"] img,
body.order-mode.order-detail-screen[data-setup-code="xbox_projector"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="hookah_marshall"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="xbox_marshall"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="xbox_hookah"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="full_setup"] .product-visual img {
  display: none;
}

/* Scenario card rhythm pass: one card system, real generated mood images. */
body.order-mode .experience-rail {
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  gap: 12px;
}

body.order-mode .experience-card button,
body.order-mode .experience-card.featured button,
body.order-mode .experience-card:not(.featured) button {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 230px minmax(220px, auto);
  height: auto;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
}

body.order-mode .experience-card.reveal-ready,
body.order-mode .experience-card.reveal-ready.is-visible {
  opacity: 1;
  transform: none;
}

body.order-mode .experience-card .experience-image,
body.order-mode .experience-card.featured .experience-image,
body.order-mode .experience-card:not(.featured) .experience-image {
  min-height: 206px;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.02), rgba(4, 10, 7, 0.42)),
    var(--scenario-photo, url("./assets/promos/scenario-full-setup-clean.svg")) center / cover;
}

body.order-mode .experience-card .experience-image img,
body.order-mode .experience-card.featured .experience-image img,
body.order-mode .experience-card:not(.featured) .experience-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  opacity: 1;
  filter: none;
}

body.order-mode .experience-card[data-tone="terrace"] .experience-image img {
  object-position: center 72%;
}

body.order-mode .experience-card[data-tone="nature"] .experience-image img {
  object-position: center 54%;
}

body.order-mode .experience-card[data-tone="cinema"] .experience-image img {
  object-position: center 56%;
}

body.order-mode .experience-card[data-tone="lounge"] .experience-image img {
  object-position: center 58%;
}

body.order-mode .experience-card .experience-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 10, 7, 0.00) 0%, rgba(4, 10, 7, 0.08) 54%, rgba(4, 10, 7, 0.36) 100%),
    radial-gradient(circle at 76% 18%, rgba(255, 224, 163, 0.16), transparent 34%);
  pointer-events: none;
}

body.order-mode .experience-card .experience-image > span,
body.order-mode .experience-card:not(.featured) .experience-image span {
  display: none;
}

body.order-mode .experience-card:not(.featured) .experience-image span {
  right: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
}

body.order-mode .experience-copy,
body.order-mode .experience-card.featured .experience-copy {
  min-height: 190px;
  height: auto;
  margin: 0;
  padding: 16px;
  align-content: start;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(12, 30, 22, 0.92), rgba(6, 17, 12, 0.96));
  box-shadow: none;
  overflow: visible;
}

body.order-mode .experience-card .experience-copy strong,
body.order-mode .experience-card.featured .experience-copy strong,
body.order-mode .experience-card:not(.featured) .experience-copy strong {
  max-width: 320px;
  font-size: 24px;
  line-height: 1.04;
}

body.order-mode .experience-card:not(.featured) .experience-copy em {
  font-size: 17px;
}

body.order-mode .experience-card .experience-copy small,
body.order-mode .experience-card:not(.featured) .experience-copy small {
  display: block;
  min-height: 0;
  font-size: 13px;
  line-height: 1.32;
}

body.order-mode .experience-card:not(.featured) .experience-tags span:nth-child(n+3) {
  display: inline-flex;
}

body.order-mode .experience-card .included-line,
body.order-mode .experience-card:not(.featured) .included-line {
  display: none;
}

body.order-mode .experience-copy b {
  position: absolute;
  right: 16px;
  bottom: 16px;
}

body.order-mode .product-visual img,
body.order-mode.order-detail-screen .product-visual[data-tone="terrace"] img,
body.order-mode.order-detail-screen .product-visual[data-tone="nature"] img,
body.order-mode.order-detail-screen[data-setup-code="xbox_projector"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="hookah_marshall"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="xbox_marshall"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="xbox_hookah"] .product-visual img,
body.order-mode.order-detail-screen[data-setup-code="full_setup"] .product-visual img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transform: none;
  filter: none;
}

body.order-mode .product-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.04), rgba(4, 10, 7, 0.42));
  pointer-events: none;
}

body.order-mode .product-visual .visual-badge {
  z-index: 1;
}

@media (max-width: 420px) {
  body.order-mode h1 {
    font-size: 32px;
  }

  body.order-mode .brand-hero {
    min-height: 318px;
    border-radius: 28px;
  }

  body.order-mode .brand-copy {
    min-height: 282px;
  }

  body.order-mode .experience-card.featured button {
    grid-template-rows: 210px 220px;
    height: 430px;
    min-height: 430px;
  }
}

/* Unified vitrine/product/order/customer/operator pass */
body.order-mode .app-shell {
  width: min(430px, 100%);
  padding: 0 0 132px;
}

body.order-mode .brand-hero {
  --hero-x: 0px;
  --hero-y: 0px;
  --hero-scroll-y: 0px;
  --hero-tilt-x: 0deg;
  --hero-tilt-y: 0deg;
  isolation: isolate;
  perspective: 1200px;
  min-height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: calc(18px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  background: #07120e;
  box-shadow: none;
}

body.order-mode .brand-hero::before {
  content: "";
  position: absolute;
  inset: -7%;
  background:
    linear-gradient(180deg, rgba(4, 10, 8, 0.12) 0%, rgba(4, 10, 8, 0.12) 38%, rgba(4, 10, 8, 0.76) 100%),
    url("./assets/promos/scenario-full-setup-clean.svg") center / cover,
    #07120e;
  transform:
    translate3d(var(--hero-x), var(--hero-y), 0)
    rotateX(var(--hero-tilt-x))
    rotateY(var(--hero-tilt-y))
    scale(1.08);
  transform-origin: center;
  will-change: transform, opacity, filter;
  z-index: 0;
  animation: hero-image-rise 1100ms cubic-bezier(0.18, 0.76, 0.18, 1) both;
}

body.order-mode .brand-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 58% 38%, rgba(165, 213, 174, 0.20), transparent 22%),
    linear-gradient(112deg, transparent 0%, rgba(255, 244, 194, 0.00) 34%, rgba(255, 244, 194, 0.13) 48%, rgba(255, 244, 194, 0.00) 62%, transparent 100%),
    linear-gradient(180deg, rgba(5, 13, 12, 0.00) 0%, rgba(5, 13, 12, 0.08) 52%, rgba(5, 13, 12, 0.52) 100%);
  mix-blend-mode: screen;
  opacity: 0.78;
  pointer-events: none;
  z-index: 1;
  animation: hero-light-sweep 1800ms cubic-bezier(0.2, 0.72, 0.18, 1) 180ms both;
}

body.order-mode .brand-copy {
  z-index: 2;
  min-height: calc(100dvh - 36px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  transform: translate3d(0, var(--hero-scroll-y), 0);
  will-change: transform;
  animation: hero-copy-rise 780ms cubic-bezier(0.2, 0.74, 0.22, 1) 180ms both;
}

body.order-mode .location-pill {
  margin-bottom: auto;
}

body.order-mode h1 {
  max-width: 360px;
  font-size: 42px;
  line-height: 0.96;
}

body.order-mode .brand-hero p {
  max-width: 340px;
  font-size: 15px;
}

.hero-support-status {
  border: 1px solid rgba(230, 255, 215, 0.14);
  border-radius: 16px;
  background: rgba(6, 17, 13, 0.54);
  padding: 10px 12px;
}

.hero-cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: rgba(247, 255, 239, 0.62);
  font-size: 12px;
  font-weight: 760;
}

.hero-cue span {
  width: 20px;
  height: 32px;
  border: 1px solid rgba(247, 255, 239, 0.38);
  border-radius: 999px;
  position: relative;
}

.hero-cue span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(247, 255, 239, 0.76);
  transform: translateX(-50%);
  animation: hero-cue-dot 1400ms ease-in-out infinite;
}

@keyframes hero-image-rise {
  0% {
    opacity: 0;
    filter: blur(10px) saturate(0.86);
    transform:
      translate3d(var(--hero-x), calc(var(--hero-y) + 28px), 0)
      rotateX(2deg)
      rotateY(-2deg)
      scale(1.15);
  }
  100% {
    opacity: 1;
    filter: blur(0) saturate(1);
    transform:
      translate3d(var(--hero-x), var(--hero-y), 0)
      rotateX(var(--hero-tilt-x))
      rotateY(var(--hero-tilt-y))
      scale(1.08);
  }
}

@keyframes hero-light-sweep {
  0% {
    opacity: 0;
    transform: translateX(-18%);
  }
  55% {
    opacity: 0.86;
  }
  100% {
    opacity: 0.78;
    transform: translateX(0);
  }
}

@keyframes hero-copy-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, var(--hero-scroll-y), 0);
  }
}

@keyframes hero-cue-dot {
  0%, 100% {
    opacity: 0.38;
    transform: translate(-50%, 0);
  }
  42% {
    opacity: 1;
    transform: translate(-50%, 12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.order-mode .brand-hero::before,
  body.order-mode .brand-hero::after,
  body.order-mode .brand-copy,
  .hero-cue span::after {
    animation: none;
  }

  body.order-mode .brand-hero::before,
  body.order-mode .brand-copy {
    transform: none;
  }
}

body.order-mode .mode-tabs,
body.order-mode #customerView {
  margin-inline: 14px;
}

body.order-category-screen .product-panel,
body.order-category-screen .booking-rail,
body.order-category-screen .game-pass-panel,
body.order-product-screen .selector-panel,
body.order-product-screen .booking-rail,
body.order-checkout-screen .selector-panel {
  display: none;
}

body.order-category-screen .selector-panel {
  display: grid;
}

body.order-mode .category-tab {
  border-color: rgba(230, 255, 215, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(247, 255, 239, 0.90);
  box-shadow: none;
}

body.order-mode .category-tab .category-tab-copy span {
  color: rgba(247, 255, 239, 0.58);
}

body.order-mode .category-tab-mark {
  background: rgba(255, 255, 255, 0.08);
  color: #f0d39a;
}

body.order-mode .category-tab.active {
  border-color: rgba(240, 211, 154, 0.48);
  background: linear-gradient(135deg, rgba(240, 211, 154, 0.94), rgba(199, 146, 78, 0.94));
  color: #15100a;
}

body.order-mode .category-tab.active .category-tab-copy span {
  color: rgba(21, 16, 10, 0.72);
}

body.order-mode .category-tab.active .category-tab-mark {
  background: rgba(255, 255, 255, 0.18);
  color: #15100a;
}

body.order-mode .tab.active {
  border-color: rgba(240, 211, 154, 0.48);
  background: linear-gradient(135deg, rgba(240, 211, 154, 0.96), rgba(205, 152, 84, 0.96));
  color: #15100a;
}

body.order-mode .tab.active .tab-title,
body.order-mode .tab.active .tab-meta {
  color: #15100a;
}

body.order-category-screen .tabs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

body.order-category-screen .tab {
  min-height: 116px;
  border-color: rgba(230, 255, 215, 0.14);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(7, 18, 13, 0.42);
  color: #f7fbf2;
  box-shadow: none;
}

body.order-category-screen .tab-media {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

body.order-category-screen .tab-media img {
  object-fit: contain;
  padding: 7px;
  transform: none;
}

body.order-category-screen .tab-copy {
  display: grid;
  align-content: center;
  gap: 4px;
}

body.order-category-screen .tab-title {
  color: #fff;
  font-size: 19px;
  line-height: 1.05;
}

body.order-category-screen .tab-meta {
  color: rgba(247, 255, 239, 0.64);
}

body.order-category-screen .tab-price {
  color: #f0d39a;
  font-size: 13px;
  font-weight: 850;
}

body.order-category-screen .tab.active {
  background:
    linear-gradient(135deg, rgba(240, 211, 154, 0.22), rgba(199, 146, 78, 0.10)),
    rgba(7, 18, 13, 0.48);
  color: #fff;
}

body.order-category-screen .tab.active .tab-title {
  color: #fff;
}

body.order-category-screen .tab.active .tab-meta {
  color: rgba(247, 255, 239, 0.68);
}

body.order-mode:not(.order-checkout-screen) .sticky-bar {
  display: none;
}

body.order-checkout-screen .product-panel {
  display: none;
}

body.order-mode .product-panel {
  grid-template-columns: minmax(0, 1fr);
}

body.order-mode .product-panel::after {
  display: none;
}

body.order-mode .product-visual,
body.order-mode .product-copy,
body.order-mode .product-copy > * {
  min-width: 0;
  max-width: 100%;
}

body.order-mode .product-visual img {
  width: 100%;
  max-width: 100%;
}

body.order-mode .item-list {
  display: none;
}

body.order-mode .product-heading h2 {
  overflow-wrap: anywhere;
}

body.order-mode .product-panel h3 {
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: clamp(24px, 8vw, 32px);
  line-height: 1.08;
}

.product-quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-payment-note {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(240, 211, 154, 0.22);
  border-radius: 14px;
  background: rgba(240, 211, 154, 0.10);
  padding: 10px 11px;
}

.product-payment-note strong {
  color: #f7fbf2;
  font-size: 14px;
  line-height: 1.2;
}

.product-payment-note span {
  color: rgba(247, 255, 239, 0.76);
  font-size: 12px;
  line-height: 1.34;
}

.product-quick-facts span,
.product-section-tabs button {
  border: 1px solid rgba(230, 255, 215, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 255, 239, 0.82);
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 760;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.product-actions button {
  min-height: 44px;
  border-radius: 999px;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-section-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.product-section-tabs::-webkit-scrollbar {
  display: none;
}

.product-section-tabs button {
  flex: 0 0 auto;
}

.product-section-tabs button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07120d;
}

.product-section-body {
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.product-slide-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(290px, 92%);
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.product-slide-track::-webkit-scrollbar {
  display: none;
}

.product-info-slide {
  position: relative;
  min-height: 336px;
  overflow: hidden;
  border: 1px solid rgba(230, 255, 215, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(5, 13, 10, 0.04), rgba(5, 13, 10, 0.58)),
    var(--slide-photo) center / cover,
    #09130f;
  scroll-snap-align: start;
}

.product-info-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 224, 163, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(5, 13, 10, 0.06), rgba(5, 13, 10, 0.84) 76%);
  pointer-events: none;
}

.product-info-slide > img {
  position: absolute;
  right: 14px;
  top: 18px;
  width: min(42%, 128px);
  max-height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.42));
  z-index: 1;
}

.product-info-copy {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 2;
  display: grid;
  gap: 8px;
}

.product-info-copy span {
  width: fit-content;
  border: 1px solid rgba(255, 224, 163, 0.24);
  border-radius: 999px;
  background: rgba(7, 18, 13, 0.50);
  color: #f0d39a;
  padding: 6px 9px;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.product-info-copy strong {
  max-width: 260px;
  color: #fff;
  font-size: 24px;
  line-height: 1.04;
}

.product-info-copy p {
  margin: 0;
  color: rgba(247, 255, 239, 0.78);
  font-size: 13px;
  line-height: 1.32;
}

.product-info-copy ul {
  display: grid;
  gap: 6px;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
}

.product-info-copy li {
  border: 1px solid rgba(230, 255, 215, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(247, 255, 239, 0.88);
  padding: 7px 9px;
  font-size: 12px;
  line-height: 1.2;
}

input.invalid,
textarea.invalid {
  border-color: rgba(255, 121, 99, 0.72) !important;
  box-shadow: 0 0 0 3px rgba(255, 121, 99, 0.16);
}

.support-thread-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  padding: 12px;
}

.support-thread-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.support-thread-head strong,
.support-thread-head span {
  display: block;
}

.support-thread-head span {
  color: var(--muted);
  font-size: 12px;
}

.support-thread-head em {
  color: var(--accent-strong);
  font-style: normal;
  font-size: 12px;
  font-weight: 780;
}

.chat-thread {
  display: grid;
  gap: 8px;
}

.chat-bubble {
  width: min(92%, 520px);
  border: 1px solid rgba(188, 223, 214, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 10px;
}

.chat-bubble.admin {
  justify-self: end;
  background: rgba(157, 227, 92, 0.14);
}

.chat-bubble span {
  display: block;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 800;
}

.chat-bubble p {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body.cabinet-mode,
body.operator-mode {
  --bg: #071114;
  --panel: rgba(12, 28, 31, 0.82);
  --panel-warm: rgba(16, 36, 38, 0.72);
  --text: #f7fbf2;
  --muted: rgba(232, 240, 233, 0.68);
  --line: rgba(198, 214, 210, 0.18);
  --accent: #c89c5b;
  --accent-strong: #f0d39a;
  --accent-ink: #081315;
  --screen: #071114;
  --cream: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 22% 0%, rgba(44, 110, 118, 0.22), transparent 34%),
    linear-gradient(180deg, #102326 0%, #071114 48%, #030708 100%);
  color: var(--text);
}

body.cabinet-mode .brand-hero,
body.operator-mode .brand-hero {
  display: none;
}

body.cabinet-mode .app-shell,
body.operator-mode .app-shell {
  width: min(860px, 100%);
  padding: calc(12px + env(safe-area-inset-top)) 14px 32px;
}

body.cabinet-mode .panel,
body.operator-mode .panel,
body.cabinet-mode .mode-tabs,
body.operator-mode .mode-tabs,
body.cabinet-mode .customer-booking-card,
body.operator-mode .ops-row,
body.operator-mode .metric {
  border-color: rgba(188, 223, 214, 0.16);
  background: rgba(12, 28, 31, 0.76);
  color: var(--text);
  backdrop-filter: blur(18px);
}

body.cabinet-mode .cabinet-head,
body.operator-mode .operator-head {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(19, 44, 43, 0.9), rgba(8, 19, 21, 0.88)),
    radial-gradient(circle at 92% 0%, rgba(157, 227, 92, 0.24), transparent 34%);
}

body.cabinet-mode .status-step {
  border-color: rgba(188, 223, 214, 0.16);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

body.cabinet-mode .status-step.active {
  border-color: rgba(240, 211, 154, 0.40);
  background: rgba(240, 211, 154, 0.12);
}

body.cabinet-mode .status-step span {
  color: var(--muted);
}

body.cabinet-mode .sticky-bar,
body.operator-mode .sticky-bar {
  display: none;
}

body.cabinet-mode .mode-tabs button.active,
body.operator-mode .mode-tabs button.active,
body.operator-mode .operator-filter-grid button.active,
body.operator-mode .calendar-month-grid button.available {
  border-color: rgba(240, 211, 154, 0.36);
  background: rgba(240, 211, 154, 0.14);
  color: #fff3d0;
  box-shadow: inset 0 0 0 1px rgba(240, 211, 154, 0.12);
}

body.operator-mode .ops-row button,
body.operator-mode .operator-head button {
  border-color: rgba(198, 214, 210, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: #f7fbf2;
}

body.operator-mode .ops-row button:hover,
body.operator-mode .operator-head button:hover {
  border-color: rgba(240, 211, 154, 0.34);
  background: rgba(240, 211, 154, 0.10);
}

@media (min-width: 700px) {
  body.order-mode .app-shell {
    width: 100%;
    max-width: none;
    padding: 0 0 80px;
  }

  body.order-mode .brand-hero {
    width: 100%;
    min-height: 100dvh;
    padding:
      calc(24px + env(safe-area-inset-top))
      max(32px, calc((100vw - 1080px) / 2))
      calc(28px + env(safe-area-inset-bottom));
    background-position: center;
  }

  body.order-mode .brand-copy {
    width: min(560px, 58vw);
    min-height: calc(100dvh - 52px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  body.order-mode h1 {
    max-width: 560px;
    font-size: 54px;
    line-height: 0.98;
  }

  body.order-mode .brand-hero p {
    max-width: 500px;
    font-size: 17px;
    line-height: 1.42;
  }

  body.order-mode .hero-actions {
    width: min(520px, 100%);
  }

  body.order-mode .mode-tabs,
  body.order-mode #customerView,
  body.order-mode #catalogSection {
    width: min(920px, calc(100% - 48px));
    margin-inline: auto;
  }

  body.order-mode .experience-panel {
    padding: 24px;
  }

  body.order-mode .experience-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  body.order-mode .experience-head h2 {
    font-size: 34px;
  }

  body.order-mode .experience-head p {
    max-width: 520px;
    font-size: 15px;
  }

  body.order-mode .experience-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  body.order-mode .experience-card button,
  body.order-mode .experience-card.featured button,
  body.order-mode .experience-card:not(.featured) button {
    grid-template-rows: 220px minmax(190px, auto);
    height: auto;
    min-height: 420px;
  }

  body.order-mode .experience-card.featured .experience-copy strong,
  body.order-mode .experience-card:not(.featured) .experience-copy strong {
    max-width: 100%;
    font-size: 25px;
  }

  body.order-mode .detail-page-head,
  body.order-mode .catalog-column,
  body.order-mode .booking-rail {
    width: min(840px, 100%);
    justify-self: center;
  }

  body.order-product-screen .product-panel {
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
  }

  body.order-product-screen .product-visual {
    min-height: 100%;
  }

  body.order-checkout-screen .booking-rail {
    width: min(760px, 100%);
  }
}

@media (min-width: 1024px) {
  body.order-mode .mode-tabs,
  body.order-mode #customerView,
  body.order-mode #catalogSection {
    width: min(1040px, calc(100% - 64px));
  }

  body.order-mode .experience-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.order-mode .experience-card.featured {
    grid-column: span 2;
  }

  body.order-mode .experience-card button,
  body.order-mode .experience-card.featured button,
  body.order-mode .experience-card:not(.featured) button {
    min-height: 410px;
  }
}

/* Product detail carousel belongs to the individual product card, not below the flow. */
.product-card-carousel {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 2px 0 4px;
}

.product-card-carousel .product-section-tabs {
  order: 2;
}

.product-card-carousel .product-section-body {
  order: 1;
}

body.order-mode .product-card-carousel {
  border: 1px solid rgba(230, 255, 215, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.035)),
    rgba(5, 14, 10, 0.34);
  padding: 8px;
}

body.order-mode .product-section-tabs {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
  padding: 0;
}

body.order-mode .product-section-tabs button {
  flex: 1 1 calc(50% - 4px);
  min-height: 34px;
  padding: 7px 10px;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.order-mode .product-slide-track {
  grid-auto-columns: minmax(260px, 100%);
  gap: 8px;
  padding: 0;
}

body.order-mode .product-info-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(76px, 108px);
  align-items: end;
  min-height: 216px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(5, 13, 10, 0.88) 0%, rgba(5, 13, 10, 0.62) 48%, rgba(5, 13, 10, 0.22) 100%),
    var(--slide-photo) center / cover,
    #09130f;
}

body.order-mode .product-info-slide::after {
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 224, 163, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(5, 13, 10, 0.02), rgba(5, 13, 10, 0.52) 88%);
}

body.order-mode .product-info-slide > img {
  position: relative;
  top: auto;
  right: auto;
  z-index: 2;
  justify-self: end;
  align-self: start;
  width: min(100%, 112px);
  max-height: 118px;
  margin: 12px 12px 0 0;
}

body.order-mode .product-info-copy {
  position: relative;
  inset: auto;
  align-self: end;
  padding: 14px 0 14px 14px;
}

body.order-mode .product-info-copy strong {
  max-width: 100%;
  font-size: 21px;
}

body.order-mode .product-info-copy p {
  max-width: 32rem;
}

body.order-mode .product-info-copy ul {
  grid-template-columns: 1fr;
  gap: 5px;
}

body.order-mode .product-info-copy li {
  max-width: 100%;
  padding: 6px 8px;
}

@media (min-width: 700px) {
  body.order-product-screen .product-card-carousel {
    align-self: start;
  }

  body.order-product-screen .product-info-slide {
    min-height: 244px;
  }
}

@media (max-width: 420px) {
  body.order-mode .product-card-carousel {
    padding: 7px;
  }

  body.order-mode .product-slide-track {
    grid-auto-columns: minmax(246px, 100%);
  }

  body.order-mode .product-info-slide {
    grid-template-columns: minmax(0, 1fr) 78px;
    min-height: 224px;
  }

  body.order-mode .product-info-copy {
    padding: 12px 0 12px 12px;
  }

  body.order-mode .product-info-copy strong {
    font-size: 20px;
  }
}

/* Final product-card carousel fix: tabs switch one readable panel instead of showing a cut horizontal track. */
body.order-mode .product-section-body {
  overflow: visible;
}

body.order-mode .product-section-body > .product-info-slide {
  width: 100%;
}

body.order-mode .product-info-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
}

body.order-mode .product-info-slide > img {
  display: none;
}

body.order-mode .product-info-copy {
  position: relative;
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 13px 0 13px 13px;
}

body.order-mode .product-info-copy strong,
body.order-mode .product-info-copy p,
body.order-mode .product-info-copy li {
  overflow-wrap: anywhere;
}

body.order-mode .product-info-copy ul {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 100%;
}

body.order-mode .product-info-copy li {
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 420px) {
  body.order-mode .product-info-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  body.order-mode .product-info-slide > img {
    display: none;
  }

  body.order-mode .product-info-copy {
    padding: 12px;
  }

  body.order-mode .product-info-copy strong {
    max-width: 100%;
  }
}

/* Keep the first screen usable in the in-app browser viewport. */
body.order-mode .brand-hero {
  min-height: min(560px, calc(100dvh - 170px));
}

body.order-mode .brand-copy {
  min-height: min(508px, calc(100dvh - 206px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));
}

body.order-mode .brand-hero::before,
body.order-mode .brand-hero::after,
body.order-mode .brand-copy {
  animation: none;
}
