@font-face {
  font-family: myFirstFont;
  src: url(../font/ff.ttf);
}

:root {
  --shop-orange: #ff9900;
  --shop-orange-dark: #e47911;
  --shop-orange-soft: #fff3d6;
  --shop-yellow: #febd69;
  --shop-navy: #131921;
  --shop-navy-2: #232f3e;
  --shop-teal: #007185;
  --shop-bg: #eaeded;
  --shop-surface: #ffffff;
  --shop-border: #d5d9d9;
  --shop-text: #0f1111;
  --shop-muted: #565959;
  --shop-success: #17a05d;
  --shadow-sm: 0 1px 2px rgba(15, 17, 17, 0.08);
  --shadow-md: 0 10px 24px rgba(15, 17, 17, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--shop-bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--shop-text);
  background: var(--shop-bg);
  font-family: "Prompt", myFirstFont, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.45;
  padding-bottom: 92px;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--shop-orange);
  text-decoration: none;
}

img {
  max-width: 100%;
}

footer {
  display: none;
}

.app-main {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 82px 12px 28px;
}

.auth-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 14px;
  background:
    linear-gradient(180deg, rgba(19, 25, 33, 0.12), rgba(234, 237, 237, 0) 280px),
    var(--shop-bg);
}

.app-section {
  width: 100%;
}

.a2hs-prompt {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 96px;
  left: 20px;
  z-index: 9999;
  max-width: 460px;
  margin: 0 auto;
  padding: 16px;
  color: var(--shop-text);
  background: var(--shop-surface);
  border: 1px solid var(--shop-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.a2hs-prompt strong {
  display: inline-block;
  margin-bottom: 4px;
}

.page-login .a2hs-prompt,
.page-registor .a2hs-prompt,
.page-forgot .a2hs-prompt,
.page-product .a2hs-prompt,
.page-product_detail .a2hs-prompt,
.page-cart .a2hs-prompt,
.page-market .a2hs-prompt,
.page-video .a2hs-prompt,
.page-payment .a2hs-prompt,
.page-withdraw .a2hs-prompt {
  display: none !important;
}

.btn-install,
.btn-shop,
.btn-login,
.btn-register,
.follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.btn-install,
.btn-shop--solid,
.btn-login,
.btn-register {
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
  border: 1px solid #f2c200 !important;
}

.btn-shop {
  width: auto;
  padding: 10px 16px;
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
  border: 1px solid #f2c200 !important;
  line-height: 1;
}

.btn-shop--ghost {
  color: var(--shop-teal) !important;
  background: #fff !important;
  border: 1px solid var(--shop-border) !important;
}

.btn-shop:hover,
.btn-login:hover,
.btn-register:hover,
.follow-btn:hover {
  filter: brightness(0.97);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: var(--shop-navy);
  box-shadow: 0 2px 10px rgba(15, 17, 17, 0.28);
}

.site-header__inner {
  width: min(100%, 1180px);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  min-width: 54px;
  height: 48px;
  padding: 4px;
  color: #fff;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 800;
  letter-spacing: 0;
}

.site-brand:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.site-brand img {
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.site-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 44px;
  align-items: center;
  gap: 0;
  min-width: 0;
  height: 44px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.16s ease;
}

.site-search:focus-within {
  box-shadow: 0 0 0 3px var(--shop-orange);
}

.category-menu {
  height: 100%;
}

.category-trigger {
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  color: #111;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--shop-border);
  font-weight: 700;
  white-space: nowrap;
}

.category-menu .dropdown-menu,
.lang-content,
.chat-dropdown {
  border: 1px solid var(--shop-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.category-menu .dropdown-menu {
  max-height: 360px;
  overflow: auto;
  font-size: 13px;
}

.dropdown-item:active,
.dropdown-item:hover {
  color: var(--shop-teal);
  background: var(--shop-orange-soft);
}

.search-field {
  min-width: 0;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  color: var(--shop-muted);
}

.search-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--shop-text);
  background: transparent;
  font-size: 14px;
}

.search-submit {
  height: 36px;
  width: 38px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--shop-yellow);
  border: 0;
  border-radius: 4px;
}

.site-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-icon {
  position: relative;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 3px;
  background: transparent;
  border: 1px solid transparent;
}

.header-icon:hover {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
}

.chat-dropdown-wrapper {
  position: relative;
}

.chat-badge,
.nav-badge {
  position: absolute;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #b12704;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.chat-badge {
  top: -4px;
  right: -5px;
}

.chat-badge.is-empty {
  display: none;
}

.chat-dropdown-wrapper:hover .chat-dropdown {
  display: block;
}

.chat-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1001;
  width: min(330px, 90vw);
  overflow: hidden;
  background: #fff;
}

.chat-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  color: var(--shop-text);
  border-bottom: 1px solid #f1f1f1;
}

.chat-item:hover {
  color: var(--shop-text);
  background: #f3fafa;
}

.chat-item img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.chat-text {
  min-width: 0;
}

.chat-text strong,
.chat-text small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-text small {
  color: var(--shop-muted);
  font-size: 12px;
}

.chat-unread {
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--shop-orange);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.chat-empty {
  padding: 18px;
  text-align: center;
  color: var(--shop-muted);
}

.hero-carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  width: 100%;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: clamp(220px, 36vw, 420px);
  object-fit: contain;
  object-position: center;
}

.hero-carousel .carousel-caption {
  right: auto;
  bottom: 18px;
  left: 18px;
  width: min(420px, calc(100% - 36px));
  padding: 14px;
  text-align: left;
  color: #fff;
  background: rgba(19, 25, 33, 0.78);
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.hero-carousel h5 {
  margin: 0 0 4px;
  font-size: clamp(18px, 3vw, 28px);
  font-weight: 800;
}

.hero-carousel p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.9);
}

.quick-actions,
.service {
  position: relative;
  z-index: 2;
  margin: 12px 0;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  overflow: visible;
  text-align: center;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.icon {
  min-width: 0;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--shop-text);
  border-radius: 6px;
}

.icon:hover {
  color: var(--shop-teal);
  background: #f3fafa;
}

.icon i {
  width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: var(--shop-teal);
}

.icon p {
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lang-dropdown {
  position: relative;
  z-index: 30;
  min-width: 0;
}

.lang-dropdown.is-open {
  z-index: 1030;
}

.lang-btn {
  width: 100%;
  color: var(--shop-text);
  background: transparent;
  border: 0;
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.lang-btn .flag-icon {
  flex: 0 0 24px;
}

.lang-content {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 1002;
  min-width: 136px;
  max-height: 0;
  overflow: hidden;
  padding: 0 6px;
  text-align: left;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transform-origin: top right;
  transition: max-height 0.22s ease, opacity 0.16s ease, padding 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  visibility: hidden;
}

.lang-dropdown:hover .lang-content,
.lang-dropdown:focus-within .lang-content,
.lang-dropdown.is-open .lang-content {
  max-height: min(420px, 70vh);
  opacity: 1;
  overflow-y: auto;
  padding: 6px;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.lang-content a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.lang-content a.is-active {
  color: var(--shop-teal);
  background: #eef8f8;
}

.lang-content strong {
  font-size: 13px;
  font-weight: 800;
}

.flag-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.flag-th {
  background: linear-gradient(
    to bottom,
    #a51931 0 16.666%,
    #f4f5f8 16.666% 33.333%,
    #2d2a4a 33.333% 66.666%,
    #f4f5f8 66.666% 83.333%,
    #a51931 83.333% 100%
  );
}

.flag-en {
  background: repeating-linear-gradient(
    to bottom,
    #b22234 0 8%,
    #b22234 8% 15.38%,
    #fff 15.38% 23.07%
  );
}

.flag-en::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 54%;
  content: "";
  background: #3c3b6e;
}

.flag-zh {
  background: #de2910;
}

.flag-zh::before {
  position: absolute;
  top: 2px;
  left: 5px;
  color: #ffde00;
  content: "*";
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.flag-ko {
  background:
    radial-gradient(circle at 50% 42%, #c60c30 0 22%, transparent 23%),
    radial-gradient(circle at 50% 58%, #003478 0 22%, transparent 23%),
    #fff;
}

.flag-ko::before,
.flag-ko::after {
  position: absolute;
  width: 7px;
  height: 2px;
  content: "";
  background: #111;
  box-shadow: 0 4px 0 #111, 0 8px 0 #111;
}

.flag-ko::before {
  top: 4px;
  left: 3px;
  transform: rotate(-35deg);
}

.flag-ko::after {
  right: 3px;
  bottom: 4px;
  transform: rotate(-35deg);
}

.flag-ja {
  background: radial-gradient(circle, #bc002d 0 32%, #fff 34% 100%);
}

.flag-km {
  background: linear-gradient(
    to bottom,
    #032ea1 0 25%,
    #e00025 25% 75%,
    #032ea1 75% 100%
  );
}

.flag-km::before {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 10px;
  height: 5px;
  content: "";
  background: #fff;
  border-radius: 1px 1px 0 0;
}

.flag-vi {
  background: #da251d;
}

.flag-vi::before {
  position: absolute;
  top: 2px;
  left: 5px;
  color: #ffde00;
  content: "*";
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.flag-id {
  background: linear-gradient(to bottom, #ce1126 0 50%, #fff 50% 100%);
}

.flag-ms {
  background: repeating-linear-gradient(
    to bottom,
    #cc0001 0 7.15%,
    #cc0001 7.15% 14.3%,
    #fff 14.3% 21.45%
  );
}

.flag-ms::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54%;
  height: 58%;
  content: "";
  background: #010066;
}

.flag-ms::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  box-shadow: -2px 0 0 1px #ffcc00;
}

.lang-option-flag {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.shorts-page {
  display: grid;
  justify-content: center;
}

.shorts-player-shell {
  position: relative;
  width: min(430px, 100%);
  height: min(760px, calc(100dvh - 166px));
  min-height: 620px;
  overflow: hidden;
  color: #fff;
  background: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.shorts-player-shell iframe {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.shorts-scrim {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 38%;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.74));
}

.shorts-caption {
  position: absolute;
  right: 76px;
  bottom: 22px;
  left: 16px;
  z-index: 2;
  min-width: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.shorts-caption span {
  display: block;
  margin-bottom: 4px;
  color: #ffd8cc;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.shorts-caption h2 {
  margin: 0 0 4px;
  overflow-wrap: anywhere;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.shorts-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.shorts-actions {
  position: absolute;
  right: 12px;
  bottom: 22px;
  z-index: 5;
  display: grid;
  gap: 10px;
}

.shorts-action {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}

.shorts-action:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
}

.shorts-action--primary {
  color: #111;
  background: var(--shop-orange);
  border-color: var(--shop-orange);
}

.shorts-action i {
  font-size: 22px;
}

.shorts-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  padding: 5px 9px;
  color: #fff;
  background: rgba(0, 0, 0, 0.52);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.section-heading,
.page-toolbar {
  margin: 14px 0 10px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.catalog-search {
  width: 100%;
  min-height: 48px;
  margin: 0 0 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.catalog-search:focus-within {
  border-color: var(--shop-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.22);
}

.catalog-search__field {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--shop-muted);
}

.catalog-search__field i {
  flex: 0 0 auto;
  color: var(--shop-teal);
  font-size: 18px;
}

.catalog-search__field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--shop-text);
  background: transparent;
  font-size: 15px;
  font-weight: 600;
}

.catalog-search__field input::placeholder {
  color: #6f7373;
  opacity: 1;
}

.catalog-search__submit {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--shop-yellow);
  border: 0;
  border-left: 1px solid rgba(19, 25, 33, 0.12);
  border-radius: 0;
}

.catalog-search__submit i {
  font-size: 19px;
}

.section-heading h2,
.page-toolbar h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.section-heading a,
.page-toolbar a {
  color: var(--shop-teal);
  font-size: 13px;
  font-weight: 800;
}

.section-kicker {
  display: block;
  margin-bottom: 2px;
  color: var(--shop-orange-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.result-count {
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 700;
}

.product-rail-container {
  width: 100%;
  max-width: 100%;
  margin: 10px 0;
  padding: 8px 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.product-rail {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(94px, 11vw, 112px);
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.product-rail::-webkit-scrollbar {
  display: none;
}

.product-rail[data-auto-rail] {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.product-rail__item {
  position: relative;
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  padding: 6px;
  display: grid;
  gap: 4px;
  align-content: start;
  color: var(--shop-text);
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  background: #fff;
}

.product-rail__item em {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 1;
  padding: 2px 6px;
  color: #111;
  background: var(--shop-yellow);
  border-radius: 999px;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  line-height: 1.2;
}

.product-rail__item img {
  width: 100%;
  height: clamp(64px, 7vw, 78px);
  object-fit: contain;
  border-radius: 4px;
  background: #f7f7f7;
}

.product-rail__item span {
  min-height: 0;
  height: 30px;
  overflow: hidden;
  color: var(--shop-text);
  display: -webkit-box;
  font-size: 11px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-rail__item strong {
  color: #b12704;
  font-size: 12px;
  line-height: 1.2;
}

.recommended-stores {
  width: 100%;
  max-width: 100%;
  margin: 12px 0 16px;
  padding: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.recommended-stores__heading {
  margin-top: 0;
}

.store-grid {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 8px) / 2);
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 6px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.store-grid::-webkit-scrollbar {
  display: none;
}

.store-grid[data-auto-stores] {
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.store-card {
  scroll-snap-align: start;
  width: 100%;
  min-width: 0;
  padding: 8px;
  display: grid;
  gap: 7px;
  color: var(--shop-text);
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border: 1px solid #ececec;
  border-radius: 6px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.store-card:hover {
  border-color: rgba(255, 153, 0, 0.74);
  box-shadow: 0 8px 20px rgba(15, 17, 17, 0.11);
  transform: translateY(-2px);
}

.store-card__main {
  min-width: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.store-card__avatar {
  width: 44px;
  height: 44px;
  overflow: hidden;
  background: #f7fafa;
  border: 1px solid var(--shop-border);
  border-radius: 50%;
}

.store-card__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.store-card__info {
  min-width: 0;
}

.store-card__badge {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 2px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #007185;
  background: #eef8f8;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}

.store-card__badge i {
  color: var(--shop-teal);
}

.store-card h3 {
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-card p {
  margin: 2px 0 0;
  overflow: hidden;
  color: var(--shop-muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-card__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
}

.store-card__stats span {
  min-width: 0;
  padding: 5px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  color: var(--shop-muted);
  background: #f7f7f7;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
}

.store-card__stats strong {
  display: inline;
  flex: 0 0 auto;
  color: var(--shop-text);
  font-size: 13px;
  line-height: 1.1;
}

.store-card__preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.store-card__preview img {
  width: 100%;
  height: clamp(52px, 7vw, 76px);
  display: block;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 4px;
}

.store-card__action {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #111;
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  border: 1px solid #f2c200;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 900;
}

.store-card__action:hover {
  color: #111;
  background: linear-gradient(180deg, #f7ca00, #f2c200);
}

.store-profile-banner {
  margin: 12px 0 14px;
  padding: 14px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: var(--shop-text);
  background: linear-gradient(180deg, #fff, #fbfbfb);
  border: 1px solid var(--shop-border);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.store-profile-banner__avatar {
  width: 76px;
  height: 76px;
  overflow: hidden;
  background: #f7fafa;
  border: 1px solid var(--shop-border);
  border-radius: 50%;
}

.store-profile-banner__avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.store-profile-banner__body {
  min-width: 0;
}

.store-profile-banner h2 {
  margin: 0;
  overflow: hidden;
  font-size: 22px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-profile-banner p {
  margin: 3px 0 0;
  overflow: hidden;
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-profile-banner__badges {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.store-profile-banner__badges span {
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--shop-teal);
  background: #eef8f8;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
}

.store-profile-banner__stats {
  min-width: 170px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.store-profile-banner__stats span {
  padding: 9px 10px;
  color: var(--shop-muted);
  background: #f7f7f7;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
}

.store-profile-banner__stats strong {
  display: block;
  color: var(--shop-text);
  font-size: 18px;
  line-height: 1.1;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(156px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.product-link,
.product {
  min-width: 0;
}

.product {
  height: 100%;
  overflow: hidden;
  color: var(--shop-text);
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product:hover {
  border-color: var(--shop-orange);
  box-shadow: 0 8px 20px rgba(15, 17, 17, 0.14);
  transform: translateY(-2px);
}

.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  padding: 10px;
  background: #f7f7f7;
}

.product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 4px;
}

.product > img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  padding: 10px;
  background: #f7f7f7;
}

.product-media img[src$="product-placeholder.svg"],
.product > img[src$="product-placeholder.svg"],
.order-image[src$="product-placeholder.svg"] {
  object-fit: contain;
  padding: 18px;
  background: #f7fafa;
}

.product-body {
  padding: 9px 10px 10px;
}

.product-name,
.product p:not(.price) {
  min-height: 40px;
  margin: 0;
  overflow: hidden;
  color: var(--shop-text);
  font-size: 13px;
  text-align: left;
}

.product-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.price,
.product .price {
  margin: 0;
  color: #b12704;
  font-size: 17px;
  font-weight: 800;
  text-align: left;
}

.page-add_product .product-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 10px 50px;
}

.page-add_product .product {
  position: relative;
  text-align: center;
}

.page-add_product .product > img {
  padding: 8px;
  border-radius: 8px;
}

.page-add_product .product .price {
  display: block;
  margin: 6px 0 8px;
  padding: 0 4px;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
}

.page-add_product .view-details {
  display: flex;
  justify-content: center;
  padding-bottom: 8px;
}

.page-add_product .view-details i {
  color: #aaa;
  font-size: 25px;
  transition: color 0.3s;
}

.page-add_product .view-details:hover i {
  color: #000;
}

.page-add_product .profit-guide-trigger {
  width: calc(100% - 20px);
  min-height: 38px;
  margin: 0 10px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #007185;
  background: #eef8f8;
  border: 1px solid #c8f3f7;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.page-add_product .profit-guide-trigger i {
  color: var(--shop-teal);
  font-size: 16px;
}

.profit-guide-popup {
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  border: 1px solid var(--shop-border);
  border-radius: 8px !important;
  box-shadow: 0 16px 34px rgba(15, 17, 17, 0.18) !important;
}

.profit-guide-title {
  margin: 0 !important;
  padding: 18px 18px 8px !important;
  color: var(--shop-text) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  text-align: left !important;
}

.profit-guide-html {
  margin: 0 !important;
  padding: 0 18px 18px !important;
  overflow-y: auto;
}

.profit-guide-dialog {
  display: grid;
  gap: 10px;
  color: var(--shop-text);
  text-align: left;
}

.profit-guide-dialog p,
.profit-guide-dialog ol {
  margin: 0;
}

.profit-guide-lead {
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.profit-guide-steps {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.profit-guide-steps li {
  min-width: 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.profit-guide-steps span {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: var(--shop-yellow);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.profit-guide-steps p {
  color: var(--shop-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.profit-guide-example {
  padding: 10px 12px;
  color: #0f5132;
  background: #eaf7ef;
  border: 1px solid #c7ead4;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.profit-guide-note {
  color: var(--shop-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.profit-guide-confirm {
  width: calc(100% - 36px);
  min-height: 40px;
  margin: 0 18px 18px !important;
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
  border: 1px solid #f2c200 !important;
  border-radius: 6px !important;
  font-weight: 900 !important;
}

.sold-count {
  color: var(--shop-muted);
  font-size: 11px;
  white-space: nowrap;
}

.product-page {
  margin-bottom: 18px;
}

.product-detail-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1.08fr);
  gap: 16px;
  align-items: start;
}

.product-gallery,
.product-info,
.related-products {
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.product-gallery {
  padding: 14px;
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fafafa;
  border-radius: 6px;
}

.product-info {
  padding: 18px;
}

.store-chip {
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--shop-teal);
  background: #f3fafa;
  border: 1px solid #c8f3f7;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.product-info h1 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
}

.detail-price {
  margin: 0 0 14px;
  color: #b12704;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
}

.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.product-description {
  margin: 0 0 16px;
  color: #4b4b4b;
  background: #f7fafa;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  padding: 12px;
  font-size: 14px;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.status-grid div,
.rating-row {
  padding: 10px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
}

.status-grid span,
.rating-row span {
  display: block;
  color: var(--shop-muted);
  font-size: 12px;
}

.status-grid strong,
.rating-row strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

.rating-row {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.related-products {
  margin-top: 16px;
  padding: 14px;
}

.related-products-container {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 152px;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.related-product-card {
  padding: 8px;
  display: grid;
  gap: 6px;
  color: var(--shop-text);
  border: 1px solid #f0f0f0;
  border-radius: var(--radius);
}

.related-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 8px;
  background: #f7f7f7;
  border-radius: 6px;
}

.related-product-card span {
  min-height: 34px;
  overflow: hidden;
  font-size: 12px;
}

.related-product-card strong {
  color: #b12704;
}

.footer-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  height: 76px;
  padding: 8px max(8px, env(safe-area-inset-left)) calc(9px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-right));
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  align-items: center;
  justify-content: stretch;
  gap: 4px;
  overflow: visible;
  background: rgba(19, 25, 33, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.footer-nav__item {
  position: relative;
  min-width: 0;
  width: 100%;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.footer-nav a {
  margin: 0 !important;
}

.footer-nav__item i {
  font-size: 20px;
}

.footer-nav__label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-nav__item.is-active,
.footer-nav__item:hover {
  color: var(--shop-yellow);
}

.footer-nav__item--create {
  width: 100%;
  height: 56px;
  justify-self: center;
  color: rgba(255, 255, 255, 0.72) !important;
  background: transparent;
  border-radius: 4px;
  box-shadow: none;
  transform: none;
}

.footer-nav__item--create i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(255, 153, 0, 0.32);
  font-size: 24px;
  transform: translateY(-8px);
}

.footer-nav__item--create.is-active,
.footer-nav__item--create:hover {
  color: var(--shop-yellow) !important;
}

.footer-nav__icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  line-height: 1;
}

.nav-badge {
  top: -10px;
  right: -16px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

.nav-dot {
  position: absolute;
  top: -4px;
  right: -5px;
  width: 10px;
  height: 10px;
  background: #b12704;
  border: 2px solid #fff;
  border-radius: 50%;
}

.container {
  width: min(100%, 960px);
  margin-right: auto;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.auth-main .container,
.page-login .container,
.page-registor .container,
.page-forgot .container {
  width: min(430px, calc(100vw - 32px));
  max-width: 430px;
  box-sizing: border-box;
  margin: 0 auto !important;
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.auth-main h3 {
  color: var(--shop-navy) !important;
  font-weight: 800;
}

.logo {
  width: 190px !important;
  max-width: 72%;
  height: auto !important;
  margin-bottom: 20px;
  border-radius: 0 !important;
  object-fit: contain !important;
}

.brand-auth-logo {
  width: 86px !important;
  max-width: 34%;
  height: 86px !important;
  display: block;
  margin: 0 auto 22px;
  object-fit: contain;
  border-radius: 14px;
}

.profile-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 50%;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}

.form-group label {
  margin-bottom: 6px;
  display: block;
  color: #555;
  font-size: 13px;
  font-weight: 700;
}

.input-select,
form input,
.form-control {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  color: var(--shop-text);
  background: #fff;
  font-size: 14px;
}

.input-select,
form input {
  padding: 10px 12px;
}

.input-select:focus,
form input:focus,
.form-control:focus {
  border-color: var(--shop-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.22);
  outline: 0;
}

.btn-login,
.btn-register {
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
}

.links {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
}

.links a,
.tab .active {
  color: var(--shop-orange) !important;
}

.tab .active {
  border-bottom-color: var(--shop-orange) !important;
}

.cart-toolbar {
  align-items: center;
}

.cart-shell {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.cart-shell .cart {
  background: #fff;
  padding: 22px;
}

.cart-shell .summary {
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, var(--shop-navy-2), var(--shop-navy)) !important;
}

.cart-shell .summary .input-group-text,
.cart-shell .summary .form-control {
  color: var(--shop-text) !important;
  background: #fff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
}

.cart-shell .summary .btn,
.cart-shell #check {
  width: 100%;
  min-height: 42px;
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
  border: 0 !important;
  border-radius: 4px !important;
  font-weight: 800;
}

.cart-shell #check {
  background: #fff !important;
  color: var(--shop-teal) !important;
}

.cart-shell .card {
  border: 1px solid #f0f0f0;
  box-shadow: none !important;
}

.cart-empty-state {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 34px 16px;
  text-align: center;
}

.cart-empty-state i {
  color: rgba(255, 153, 0, 0.34);
  font-size: 72px;
  line-height: 1;
}

.cart-empty-state h3 {
  margin: 0;
  color: var(--shop-text);
  font-size: 22px;
  font-weight: 800;
}

.cart-empty-state p {
  margin: 0 0 8px;
  color: var(--shop-muted);
}

.delet {
  color: #b12704 !important;
  font-weight: 800;
}

.back-to-shop {
  margin-top: 16px;
}

.empty-state,
.data {
  min-height: 260px;
  display: grid;
  place-items: center;
  color: rgba(34, 34, 34, 0.2);
  text-align: center;
  font-size: 64px;
}

.empty-state p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 14px;
}

.profile-container {
  width: 100%;
}

.profile-header {
  background: linear-gradient(135deg, var(--shop-navy), var(--shop-navy-2)) !important;
  border: 0 !important;
  border-radius: 4px !important;
  box-shadow: var(--shadow-md);
}

.profile-header .info-card,
.wallet-info .info-card {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-header .follow-btn {
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
}

.stats,
.menu-grid {
  background: #fff !important;
  border: 1px solid var(--shop-border);
  border-radius: 4px !important;
  box-shadow: var(--shadow-sm);
}

.menu-grid {
  gap: 12px !important;
}

.menu-item {
  padding: 10px 6px;
  border-radius: 6px;
}

.menu-item:hover {
  background: #f3fafa;
}

.profit-badge {
  background: #b12704 !important;
}

.logo-grid {
  margin: 8px 0 24px;
  padding: 12px 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 4px;
}

.logo-grid__track {
  width: max-content;
  display: flex;
  animation: logo-marquee 34s linear infinite;
}

.logo-grid:hover .logo-grid__track {
  animation-play-state: paused;
}

.logo-grid__set {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 18px;
}

.logo-item {
  flex: 0 0 86px;
  text-align: center;
}

.logo-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 6px;
}

.logo-item span {
  display: block;
  color: var(--shop-muted);
  font-size: 12px;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-grid__track {
    animation: none;
  }
}

.modal-content {
  border: 0;
  border-radius: var(--radius);
}

.modal-footer .btn {
  width: 100%;
  color: #111;
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  border: 0;
  font-weight: 800;
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }

  .site-brand {
    display: none;
  }

  .site-search {
    grid-column: 1;
  }

  .site-actions {
    grid-column: 2;
  }

  .product-detail-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 14px;
  }

  .a2hs-prompt {
    right: 12px;
    bottom: 78px;
    left: 12px;
    max-width: none;
    padding: 12px;
    font-size: 13px;
  }

  .a2hs-prompt br {
    display: none;
  }

  .a2hs-prompt .btn-install {
    min-height: 36px;
    margin-top: 10px;
    padding: 8px 12px;
  }

  .app-main {
    padding: 76px 8px 20px;
  }

  .site-header__inner {
    grid-template-columns: 1fr;
    min-height: 62px;
    padding: 9px 8px;
  }

  .site-actions {
    display: none;
  }

  .category-trigger span {
    display: none;
  }

  .category-trigger {
    padding: 0 12px;
  }

  .site-search {
    grid-column: 1;
    grid-template-columns: auto minmax(0, 1fr) 40px;
    height: 42px;
  }

  .page-home .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .page-home .site-brand {
    grid-column: 1;
    width: 50px;
    min-width: 50px;
    height: 42px;
    flex: 0 0 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-radius: 3px;
  }

  .page-home .site-brand img {
    width: 34px;
    height: 34px;
  }

  .page-home .site-search {
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .page-home .category-menu {
    display: none;
  }

  .page-market .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .page-market .site-brand {
    grid-column: 1;
    width: 50px;
    min-width: 50px;
    height: 42px;
    flex: 0 0 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    border-radius: 3px;
  }

  .page-market .site-brand img {
    width: 34px;
    height: 34px;
  }

  .page-market .site-search {
    grid-column: 2;
    grid-template-columns: minmax(0, 1fr) 40px;
  }

  .page-market .category-menu {
    display: none;
  }

  .footer-nav {
    width: 100vw;
    max-width: 100vw;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .hero-carousel .carousel-caption {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    padding: 10px;
  }

  .hero-carousel p {
    display: none;
  }

  .quick-actions,
  .service {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
  }

  .section-heading,
  .page-toolbar {
    align-items: center;
  }

  .section-heading h2,
  .page-toolbar h2 {
    font-size: 18px;
  }

  .product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .page-add_product .product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 10px 8px 50px;
  }

  .page-add_product .product > img {
    padding: 5px;
  }

  .page-add_product .product .price {
    margin: 5px 0 7px;
    font-size: 13px;
    text-align: center;
  }

  .page-add_product .profit-guide-trigger {
    width: calc(100% - 16px);
    margin: 0 8px 8px;
    font-size: 12px;
  }

  .profit-guide-popup {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px);
  }

  .profit-guide-title {
    padding: 16px 16px 7px !important;
    font-size: 16px !important;
  }

  .profit-guide-html {
    padding: 0 16px 16px !important;
  }

  .profit-guide-dialog {
    gap: 9px;
  }

  .profit-guide-lead,
  .profit-guide-steps p,
  .profit-guide-example {
    font-size: 12px;
  }

  .profit-guide-note {
    font-size: 11px;
  }

  .profit-guide-confirm {
    width: calc(100% - 32px);
    min-height: 38px;
    margin: 0 16px 16px !important;
  }

  .store-grid {
    gap: 8px;
    grid-auto-columns: calc((100% - 8px) / 2);
  }

  .store-card {
    padding: 7px;
    gap: 7px;
  }

  .store-card__main {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 6px;
  }

  .store-card__avatar {
    width: 36px;
    height: 36px;
  }

  .store-card__badge {
    padding: 2px 6px;
    font-size: 9px;
  }

  .store-card h3 {
    font-size: 13px;
  }

  .store-card p {
    display: none;
  }

  .store-card__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .store-card__stats span {
    padding: 4px;
    gap: 3px;
    font-size: 9px;
  }

  .store-card__stats strong {
    font-size: 12px;
  }

  .store-card__preview {
    gap: 4px;
  }

  .store-card__preview img {
    height: 48px;
  }

  .store-card__action {
    min-height: 28px;
    font-size: 10px;
  }

  .store-profile-banner {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
  }

  .store-profile-banner__avatar {
    width: 58px;
    height: 58px;
  }

  .store-profile-banner h2 {
    font-size: 18px;
  }

  .store-profile-banner p {
    font-size: 12px;
  }

  .store-profile-banner__badges {
    margin-top: 6px;
  }

  .store-profile-banner__stats {
    grid-column: 1 / -1;
    min-width: 0;
    gap: 6px;
  }

  .store-profile-banner__stats span {
    padding: 7px 8px;
    font-size: 11px;
  }

  .store-profile-banner__stats strong {
    font-size: 16px;
  }

  .product-body {
    padding: 8px;
  }

  .product-media {
    padding: 8px;
  }

  .related-product-card img {
    padding: 7px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .detail-actions .btn-shop {
    width: 100%;
  }

  .cart-shell .cart,
  .cart-shell .summary {
    padding: 16px;
  }

  .container {
    padding: 16px;
  }

  .page-video {
    padding-bottom: 0;
    background: #000;
  }

  .page-video .app-main {
    width: 100%;
    padding: 62px 0 70px;
    background: #000;
  }

  .page-video .shorts-page {
    width: 100%;
    min-height: calc(100svh - 132px);
    min-height: calc(100dvh - 132px);
  }

  .page-video .shorts-player-shell {
    width: 100vw;
    max-width: none;
    height: calc(100svh - 132px);
    height: calc(100dvh - 132px);
    min-height: calc(100svh - 132px);
    min-height: calc(100dvh - 132px);
    border-radius: 0;
    box-shadow: none;
  }

  .page-video .shorts-player-shell iframe {
    inset: 0;
    width: 100%;
  }

  .page-video .shorts-caption {
    display: none;
  }

  .page-video .shorts-actions {
    position: fixed;
    right: 6px;
    top: 50%;
    bottom: auto;
    z-index: 1002;
    transform: translateY(-50%);
  }

  .page-video .shorts-action {
    width: 46px;
    height: 46px;
  }

  .page-video .shorts-scrim {
    display: none;
  }

  .page-video .shorts-counter {
    position: fixed;
    top: 74px;
    right: 8px;
    z-index: 1002;
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    right: 50%;
    left: 50%;
    width: min(680px, calc(100% - 24px));
    border: 1px solid var(--shop-border);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    transform: translateX(-50%);
  }
}

/* UX refresh layer: non-functional visual normalization across legacy pages. */
:focus-visible {
  outline: 3px solid rgba(255, 153, 0, 0.42);
  outline-offset: 2px;
}

::selection {
  color: #111;
  background: #ffd814;
}

body::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.product-rail::-webkit-scrollbar,
.store-grid::-webkit-scrollbar,
.related-products-container::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.product-rail::-webkit-scrollbar-thumb,
.store-grid::-webkit-scrollbar-thumb,
.related-products-container::-webkit-scrollbar-thumb {
  background: #c9c9c9;
  border: 2px solid transparent;
  border-radius: 999px;
  background-clip: content-box;
}

.product-rail,
.store-grid {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-rail::-webkit-scrollbar,
.store-grid::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.app-section > .container,
.page-payment .container,
.page-order_list .container,
.page-registor .container,
.page-forgot .container,
.page-change_password .container {
  margin-top: 0 !important;
}

.card,
.invoice-container,
.receipt,
.order-card,
.payment-card,
.wallet-card,
.market-card {
  border: 1px solid var(--shop-border) !important;
  border-radius: 8px !important;
  box-shadow: var(--shadow-sm) !important;
}

.shadow,
.shadow-lg {
  box-shadow: var(--shadow-sm) !important;
}

.card:hover,
.order-card:hover,
.payment-card:hover,
.wallet-card:hover,
.market-card:hover {
  box-shadow: 0 8px 20px rgba(15, 17, 17, 0.12) !important;
}

.btn,
button,
input[type="button"],
input[type="submit"] {
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 0;
}

.btn-primary,
.btn-success,
.btn-warning,
.btn-dark,
.btn-secondary {
  min-height: 40px;
}

.btn-primary,
.btn-warning {
  color: #111 !important;
  background: linear-gradient(180deg, #ffd814, #f7ca00) !important;
  border-color: #f2c200 !important;
}

.btn-primary:hover,
.btn-warning:hover {
  background: #f7ca00 !important;
  border-color: #e6b800 !important;
}

.btn-success {
  color: #fff !important;
  background: var(--shop-success) !important;
  border-color: var(--shop-success) !important;
}

.btn-danger {
  color: #fff !important;
  background: #d0011b !important;
  border-color: #d0011b !important;
}

.btn-dark,
.btn-secondary {
  color: #fff !important;
  background: var(--shop-navy-2) !important;
  border-color: var(--shop-navy-2) !important;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-dark,
.btn-outline-secondary {
  color: var(--shop-teal) !important;
  background: #fff !important;
  border-color: var(--shop-border) !important;
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-dark:hover,
.btn-outline-secondary:hover {
  color: var(--shop-teal) !important;
  background: #f3fafa !important;
  border-color: #c8f3f7 !important;
}

textarea,
select,
.form-select,
input[type="file"] {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--shop-border);
  border-radius: 6px;
  color: var(--shop-text);
  background: #fff;
  font-size: 14px;
}

textarea,
select,
.form-select {
  padding: 10px 12px;
}

textarea:focus,
select:focus,
.form-select:focus,
input[type="file"]:focus {
  border-color: var(--shop-orange);
  box-shadow: 0 0 0 3px rgba(255, 153, 0, 0.22);
  outline: 0;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.table-responsive {
  border-radius: 8px;
}

.table {
  --bs-table-hover-bg: #f3fafa;
  margin-bottom: 0;
  color: var(--shop-text);
  vertical-align: middle;
}

.table thead th {
  color: #fff !important;
  background: var(--shop-navy-2) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.table tbody td {
  border-color: #eeeeee;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-bg-type: #fbfbfb;
}

.badge,
.rounded-pill {
  font-weight: 800;
  letter-spacing: 0;
}

.alert {
  border-radius: 8px;
  border-width: 1px;
}

.swal2-popup {
  border-radius: 8px !important;
}

.swal2-confirm,
.swal2-cancel {
  border-radius: 6px !important;
  font-weight: 800 !important;
}

.profile-container {
  margin-top: 0 !important;
}

.profile-top {
  flex-wrap: wrap;
}

.profile-info p {
  margin-bottom: 4px;
}

.profile-header .wallet-info {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 12px !important;
}

.profile-header .info-card {
  min-width: 0 !important;
  padding: 14px !important;
  text-align: left !important;
  border-radius: 8px !important;
}

.profile-header .info-card p:first-child {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px !important;
  font-weight: 700;
}

.profile-header .info-card p:last-child {
  color: #fff;
  font-size: 20px !important;
  line-height: 1.25;
}

.profile-header .action-buttons {
  justify-content: flex-start !important;
}

.profile-header .action-buttons .follow-btn {
  min-width: 130px;
  border-radius: 6px !important;
}

.stats {
  margin-top: 14px;
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 8px;
}

.stats a,
.stats .stat-item {
  min-width: 0;
  padding: 10px;
  border-radius: 6px;
}

.menu-grid {
  margin-top: 12px;
  padding: 12px !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
}

.menu-grid .icon {
  margin: 0 !important;
  min-height: 76px;
}

.page-profiles #promo-section {
  margin: 12px 0 18px !important;
  grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)) !important;
  gap: 10px !important;
}

.page-profiles #promo-section .product {
  border: 1px solid var(--shop-border) !important;
}

.page-payment .container,
.page-withdraw .container,
.page-money_today .container,
.page-order_today .container,
.page-order_list .container,
.page-my_order .container,
.page-pay .container,
.page-sucess_detail .invoice-container {
  max-width: 760px;
}

.page-payment h2,
.page-withdraw h2,
.page-money_today h2,
.page-order_today h2,
.page-order_list h2,
.page-my_order h2 {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
}

.page-payment #wallet-address {
  padding: 8px 10px;
  overflow-wrap: anywhere;
  background: #f7fafa;
  border: 1px solid #c8f3f7;
  border-radius: 6px;
  font-size: 13px;
}

.page-withdraw .app-main {
  width: 100%;
  max-width: 100%;
}

.withdraw-shell {
  width: 100%;
  min-height: calc(100dvh - 170px);
  padding: 10px 0 28px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.withdraw-card {
  width: min(760px, 100%);
  padding: 22px;
  overflow: hidden;
  color: var(--shop-text);
  background: #fff;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.withdraw-header {
  margin-bottom: 18px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.withdraw-header__icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  background: linear-gradient(180deg, #ffd814, #f7ca00);
  border: 1px solid #f2c200;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.18);
}

.withdraw-header__icon i {
  font-size: 21px;
}

.withdraw-header h2 {
  margin: 0;
  color: #b12704;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.25;
}

.withdraw-header p {
  margin: 3px 0 0;
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 700;
}

.withdraw-balance {
  margin-bottom: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #f7fafa;
  border: 1px solid #d9eeee;
  border-radius: 8px;
}

.withdraw-balance span {
  min-width: 0;
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 800;
}

.withdraw-balance strong {
  flex: 0 0 auto;
  color: #0f1111;
  font-size: 18px;
  font-weight: 900;
}

.withdraw-form {
  display: grid;
  gap: 14px;
}

.withdraw-field {
  display: grid;
  gap: 7px;
}

.withdraw-field label {
  margin: 0;
  color: var(--shop-text);
  font-size: 13px;
  font-weight: 800;
}

.withdraw-field .form-control {
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.withdraw-field .form-control::placeholder {
  color: #7b7f83;
  opacity: 1;
}

.withdraw-submit {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 900;
}

.withdraw-submit:disabled,
.withdraw-field .form-control:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.withdraw-alert {
  margin: 14px 0 0;
  text-align: center;
  font-weight: 700;
}

.withdraw-divider {
  height: 1px;
  margin: 22px 0 16px;
  background: linear-gradient(90deg, transparent, var(--shop-border), transparent);
}

.withdraw-history-head {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.withdraw-history-head span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shop-orange-dark);
  background: var(--shop-orange-soft);
  border-radius: 8px;
}

.withdraw-history-head h4 {
  margin: 0;
  color: var(--shop-text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

.withdraw-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  box-shadow: none;
}

.withdraw-table {
  min-width: 720px;
}

.withdraw-table th,
.withdraw-table td {
  vertical-align: middle;
}

.withdraw-table td:nth-child(2) {
  max-width: 230px;
  overflow-wrap: anywhere;
}

.withdraw-empty {
  padding: 24px 14px;
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--shop-muted);
  background: #fbfbfb;
  border: 1px dashed #d8dddd;
  border-radius: 8px;
}

.withdraw-empty i {
  color: #879596;
  font-size: 28px;
}

.withdraw-empty p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 640px) {
  .page-withdraw .app-main {
    padding-right: 10px;
    padding-left: 10px;
  }

  .withdraw-shell {
    min-height: calc(100dvh - 150px);
    padding-top: 6px;
    padding-bottom: 24px;
  }

  .withdraw-card {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
  }

  .withdraw-header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }

  .withdraw-header__icon {
    width: 40px;
    height: 40px;
  }

  .withdraw-header h2 {
    font-size: 19px;
  }

  .withdraw-header p {
    font-size: 12px;
  }

  .withdraw-balance {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 15px;
    padding: 11px 12px;
  }

  .withdraw-balance strong {
    font-size: 20px;
  }

  .withdraw-field .form-control,
  .withdraw-submit {
    min-height: 44px;
  }

  .withdraw-divider {
    margin: 20px 0 14px;
  }

  .withdraw-history-head h4 {
    font-size: 16px;
  }

  .withdraw-table-wrap {
    overflow: visible;
    border: 0;
  }

  .withdraw-table {
    min-width: 0;
    border-collapse: separate;
    border-spacing: 0 8px;
  }

  .withdraw-table thead {
    display: none;
  }

  .withdraw-table,
  .withdraw-table tbody,
  .withdraw-table tr,
  .withdraw-table td {
    display: block;
    width: 100%;
  }

  .withdraw-table tr {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--shop-border);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
  }

  .withdraw-table td {
    min-height: 40px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: minmax(112px, 42%) minmax(0, 1fr);
    gap: 10px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    font-size: 12px;
    text-align: right;
    overflow-wrap: anywhere;
  }

  .withdraw-table td:last-child {
    border-bottom: 0;
  }

  .withdraw-table td::before {
    content: attr(data-label);
    color: var(--shop-muted);
    font-weight: 900;
    text-align: left;
  }

  .withdraw-table td:nth-child(2) {
    max-width: none;
  }
}

.page-chat .app-main {
  max-width: 100%;
  min-height: 100dvh;
  padding-bottom: 0;
}

.chat-compose-preview img,
#slip-preview {
  max-height: 280px;
  object-fit: contain;
}

/* Header/logo refresh requested for the storefront shell. */
.site-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-header__inner--with-category {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.site-brand {
  width: 164px;
  min-width: 164px;
  height: 54px;
  justify-content: flex-start;
  padding: 4px 8px;
}

.site-brand img {
  width: 148px;
  height: 48px;
  object-fit: contain;
}

.site-search--compact {
  width: 46px;
  min-width: 46px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  box-shadow: none;
  text-decoration: none;
}

.site-search--compact:focus,
.site-search--compact:hover {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: none;
}

.site-search--compact i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  color: #111;
  background: var(--shop-yellow);
  border-radius: 5px;
}

.site-actions {
  justify-self: end;
}

.brand-auth-logo--wide {
  width: 170px !important;
  max-width: 76% !important;
  height: auto !important;
  border-radius: 0 !important;
}

@media (max-width: 640px) {
  .catalog-search {
    min-height: 42px;
    grid-template-columns: minmax(0, 1fr) 42px;
    border-radius: 5px;
  }

  .catalog-search__field {
    padding: 0 11px;
    gap: 8px;
  }

  .catalog-search__field input {
    font-size: 13px;
  }

  .catalog-search__submit {
    width: 42px;
    height: 42px;
  }

  .auth-main .container,
  .page-login .container,
  .page-registor .container,
  .page-forgot .container {
    width: calc(100vw - 24px);
    padding: 24px 20px;
  }

  .card,
  .container,
  .invoice-container {
    border-radius: 6px !important;
  }

  .table-responsive {
    margin-right: -8px;
    margin-left: -8px;
    border-radius: 0;
  }

  .table thead th,
  .table tbody td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .profile-header {
    padding: 16px !important;
  }

  .profile-top {
    align-items: flex-start !important;
  }

  .profile-header .wallet-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-header .action-buttons .follow-btn {
    flex: 1 1 120px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-header__inner--with-category {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .site-brand {
    display: inline-flex;
  }

  .site-search {
    grid-column: auto;
  }

  .site-actions {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .site-header__inner,
  .page-home .site-header__inner,
  .page-market .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr);
    justify-content: start;
    min-height: 62px;
  }

  .site-header__inner--with-category {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .site-brand,
  .page-home .site-brand,
  .page-market .site-brand {
    grid-column: auto;
    width: 138px;
    min-width: 138px;
    height: 44px;
    padding: 4px 6px;
    display: inline-flex;
  }

  .site-brand img,
  .page-home .site-brand img,
  .page-market .site-brand img {
    width: 126px;
    height: 38px;
  }

  .site-search,
  .page-home .site-search,
  .page-market .site-search {
    position: static !important;
    top: auto !important;
    right: auto !important;
    grid-column: auto;
    width: 42px;
    min-width: 42px;
    height: 40px;
    display: inline-flex !important;
    justify-self: end;
    background: var(--shop-yellow);
    border-color: var(--shop-yellow);
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 1003;
  }

  .site-search--compact i {
    width: 38px;
    height: 38px;
    background: transparent;
  }
}

/* Storefront category menu in the fixed header. */
.site-category-nav {
  position: relative;
  min-width: 0;
  justify-self: start;
}

.site-header__inner--with-category .site-category-nav {
  justify-self: end;
}

.site-category-toggle {
  min-width: 190px;
  max-width: 100%;
  height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.site-category-toggle:hover,
.site-category-nav.is-open .site-category-toggle {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
}

.site-category-toggle .bi-list {
  font-size: 18px;
}

.site-category-toggle .bi-chevron-down {
  font-size: 12px;
  transition: transform 0.18s ease;
}

.site-category-nav.is-open .site-category-toggle .bi-chevron-down {
  transform: rotate(180deg);
}

.site-category-toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-category-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 1001;
  width: min(720px, calc(100vw - 24px));
  max-height: 0;
  margin: 0;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 6px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: var(--shop-navy-2);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
  transition: max-height 0.22s ease, padding 0.22s ease, opacity 0.16s ease;
}

.site-category-nav.is-open .site-category-panel {
  max-height: 420px;
  padding: 10px 12px;
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}

.site-category-link {
  min-width: 0;
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.site-category-link span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-category-link:hover,
.site-category-link.is-active {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.08);
}

.app-main {
  padding-top: 82px;
}

@media (max-width: 640px) {
  .site-category-toggle {
    width: 42px;
    min-width: 42px;
    height: 34px;
    justify-content: center;
    padding: 0;
    font-size: 12px;
  }

  .site-category-toggle span,
  .site-category-toggle .bi-chevron-down {
    display: none;
  }

  .site-category-panel {
    position: fixed;
    top: 62px;
    left: 8px;
    width: calc(100vw - 16px);
    grid-template-columns: 1fr;
    padding-right: 8px;
    padding-left: 8px;
  }

  .site-category-nav.is-open .site-category-panel {
    max-height: min(420px, calc(100vh - 128px));
    padding: 8px;
  }

  .site-category-link {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .app-main {
    padding-top: 76px;
  }
}

/* Light green commerce theme requested by owner. */
:root {
  --shop-orange: #22c55e;
  --shop-orange-dark: #15803d;
  --shop-orange-soft: #ecfdf3;
  --shop-yellow: #a3e635;
  --shop-navy: #14372b;
  --shop-navy-2: #1f4d3a;
  --shop-teal: #0f8f6a;
  --shop-bg: #f2faf4;
  --shop-surface: #ffffff;
  --shop-border: #d8eadc;
  --shop-text: #10251c;
  --shop-muted: #64746b;
  --shop-success: #16a34a;
  --shadow-sm: 0 1px 3px rgba(20, 55, 43, 0.08);
  --shadow-md: 0 16px 34px rgba(20, 55, 43, 0.12);
}

html,
body {
  background: linear-gradient(180deg, #f6fbf4 0%, #ecf9ef 42%, #f8fbf6 100%);
}

a:hover,
.section-kicker,
.price,
.product .price,
.product-rail__item strong,
.related-product-card strong,
.detail-price,
.summary-card .amount,
.withdraw-header h2 {
  color: var(--shop-orange-dark) !important;
}

:focus-visible {
  outline-color: rgba(34, 197, 94, 0.36);
}

::selection {
  color: #ffffff;
  background: var(--shop-orange-dark);
}

.auth-main {
  background:
    linear-gradient(180deg, rgba(163, 230, 53, 0.18), rgba(246, 251, 244, 0) 320px),
    linear-gradient(135deg, #f7fcf5 0%, #eef9ee 52%, #f9fbf4 100%);
}

.site-header {
  background: linear-gradient(135deg, #14372b 0%, #1d5b42 60%, #2b6b45 100%);
  box-shadow: 0 10px 28px rgba(20, 55, 43, 0.2);
}

.site-header::after {
  background: linear-gradient(90deg, #86efac, #bef264, #14b8a6);
}

.site-brand,
.header-icon,
.site-category-toggle,
.site-search--compact {
  border-color: rgba(255, 255, 255, 0.34);
}

.site-brand:hover,
.header-icon:hover,
.site-category-toggle:hover,
.site-category-nav.is-open .site-category-toggle,
.site-search--compact:hover,
.site-search--compact:focus {
  border-color: rgba(190, 242, 100, 0.82);
}

.site-search--compact i,
.search-submit,
.catalog-search__submit,
.btn-install,
.btn-shop--solid,
.btn-login,
.btn-register,
.store-card__action,
.profit-guide-confirm,
.follow-btn,
.btn-primary,
.btn-warning {
  color: #ffffff !important;
  background: linear-gradient(135deg, #22c55e, #84cc16) !important;
  border-color: rgba(34, 197, 94, 0.88) !important;
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.18) !important;
}

.btn-shop--solid:hover,
.btn-login:hover,
.btn-register:hover,
.store-card__action:hover,
.profit-guide-confirm:hover,
.follow-btn:hover,
.btn-primary:hover,
.btn-warning:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, #15803d, #65a30d) !important;
  border-color: #15803d !important;
}

.btn-shop--ghost,
.btn-outline-primary,
.btn-outline-success,
.btn-outline-dark,
.btn-outline-secondary,
.section-heading a,
.page-toolbar a,
.links a,
.store-chip,
.store-profile-banner__badges span,
.store-card__badge,
.catalog-search__field i,
.icon i,
.lang-content a.is-active,
.page-add_product .profit-guide-trigger,
.withdraw-history-head span {
  color: var(--shop-teal) !important;
}

.btn-shop--ghost:hover,
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-dark:hover,
.btn-outline-secondary:hover,
.chat-item:hover,
.dropdown-item:active,
.dropdown-item:hover,
.lang-content a.is-active,
.icon:hover,
.menu-item:hover {
  color: #116b4e !important;
  background: #ecfdf3 !important;
  border-color: rgba(34, 197, 94, 0.28) !important;
}

.catalog-search,
.quick-actions,
.service,
.product-rail-container,
.recommended-stores,
.store-profile-banner,
.product,
.product-gallery,
.product-info,
.related-products,
.card,
.invoice-container,
.receipt,
.order-card,
.payment-card,
.wallet-card,
.market-card,
.stats,
.menu-grid,
.auth-main .container,
.page-login .container,
.page-registor .container,
.page-forgot .container {
  border-color: var(--shop-border) !important;
}

.catalog-search:focus-within,
.input-select:focus,
form input:focus,
.form-control:focus,
textarea:focus,
select:focus,
.form-select:focus,
input[type="file"]:focus {
  border-color: #22c55e !important;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.18) !important;
}

.store-chip,
.store-profile-banner__badges span,
.store-card__badge,
.page-add_product .profit-guide-trigger,
.withdraw-history-head span,
.product-media,
.product > img,
.product-rail__item img,
.store-card__preview img,
.related-product-card img,
.product-gallery img,
.product-description,
.status-update-box,
.withdraw-balance,
.withdraw-empty {
  background: #f3fbf4 !important;
  border-color: rgba(34, 197, 94, 0.22) !important;
}

.product:hover,
.product-rail__item:hover,
.related-product-card:hover,
.store-card:hover {
  border-color: rgba(34, 197, 94, 0.52) !important;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.13) !important;
}

.product-rail__item em,
.profit-guide-steps span {
  color: #14372b;
  background: #bef264;
}

.chat-badge,
.nav-badge,
.nav-dot,
.profit-badge {
  background: #15803d !important;
}

.footer-nav {
  background: rgba(255, 255, 255, 0.96);
  border-top-color: var(--shop-border);
  box-shadow: 0 -10px 26px rgba(20, 55, 43, 0.12);
}

.footer-nav__item,
.footer-nav__item--create {
  color: var(--shop-muted) !important;
}

.footer-nav__item.is-active,
.footer-nav__item:hover,
.footer-nav__item--create.is-active,
.footer-nav__item--create:hover {
  color: var(--shop-orange-dark) !important;
}

.footer-nav__item--create i {
  background: linear-gradient(135deg, #22c55e, #bef264);
  box-shadow: 0 12px 24px rgba(34, 197, 94, 0.24);
}

.profile-header {
  background: linear-gradient(135deg, #14372b 0%, #1d5b42 58%, #4f7d3f 100%) !important;
}

.profile-header .action-buttons a[href*="logout"] {
  background: rgba(255, 255, 255, 0.14) !important;
}

.orange i,
.green i,
.teal i {
  color: var(--shop-teal) !important;
}

.blue i {
  color: #2563eb !important;
}

.red i,
.pink i {
  color: #dc2626 !important;
}

.table {
  --bs-table-hover-bg: #ecfdf3;
}

body::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.product-rail::-webkit-scrollbar-thumb,
.store-grid::-webkit-scrollbar-thumb,
.related-products-container::-webkit-scrollbar-thumb {
  background: #a9c7b0;
}

@media (max-width: 640px) {
  .site-search,
  .page-home .site-search,
  .page-market .site-search {
    background: linear-gradient(135deg, #22c55e, #84cc16);
    border-color: rgba(255, 255, 255, 0.16);
  }
}

/* Homepage experience polish: trust strip, promos, and richer product cards */
.home-experience {
  width: 100%;
  margin: 12px 0 16px;
  display: grid;
  gap: 10px;
}

.home-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.home-trust-card {
  min-width: 0;
  min-height: 82px;
  padding: 10px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  color: var(--shop-text);
  background: linear-gradient(135deg, #ffffff 0%, #f4fbf2 100%);
  border: 1px solid var(--shop-border);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 55, 43, 0.08);
}

.home-trust-card__icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #16a34a, #14b8a6);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(20, 184, 166, 0.2);
}

.home-trust-card__icon i {
  font-size: 18px;
}

.home-trust-card h3 {
  min-width: 0;
  margin: 0 0 3px;
  overflow: hidden;
  color: #123626;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-trust-card p {
  margin: 0;
  overflow: hidden;
  color: var(--shop-muted);
  display: -webkit-box;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-promo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 10px;
}

.home-promo-card {
  position: relative;
  min-width: 0;
  min-height: 132px;
  padding: 13px;
  display: grid;
  align-content: start;
  gap: 7px;
  overflow: hidden;
  color: #14372b;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 253, 244, 0.9)),
    linear-gradient(90deg, rgba(34, 197, 94, 0.14), rgba(20, 184, 166, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(20, 55, 43, 0.09);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 36%, rgba(255, 255, 255, 0.2) 36% 46%, transparent 46% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 13px);
  opacity: 0.45;
}

.home-promo-card > * {
  position: relative;
  z-index: 1;
}

.home-promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.48);
  box-shadow: 0 16px 34px rgba(20, 55, 43, 0.14);
}

.home-promo-card__icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(20, 55, 43, 0.92);
  border-radius: 8px;
}

.home-promo-card__icon i {
  font-size: 19px;
}

.home-promo-card__kicker {
  color: #0f8f6a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-promo-card h3 {
  margin: 0;
  color: #10251c;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.2;
}

.home-promo-card p {
  min-height: 18px;
  margin: 0;
  overflow: hidden;
  color: #53685d;
  display: -webkit-box;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.42;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.home-promo-card__footer {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #116b4e;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.home-promo-card__footer strong {
  color: inherit;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.home-promo-card__footer em {
  min-width: 0;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-promo-card__footer i {
  margin-left: auto;
  font-size: 20px;
}

.home-promo-card--primary {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(20, 55, 43, 0.96), rgba(22, 163, 74, 0.9)),
    linear-gradient(90deg, rgba(190, 242, 100, 0.24), rgba(20, 184, 166, 0.14));
  border-color: rgba(190, 242, 100, 0.34);
}

.home-promo-card--primary .home-promo-card__icon {
  color: #14372b;
  background: #bef264;
}

.home-promo-card--primary .home-promo-card__kicker,
.home-promo-card--primary h3,
.home-promo-card--primary p,
.home-promo-card--primary .home-promo-card__footer {
  color: #ffffff;
}

.home-promo-card--primary p {
  opacity: 0.86;
}

.home-promo-card--teal .home-promo-card__icon {
  background: linear-gradient(135deg, #0f766e, #06b6d4);
}

.home-promo-card--lime .home-promo-card__icon {
  color: #14372b;
  background: linear-gradient(135deg, #bef264, #86efac);
}

.page-home .product-list {
  align-items: stretch;
}

.page-home .product-link {
  height: 100%;
  min-width: 0;
}

.page-home .product {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfffb 100%);
  border-color: rgba(34, 197, 94, 0.18) !important;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 55, 43, 0.08);
}

.page-home .product:hover {
  transform: translateY(-3px);
}

.page-home .product-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.7;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f3fbf4 0%, #ffffff 58%, #ecfdf3 100%) !important;
  border-bottom: 1px solid rgba(34, 197, 94, 0.16);
}

.page-home .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.page-home .product:hover .product-media img {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 2;
  max-width: calc(100% - 18px);
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  color: #14372b;
  background: #bef264;
  border: 1px solid rgba(101, 163, 13, 0.22);
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(101, 163, 13, 0.14);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-badge i {
  flex: 0 0 auto;
  font-size: 10px;
}

.page-home .product-body {
  min-height: 0;
  padding: 9px;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.product-card-top {
  min-width: 0;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.product-category,
.product-stock {
  min-width: 0;
  max-width: 100%;
  padding: 3px 7px;
  overflow: hidden;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-category {
  flex: 1 1 auto;
  color: #0f766e;
  background: #ecfdf3;
  border: 1px solid rgba(20, 184, 166, 0.16);
}

.product-stock {
  flex: 0 0 auto;
  max-width: 46%;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.18);
}

.product-stock.is-low {
  color: #92400e;
  background: #fef9c3;
  border-color: rgba(245, 158, 11, 0.28);
}

.product-stock.is-out {
  color: #991b1b;
  background: #fee2e2;
  border-color: rgba(239, 68, 68, 0.22);
}

.page-home .product-name {
  height: 36px;
  min-height: 36px;
  margin: 0;
  color: #10251c;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.38;
  -webkit-line-clamp: 2;
}

.page-home .product-meta {
  margin-top: auto;
  padding-top: 7px;
  align-items: center;
  border-top: 1px solid rgba(34, 197, 94, 0.12);
}

.page-home .product .price {
  font-size: 15px;
  font-weight: 900;
}

.page-home .sold-count {
  max-width: 50%;
  padding: 3px 7px;
  overflow: hidden;
  color: #0f766e;
  background: #ecfeff;
  border: 1px solid rgba(6, 182, 212, 0.16);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .home-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-promo-card--primary {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .home-experience {
    margin: 10px 0 14px;
    gap: 8px;
  }

  .home-trust-strip {
    grid-auto-flow: column;
    grid-auto-columns: minmax(210px, 78%);
    grid-template-columns: none;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    padding: 0 2px 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-trust-strip::-webkit-scrollbar {
    display: none;
  }

  .home-trust-card {
    min-height: 74px;
    scroll-snap-align: start;
  }

  .home-promo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .home-promo-card {
    min-height: 112px;
    padding: 12px;
  }

  .home-promo-card h3 {
    font-size: 16px;
  }

  .home-promo-card p {
    min-height: 0;
  }

  .page-home .product-media {
    aspect-ratio: 1 / 0.72;
    padding: 10px;
  }

  .page-home .product-body {
    padding: 8px;
  }

  .product-card-top {
    align-items: center;
    flex-direction: row;
    gap: 4px;
  }

  .product-category,
  .product-stock {
    max-width: 100%;
    font-size: 9px;
  }

  .page-home .product-name {
    height: 34px;
    min-height: 34px;
    font-size: 12px;
    line-height: 1.35;
  }

  .page-home .product .price {
    font-size: 14px;
  }

  .page-home .sold-count {
    max-width: 48%;
    font-size: 9px;
  }

}
