/* LankaDesk.lk v2.0 — One-Screen (100vh No-Scroll) Modern Tech Marketplace */
:root {
  --bg: #F1F5F9;
  --surface: #FFFFFF;
  --ink: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --niladesk: #8B1E2D;
  --edudesk: #065F46;
  --corepulse: #0F3D7A;
  --mediapulse: #5B21B6;
  --active-theme: #0F172A;
  --active-accent: #F59E0B;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Inter', 'Noto Sans Sinhala', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
}

/* ONE SCREEN SHELL (Desktop 100vh Locked, No Page Scroll) */
.app-shell {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Top Ecosystem + Brand + Social Bar */
.top-chrome {
  flex: 0 0 auto;
  background: #0F172A;
  color: #E2E8F0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.eco-bar-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 7px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.brand-mini {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
}
.brand-mini img { width: 30px; height: 30px; border-radius: 8px; }
.eco-tabs { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.eco-tab {
  border: 1px solid transparent;
  background: rgba(255,255,255,0.05);
  color: #CBD5E1;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all .18s ease;
  font-family: inherit;
}
.eco-tab img { width: 16px; height: 16px; border-radius: 4px; }
.eco-tab:hover { background: rgba(255,255,255,0.14); color: #fff; }
.eco-tab.active {
  background: var(--active-theme);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.top-right { display: flex; align-items: center; gap: 8px; }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.social-pill:hover { transform: translateY(-1px); opacity: 0.92; }
.sp-fb { background: #1877F2; }
.sp-tt { background: #111827; border: 1px solid rgba(255,255,255,0.28); }
.sp-wa { background: #16A34A; }

.lang-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: #CBD5E1;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
}
.lang-btn.active { background: #FFFFFF; color: #0F172A; }

/* Main Viewport Body (Fills remaining 100vh cleanly) */
.viewport-main {
  flex: 1 1 auto;
  min-height: 0;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================= HUB VIEW (ONE SCREEN) ================= */
.hub-one-screen {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.hub-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  border-radius: 16px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hub-banner h1 { margin: 0 0 3px; font-size: clamp(18px, 2vw, 24px); line-height: 1.25; }
.hub-banner p { margin: 0; font-size: 13px; color: #CBD5E1; }
.hub-kicker {
  display: inline-block;
  background: rgba(245,158,11,0.18);
  color: #FDE68A;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 5px;
  letter-spacing: 0.6px;
}

/* 4 Persuasive Rooms Grid */
.rooms-4-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  min-height: 0;
}
.room-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 5px solid var(--rc);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  text-align: left;
  font-family: inherit;
  min-height: 0;
  overflow: hidden;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(15,23,42,0.12);
}
.room-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.room-card-head img { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; }
.room-card-head h2 { margin: 0; font-size: 17px; color: var(--rc); line-height: 1.15; }
.room-card-head span { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.room-why-box {
  background: #F8FAFC;
  border-left: 3px solid var(--rc);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12.3px;
  color: #1E293B;
  line-height: 1.48;
  margin-bottom: 8px;
}
.room-why-label {
  font-size: 10.5px;
  font-weight: 800;
  color: var(--rc);
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}
.room-bullets {
  margin: 0 0 10px;
  padding-left: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.room-enter-btn {
  background: var(--rc);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 800;
  text-align: center;
}

/* Bottom Live Book-Cover Strip on Hub (Horizontal Quick-Jump) */
.hub-cover-strip {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
}
.strip-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 6px;
  border-right: 1px solid var(--border);
}
.mini-cover-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s ease, background .15s ease;
}
.mini-cover-chip:hover { border-color: var(--mc); background: #fff; }
.mini-cover-chip img { width: 26px; height: 35px; border-radius: 4px; object-fit: cover; }
.mini-cover-chip span { font-size: 11.5px; font-weight: 700; color: var(--ink); }

/* ================= ROOM VIEW (ONE SCREEN) ================= */
.room-one-screen {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}
.room-top-bar {
  background: linear-gradient(135deg, var(--active-theme) 0%, #0F172A 100%);
  color: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.room-top-left { display: flex; align-items: center; gap: 14px; }
.room-top-left img { width: 44px; height: 44px; border-radius: 11px; border: 2px solid rgba(255,255,255,0.25); }
.room-top-left h1 { margin: 0; font-size: 20px; }
.room-top-left p { margin: 2px 0 0; font-size: 12.5px; color: rgba(255,255,255,0.85); }

.room-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 2px;
}
.shelf-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.shelf-card:hover { transform: translateY(-4px); border-color: var(--active-theme); box-shadow: 0 14px 28px rgba(15,23,42,0.1); }
.shelf-cover {
  background: #F1F5F9;
  border-radius: 11px;
  padding: 10px;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 10px;
}
.shelf-cover img { width: 118px; aspect-ratio: 340 / 460; border-radius: 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.18); }
.status-chip {
  position: absolute; top: 8px; right: 8px;
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px;
}
.status-live { background: #DCFCE7; color: #166534; }
.status-soon { background: #FEF3C7; color: #92400E; }
.shelf-card h3 { margin: 0 0 6px; font-size: 14px; line-height: 1.3; }
.shelf-card p { margin: 0 0 10px; font-size: 12px; color: var(--muted); flex: 1; }
.shelf-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid #F1F5F9; }
.shelf-price { font-weight: 800; font-size: 13.5px; color: var(--active-theme); }
.shelf-btn { background: var(--active-theme); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 7px; }

.room-cross-strip {
  background: #0F172A;
  color: #fff;
  border-radius: 14px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.room-cross-strip p { margin: 0; font-size: 12.5px; color: #CBD5E1; }

/* =========================================================
   75% / 25% ONE-SCREEN PRODUCT DETAIL SHOWCASE
   ========================================================= */
.detail-one-screen {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 14px;
}

/* LEFT 75% PANEL */
.left-75 {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-top: 5px solid var(--active-theme);
  border-radius: 18px;
  padding: 14px 18px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 10px;
  min-height: 0;
}
.detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.detail-header-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.detail-header-title img { width: 30px; height: 30px; border-radius: 8px; }
.detail-header-title h1 {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 19px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.back-group { display: flex; gap: 6px; flex-shrink: 0; }
.btn-back {
  border: 1px solid var(--border);
  background: #F8FAFC;
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
}
.btn-back:hover { background: #E2E8F0; }

/* Middle row of Left 75%: 60% Visual Stage + Side Control Panel */
.stage-and-controls {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 14px;
  min-height: 0;
}
.visual-stage {
  background: #0F172A;
  border-radius: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  min-height: 0;
}
.stage-cover-view {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.stage-cover-view img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

/* Stage Mode: Image Gallery with Left/Right Arrows */
.stage-gallery-view {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}
.stage-gallery-view img {
  max-width: 92%;
  max-height: calc(100% - 36px);
  object-fit: contain;
  border-radius: 10px;
}
.stage-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
}
.stage-arrow:hover { background: var(--active-theme); }
.arrow-left { left: 10px; }
.arrow-right { right: 10px; }
.stage-caption-bar {
  margin-top: 8px;
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 700;
}

/* Stage Mode: Demo Tour / Instructions */
.stage-card-view {
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: 10px;
  padding: 16px 18px;
  overflow-y: auto;
  color: var(--ink);
}
.stage-back-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 5;
  background: rgba(15,23,42,0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.stage-back-pill:hover { background: var(--active-theme); }

/* Side Control Panel next to 60% Stage */
.side-controls {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
}
.price-highlight {
  background: #FFFFFF;
  border: 1.5px solid var(--active-theme);
  border-radius: 12px;
  padding: 10px 12px;
}
.price-highlight .lbl { font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; }
.price-highlight .val { font-size: 21px; font-weight: 900; color: var(--active-theme); display: block; line-height: 1.2; }
.price-highlight .sub { font-size: 11.5px; color: var(--muted); }

.ctrl-btn-stack { display: grid; gap: 7px; }
.ctrl-btn {
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #FFFFFF;
  color: var(--ink);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  transition: all .15s ease;
}
.ctrl-btn:hover, .ctrl-btn.active {
  background: var(--active-theme);
  color: #fff;
  border-color: var(--active-theme);
}

.btn-primary {
  background: var(--active-theme);
  color: #fff;
  border: none;
  padding: 11px 14px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
}
.btn-primary:hover { filter: brightness(1.08); }

/* Bottom 100-200 word Description Box inside Left 75% */
.desc-box {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  max-height: 116px;
  overflow-y: auto;
}
.desc-box h4 { margin: 0 0 4px; font-size: 12px; color: var(--active-theme); text-transform: uppercase; }
.desc-box p { margin: 0; font-size: 12.8px; color: #334155; line-height: 1.55; }

/* =========================================================
   RIGHT 25% DOWN-TO-UP AUTO-RUNNING BELT (HOVER PAUSE)
   ========================================================= */
.right-25 {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.belt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 800;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.belt-viewport {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  position: relative;
}
.belt-track {
  display: flex;
  flex-direction: column;
  gap: 9px;
  animation: downToUpMarquee 36s linear infinite;
}
.belt-viewport:hover .belt-track {
  animation-play-state: paused;
}
@keyframes downToUpMarquee {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.belt-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 9px;
  padding: 8px;
  border-radius: 12px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  align-items: center;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.belt-item:hover {
  transform: scale(1.025);
  background: #FFFFFF;
  border-color: var(--bi-color);
  box-shadow: 0 10px 22px rgba(15,23,42,0.14);
}
.belt-item img {
  width: 54px;
  aspect-ratio: 340 / 460;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.belt-item-tag { font-size: 10px; font-weight: 800; color: var(--bi-color); text-transform: uppercase; }
.belt-item h4 { margin: 2px 0 2px; font-size: 12px; line-height: 1.25; color: var(--ink); }
.belt-item p {
  margin: 0; font-size: 11px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Thin Footer inside 100vh */
.mini-footer {
  flex: 0 0 auto;
  background: #0F172A;
  color: #94A3B8;
  font-size: 11px;
  padding: 5px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.mini-footer a { color: #CBD5E1; text-decoration: none; font-weight: 600; }

/* Modals & Live Search */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(15,23,42,0.72);
  display: none; align-items: center; justify-content: center; padding: 16px; z-index: 200;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #fff; border-radius: 18px; max-width: 540px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 24px; position: relative;
}
.modal-close {
  position: absolute; top: 12px; right: 12px; border: none; background: #F1F5F9;
  width: 32px; height: 32px; border-radius: 50%; font-size: 17px; cursor: pointer; font-weight: 700;
}
.form-group { margin-bottom: 11px; }
.form-group label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 4px; }
.form-group input { width: 100%; padding: 9px 12px; border: 1.5px solid #CBD5E1; border-radius: 9px; font-size: 13.5px; font-family: inherit; }
.bank-box { background: #FFF8F8; border: 1.5px dashed var(--niladesk); border-radius: 10px; padding: 12px; margin-bottom: 14px; font-size: 13px; }
.taste-row { display: flex; gap: 8px; margin-bottom: 10px; }
.taste-row input { flex: 1; padding: 9px 12px; border: 1.5px solid #CBD5E1; border-radius: 9px; font-family: inherit; }
.taste-row button { background: var(--niladesk); color: #fff; border: none; padding: 0 16px; border-radius: 9px; font-weight: 700; cursor: pointer; }
.taste-item { background: #FFF8F8; border-left: 3px solid var(--niladesk); padding: 9px 11px; border-radius: 8px; margin-bottom: 8px; font-size: 12.5px; }

/* Mobile Responsive Fallback (Allows clean scrolling on small phones only) */
@media (max-width: 1024px) {
  .app-shell { height: auto; min-height: 100vh; overflow: visible; }
  .rooms-4-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-one-screen { grid-template-columns: 1fr; }
  .stage-and-controls { grid-template-columns: 1fr; }
  .belt-viewport { max-height: 320px; }
}
@media (max-width: 640px) {
  .rooms-4-grid { grid-template-columns: 1fr; }
  .eco-bar-inner { flex-wrap: wrap; }
}


/* v2.1 Rich Colorful Room Card Hero & Brand Logos */
.room-card { padding: 12px; gap: 8px; }
.room-hero-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 6px;
  box-shadow: 0 8px 18px rgba(15,23,42,0.14);
}
.room-hero-img-wrap img.room-hero-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.room-card:hover .room-hero-img-wrap img.room-hero-art { transform: scale(1.05); }
.room-hero-badge {
  position: absolute;
  bottom: 7px;
  left: 8px;
  background: rgba(15,23,42,0.82);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}
.room-card-head img { width: 40px; height: 40px; border-radius: 10px; object-fit: contain; background: #fff; border: 1px solid #E2E8F0; }
.brand-mini img { width: 32px; height: 32px; border-radius: 8px; object-fit: contain; background: #fff; padding: 1px; }
.eco-tab img { width: 18px; height: 18px; border-radius: 4px; object-fit: contain; background: #fff; }
.room-bullets { margin: 0 0 6px; padding-left: 16px; font-size: 11.5px; }
.room-why-box { padding: 7px 9px; font-size: 11.8px; margin-bottom: 6px; }


/* v2.2 Full-Bleed 4-Room Cards (ROOM NO 01..04 + Centered Large Logo + Frosted Description) */
.room-card {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center bottom;
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.room-card-overlay {
  position: relative;
  z-index: 2;
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.68) 65%, rgba(255,255,255,0.0) 100%);
}
.room-no-pill {
  display: inline-block;
  background: var(--rc);
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 1.1px;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.room-logo-big {
  width: 78px;
  height: 78px;
  border-radius: 16px;
  object-fit: contain;
  background: #FFFFFF;
  padding: 4px;
  box-shadow: 0 8px 20px rgba(15,23,42,0.14);
  border: 2px solid rgba(255,255,255,0.9);
  margin-bottom: 10px;
}
.room-glass-desc {
  width: 100%;
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-left: 4px solid var(--rc);
  border-radius: 12px;
  padding: 9px 11px;
  text-align: left;
  font-size: 12px;
  color: #0F172A;
  line-height: 1.48;
  box-shadow: 0 4px 14px rgba(15,23,42,0.06);
}
.room-glass-desc strong {
  display: block;
  font-size: 11px;
  color: var(--rc);
  margin-bottom: 2px;
  text-transform: uppercase;
}
.room-bottom-cta {
  position: relative;
  z-index: 2;
  padding: 12px 14px;
  display: flex;
  justify-content: center;
}
.room-enter-btn {
  width: 100%;
  background: rgba(255,255,255,0.95);
  color: var(--rc);
  border: 2px solid var(--rc);
  padding: 8px 12px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
  transition: all .18s ease;
}
.room-card:hover .room-enter-btn {
  background: var(--rc);
  color: #FFFFFF;
}


/* v2.3 Full-Height Immersive 4-Room Hub (No bottom strip, darkened image, light text, rotating logo, click sign) */
.hub-one-screen {
  grid-template-rows: auto 1fr !important;
}
.room-card {
  position: relative;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 20px !important;
  overflow: hidden;
  background-size: cover !important;
  background-position: center center !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .25s ease, box-shadow .25s ease;
}
.room-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,12,24,0.84) 0%, rgba(8,12,24,0.68) 55%, rgba(8,12,24,0.42) 100%);
  z-index: 1;
  transition: background .25s ease;
}
.room-card:hover::before {
  background: linear-gradient(180deg, rgba(8,12,24,0.78) 0%, rgba(8,12,24,0.58) 55%, rgba(8,12,24,0.30) 100%);
}
.room-card-overlay {
  position: relative;
  z-index: 2;
  padding: 20px 18px 10px !important;
  background: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.room-no-pill {
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 1.8px !important;
  padding: 5px 16px !important;
  border-radius: 999px;
  background: var(--rc);
  color: #FFFFFF;
  margin-bottom: 14px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
}
@keyframes slowRotateLogo {
  0%   { transform: perspective(600px) rotateY(0deg); }
  100% { transform: perspective(600px) rotateY(360deg); }
}
.room-logo-big {
  width: 96px !important;
  height: 96px !important;
  border-radius: 50% !important;
  object-fit: contain;
  background: #FFFFFF;
  padding: 6px;
  border: 3px solid rgba(255,255,255,0.85) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.42) !important;
  margin-bottom: 16px !important;
  animation: slowRotateLogo 9s linear infinite;
}
.room-card:hover .room-logo-big {
  animation-duration: 3.5s;
}
.room-light-desc {
  color: var(--r-light, #F8FAFC);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.62;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0,0,0,0.75);
  margin: 0;
  padding: 0 4px;
}
.room-bottom-cta {
  position: relative;
  z-index: 2;
  padding: 14px 18px 18px !important;
  display: flex;
  justify-content: center;
}
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); transform: scale(1); }
  70%  { box-shadow: 0 0 0 12px rgba(255,255,255,0); transform: scale(1.06); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); transform: scale(1); }
}
.room-click-sign {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.88);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  animation: pulseRing 2.2s infinite;
  transition: background .2s ease, transform .2s ease;
}
.room-card:hover .room-click-sign {
  background: var(--rc);
  border-color: #FFFFFF;
  transform: scale(1.12);
}


/* v2.4 MOBILE ONE-SCREEN (100dvh NO VERTICAL SCROLL — HORIZONTAL PAGE-FLIPPING) */
.mobile-pager-bar {
  display: none;
}
@media (max-width: 1024px) {
  html, body { height: 100dvh; overflow: hidden; }
  .app-shell { height: 100dvh !important; min-height: 0 !important; overflow: hidden !important; }
  .eco-bar-inner { padding: 6px 10px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; }
  .eco-tabs { display: none; }
  .brand-mini span { font-size: 13.5px; }
  .social-pill { padding: 4px 8px; font-size: 11px; }
  .viewport-main { padding: 8px 10px; gap: 8px; overflow: hidden; }
  .hub-banner { padding: 10px 14px; border-radius: 12px; }
  .hub-banner h1 { font-size: 15.5px; margin: 0 0 2px; }
  .hub-banner p { font-size: 11.5px; }
  .hub-kicker { display: none; }

  /* Mobile 4-Room Horizontal Page Flipper */
  .hub-one-screen {
    grid-template-rows: auto 1fr auto !important;
    gap: 8px;
  }
  .rooms-4-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 10px;
    scrollbar-width: none;
    min-height: 0;
  }
  .rooms-4-grid::-webkit-scrollbar { display: none; }
  .room-card {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
  }
  .room-logo-big { width: 82px !important; height: 82px !important; margin-bottom: 10px !important; }
  .room-light-desc { font-size: 13px; line-height: 1.5; }

  /* Mobile Room Product Horizontal Page Flipper */
  .room-one-screen {
    grid-template-rows: auto 1fr auto auto !important;
    gap: 8px;
  }
  .room-top-bar { padding: 10px 12px; }
  .room-top-left img { width: 34px; height: 34px; }
  .room-top-left h1 { font-size: 15px; }
  .room-top-left p { display: none; }
  .room-shelf {
    display: flex !important;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 10px;
    scrollbar-width: none;
  }
  .room-shelf::-webkit-scrollbar { display: none; }
  .shelf-card {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: center;
    justify-content: space-between;
  }
  .shelf-cover { flex: 1; min-height: 0; }
  .shelf-cover img { max-height: 100%; width: auto; }
  .room-cross-strip { padding: 8px 12px; }
  .room-cross-strip p { font-size: 11px; }

  /* Mobile Pager Controls Bar */
  .mobile-pager-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 5px 10px;
    gap: 8px;
  }
  .pager-btn {
    border: none;
    background: #0F172A;
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
  }
  .pager-dots { display: flex; gap: 6px; align-items: center; }
  .pager-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #CBD5E1; border: none; padding: 0; cursor: pointer;
  }
  .pager-dot.active { width: 20px; border-radius: 999px; background: var(--active-theme); }

  /* Mobile Product Detail — Zero Vertical Page Scroll */
  .detail-one-screen {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
  }
  .left-75 {
    flex: 1;
    min-height: 0;
    padding: 10px 12px;
    grid-template-rows: auto 1fr auto;
    gap: 7px;
  }
  .detail-header-bar { padding-bottom: 5px; }
  .detail-header-title h1 { font-size: 13.5px; }
  .btn-back { padding: 4px 8px; font-size: 11px; }
  .stage-and-controls {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr auto;
    gap: 7px;
    min-height: 0;
  }
  .visual-stage { min-height: 0; padding: 8px; }
  .side-controls {
    padding: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    overflow: visible;
  }
  .price-highlight { padding: 5px 9px; flex: 1; min-width: 110px; }
  .price-highlight .val { font-size: 15px; }
  .price-highlight .sub, .price-highlight .lbl { font-size: 9.5px; }
  .ctrl-btn-stack {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 5px;
    width: 100%;
    scrollbar-width: none;
  }
  .ctrl-btn-stack::-webkit-scrollbar { display: none; }
  .ctrl-btn {
    width: auto;
    white-space: nowrap;
    padding: 6px 10px;
    font-size: 11px;
  }
  .ctrl-btn span:last-child { display: none; }
  .side-controls .btn-primary { padding: 8px 12px; font-size: 12px; flex: 1; }
  .desc-box { max-height: 62px; padding: 6px 10px; }
  .desc-box h4 { font-size: 10px; }
  .desc-box p { font-size: 11.5px; line-height: 1.4; }

  /* Right 25% becomes compact horizontal bottom strip on Mobile */
  .right-25 {
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 12px;
  }
  .belt-header { display: none; }
  .belt-viewport { max-height: none; overflow-x: auto; overflow-y: hidden; }
  .belt-track {
    flex-direction: row;
    animation: none !important;
    gap: 8px;
  }
  .belt-item {
    flex: 0 0 185px;
    padding: 5px;
    grid-template-columns: 36px 1fr;
  }
  .belt-item img { width: 36px; }
  .belt-item h4 { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .belt-item p { display: none; }
  .mini-footer { font-size: 9.5px; padding: 4px 10px; }
}
