:root {
  --bg: #080a0f;
  --panel: rgba(18, 22, 31, 0.82);
  --panel-strong: rgba(25, 30, 42, 0.94);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7f2e8;
  --muted: #a9a292;
  --gold: #d9a441;
  --gold-strong: #f4c466;
  --danger: #d84f4f;
  --success: #72d79a;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body.portal-body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 164, 65, 0.16), transparent 42%),
    radial-gradient(circle at 88% 18%, rgba(217, 164, 65, 0.08), transparent 36%),
    var(--bg);
  overflow: hidden;
}

#lumina-portal-root {
  height: 100vh;
  width: 100%;
}

.shell {
  display: grid;
  grid-template-columns: 248px 1fr 286px;
  gap: 14px;
  height: 100vh;
  padding: 18px;
}

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

.shell.cart-mode .left,
.shell.cart-mode .right {
  display: none;
}

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

.shell.done-mode .left,
.shell.done-mode .right,
.shell.done-mode .content {
  display: none;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 30px;
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.left,
.right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.content {
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.brand-card {
  padding: 18px 16px;
  text-align: center;
}

.brand-card .brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  object-fit: cover;
  margin: 0 auto 10px;
  display: block;
  border: 1px solid var(--line);
}

.brand-card .brand-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-strong);
  line-height: 1.3;
}

.brand-card .test-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-strong);
  border: 1px solid rgba(217, 164, 65, 0.45);
  background: rgba(217, 164, 65, 0.12);
}

.date-card {
  width: 100%;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.filter-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  min-height: 0;
  padding: 16px 14px 14px;
}

.filter-date {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.filter-date:hover .filter-date-value {
  color: var(--gold-strong);
}

.filter-date-value {
  display: block;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  transition: color 0.15s ease;
}

.filter-date-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  color: var(--muted);
}

.filter-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
}

.filter-tabs .tab,
.tab {
  border: none;
  border-radius: 999px;
  padding: 11px 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.filter-tabs .tab:not(.active):hover,
.tab:not(.active):hover {
  color: rgba(255, 255, 255, 0.82);
}

.filter-tabs .tab.active,
.tab.active {
  background: linear-gradient(180deg, #f0c45a 0%, #d9a441 100%);
  color: #1a1208;
  box-shadow:
    0 0 0 1px rgba(244, 196, 102, 0.18),
    0 4px 18px rgba(217, 164, 65, 0.34);
}

.slot-panel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 0 0;
  border-radius: 0;
  background: transparent;
  border: none;
}

.slot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: auto;
  flex: 1;
  min-height: 0;
  padding-right: 4px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.slot-list::-webkit-scrollbar {
  width: 4px;
}

.slot-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.slot-empty {
  padding: 12px 8px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.slot-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.slot-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.slot-btn.active {
  border-color: rgba(244, 196, 102, 0.88);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 1px rgba(244, 196, 102, 0.12);
}

.slot-btn .time {
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}

.slot-btn.active .time {
  color: var(--gold-strong);
}

.slot-btn .count {
  flex-shrink: 0;
  min-width: 38px;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.38);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.content-scroll {
  flex: 1;
  overflow: auto;
  min-height: 0;
  padding: 14px;
  position: relative;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  gap: 16px 14px;
  padding: 2px;
}

.media-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 22px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.media-card.menu-open {
  z-index: 60;
}

.media-card.selected {
  border-color: var(--gold-strong);
  box-shadow: 0 0 0 1px rgba(244, 196, 102, 0.35);
}

.media-card.selected .media-thumb {
  border-color: transparent;
  box-shadow: none;
}

.media-card.loading-block {
  opacity: 0.65;
}

.media-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.media-thumb:hover {
  transform: none;
}

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

.media-time {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.58);
  pointer-events: none;
}

.media-actions {
  position: relative;
  flex-shrink: 0;
  padding: 10px 10px 12px;
  background: rgba(22, 26, 36, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.action-trigger {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 11px 14px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #f0c45a 0%, #d9a441 100%);
  color: #1a1208;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(217, 164, 65, 0.28);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.action-trigger:hover,
.action-trigger.open {
  filter: brightness(1.05);
  box-shadow: 0 6px 18px rgba(217, 164, 65, 0.36);
}

.action-trigger:active {
  transform: scale(0.98);
}

.action-popover {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 22px;
  background: rgba(8, 10, 15, 0.55);
  backdrop-filter: blur(2px);
}

.action-popover-inner {
  width: 100%;
  max-height: 100%;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(22, 26, 36, 0.98);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.55);
}

.action-item {
  border: none;
  border-radius: 12px;
  padding: 11px 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}

.action-item:hover,
.action-item.selected {
  background: linear-gradient(180deg, #f0c45a 0%, #d9a441 100%);
  color: #1a1208;
}

.viewer-actions {
  position: relative;
  margin-top: 10px;
}

.viewer-actions .action-trigger {
  max-width: 220px;
  border-radius: 999px;
}

.viewer-actions .action-popover {
  inset: auto 0 100% 0;
  top: auto;
  bottom: calc(100% + 8px);
  min-height: 0;
  background: transparent;
  backdrop-filter: none;
  padding: 0;
}

.viewer-actions .action-popover-inner {
  box-shadow: var(--shadow);
}

.slot-nav-hint {
  position: sticky;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.slot-nav-hint.top {
  top: 0;
  margin-bottom: -42px;
}

.slot-nav-hint.bottom {
  bottom: 0;
  margin-top: -42px;
}

.slot-nav-btn {
  pointer-events: auto;
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(8, 10, 15, 0.88);
  color: var(--gold-strong);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.right {
  padding: 16px;
}

.price-card {
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  margin-bottom: 8px;
}

.price-card .name {
  font-size: 0.88rem;
  font-weight: 600;
}

.price-card .price {
  margin-top: 4px;
  color: var(--gold-strong);
  font-weight: 700;
}

.sidebar-section {
  margin-top: 12px;
}

.sidebar-section h3 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
}

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

.summary-row.total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
}

.summary-row.total .value {
  color: var(--gold-strong);
}

.discount-link {
  margin-top: 8px;
  border: none;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.sidebar-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
}

.primary,
.danger,
.cart-submit {
  border: none;
  border-radius: 18px;
  padding: 12px 16px;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.primary {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  color: #1a1208;
}

.primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.danger {
  background: rgba(216, 79, 79, 0.16);
  color: var(--danger);
  border: 1px solid rgba(216, 79, 79, 0.35);
}

.cart {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  min-height: 0;
}

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

.cart-header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--gold-strong);
}

.cart-lines {
  flex: 1;
  overflow: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.cart-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
}

.cart-line.block-line {
  grid-template-columns: 120px 1fr auto;
}

.cart-thumb {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--line);
}

.block-stack {
  position: relative;
  width: 96px;
  height: 96px;
}

.block-stack img {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid var(--panel-strong);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.block-stack img:nth-child(1) {
  transform: rotate(-8deg) translate(-6px, 6px);
  z-index: 1;
}

.block-stack img:nth-child(2) {
  transform: rotate(4deg) translate(8px, 2px);
  z-index: 2;
}

.block-stack img:nth-child(3) {
  transform: rotate(-2deg) translate(18px, 14px);
  z-index: 3;
}

.cart-line-title {
  font-weight: 700;
  margin-bottom: 4px;
}

.cart-line-meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.cart-line-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.cart-line-actions select {
  flex: 1;
  min-width: 140px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  padding: 8px 10px;
  font: inherit;
}

.cart-line-price {
  font-weight: 700;
  color: var(--gold-strong);
  white-space: nowrap;
}

.cart-line-btns {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.text-btn {
  border: none;
  background: none;
  color: var(--gold);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-align: left;
}

.text-btn.danger-text {
  color: var(--danger);
}

.empty-cart {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  gap: 8px;
}

.empty-cart strong {
  color: var(--text);
  font-size: 1.1rem;
}

.contact-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 10px;
  cursor: pointer;
}

.contact-input.invalid {
  border-color: var(--danger);
}

.email-keyboard,
.phone-keyboard {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.keyboard-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 6px;
}

.key-btn {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 12px 6px;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.key-btn.wide {
  grid-column: span 2;
}

.key-btn.done {
  background: rgba(217, 164, 65, 0.2);
  color: var(--gold-strong);
}

.domain-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.domain-btn {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--gold-strong);
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.cart-totals {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.cart-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.done-screen {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.done-card {
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.done-card h2 {
  margin: 0 0 12px;
  color: var(--gold-strong);
}

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

.done-card .done-meta {
  margin: 18px 0;
  padding: 14px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
  text-align: left;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}

.modal {
  width: min(720px, 96vw);
  max-height: 92vh;
  overflow: auto;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  padding: 22px;
}

.modal h2 {
  margin: 0 0 14px;
  color: var(--gold-strong);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-wrap {
  position: relative;
}

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

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

.calendar-dow {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  padding: 4px 0;
}

.calendar-day {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.18);
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  cursor: default;
}

.calendar-day.available {
  color: var(--text);
  cursor: pointer;
  border-color: var(--line);
}

.calendar-day.available:hover {
  border-color: rgba(217, 164, 65, 0.45);
}

.calendar-day.selected {
  background: rgba(217, 164, 65, 0.22);
  border-color: var(--gold-strong);
  color: var(--gold-strong);
  font-weight: 700;
}

.calendar-day.disabled,
.calendar-day.empty {
  opacity: 0.35;
  pointer-events: none;
}

.viewer {
  width: min(960px, 96vw);
  padding: 0;
  overflow: hidden;
}

.viewer-body {
  position: relative;
  background: #000;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-body img,
.viewer-body video {
  max-width: 100%;
  max-height: 70vh;
  display: block;
}

.viewer-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 15, 0.75);
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

.viewer-nav.prev {
  left: 12px;
}

.viewer-nav.next {
  right: 12px;
}

.viewer-footer {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.viewer-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.price-modal .price-section h3 {
  margin: 0 0 10px;
  color: var(--gold-strong);
}

.price-modal .price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.discount-modal p {
  color: var(--muted);
  line-height: 1.5;
}

.discount-rule {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.18);
  margin-top: 8px;
}

.block-modal .block-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  max-height: 60vh;
  overflow: auto;
}

.block-modal .block-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.checkout-notice .notice-text {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.loading-screen,
.error-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--muted);
}

.error-screen h1 {
  color: var(--danger);
  margin: 0;
}

.spinner {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 3px solid rgba(217, 164, 65, 0.25);
  border-top-color: var(--gold-strong);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(216, 79, 79, 0.92);
  color: #fff;
  font-size: 0.86rem;
  z-index: 2000;
  pointer-events: none;
}

@media (max-width: 900px) {
  body.portal-body {
    overflow: auto;
  }

  #lumina-portal-root,
  .shell {
    height: auto;
    min-height: 100vh;
  }

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

  .shell:not(.cart-mode):not(.done-mode) .left {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .shell:not(.cart-mode):not(.done-mode) .left .filter-panel {
    grid-column: 1 / -1;
  }

  .slot-list {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 4px;
  }

  .slot-btn {
    min-width: 110px;
    flex-shrink: 0;
  }

  .content {
    min-height: 50vh;
  }

  .right {
    order: 3;
  }

  .cart-line {
    grid-template-columns: 72px 1fr;
  }

  .cart-line-price,
  .cart-line-btns {
    grid-column: 1 / -1;
  }

  .cart-line-btns {
    flex-direction: row;
  }
}
