:root {
  --primary-color: #B97700;
  --primary-rgb: 185, 119, 0;
  --primary-accent: #EAAA00;
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
  --ocop-brown: #A3532D;
  --ocop-green: #00844D;
  --ocop-blue: #1767B3;
  --ocop-orange: #F4A900;
  --text-color: #332B1F;
  --bg-color: #FFFCF4;
  --bg-hover: #FFF0B8;
  --bg-hover-strong: #FFE17A;
  --border-color: #D7AE45;
}
.vr-button.button_stores {
  position: absolute;
  top: 15px;
  left: 70px;
  background: #ffffff;
  padding: 10px 10px 6px;
  border-radius: 50%;
  z-index: 6;
  cursor: pointer;
}

.vr-button.button_stores:hover {
  background: #ddd;
}

.vr-button.button_stores i {
  font-size: 18px;
  color: var(--primary-color);
}

/* ===== VIP POPUP ===== */
#modal_store_vip .popup-content {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
#modal_store_vip .content-store-vip {
  position: static !important;
  transform: none !important;
  top: unset !important;
  left: unset !important;
  width: 100% !important;
  height: 100%;
  display: flex;
  flex-direction: column;
}
#modal_store_vip .popup-header .title {
  background: -webkit-linear-gradient(135deg, var(--primary-color) 0%, var(--primary-accent) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
#modal_store_vip .popup-header {
  flex-shrink: 0;
  width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 16px 24px !important;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  position: relative;
}
#modal_store_vip .popup-body {
  flex: 1;
  width: 100% !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  height: auto !important;
  overflow-y: auto;
  padding: 20px 24px !important;
  box-sizing: border-box;
}
#content_store_vip {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  float: none !important;
}
#modal_store_vip .box_item_store {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  min-width: 0;
}
#modal_store_vip .store-card__vip {
  display: block !important;
}

/* ===== CATEGORY FILTER TAGS ===== */
#modal_stores #modal_filter_two {
  position: static;
  width: auto;
  top: unset;
  right: unset;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #ececec;
  padding: 8px 16px 12px;
}
#modal_stores .list_category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}
#modal_stores .filter_category {
  float: none !important;
  margin: 0 !important;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
#modal_stores .filter_category:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
}
#modal_stores .filter_category.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}
#modal_stores .filter_category_clear {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px dashed #ccc;
  background: transparent;
  color: #999;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
#modal_stores .filter_category_clear:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ===== CATEGORY MENU (nav > ul sidebar) ===== */
/* Title */
nav > ul .title_category {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #222 !important;
  padding: 14px 16px 10px !important;
  border-bottom: 1px solid var(--border-color) !important;
  margin-bottom: 4px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.btn-close-category {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
/* content_category scroll */
nav > ul .content_category {
  padding: 4px 6px !important;
}
/* Parent item li */
nav > ul .content_category > li {
  border-top: none !important;
  margin: 2px 0 !important;
  border-radius: 10px !important;
  list-style: none;
}
/* Parent item anchor */
nav > ul .content_category > li > a.parent_cat {
  padding: 11px 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #333 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.15s !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}
nav > ul .content_category > li > a.parent_cat > i {
  flex-shrink: 0;
  width: 18px;
  text-align: center;
  font-size: 15px;
  color: var(--primary-color);
}
nav > ul .content_category > li > a.parent_cat:hover {
  background: var(--bg-hover) !important;
  color: var(--primary-color) !important;
}
/* Active parent */
nav > ul .content_category > li > a.parent_cat.active_cat {
  background: var(--bg-hover-strong) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border-radius: 10px !important;
}
/* Subcategory list */
nav > ul .content_category li ul {
  background: transparent !important;
  padding: 2px 0 6px 0 !important;
  border-left: 2px solid var(--border-color) !important;
  margin: 0 0 4px 18px !important;
  border-radius: 0 !important;
}
nav > ul .content_category li li {
  list-style: none;
  margin: 1px 0;
}
nav > ul .content_category li li a {
  padding: 7px 12px 7px 16px !important;
  font-size: 13px !important;
  color: #555 !important;
  font-weight: 400 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
  transition: background 0.15s, color 0.15s;
}
nav > ul .content_category li li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #bbb;
  flex-shrink: 0;
}
/* Ẩn dot bullet khi sub-cat có icon */
nav > ul .content_category li li a:has(> i)::before {
  display: none !important;
}
nav > ul .content_category li li a > i {
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--primary-color);
}
nav > ul .content_category li li a:hover {
  background: var(--bg-hover) !important;
  color: var(--primary-color) !important;
}
nav > ul .content_category li li a:hover::before {
  background: var(--primary-color);
}
nav > ul .content_category li li a:after {
  display: none !important;
}

/* ===== FILTER BAR ===== */
/* Filter bar base */
#modal_stores .popup-body .top {
  width: 100% !important;
  padding: 10px 0 !important;
  height: auto !important;
  min-height: unset !important;
  box-sizing: border-box;
  margin: 0 !important;
}

#modal_stores .filter_desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
/* Hàng 1: search chiếm full width */
#modal_stores .filter_desktop .search.sort_store {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 6px 14px;
  gap: 8px;
  box-sizing: border-box;
}
#modal_stores .filter_desktop .search.sort_store img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.5;
}
#modal_stores .filter_desktop .search.sort_store .txt_search {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
}
/* Hàng 2: sort + filter chia đôi */
#modal_stores .filter_desktop .filter.sort_store,
#modal_stores .filter_desktop .filter_two.sort_store {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
}
#modal_stores .filter_desktop .select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  padding: 0;
  width: auto;
  flex: 1;
}


.store-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: transparent;
  width: 100%;
  box-sizing: border-box;
}
.store-filter__search {
  flex: 1 1 200px;
  min-width: 0;
  margin: 0;
}
.store-filter__sort {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.store-filter__select {
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  background: #fff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.store-filter__select:focus {
  border-color: var(--primary-color);
}
.store-filter__btn-icon {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border-color);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
}
.store-filter__btn-icon:hover {
  border-color: var(--primary-color);
  background: var(--bg-hover);
}
.store-filter__btn-icon .icon-sort-arrow {
  transition: transform 0.2s;
  transform: rotate(180deg); /* mặc định: desc = xuống */
}
.store-filter__btn-icon:not(.desc) .icon-sort-arrow {
  transform: rotate(0deg); /* asc = lên */
}
.store-filter__btn-filter {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  margin-left: auto;
}
.store-filter__btn-filter:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
}
.store-filter__btn-filter .icon-chevron {
  transition: transform 0.2s;
}
#modal_filter_two.open ~ * .icon-chevron,
.store-filter__btn-filter.active .icon-chevron {
  transform: rotate(180deg);
}

/* modal_stores header — title left-aligned, no logo */
#modal_stores .popup-header {
  display: flex;
  align-items: center;
  padding: 0 20px;
}
#modal_stores .popup-header .title {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: left;
  flex: 1;
}

/* Back button — its look is with "Back to lobby", at the end of this file */
.back-list-store {
  background: #ffffff;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  cursor: pointer;
}
.popup-preview .back-list-store {
  display: flex !important;
}

/* Home button base position fix */
.vr-button.button_home {
  top: 8px !important;
}

/* Home button in VIP mode */
.vr-button.button_home.vip-mode {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 15px !important;
  right: 16px !important;
}
.vr-button.button_home.vip-mode img,
.vr-button.button_home.vip-mode svg {
  width: 28px !important;
  height: 28px !important;
}

/* Home button — same size as back button in preview */
.vr-button.button_home.preview {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  top: 5px !important;
  right: 10px !important;
}

/* Close button — white circle on store list / category header */
.search_store .close-popup,
.popup-list-category .close-popup {
  background: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
  padding: 0;
  line-height: 1;
  top:5px;
}
.search_store .close-popup:hover,
.popup-list-category .close-popup:hover {
  background: var(--bg-hover);
}

/* Sound button icon toggle */
.button_sound .icon-sound-off { display: none; }
.button_sound.sound_on .icon-sound-on { display: block; }
.button_sound.sound_on .icon-sound-off { display: none; }
.button_sound:not(.sound_on) .icon-sound-on { display: none; }
.button_sound:not(.sound_on) .icon-sound-off { display: block; }

/* Category button icon toggle */
.button_category .icon-close { display: none; }
.button_category.menu-btn-open .icon-category { display: none; }
.button_category.menu-btn-open .icon-close { display: block; }
.button_category.menu-btn-open .tooltip-bottom { display: none; }

/* ===== STORE LIST REDESIGN ===== */

/* Search bar */
.store-search-wrap {
  padding: 10px 0;
}
.store-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  gap: 10px;
  max-width: 480px;
  margin: 0;
  border: 1.5px solid var(--border-color);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.store-search-bar:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}
.store-search-bar input.txt_search {
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  width: 100%;
  color: #333;
}
.store-search-bar input.txt_search::placeholder { color: #aaa; }

/* Grid */
.search_store .popup-body .body,
#modal_stores .popup-body .body {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 16px 24px 20px;
  align-items: start;
  background: transparent;
}

/* Box wrapper */
.search_store .box_item_store { padding: 0 !important; }

/* Card */
.store-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.09);
  transition: transform 0.22s, box-shadow 0.22s;
}
.store-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(var(--primary-rgb),0.2);
}

/* Thumbnail */
.store-card__thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #eee;
}
.store-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.store-card:hover .store-card__thumb img { transform: scale(1.05); }

/* Play overlay */
.store-card__play {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.store-card:hover .store-card__play { opacity: 1; }

/* Views badge */
.store-card__views {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

/* VIP badge */
.store-card__vip {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-accent));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

/* Card body */
.store-card__body {
  padding: 10px 12px 12px;
  overflow: hidden;
  background: #fff;
}
.store-card__name {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #2d2d2d;
  text-transform: uppercase;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
  line-height: 1.4;
  letter-spacing: 0.4px;
}

/* Fix override conflict from assets/css/style.css */
.search_store .popup-body .body,
#modal_stores .popup-body .body {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 16px !important;
  padding: 16px 24px 20px !important;
  text-align: left !important;
  background: transparent !important;
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100vh - 150px);
}
.search_store .box_item_store,
#modal_stores .box_item_store {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  min-width: 0;
}

/* Responsive store grid */

/* Fix pagination layout */
.search_store .popup-body,

#modal_stores .popup-body {
  display: flex;
  flex-direction: column;
  height: calc(100% - 50px);
  overflow: hidden;
}
.search_store .popup-body .store-search-wrap,
#modal_stores .popup-body .top {
  flex-shrink: 0;
}
.search_store .popup-body .body,
#modal_stores .popup-body .body {
  flex: 1;
  overflow-y: auto;
  height: auto !important;
}
.search_store #pagination-store,
#modal_stores #pagination-store {
  flex-shrink: 0;
  padding: 12px 0;
  display: flex;
  justify-content: center;
}

/* Pagination style */
.search_store #pagination-store .simplePagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}
.search_store #pagination-store .simplePagination a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: all 0.15s;
}
.search_store #pagination-store .simplePagination a:hover {
  background: var(--bg-hover);
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.search_store #pagination-store .simplePagination .current a,
.search_store #pagination-store .simplePagination .active a {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}
.search_store #pagination-store .simplePagination .disabled a {
  opacity: 0.4;
  pointer-events: none;
}

/* ===== PAGINATION REDESIGN ===== */
#pagination-store {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 16px;
  background: none;
}
#pagination-store ul {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
#pagination-store li {
  float: none;
  list-style: none;
}
#pagination-store a,
#pagination-store span {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1.5px solid #ddd;
  margin: 0;
  transition: all 0.18s;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
#pagination-store a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
  box-shadow: none;
}
#pagination-store .active span.current {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb),0.35);
  cursor: default;
}
#pagination-store .disabled span {
  background: #fff !important;
  border-color: #e0e0e0 !important;
  color: #ccc !important;
  box-shadow: none !important;
  cursor: default;
}
#pagination-store .disabled a {
  opacity: 0.4;
  pointer-events: none;
  box-shadow: none;
}

/* ===== CUSTOM SCROLLBAR ===== */
.popup-content *::-webkit-scrollbar,
.popup *::-webkit-scrollbar,
.search_store *::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.popup-content *::-webkit-scrollbar-track,
.popup *::-webkit-scrollbar-track,
.search_store *::-webkit-scrollbar-track {
  background: transparent;
}
.popup-content *::-webkit-scrollbar-thumb,
.popup *::-webkit-scrollbar-thumb,
.search_store *::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb),0.3);
  border-radius: 10px;
}
.popup-content *::-webkit-scrollbar-thumb:hover,
.popup *::-webkit-scrollbar-thumb:hover,
.search_store *::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--primary-rgb),0.6);
}

/* Firefox */
.popup-content, .popup, .search_store,
.popup-content *, .popup *, .search_store * {
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
}

.hidden { display: none !important; }

.logo_vrmall img { width: 95px !important; }

/* ===== POWERED BY ===== */
.right-control-bottom {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 4;
}
.powered-by img {
  width: 90px;
  opacity: 0.7;
  display: block;
  transition: opacity 0.2s;
}
.powered-by:hover img {
  opacity: 1;
  cursor: pointer;
}
.desc_info { display: none; }

/* ===== POPUP INFO ===== */
.popup-info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.popup-info-box {
  background: #fff;
  border-radius: 16px;
  width: 480px;
  max-width: 90vw;
  max-height: 80vh;
  overflow: hidden; /* chỉ phần body cuộn, header + góc bo giữ nguyên */
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  position: relative;
  animation: infoPopupIn 0.2s ease;
  display: flex;
  flex-direction: column;
}
@keyframes infoPopupIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f8f8;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.popup-info-close:hover { background: var(--bg-hover-strong); }
.popup-info-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 60px 16px 24px; /* chừa chỗ cho nút đóng */
  border-bottom: 2px solid var(--primary-color);
  flex-shrink: 0;
}
.popup-info-title {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.popup-info-body {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.18) transparent;
}
.popup-info-body::-webkit-scrollbar { width: 6px; }
.popup-info-body::-webkit-scrollbar-track { background: transparent; margin: 6px 0; }
.popup-info-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 6px; }
.popup-info-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.3); }
.popup-info-body > * { flex-shrink: 0; }
.popup-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  background: #f8f8f8;
  border-radius: 10px;
}
.popup-info-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  white-space: nowrap;
  min-width: 80px;
}
.popup-info-value {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.popup-info-desc {
  padding: 14px;
  background: var(--bg-hover);
  border-radius: 10px;
  border-left: 3px solid var(--primary-color);
}
.popup-info-desc-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin: 0 0 8px;
}
.popup-info-desc-text {
  font-size: 14px;
  color: #444;
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  .popup-info-box { max-width: 94vw; max-height: 86vh; }
  .popup-info-header { padding: 18px 54px 12px 16px; }
  .popup-info-title { font-size: 17px; }
  .popup-info-body { padding: 12px 16px 16px; }
  .popup-info-row { flex-direction: column; gap: 4px; }
}







.m-0{
  margin: 0 !important;
}

.p-0{
  padding: 0 !important;
}

.popup{
  position: fixed;
  background: rgba(0,0,0,0.80);
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  z-index: 201;
}

.popup-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  padding: 0.4rem;
  border-radius: 0.5rem;
  width: 100%;
  height: 100%;
}

#modal_stores .popup-header{
  background: var(--primary-gradient);
  text-align: center;
  display: flex;
  justify-content: start;
  height: 50px;
}

.popup-header .logo img{
  width: 80%;
  margin-top: 5px;
}

.popup-header .title{
  font-size: 36px;
  margin: 13px auto;
}

.popup-body{
  background: #eeeeee;
  display: flex;
  flex-direction: column;
}

.popup-body .top{
  padding: 30px 0;
  height: 40px;
  margin: 0 auto;
  width: max-content;
}


.popup-body .body{
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100vh - 209px);
  text-align: center;
  color: #000000;
}

.close-popup{
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

.box_item_store{
  float: left;
  position: relative;
  padding: 10px;
  box-sizing: border-box;
  color: #000000;
  width: 100%;
}

.txt_search{
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #6e707e;
  background-color: transparent;
  border: none;
  border-radius: 0.35rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  outline: 0;
}

.search {
  background: #ffffff;
  width: 250px;
  border-radius: 5px;
  display: flex;
}

.search img{
  padding: 10px;
}

.tooltip:hover .tooltip-left, .tooltip:hover .tooltip-right, .tooltip:hover .tooltip-top, .tooltip:hover .tooltip-bottom {
  visibility: visible;
}

.tooltip .tooltip-left {
  visibility: hidden;
  width: max-content;
  background-color: rgb(218, 220, 224);
  color: #000;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.tooltip .tooltip-left::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent rgb(218, 220, 224);
}

.tooltip .tooltip-right {
  visibility: hidden;
  position: absolute;
  width: 120px;
  background-color: rgb(218, 220, 224);
  color: #000;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  z-index: 1;
  transition: opacity .6s;
  top: 5px;
  left: 125%;
}

.tooltip .tooltip-right::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgb(218, 220, 224) transparent transparent;
}

.tooltip .tooltip-top {
  visibility: hidden;
  position: absolute;
  width: 120px;
  background-color: rgb(218, 220, 224);
  color: #000;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  z-index: 1;
  transition: opacity .6s;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltip-top::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: rgb(218, 220, 224) transparent transparent transparent;
}

.tooltip .tooltip-bottom {
  visibility: hidden;
  position: absolute;
  width: 120px;
  background-color: rgb(218, 220, 224);
  color: #000;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  z-index: 1;
  transition: opacity .6s;
  left: 50%;
  margin-left: -60px;
  top: 135%;
}

.tooltip .tooltip-bottom::after {
  content: "";
  position: absolute;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  bottom: 100%;
  left: 50%;
  border-color: transparent transparent rgb(218, 220, 224) transparent;
}

.back-list-store{
  position: absolute;
  right: 70px;
  top: 5px;
  cursor: pointer;
  display: none;
}

.back-list-store img{
  background: #ffffff;
  border-radius: 50%;
}

#popup .popup-header{
  height: 50px;
  background: var(--primary-gradient);
}

/*#popup .close-popup img{*/
/*  width: 36px;*/
/*}*/

#popup .popup-body{
  height: calc(100% - 50px);
}

#popup .store_name{
  font-size: 24px;
  text-align: left;
  padding: 10px;
  display: -webkit-box;
  line-height: 1.5;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 30px;
  width: 90%;
}


/* vr control */
.right-control-top{
  position: absolute;
  right: 0;
  top: 0;
}

.vr-button.button_category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ffffff;
  padding: 10px 10px 6px;
  border-radius: 50%;
  z-index: 6;
}

.vr-button.button_category:hover {
  background: #ddd;
  cursor: pointer;
}

.vr-button.button_home {
  background: #ffffff;
  position: absolute;
  z-index: 10;
  cursor: pointer;
  top: 12px;
  right: 15px;
  padding: 10px 10px 6px;
  border-radius: 50%;
}

.vr-button.button_home.preview{
  display: block;
  padding: 8px 8px 4px;
  top: 5px;
  right: 10px;
}

.popup-preview .back-list-store{
  display: block;
}

/* List categories */
.popup-list-category .popup-header{
  display: none;
}

.popup-list-category .popup-content{
  width: 60vw;
  height: 63vh;
}

.popup-list-category .popup-body{
  background: unset;
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  height: 590px !important;
}

.box_category_item {
  float: left;
  position: relative;
  padding: 5px;
  box-sizing: border-box;
  color: #000000;
  width: 100%;
  cursor: pointer;
}

.box_category_item div{
  text-align: center;
  background: #dbdbdb;
}

.box_category_item div:hover {
  background: #bbbbbb;
}

.box_category_item .cate_name{
  margin: 0;
  padding: 10px;
  height: 30px;
}

.popup-list-category .close-popup{
  background: #ffffff;
  padding: 4px 4px 0px;
  border-radius: 50%;
  position: absolute;
  right: -20px;
  top: -20px;
}

.box_category_item img{
  width: 200px;
  height: 144px;
  object-fit: contain !important;
}

p.desc_store {
  display: -webkit-box;
  font-size: 16px;
  line-height: 1.3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 10px;
  text-align: justify;
}

.vip{
  position: absolute;
  top: 15px;
  left: 0;
  background: #c8cb38c7;
  padding: 6px 10px 4px;
  font-size: 18px;
  border-radius: 0 5px 5px 0;
  color: #ffffff;
  display: flex;
}

#pagination-store ul li a{
  text-decoration: none;
  cursor: pointer;
}

#pagination-store, #pagination-all-store{
  height: 40px;
  margin: 0 auto;
}

#pagination-store ul{
  padding: 8px;
}

.top-control .desc_info{
  position: absolute;
  top: 10px;
  text-align: center;
  z-index: 5;
  font-size: 14px;
  font-weight: 600;
  color: rgb(53 53 71 / 60%);
  width: 600px;
  left: calc(50% - 300px);
}

.group_info_sound{
  position: absolute;
  bottom: 20px;
  display: flex;
  left: calc(50% - 48px);
  background: #ffffff;
  padding: 8px 10px;
  width: 76px;
  height: 25px;
  justify-content: space-between;
  z-index: 5;
  border-radius: 50px;
}

.button_info, .button_sound{
  cursor: pointer;
}

.button_info:hover, .button_sound:hover{
  transform: translate(0px, 0px) rotate(0deg) scale(1.1, 1.1);
}

.left-control-bottom{
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 4;
}

.logo_vrmall img{
  width: 90px;
  opacity: .7;
}

.logo_vrmall img:hover{
  opacity: 1;
  cursor: pointer;
}

.button_category .tooltip-left{
  top: 5px;
  right: 115%;
}

.modal_sound_intro .popup-content{
  width: max-content;
  height: max-content;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
}

.modal_sound_intro .popup-body{
  height: 100% !important;
}

.modal_sound_intro .popup-header, .modal_sound_intro .close-popup{
  display: none;
}

.modal_sound_intro .sound-intro{
  text-align: center;
  padding: 30px;
  padding-bottom: 0;
}
.modal_sound_intro .sound-intro div{
  padding: 30px;
}

.modal_sound_intro .sound-intro span{
  font-size: 24px;
  color: #000000bd;
  font-weight: bold;
}

.modal_sound_intro button{
  width: 100px;
  padding: 15px;
  font-weight: bold;
  background: #545454;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  margin: 0 5px;
  cursor: pointer;
}

.modal_sound_intro button:hover {
  background: #333;
}

.hide_chat{
  display: none !important;
}

.name_store_vip{
  position: absolute;
  bottom: 0;
  display: -webkit-box;
  font-size: 12px;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #6a6b69;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 2;
  margin: 0;
  width: 100%;
}


/*menu*/


.menu-btn, nav > ul {
  transition: left .45s cubic-bezier(.42,.97,.52,0.99);
}

nav > ul {
  position: absolute;
  top: 10%;
  left: -320px;
  width: 320px;
  background-color: #ffffffeb;
  height: 80%;
  min-height: 80vh;
  padding: 0;
  margin: 0;
  z-index: 10;
  border-radius: 20px;
}

nav ul .content_category{
  overflow-x: hidden;
  overflow-y: auto;
  height: calc(100% - 60px);
  cursor: pointer;
  margin: 0 10px;
  padding-right: 5px;
}

ul.menu.menu-open{
  left: 30px;
}

.menu-btn:before,
.menu-btn:after {
  font-size: 50px;
  color: #a2047b;
  line-height: 1;
  position: relative;
  top: -10px;
  left: -3px;
}
.menu-btn:before {
  content: '\02261';
}

.menu-btn-open{
  left: 300px !important;
  transition: left .45s cubic-bezier(.42,.97,.52,0.99);
  z-index: 9 !important;
  top: calc(10% + 4px) !important;
  background: unset !important;
}

/* MENU ITEMS */
.menu li a {
  display: block;
  font-size: 14px;
  text-transform: capitalize;
  padding: 15px 10px;
  color: #000;
  position: relative;
  text-decoration: none;
  font-weight: 400;
}

.menu > li {
  border-top: 1px solid #e2e8f0;
  list-style: none;
  cursor: pointer;
  margin: 0 10px;
  margin-right: 7px;
}

.menu > li > a:hover {
  background-color: #d9dbe4;
}

.menu li ul {
  background-color: #ececec;
  padding-left: 30px;
  display: none;
  list-style: none;
  border-radius: 0 0 10px 10px;
}
.menu li li a {
  font-size: 80%;
  padding: 15px 0;
  position: relative;
  z-index: 1;
  text-decoration: none;
  text-transform: capitalize;
}

.menu li li a:after {
  content: '';
  position: absolute;
  z-index: -1;
  left: -30px;
  top: 0;
  right: 0;
  bottom: 0;
}
.menu li li a:hover:after {
  background-color: #ccc;
}

.menu li li:last-child a:hover:after{
  border-radius: 0 0 10px 10px;
}

.caret {
  position: absolute;
  right: 0;
  color: #000;
  top: 50%;
  bottom: 0;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.caret-up{
  padding-top: 4px;
}
.caret-down{
  padding-top: 0;
}
li .caret-up:after {
  content: url("/external/images/icons/right.svg");
}
li .caret-down:after {
  content: url("/external/images/icons/down.svg");
}
.menu li li .caret {
  padding-top: 3px;
}

.menu-btn:before,
.menu-btn:after,
.caret:after {
  font-family: 'san-serif';
  font-weight: 600;
}

/*search*/
.search-box
{
  position: absolute;
  top: 15px;
  left: 70px;
  z-index: 6;
  background : #ffffff;
  height : 40px;
  border-radius : 40px;
}

.search_all_store {
  position: absolute;
  width: 400px;
}
.search__toggle:checked ~ .search__field {
  width: calc(100% - 80px);
  border-width: 2px;
  border-radius: 20px;
}
.search__toggle:checked ~ .search__field .search__input{
  border-right: 1px solid #ddd;
}
.search__toggle:checked ~ .search__field .search__input::placeholder {
  opacity: 1;
}

.search__toggle:checked ~ .search__field .search__button {
  width: 40px;
  height: 40px;
  border-radius: 50px;
}
.search__toggle:checked ~ .search__field .search__button--toggle {
  display: none;
}
.search__toggle:checked ~ .search__field .search__button--submit {
  display: flex;
  outline: 0;
}
.search_suggest{
  display: none;
}
.search__toggle:checked ~ .search__field .search_suggest {
  background: #ffffff;
  position: absolute;
  top: 42px;
  left: 0;
  width: calc(100% - 40px);
  border-radius: 15px;
  display: block;
}
.search_suggest div{
  padding: 10px 15px;
  color: #92929e;
  border-top: 1px solid #efefef;
  cursor: pointer;
}

.search_suggest div:first-child{
  border-top: unset;
}

.search_suggest div:hover{
  background: #efefef;
}
.search_suggest div:first-child:hover{
  border-radius: 15px 15px 0 0;
}
.search_suggest div:last-child:hover{
  border-radius: 0 0 15px 15px;
}
.search_suggest div:only-child:hover{
  border-radius: 15px;
}
.search__field {
  position: absolute;
  left: 0;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transform-origin: right;
  transition: 0.3s;
  background: #ffffff;
}
.search__input {
  position: absolute;
  left: 0;
  box-sizing: border-box;
  width: calc(100% - 40px);
  height: 100%;
  padding: 5px 15px;
  color: #aaa;
  background-color: transparent;
  border: 0;
  outline: none;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}
.search__input::placeholder {
  color: white;
  opacity: 0;
  transition: 0.3s;
  transition-delay: 0.3s;
}
.search__label {
  cursor: pointer;
}
.search__button {
  position: absolute;
  top: 50%;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.3s;
}
.search__button--submit {
  display: none;
  border: 0;
}
.search__icon {
  position: relative;
  width: 19px;
  height: 19px;
}
.search__icon::before {
  display: block;
  content: '';
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 2px solid #09f;
  border-radius: 50px;
}
.search__icon::after {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  content: '';
  width: 8px;
  height: 2px;
  background-color: #09f;
  transform: rotate(45deg);
  transform-origin: right;
}

.title_search{
  position: absolute;
  top: 15px;
  margin: 0;
  left: 15px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-align: left;

}

.search_store .popup-body .body{
  height: calc(100vh - 150px);
}

nav > ul .content_category::-webkit-scrollbar{
  width: 5px !important;
}

nav > ul .content_category::-webkit-scrollbar-thumb{
  background-color: #DBDBDB !important;
  border-radius: 5px !important;
}

.title_category{
  color: #000;
  font-weight: bold;
  padding: 15px;
}

.active_cat{
  background: linear-gradient(90deg, rgba(236, 236, 236, 0.8) -3.23%, rgba(214, 214, 214, 0.8) 103.9%);
  box-shadow: 0px 3px 7px 1px #0000004D;
  border-radius: 20px;
}

.menu li li:first-child a:after{
  border-top: unset;
}

/* ===== STORE PREVIEW MODE ===== */
/* Hide search content when showing iframe preview */
#popup.popup-preview .store-search-wrap,
#popup.popup-preview .popup-body .body,
#popup.popup-preview #pagination-all-store {
  display: none !important;
}

/* Iframe wrapper fills remaining height */
.store-preview-iframe-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.store-preview-iframe-wrap iframe {
  flex: 1;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Pagination for all-stores search popup */
#pagination-all-store {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 16px;
  flex-shrink: 0;
}
#pagination-all-store ul {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
#pagination-all-store li { float: none; list-style: none; }
#pagination-all-store a,
#pagination-all-store span {
  float: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  background: #fff;
  border: 1.5px solid #ddd;
  margin: 0;
  transition: all 0.18s;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
#pagination-all-store a:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
}
#pagination-all-store .active span.current {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb),0.35);
}
#pagination-all-store .disabled span,
#pagination-all-store .disabled a {
  opacity: 0.4;
  pointer-events: none;
  box-shadow: none;
}
/* ===== LOBBY CONTROLS: hidden until tour ready ===== */
.vr-button.button_category,
.vr-button.button_stores,
.vr-button.button_products,
.vr-button.button_feedback,
.vr-button.button_guide,
.vr-button.button_policy,
.group_info_sound,
.left-control-bottom,
#lobby-lang-wrap {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
body.lobby-controls-ready .vr-button.button_category,
body.lobby-controls-ready .vr-button.button_stores,
body.lobby-controls-ready .vr-button.button_products,
body.lobby-controls-ready .vr-button.button_feedback,
body.lobby-controls-ready .vr-button.button_guide,
body.lobby-controls-ready .vr-button.button_policy,
body.lobby-controls-ready .group_info_sound,
body.lobby-controls-ready .left-control-bottom,
body.lobby-controls-ready #lobby-lang-wrap {
  opacity: 1;
  pointer-events: auto;
}

/* ===== POPUP CONTENT: remove overflow ===== */
.search_store .popup-content,
#modal_stores .popup-content {
  padding: 0;
  box-sizing: border-box;
  border-radius: 0;
}

/* ===== CATEGORY FILTER BAR in all-store search ===== */
#popup_cat_filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 16px 12px;
  flex-shrink: 0;
  background: transparent;
  border-bottom: 1px solid #ececec;
}
#popup_cat_filter:empty {
  display: none;
}
#popup_cat_filter .filter_category_all {
  float: none !important;
  margin: 0 !important;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
#popup_cat_filter .filter_category_all:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
}
#popup_cat_filter .filter_category_all.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}
#popup_cat_filter .filter_category_clear_all {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px dashed #ccc;
  background: transparent;
  color: #999;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
#popup_cat_filter .filter_category_clear_all:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.popup-cat-tag {
  padding: 5px 16px;
  border-radius: 20px;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
}
.popup-cat-tag:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-hover);
}
.popup-cat-tag.active {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff !important;
}

/* Fix store grid to not overflow popup edges */
.search_store .popup-body .body,
#modal_stores .popup-body .body {
  box-sizing: border-box;
  overflow-x: hidden;
}

.popup-preview .popup-body {
  padding: 0 !important;
  min-width: 0;
}

.close-popup{
  background: #fff; 
  border-radius: 50%; 
  width: 38px; 
  height: 38px; 
  display: flex !important; 
  align-items: center; 
  justify-content: center; 
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 
  transition: background 0.2s; 
  padding: 0; 
  line-height: 1; 
  top: 5px; 
}

/* Warm gold palette for the client tour controls and popups. */
.vr-button.button_category,
.vr-button.button_stores,
.vr-button.button_products,
.vr-button.button_feedback,
.vr-button.button_guide,
.vr-button.button_policy,
.vr-button.button_home,
#lobby-lang-wrap .button_lang,
.group_info_sound {
  background: rgba(255, 251, 239, 0.97) !important;
  border: 2px solid rgba(var(--primary-rgb), 0.48) !important;
  box-shadow: 0 4px 18px rgba(95, 63, 0, 0.3) !important;
}
.vr-button.button_category:hover,
.vr-button.button_stores:hover,
.vr-button.button_products:hover,
.vr-button.button_feedback:hover,
.vr-button.button_guide:hover,
.vr-button.button_policy:hover,
.vr-button.button_home:hover,
#lobby-lang-wrap .button_lang:hover,
.search_store .close-popup:hover,
.search_store .back-list-store:hover {
  background: var(--bg-hover-strong) !important;
}
#lobby-vr-wrap svg,
#lobby_popup_info svg,
.search_store .close-popup svg,
.search_store .back-list-store svg {
  fill: var(--primary-color) !important;
}
#lobby_popup_info .popup-info-close svg {
  fill: none !important;
  stroke: var(--primary-color) !important;
}
#lobby_popup_info .popup-info-header {
  position: relative;
  border-bottom-color: transparent !important;
}
/* Header is positioned and comes later in the DOM, so lift the close button above it */
#lobby_popup_info .popup-info-close {
  z-index: 2;
}
#lobby_popup_info .popup-info-header::after,
#lobby_sidebar_category .title_category::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-gradient);
}
#lobby_sidebar_category .title_category {
  position: relative;
  border-bottom-color: transparent !important;
}
#lobby_sidebar_category .title_category::after {
  left: 16px;
  right: 16px;
}
#lobby_popup_info .popup-info-desc {
  background: var(--bg-hover) !important;
  border-left-color: var(--primary-accent) !important;
}
#lobby_popup_info .popup-info-desc-label {
  color: var(--primary-color) !important;
}
#lobby_popup_info .popup-info-close:hover {
  background: var(--bg-hover-strong) !important;
}
#lobby_sidebar_category .menu,
#lobby-lang-dropdown,
.search_store .popup-content,
.search_store .popup-body,
#modal_stores .popup-content,
#modal_stores .popup-body {
  background-color: var(--bg-color) !important;
}
#popup.search_store .popup-header {
  background: var(--primary-gradient) !important;
}
#modal_stores .popup-header,
#popup .popup-header {
  background: var(--primary-gradient) !important;
}
#modal_stores .popup-header .title,
#popup .popup-header .title_search {
  color: #fff !important;
}
#modal_stores .close-popup svg,
#popup .close-popup svg,
.vr-button.button_home svg {
  fill: var(--primary-color) !important;
}
#modal_store_vip .close-popup svg {
  stroke: var(--primary-color) !important;
}
#popup.search_store .popup-header .title_search {
  color: #fff !important;
}
#lobby-lang-dropdown .ml-item:hover {
  background: #F8F2E6 !important;
}
#lobby-lang-dropdown .ml-item.active {
  background: #F2E7C9 !important;
  color: #795412 !important;
  font-weight: 600;
}
#lobby-lang-dropdown {
  padding: 4px !important;
  border: 1px solid rgba(151, 116, 52, 0.28);
  border-radius: 13px;
  background: rgba(255, 253, 248, 0.98) !important;
  box-shadow: 0 8px 24px rgba(46, 37, 22, 0.2);
}
#lobby-lang-dropdown .ml-item {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  gap: 10px;
  border-radius: 9px;
  color: #453C30;
  font-size: 13px;
  line-height: 1;
}
#lobby-lang-dropdown .ml-item + .ml-item {
  margin-top: 2px;
}
#lobby-lang-dropdown .ml-item img {
  display: block;
  width: 22px !important;
  height: 14px !important;
  flex: 0 0 22px;
  object-fit: cover;
  border-radius: 2px;
}
#lobby-lang-wrap .button_lang {
  border: 1px solid rgba(151, 116, 52, 0.38) !important;
  background: rgba(255, 253, 248, 0.98) !important;
  box-shadow: 0 2px 9px rgba(46, 37, 22, 0.2) !important;
}
#lobby-lang-wrap .button_lang:hover {
  background: #F8F2E6 !important;
}

/* ===== RESPONSIVE: STORE LIST / VIP / CATEGORY (lobby) ===== */
.store-card__name { overflow-wrap: anywhere; }
#pagination-store ul,
.search_store #pagination-store .simplePagination { flex-wrap: wrap; justify-content: center; }
@media (hover: none) {
  .store-card:hover { transform: none; }
}
@media (max-width: 1200px) {
  #content_store_vip { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .search_store .popup-body .body,
  #modal_stores .popup-body .body { grid-template-columns: repeat(3, 1fr) !important; }
  #content_store_vip { grid-template-columns: repeat(3, 1fr); }
  .popup-list-category .popup-content { width: 80vw; }
}
@media (max-width: 768px) {
  .search_store .popup-body .body,
  #modal_stores .popup-body .body {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 12px 14px 16px !important;
  }
  #content_store_vip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  #modal_store_vip .popup-body { padding: 14px !important; }
  #modal_store_vip .popup-header { padding: 12px 16px !important; }
  .store-search-bar { max-width: none; padding: 8px 14px; }
  .store-card__name { font-size: 11px; }
  .store-card__body { padding: 8px 8px 10px; }
  .popup-list-category .popup-content { width: 94vw; height: 80vh; }
  .popup-list-category .popup-body { height: calc(100% - 60px) !important; }
  #modal_stores .list_category { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  #pagination-store a, #pagination-store span { min-width: 32px; height: 32px; padding: 0 8px; font-size: 13px; }
}
@media (max-width: 360px) {
  .search_store .popup-body .body,
  #modal_stores .popup-body .body { gap: 8px !important; padding: 10px !important; }
}
/* Lobby category sidebar */
nav > ul { max-width: calc(100vw - 24px); min-height: 0; }
nav ul .content_category { scrollbar-width: thin; scrollbar-color: rgba(var(--primary-rgb),0.3) transparent; }
@media (max-width: 768px) {
  nav > ul { top: 70px; height: calc(100% - 140px); width: 290px; }
  ul.menu.menu-open { left: 12px; }
}

/* ===== POI HTML POPUP (fancybox) ===== */
.fancybox-slide.poi-html-slide { padding: 24px; }
.poi-html-slide .fancybox-content.poi-html-box {
  width: 720px;
  max-width: 100%;
  max-height: 82vh;
  padding: 0;
  border-radius: 16px;
  background: #fff;
  color: #333;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  /* inline-flex (không phải flex): fancybox canh giữa nội dung kiểu inline-block,
     nếu là flex thì box bị đẩy xuống dưới, ra ngoài màn hình */
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  text-align: left;
}
.poi-html-head {
  flex-shrink: 0;
  position: relative;
  padding: 22px 60px 14px 28px;
}
.poi-html-head::after {
  content: "";
  position: absolute;
  left: 28px; right: 28px; bottom: 0;
  height: 3px; border-radius: 3px;
  background: var(--primary-gradient);
}
.poi-html-title {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: inherit;
  overflow-wrap: anywhere;
}
.poi-html-desc {
  margin: 4px 0 0;
  font-size: 13px;
  opacity: .7;
  overflow-wrap: anywhere;
}
.poi-html-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 26px;
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: anywhere;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.18) transparent;
}
/* không có tiêu đề -> chừa chỗ cho nút đóng */
.poi-html-box > .poi-html-body:first-child { padding-top: 46px; }
.poi-html-body::-webkit-scrollbar { width: 6px; }
.poi-html-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 6px; }
.poi-html-body p { margin: 0 0 12px; }
.poi-html-body p:last-child { margin-bottom: 0; }
.poi-html-body img, .poi-html-body video, .poi-html-body iframe { max-width: 100%; height: auto; border-radius: 8px; }
.poi-html-body table { display: block; max-width: 100%; overflow-x: auto; }
.poi-html-body a { color: var(--primary-color); }
.poi-html-slide .fancybox-close-small {
  top: 14px; right: 14px;
  width: 34px; height: 34px; padding: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: #555;
  opacity: 1;
  transition: background .18s;
}
.poi-html-slide .fancybox-close-small:hover { background: var(--bg-hover-strong); color: var(--primary-color); }
@media (max-width: 600px) {
  .fancybox-slide.poi-html-slide { padding: 12px; }
  .poi-html-slide .fancybox-content.poi-html-box { max-height: 86vh; border-radius: 14px; }
  .poi-html-head { padding: 18px 54px 12px 18px; }
  .poi-html-head::after { left: 18px; right: 18px; }
  .poi-html-title { font-size: 17px; }
  .poi-html-body { padding: 16px 18px 20px; font-size: 14px; }
}

/* ===== POI BOX (hộp hiện cạnh điểm POI) ===== */
/* Giữ giao diện gốc, chỉ làm lại nút phóng to: nút tròn nổi treo ở góc trên bên phải,
   nhô ra ngoài mép hộp nên không đè lên chữ khi cuộn; bỏ dải trống 25px phía trên
   mà index.css chừa cho nút cũ. */
.box_poi { padding-top: 10px; }
.box_poi .box_poi_full_btn {
  top: -10px;
  right: -10px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: inherit;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06), 0 3px 10px rgba(0,0,0,0.18);
  font-size: 12px;
  z-index: 2;
  transition: background .18s, color .18s;
}
/* hộp phóng to toàn màn hình nằm sát mép màn hình -> nút nằm bên trong */
.box_poi.box_poi_fullscreen .box_poi_full_btn { top: 8px; right: 8px; }
.box_poi .box_poi_full_btn:hover { background: var(--bg-hover-strong); color: var(--primary-color); }
/* Thanh cuộn của SimpleBar nằm đè mép phải nội dung -> chừa chỗ cho nó.
   !important: SimpleBar gắn inline padding:0 cho .simplebar-content */
.box_poi .simplebar-content { padding-right: 14px !important; }
@media (max-width: 600px) {
  /* Trên điện thoại hộp bám theo POI dễ tràn khỏi màn hình -> hiện thành thẻ cố định phía trên thanh nút dưới.
     !important: pannellum.js gắn inline top/left/transform cho hộp ở mỗi khung hình */
  .box_poi:not(.box_poi_fullscreen) {
    position: fixed !important;
    top: auto !important;
    bottom: 76px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }
  .box_poi:not(.box_poi_fullscreen) .box-arrow-border { display: none; }
  .box_poi:not(.box_poi_fullscreen) .box-content { max-height: 50vh; }
}

/* ===== FANCYBOX (xem ảnh, video, PDF, thư viện) ===== */
.fancybox-bg { background: #14110b; }
.fancybox-is-open .fancybox-bg { opacity: .85; }
.fancybox-toolbar { top: 14px; right: 14px; }
.fancybox-toolbar .fancybox-button {
  width: 40px;
  height: 40px;
  padding: 10px;
  margin-left: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: #fff;
  transition: background .18s;
}
.fancybox-toolbar .fancybox-button:hover { background: var(--primary-color); color: #fff; }
.fancybox-navigation .fancybox-button { background: transparent; }
.fancybox-navigation .fancybox-button div {
  padding: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  transition: background .18s;
}
.fancybox-navigation .fancybox-button:not([disabled]):hover div { background: var(--primary-color); }
.fancybox-slide--image .fancybox-image { border-radius: 12px; }
.fancybox-slide--video .fancybox-content,
.fancybox-slide--iframe .fancybox-content {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}
.fancybox-caption { font-size: 14px; line-height: 1.5; padding-bottom: 22px; }
.fancybox-caption__body i { opacity: .8; }
@media (max-width: 600px) {
  .fancybox-toolbar { top: 10px; right: 10px; }
  .fancybox-toolbar .fancybox-button { width: 36px; height: 36px; padding: 8px; margin-left: 6px; }
  .fancybox-slide--video .fancybox-content,
  .fancybox-slide--iframe .fancybox-content { border-radius: 10px; }
}

/* ===== LOBBY: PRODUCT SEARCH (products of all the booths) ===== */
.vr-button.button_products { top: 15px; left: 125px; }
.vr-button.button_feedback { right: 20px; bottom: 20px; }
.vr-button.button_guide { right: 20px; bottom: 72px; }
/* on the left of the language button */
.vr-button.button_policy { right: 67px; top: 14px; }
.vr-button.button_products,
.vr-button.button_policy,
.vr-button.button_guide,
.vr-button.button_feedback {
  position: absolute;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  margin: 0;
  padding: 0 16px 0 12px;
  border-radius: 21px;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.vr-button.button_products svg,
.vr-button.button_feedback svg,
.vr-button.button_guide svg,
.vr-button.button_policy svg { flex: 0 0 18px; display: block; }
/* the list of languages opens over it */
.vr-button.button_policy { z-index: 199; }
.vr-button.button_products:focus-visible,
.vr-button.button_feedback:focus-visible,
.vr-button.button_guide:focus-visible,
.vr-button.button_policy:focus-visible,
#lobby-products button:focus-visible {
  outline: 3px solid rgba(var(--primary-rgb), 0.55);
  outline-offset: 2px;
}
#lobby-products {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: none;
  flex-direction: column;
  box-sizing: border-box;
  background: var(--bg-color);
  color: var(--text-color);
  text-align: left;
}
#lobby-products.open { display: flex; }
#lobby-products *, #lobby-products *::before { box-sizing: border-box; }
#lobby-products:focus { outline: none; }
#lobby-products .lp-header {
  flex: 0 0 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  background: var(--primary-gradient);
}
#lobby-products .lp-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
#lobby-products .lp-header button:focus-visible { outline-color: #fff; }
/* its size and text are with the other "Back to lobby" buttons, at the end of this file */
#lobby-products .lp-close {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  border: none;
  background: #fff;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: background 0.2s;
}
#lobby-products .lp-close:hover { background: var(--bg-hover-strong); }
#lobby-products .lp-close svg { fill: var(--primary-color); }
/* In the scrolling area: stays aligned with the cards whatever the width of the scrollbar */
#lobby-products .lp-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-color);
}
/* Same columns as the cards: search on two of them, category on one, number of products on the last */
#lobby-products .lp-toolbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
}
#lobby-products .store-search-bar {
  grid-column: span 2;
  max-width: none;
  height: 46px;
  padding: 0 18px;
  cursor: text;
}
#lobby-products .store-search-bar svg { flex-shrink: 0; }
/* 16px: iOS zooms the page when the text of a focused field is smaller */
#lobby-products #lp-input {
  min-width: 0;
  padding: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 22px;
  text-overflow: ellipsis;
}
#lobby-products .lp-select { position: relative; min-width: 0; }
#lobby-products .lp-select svg {
  position: absolute;
  top: 14px;
  left: 18px;
  z-index: 1;
  pointer-events: none;
}
#lobby-products #lp-category {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 42px 0 46px;
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  border-radius: 30px;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23B97700' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px;
  color: var(--text-color);
  font-family: inherit;
  font-size: 15px;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#lobby-products #lp-category:focus-visible {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
}
/* Themed list where the browser allows it (recent Chrome and Edge), the one of the system elsewhere */
@supports (appearance: base-select) {
  #lobby-products #lp-category,
  #lobby-products #lp-category::picker(select) { appearance: base-select; }
  #lobby-products #lp-category { display: flex; align-items: center; }
  /* the chosen name (<selectedcontent> in the select), cut before the arrow */
  #lobby-products #lp-category selectedcontent {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #lobby-products #lp-category:open {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb),0.12);
  }
  #lobby-products #lp-category::picker-icon { display: none; }
  #lobby-products #lp-category::picker(select) {
    box-sizing: border-box;
    width: anchor-size(width);
    min-width: 0;
    max-height: 340px;
    margin: 6px 0;
    padding: 6px;
    border: 1px solid rgba(var(--primary-rgb), 0.28);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(95,63,0,0.2);
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
  }
  #lobby-products #lp-category option {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    outline: none;
    background: transparent;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.35;
    white-space: normal;
    cursor: pointer;
  }
  #lobby-products #lp-category option:hover,
  #lobby-products #lp-category option:focus-visible { background: #F8F2E6; }
  #lobby-products #lp-category option:checked { background: #F2E7C9; color: #795412; font-weight: 600; }
  #lobby-products #lp-category option::checkmark { order: 1; margin-left: auto; color: var(--primary-color); }
  #lobby-products #lp-category option:not(:checked)::checkmark { display: none; }
}
#lobby-products #lp-count { justify-self: end; font-size: 14px; color: #7A6A50; white-space: nowrap; }
#lobby-products #lp-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
}
#lobby-products #lp-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 24px 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  transition: opacity 0.18s;
}
/* the next page is loading */
#lobby-products.loading #lp-grid { opacity: 0.45; pointer-events: none; }
#lobby-products #lp-pagination {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 14px 14px;
}
#lobby-products #lp-pagination:empty { display: none; }
#lobby-products .lp-page {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fff;
  color: #555;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
#lobby-products .lp-page.active { border-color: var(--primary-color); background: var(--primary-color); color: #fff; cursor: default; }
#lobby-products .lp-page:disabled { opacity: 0.4; cursor: default; }
#lobby-products .lp-dots { min-width: 18px; text-align: center; color: #7A6A50; }
#lobby-products .lp-card {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(var(--primary-rgb), 0.16);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(95,63,0,0.07);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
#lobby-products .lp-card__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
/* out of the flow: a tall picture must not stretch its card */
#lobby-products .lp-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; padding: 8px; object-fit: contain; display: block; }
#lobby-products .lp-no-img { background: #F3F0E8; }
#lobby-products .lp-no-img::before {
  content: "\f03e";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 40px;
  color: #CFC6B2;
}
#lobby-products .lp-card__new {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 8px;
  padding: 4px 9px;
  border-radius: 10px;
  background: var(--ocop-green);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
#lobby-products .lp-card__name,
#lobby-products .lp-card__store span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
}
#lobby-products .lp-card__name {
  min-height: 2.7em;
  margin: 0 12px 6px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
#lobby-products .lp-card__price { margin: 0 12px 8px; font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ocop-brown); }
#lobby-products .lp-card__price del { margin-left: 6px; font-size: 12px; font-weight: 400; color: #8A8071; }
#lobby-products .lp-card__store {
  margin: auto 12px 0;
  padding-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-top: 1px solid rgba(var(--primary-rgb), 0.14);
  font-size: 12px;
  line-height: 1.35;
  color: #7A6A50;
}
#lobby-products .lp-card__store i { flex-shrink: 0; margin-top: 2px; color: var(--primary-color); }
#lobby-products #lp-status { padding: 18px 24px 26px; text-align: center; font-size: 15px; color: #7A6A50; }
#lobby-products #lp-status:empty { padding: 0 0 18px; }
#lobby-products .lp-retry {
  padding: 10px 18px;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  background: #fff;
  color: var(--primary-color);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
@media (hover: hover) {
  #lobby-products .lp-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color);
    box-shadow: 0 8px 20px rgba(95,63,0,0.16);
  }
  #lobby-products .lp-retry:hover { background: var(--bg-hover); }
  #lobby-products .store-search-bar:hover,
  #lobby-products #lp-category:hover { border-color: var(--primary-color); }
  #lobby-products .lp-page:not(.active):not(:disabled):hover {
    border-color: var(--primary-color);
    background: var(--bg-hover);
    color: var(--primary-color);
  }
}
@media (max-width: 1024px) {
  #lobby-products .lp-toolbar__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 260px) auto; }
  #lobby-products .store-search-bar { grid-column: auto; }
  #lobby-products #lp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  #lobby-products .lp-title { font-size: 20px; }
  #lobby-products .lp-toolbar__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    gap: 8px;
    padding: 10px 14px;
  }
  #lobby-products .store-search-bar { height: 44px; padding: 0 12px; gap: 8px; }
  #lobby-products .lp-select svg { display: none; }
  #lobby-products #lp-category { height: 44px; padding: 0 32px 0 14px; background-position: right 13px center; font-size: 14px; }
  /* wider than the field, from its right edge */
  @supports (appearance: base-select) {
    #lobby-products #lp-category::picker(select) {
      width: min(300px, calc(100vw - 28px));
      position-area: block-end span-inline-start;
    }
  }
  /* no room on the row: still read by screen readers */
  #lobby-products #lp-count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  #lobby-products #lp-grid {
    padding: 4px 14px 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #lobby-products .lp-card__img { aspect-ratio: 1 / 1; }
  #lobby-products #lp-pagination { gap: 5px; padding: 8px 10px 12px; }
  #lobby-products .lp-page { min-width: 36px; height: 36px; padding: 0 8px; }
  #lobby-products .lp-card__name { margin: 0 10px 5px; font-size: 13px; }
  #lobby-products .lp-card__price { margin: 0 10px 8px; font-size: 14px; }
  #lobby-products .lp-card__store { margin: auto 10px 0; }
}
/* "New products": a list, without the search field. The category is on the left and the number of products on the right */
#lobby-products.only-new .store-search-bar { display: none; }
#lobby-products.only-new #lp-count { grid-column: -2 / -1; }
@media (max-width: 1024px) {
  /* the number keeps its room, the category takes the rest */
  #lobby-products.only-new .lp-toolbar__inner { grid-template-columns: minmax(0, 1fr) auto; }
  #lobby-products.only-new .lp-select { max-width: 300px; }
}
@media (max-width: 768px) {
  /* there is room for it here */
  #lobby-products.only-new #lp-count { position: static; width: auto; height: auto; clip-path: none; }
}
/* very small phones: icons only, so that the buttons do not reach their neighbours */
@media (max-width: 350px) {
  .vr-button.button_products,
  .vr-button.button_feedback,
  .vr-button.button_guide,
  .vr-button.button_policy { width: 42px; padding: 0; justify-content: center; }
  .vr-button.button_products span,
  .vr-button.button_feedback span,
  .vr-button.button_guide span,
  .vr-button.button_policy .policy-short { display: none; }
}

/* ===== LOBBY OPENED WITH THE LINK OF A BOOTH (LobbyLink in custom.js) ===== */
/* over everything that the lobby shows while it loads behind */
html.booth-link #popup { z-index: 100000; }
html.booth-open .loading,
html.booth-open #background_loading { visibility: hidden; }

/* ===== LOBBY: FEEDBACK ===== */
#lobby-feedback,
#visit-guide,
#shipping-policy {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-sizing: border-box;
  background: rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
#lobby-feedback.open,
#visit-guide.open,
#shipping-policy.open { display: flex; }
#lobby-feedback *, #lobby-feedback *::after,
#visit-guide *, #visit-guide *::after,
#shipping-policy *, #shipping-policy *::after { box-sizing: border-box; }
#lobby-feedback .fb-box,
#visit-guide .fb-box,
#shipping-policy .fb-box {
  position: relative;
  width: 620px;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 28px 26px;
  border: 1px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 18px;
  outline: none;
  background: var(--bg-color);
  color: var(--text-color);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  box-shadow: 0 20px 60px rgba(46,30,0,0.35);
  animation: infoPopupIn 0.2s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
}
#lobby-feedback .fb-title,
#visit-guide .fb-title,
#shipping-policy .fb-title {
  position: relative;
  margin: 0 0 16px;
  padding: 4px 44px 14px;
  color: var(--ocop-brown);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}
#lobby-feedback .fb-title::after,
#visit-guide .fb-title::after,
#shipping-policy .fb-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--primary-gradient);
}
#lobby-feedback .fb-close,
#visit-guide .fb-close,
#shipping-policy .fb-close {
  position: absolute;
  top: 20px;
  right: 22px;
  z-index: 1;
  width: 36px;
  height: 36px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.1);
  cursor: pointer;
  transition: background 0.2s;
}
#lobby-feedback .fb-close svg,
#visit-guide .fb-close svg,
#shipping-policy .fb-close svg { display: block; stroke: var(--primary-color); }
#lobby-feedback .fb-intro { margin: 0 0 14px; color: #6B5B42; }
#lobby-feedback .fb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
#lobby-feedback .fb-field { min-width: 0; margin-bottom: 12px; }
#lobby-feedback .fb-field label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 600; }
#lobby-feedback .fb-required { color: #C62828; }
#lobby-feedback .fb-field input,
#lobby-feedback .fb-field textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 13px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: var(--text-color);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.45;
  box-shadow: none;
  -webkit-user-select: text;
  user-select: text;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#lobby-feedback .fb-field input { height: 44px; }
#lobby-feedback .fb-field textarea { min-height: 120px; resize: vertical; }
#lobby-feedback .fb-field input:focus,
#lobby-feedback .fb-field textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.16);
}
#lobby-feedback .fb-field [aria-invalid="true"],
#lobby-feedback .fb-field [aria-invalid="true"]:focus { border-color: #C62828; }
#lobby-feedback .fb-error { margin-top: 4px; color: #C62828; font-size: 13px; }
#lobby-feedback .fb-error:empty, #lobby-feedback .fb-alert:empty { display: none; }
#lobby-feedback .fb-alert {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FDECEA;
  color: #A61B1B;
  font-size: 14px;
}
/* never seen by people: only programs fill it in (see send_feedback.php) */
#lobby-feedback .fb-trap { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
#lobby-feedback .fb-submit,
#visit-guide .fb-submit,
#shipping-policy .fb-submit {
  min-height: 46px;
  margin: 2px 0 0;
  padding: 10px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
  transition: filter 0.2s;
}
#lobby-feedback .fb-submit:disabled { opacity: 0.7; cursor: default; }
#lobby-feedback button:focus-visible,
#visit-guide button:focus-visible,
#shipping-policy button:focus-visible { outline: 3px solid rgba(var(--primary-rgb), 0.55); outline-offset: 2px; }
#lobby-feedback .fb-done { display: none; padding: 14px 0 4px; text-align: center; }
#lobby-feedback.sent .fb-done { display: block; }
#lobby-feedback.sent #fb-form { display: none; }
#lobby-feedback .fb-done > i { color: var(--ocop-green); font-size: 54px; }
#lobby-feedback .fb-done p { margin: 14px 0 4px; font-size: 18px; font-weight: 700; }
#lobby-feedback .fb-done p + p { margin: 0 0 20px; font-size: 15px; font-weight: 400; color: #6B5B42; }
@media (hover: hover) {
  #lobby-feedback .fb-close:hover,
  #visit-guide .fb-close:hover,
  #shipping-policy .fb-close:hover { background: var(--bg-hover-strong); }
  #lobby-feedback .fb-submit:not(:disabled):hover,
  #visit-guide .fb-submit:not(:disabled):hover,
  #shipping-policy .fb-submit:not(:disabled):hover { filter: brightness(1.07); }
}
@media (max-width: 520px) {
  #lobby-feedback .fb-box,
  #visit-guide .fb-box,
  #shipping-policy .fb-box { padding: 18px 16px 18px; border-radius: 16px; }
  #lobby-feedback .fb-title,
  #visit-guide .fb-title,
  #shipping-policy .fb-title { margin-bottom: 12px; padding-bottom: 12px; font-size: 17px; }
  #lobby-feedback .fb-close,
  #visit-guide .fb-close,
  #shipping-policy .fb-close { top: 14px; right: 12px; }
  #lobby-feedback .fb-row { grid-template-columns: 1fr; }
  #lobby-feedback .fb-intro { font-size: 14px; }
  #lobby-feedback .fb-field textarea { min-height: 100px; }
  #lobby-feedback #fb-form .fb-submit { width: 100%; }
}

/* ===== "List" and "Back to lobby" in the header of the booths and of the store lists =====
   In words, as the icons alone were not clear. The title and the buttons share the
   header: a long title is cut and never goes under the buttons. */
#popup .popup-header,
#modal_stores .popup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  box-sizing: border-box;
}
#popup .popup-header .title_search,
#modal_stores .popup-header .title {
  position: static;
  flex: 1;
  min-width: 0;
  margin: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#popup .back-list-store,
#popup .to-lobby,
#modal_stores .to-lobby,
#lobby-products .to-lobby {
  position: static;
  flex-shrink: 0;
  box-sizing: border-box;
  gap: 7px;
  width: auto;
  height: 38px;
  padding: 0 16px 0 12px;
  border-radius: 19px;
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.to-lobby .text-short { display: none; }
#modal_stores .to-lobby:hover { background: var(--bg-hover-strong); }
@media (max-width: 600px) {
  /* Less room: short words without icons, and the name of the booth on up to two lines */
  #popup .popup-header,
  #modal_stores .popup-header { gap: 6px; }
  #popup .back-list-store,
  #popup .to-lobby,
  #modal_stores .to-lobby,
  #lobby-products .to-lobby { height: 36px; padding: 0 11px; font-size: 13px; }
  #popup .back-list-store svg,
  .to-lobby svg,
  .to-lobby .text-full { display: none; }
  .to-lobby .text-short { display: inline; }
  #popup .popup-header .title_search,
  #modal_stores .popup-header .title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.3;
    white-space: normal !important;
  }
}

/* ===== VISIT GUIDE (VisitGuide in custom.js; its window is the one of the feedback form) ===== */
/* only the steps scroll: the title and both buttons that close it stay there */
#visit-guide .fb-box { display: flex; flex-direction: column; width: 780px; padding-bottom: 20px; overflow: hidden; }
#visit-guide .fb-title, #visit-guide .vg-intro, #visit-guide .vg-actions { flex-shrink: 0; }
#visit-guide .vg-intro { margin: 0 0 14px; color: #6B5B42; font-size: 16px; text-align: center; }
#visit-guide .vg-steps {
  flex: 0 1 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
}
#visit-guide .vg-steps:focus { outline: none; }
#visit-guide .vg-steps:focus-visible { outline: 2px solid rgba(var(--primary-rgb), 0.55); outline-offset: 2px; border-radius: 12px; }
#visit-guide .vg-step {
  display: flex;
  gap: 13px;
  min-width: 0;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(var(--primary-rgb), 0.22);
  border-radius: 12px;
  background: #fff;
}
/* the last one when it is alone on its row */
#visit-guide .vg-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
#visit-guide .vg-icon {
  flex: 0 0 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary-color);
  font-size: 19px;
}
#visit-guide .vg-icon svg { display: block; width: 22px; height: 22px; fill: currentColor; }
#visit-guide .vg-text { flex: 1; min-width: 0; }
#visit-guide h3 { margin: 0 0 3px; color: var(--ocop-brown); font-size: 15px; font-weight: 700; line-height: 1.35; }
#visit-guide .vg-step p { margin: 0; font-size: 14px; line-height: 1.45; }
#visit-guide .vg-step .vg-buttons { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-weight: 600; }
#visit-guide .vg-buttons span { white-space: nowrap; }
#visit-guide .vg-buttons i { margin-right: 6px; color: var(--primary-color); }
#visit-guide .vg-actions { margin-top: 14px; text-align: center; }
#visit-guide .vg-touch { display: none; }
@media (hover: none) and (pointer: coarse) {
  #visit-guide .vg-mouse { display: none; }
  #visit-guide .vg-touch { display: inline; }
}
@media (min-width: 601px) {
  /* the two buttons in the corner of the lobby have the same width */
  .vr-button.button_guide,
  .vr-button.button_feedback { min-width: 128px; justify-content: center; }
}
@media (min-width: 351px) and (max-width: 400px) {
  /* "Feedback" is longer in English: it must not reach the buttons in the middle */
  .vr-button.button_guide,
  .vr-button.button_feedback { right: 10px; padding: 0 12px 0 10px; }
}
html.guide-first .intro_img { display: none !important; }
/* its button in the booths: in the corner, above the contact and settings buttons */
#mall-guide-btn {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  height: 40px;
  margin: 0;
  padding: 0 16px 0 13px;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  /* it comes back once the menu below is closed (0.2 s, see index.php) */
  transition: opacity 0.15s 0.25s, visibility 0s 0.25s;
}
#mall-guide-btn i { font-size: 17px; }
#mall-guide-btn:hover { background: #fff; }
#mall-guide-btn:focus-visible { outline: 3px solid rgba(var(--primary-rgb), 0.55); outline-offset: 2px; }
/* the menus of these buttons open where it is */
#mall-bottom-right .mr-btn:hover ~ #mall-guide-btn {
  opacity: 0;
  visibility: hidden;
  transition-delay: 0s;
}
@media (max-width: 768px) {
  /* above the bar in the middle, which is close on phones */
  #mall-guide-btn { bottom: calc(100% + 20px); height: 38px; padding: 0 14px 0 11px; }
}
@media (max-width: 640px) {
  #visit-guide .vg-intro { margin-bottom: 12px; font-size: 15px; }
  #visit-guide .vg-steps { grid-template-columns: 1fr; gap: 8px; }
  #visit-guide .vg-step { gap: 11px; padding: 9px 12px; }
  #visit-guide .vg-icon { flex-basis: 38px; height: 38px; font-size: 17px; }
  #visit-guide .fb-submit { width: 100%; }
}

/* ===== SHIPPING POLICY (text of the admin; InfoWindow in custom.js; its window is the one of the guide) ===== */
#shipping-policy .fb-box { display: flex; flex-direction: column; width: 780px; padding-bottom: 20px; overflow: hidden; }
#shipping-policy .fb-title, #shipping-policy .vg-actions { flex-shrink: 0; }
#shipping-policy .vg-actions { margin-top: 14px; text-align: center; }
#shipping-policy .sp-content {
  flex: 0 1 auto;
  min-height: 0;
  padding: 0 6px 0 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  overflow-wrap: break-word;
  font-size: 15px;
  line-height: 1.6;
  -webkit-user-select: text;
  user-select: text;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--primary-rgb),0.3) transparent;
}
#shipping-policy .sp-content:focus { outline: none; }
#shipping-policy .sp-content:focus-visible { outline: 2px solid rgba(var(--primary-rgb), 0.55); border-radius: 8px; }
#shipping-policy .sp-content * { -webkit-user-select: text; user-select: text; }
#shipping-policy .sp-content > :first-child { margin-top: 0; }
#shipping-policy .sp-content p { margin: 0 0 10px; }
#shipping-policy .sp-content h2,
#shipping-policy .sp-content h3,
#shipping-policy .sp-content h4 { margin: 18px 0 8px; color: var(--ocop-brown); font-size: 17px; font-weight: 700; line-height: 1.4; }
#shipping-policy .sp-content h3 { font-size: 16px; }
#shipping-policy .sp-content h4 { font-size: 15px; }
#shipping-policy .sp-content ul,
#shipping-policy .sp-content ol { margin: 0 0 10px; padding: 0 0 0 24px; }
#shipping-policy .sp-content ul { list-style: disc outside; }
#shipping-policy .sp-content ol { list-style: decimal outside; }
#shipping-policy .sp-content li { display: list-item; margin: 0 0 5px; }
#shipping-policy .sp-content strong { font-weight: 700; }
#shipping-policy .sp-content a { color: var(--primary-color); text-decoration: underline; }
#shipping-policy .sp-content blockquote { margin: 0 0 10px; padding: 8px 14px; border-left: 4px solid var(--primary-accent); background: #fff; }
/* wide tables scroll on phones */
#shipping-policy .sp-content table { display: block; max-width: 100%; margin: 0 0 12px; border-collapse: collapse; overflow-x: auto; }
#shipping-policy .sp-content td { min-width: 90px; padding: 7px 10px; border: 1px solid var(--border-color); background: #fff; vertical-align: top; }

/* its buttons: short words on phones */
.policy-short { display: none; }
#mall-policy-btn {
  position: absolute;
  top: 12px;
  right: 62px;
  z-index: 205;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  height: 40px;
  margin: 0;
  padding: 0 16px 0 14px;
  border: none;
  border-radius: 20px;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
#mall-policy-btn i { font-size: 15px; }
#mall-policy-btn:hover { background: #fff; }
#mall-policy-btn:focus-visible { outline: 3px solid rgba(var(--primary-rgb), 0.55); outline-offset: 2px; }
@media (max-width: 980px) {
  /* the name of the booth is close: under the language and share buttons */
  #mall-policy-btn { top: 112px; right: 12px; }
}
@media (max-width: 600px) {
  /* phones: in the bottom-right column, just above the guide button, so the top stays clear */
  /* lobby: guide at bottom 72px (42px high) -> 10px gap */
  .vr-button.button_policy { top: auto; bottom: 124px; right: 20px; }
  /* booths: guide at 16px + 32px buttons + 20px = 68px from the bottom (38px high) -> 10px gap */
  #mall-policy-btn { top: auto; bottom: 116px; right: 10px; height: 38px; padding: 0 14px 0 12px; }
  /* same column as the guide button, which moves to 10px on 351-400px screens */
  @media (min-width: 351px) and (max-width: 400px) { .vr-button.button_policy { right: 10px; } }
  .policy-full { display: none; }
  .policy-short { display: inline; }
  #shipping-policy .sp-content { font-size: 14px; }
}
@media (max-width: 640px) {
  #shipping-policy .fb-submit { width: 100%; }
}

/* shipping policy given as a PDF file: its viewer fills the window */
#shipping-policy .sp-file { flex: 1 1 auto; height: 72vh; min-height: 0; border-radius: 10px; overflow: hidden; background: #f1ece0; }
#shipping-policy .sp-file iframe { display: block; width: 100%; height: 100%; border: 0; }
#shipping-policy:has(.sp-file) .fb-box { width: 960px; height: 100%; }
#shipping-policy .vg-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 22px; }
#shipping-policy .sp-open { color: var(--primary-color); font-size: 14px; font-weight: 600; text-decoration: underline; }
#shipping-policy .sp-open i { margin-right: 5px; }
@media (max-width: 640px) {
  #shipping-policy .sp-file { height: auto; }
  #shipping-policy .vg-actions { flex-direction: column-reverse; }
}

/* Ordering closed (Lobby - Settings): message shown instead of buying */
#mall-notice { position: fixed; inset: 0; z-index: 100000; display: none; align-items: center; justify-content: center; padding: 16px; background: rgba(20, 16, 30, .45); }
#mall-notice.open { display: flex; }
#mall-notice .mn-box { background: #fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); padding: 28px 32px 22px; max-width: 680px; width: 100%; text-align: center; }
#mall-notice .mn-icon { font-size: 40px; color: var(--primary-color, #c08a00); margin-bottom: 12px; }
/* wide enough for one sentence per line on a computer; on a phone the lines wrap evenly (balance) */
#mall-notice p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: #2d2340; font-weight: 600; white-space: pre-line; text-wrap: balance; }
@media (max-width: 600px) {
  #mall-notice .mn-box { padding: 24px 18px 20px; }
  #mall-notice p { font-size: 15px; }
}
#mall-notice .mn-ok { border: 0; border-radius: 10px; padding: 10px 36px; font-size: 15px; font-weight: 700; color: #fff; background: var(--primary-color, #c08a00); cursor: pointer; }
#mall-notice .mn-ok:focus-visible { outline: 3px solid rgba(0, 0, 0, .35); outline-offset: 2px; }

/* Share: copy link button says "Copied!" on itself */
.share_popup .share_field button#share_button.copied { width: auto; padding: 0 12px; background: #1cc88a; color: #fff; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.share_popup .share_field button#share_button.copied span { font-size: 13px; font-weight: 600; }
