@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --background: #140b0d;
  --panel: #201215;
  --line: #443036;
  --text: #fff8ee;
  --muted: #b8a8a8;
  --accent: #ffd15c;
  --sidebar-width: 234px;
  font-family: "Be Vietnam Pro", sans-serif;
}

* {
  box-sizing: border-box;
}

/* ==========================================================================
   SLEEK LUXURY SCROLLBAR (Dark & Gold Theme)
   ========================================================================== */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #140b0d;
}
::-webkit-scrollbar-thumb {
  background: #382428;
  border-radius: 999px;
  border: 2px solid #140b0d;
  transition: background 0.25s ease, border-color 0.25s ease;
}
::-webkit-scrollbar-thumb:hover {
  background: #ffd15c;
  box-shadow: 0 0 10px rgba(255, 209, 92, 0.45);
}
* {
  scrollbar-width: thin;
  scrollbar-color: #382428 #140b0d;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}
html.smooth-scroll-active {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 13px;
  line-height: 1.7;
}
body.menu-open {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button svg,
a svg,
[data-icon] svg {
  width: 19px;
  height: 19px;
  display: block;
  flex-shrink: 0;
}
[data-icon] .cat-custom-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-icon] {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: #1b1113;
  border-right: 1px solid var(--line);
  padding: 31px 18px 18px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 31px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.8px;
}

.logo-subtitle {
  display: block;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 1.8px;
  color: var(--muted);
  line-height: 1.2;
  margin-top: 4px;
}
.sidebar-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.6px;
  color: #806b61;
  padding: 15px 13px 9px;
}
.nav-item {
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 13px;
  width: 100%;
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  border-radius: 8px;
  color: #b8a9a1;
  margin-bottom: 4px;
}
.nav-item svg {
  width: 17px;
  height: 17px;
}
.nav-item:hover {
  color: var(--text);
  background: #29181b;
}
.nav-item.active {
  background: #2a191c;
  color: var(--accent);
}
.nav-item.nav-logout {
  color: #ff9b9b;
  margin-top: 4px;
}
.nav-item.nav-logout:hover {
  color: #ff6b6b;
  background: rgba(239, 68, 68, 0.12);
}
.nav-dot {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: auto;
}
.small-count {
  margin-left: auto;
  color: #c8bdb7;
  font-size: 10px;
}
.new-tag {
  font-size: 7px;
  color: #e1c275;
  background: #372225;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: auto;
}
.sidebar-bottom {
  margin: auto 7px 0;
  padding-top: 35px;
}
.mini-orbit {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #2f1e21;
  color: var(--accent);
  font-size: 25px;
  display: grid;
  place-items: center;
  margin-bottom: 13px;
}
.sidebar-bottom strong {
  font-size: 11px;
  font-weight: 500;
}
.sidebar-bottom p {
  font-size: 10px;
  color: var(--muted);
  margin: 8px 0 12px;
}
.sidebar-bottom a {
  font-size: 10px;
  color: var(--accent);
}
.sidebar-bottom a span {
  margin-left: 35px;
}
.sidebar-footer {
  display: flex;
  gap: 7px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 7px 0;
  margin-top: 23px;
  font-size: 8px;
  color: #947f75;
}
.sidebar-footer > span:last-child {
  margin-left: auto;
}
.online-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 9px #e0b95555;
  flex-shrink: 0;
}
.page-shell {
  margin-left: var(--sidebar-width);
}
.topbar {
  height: 79px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 42px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  background: #140c0df2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-bottom-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.topbar.scrolled {
  background: rgba(16, 9, 11, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 209, 92, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 465px;
  flex: 1;
  color: #948178;
}
.search-box svg {
  width: 17px;
  height: 17px;
}
.search-box input {
  border: none;
  color: #e8e3e0;
  min-width: 0;
  width: 100%;
  background: none;
  padding: 12px 0;
  font-size: 11px;
  outline-offset: 0;
}
.search-box input::placeholder {
  color: #948178;
}
.search-hint {
  font-size: 7px;
  letter-spacing: 1px;
  border: 1px solid #3d2c2f;
  border-radius: 4px;
  padding: 3px 6px;
  white-space: nowrap;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.locale {
  color: #b5a49c;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.locale-dot {
  width: 3px;
  height: 3px;
  background: #725f56;
  border-radius: 50%;
}
.cart-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #251619;
  border: 1px solid #3f2c2f;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 10px;
}
.cart-count {
  background: var(--accent);
  color: #230a0e;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}
.avatar {
  width: 33px;
  height: 33px;
  border: 1px solid #70625b;
  background: #38282b;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}
.logout-topbar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 7px;
  color: #ff9b9b;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.logout-topbar:hover {
  background: rgba(239, 68, 68, 0.24);
  border-color: #ef4444;
  color: #ffffff;
  transform: translateY(-1px);
}
.logout-topbar:active {
  transform: scale(0.96);
}
.logout-topbar .logout-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
}
.logout-topbar .logout-icon svg {
  width: 14px;
  height: 14px;
}
.orders-account-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}
.orders-account-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.orders-account-email {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.orders-account-sub {
  font-size: 11px;
  color: var(--muted);
}
.orders-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 6px;
  color: #ff9b9b;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.orders-logout-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #fff;
}
main {
  max-width: 1420px;
  margin: auto;
  padding: 23px 42px 0;
}

/* ==========================================================================
   MARQUEE ANNOUNCEMENT TICKER BANNER
   ========================================================================== */
.announcement-bar {
  display: flex;
  align-items: center;
  background: rgba(22, 13, 20, 0.78);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9px;
  margin: 0 0 20px;
  height: 42px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(139, 92, 246, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.announcement-bar:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.16);
}
.announcement-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e1530;
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 0 16px;
  height: 100%;
  border-right: 1px solid rgba(139, 92, 246, 0.32);
  flex-shrink: 0;
  white-space: nowrap;
  user-select: none;
}
.announcement-icon {
  font-size: 13px;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.5));
}
.announcement-track-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}
.announcement-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: announcement-marquee 32s linear infinite;
  will-change: transform;
}
.announcement-bar:hover .announcement-track,
.announcement-bar:focus-within .announcement-track {
  animation-play-state: paused;
}
.announcement-text {
  display: inline-block;
  padding-right: 70px;
  color: #ffd15c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-shadow: 0 0 10px rgba(255, 209, 92, 0.25);
}
@keyframes announcement-marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 760px) {
  .announcement-bar {
    height: 38px;
    margin: 0 0 16px;
    border-radius: 8px;
  }
  .announcement-badge {
    padding: 0 10px;
    font-size: 10px;
    gap: 5px;
  }
  .announcement-icon {
    font-size: 11px;
  }
  .announcement-text {
    font-size: 11px;
    padding-right: 45px;
  }
}

.breadcrumb {
  font-size: 9px;
  color: #9d8a80;
  display: flex;
  gap: 12px;
  margin: 0 0 22px;
}
.breadcrumb span {
  color: #554740;
}
.hero {
  min-height: 200px;
  border: 1px solid #3e282c;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 50%, #44181f75, transparent 57%),
    linear-gradient(115deg, #271619, #231214);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(255, 209, 92, 0.05),
    rgba(239, 68, 68, 0.02) 40%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.hero:hover::before {
  opacity: 1;
}
.hero-copy {
  padding: 38px 0 35px 37px;
  z-index: 2;
}
.hero-eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #bdafa8;
  display: flex;
  gap: 8px;
  align-items: center;
}
h1 {
  font-size: clamp(29px, 2.8vw, 43px);
  font-weight: 700;
  letter-spacing: -1.7px;
  line-height: 1.32;
  margin: 18px 0 13px;
}
h1 > span {
  color: var(--accent);
}
.hero-copy p {
  color: #af9d94;
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 24px;
}
.button {
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.7;
}
.button svg {
  width: 15px;
  height: 15px;
}
.primary {
  background: var(--accent);
  color: #2d0d12;
}
.primary:hover {
  background: #f2d487;
}
.secondary {
  background: #2f1d20;
  border-color: #4b3e38;
  color: #f5f2ec;
}
.secondary:hover {
  background: #432b2f;
}
.hero-link {
  border: none;
  background: none;
  color: #c9bdb7;
  font-size: 10px;
  padding: 7px 0;
}
.hero-link span {
  margin-left: 5px;
}
.hero-footnote {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #836d62;
  margin-top: 25px;
}
.tiny-line {
  width: 22px;
  height: 1px;
  background: #756258;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 25px 0 27px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-right: 1px solid var(--line);
}
.benefits > div:first-child {
  justify-content: flex-start;
  padding-left: 12px;
}
.benefits > div:last-child {
  border-right: 0;
}
.benefits > div > [data-icon] {
  width: 35px;
  height: 35px;
  border: 1px solid #3e2d30;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #c8b072;
}
.benefits strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
}
.benefits small {
  font-size: 8px;
  color: #9d8a81;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #988379;
  font-weight: 500;
}
h2 {
  font-size: 23px;
  letter-spacing: -0.75px;
  font-weight: 600;
  line-height: 1.4;
  margin: 7px 0 0;
}
.section-heading h2 > span {
  color: var(--accent);
}
.catalog-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 8px;
  color: #9b887e;
  padding-bottom: 4px;
}
.catalog-note svg {
  width: 13px;
  height: 13px;
  color: #917a6e;
}
.catalog-controls {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 26px;
}
.filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.filter {
  border: 1px solid #3b2a2d;
  background: #1f1315;
  color: #b4a39b;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.filter svg {
  width: 13px;
  height: 13px;
}
.filter:hover {
  color: #fff;
  border-color: #6b5950;
}
.filter.active {
  background: #381b20;
  color: var(--accent);
  border-color: #605048;
}
.sort-box select {
  background: #1e1214;
  border: 1px solid #3d2c2e;
  border-radius: 6px;
  color: #bfb1aa;
  padding: 9px 24px 9px 10px;
  font-size: 9px;
}
.catalog-right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-view-mode-switch {
  display: flex;
  background: #1a0e11;
  border: 1px solid #3b2a2d;
  border-radius: 6px;
  padding: 2px;
  gap: 2px;
}
.catalog-view-btn {
  background: transparent;
  border: 0;
  color: #a8978f;
  font-size: 9px;
  padding: 6px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.catalog-view-btn svg {
  width: 12px;
  height: 12px;
}
.catalog-view-btn:hover {
  color: #fff;
}
.catalog-view-btn.active {
  background: #381b20;
  color: var(--accent);
  font-weight: 600;
}

/* Category grouping view */
.catalog-grouped-container {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.catalog-category-block {
  display: flex;
  flex-direction: column;
}
.category-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.category-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.category-icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 209, 92, 0.1);
  border: 1px solid rgba(255, 209, 92, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.category-icon-pill svg {
  width: 16px;
  height: 16px;
}
.category-block-title h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.category-block-title small {
  font-size: 9px;
  color: var(--muted);
}
.category-jump-link {
  background: #251619;
  border: 1px solid #432e33;
  color: #c9b9b1;
  font-size: 9px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.category-jump-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.results-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0 15px;
  color: #8b7469;
  font-size: 9px;
  min-height: 20px;
}
.reset-button {
  border: 0;
  background: none;
  font-size: 9px;
  color: var(--accent);
  padding: 0;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}
.product-card {
  background: #1e1214;
  border: 1px solid #3b292c;
  border-radius: 10px;
  overflow: hidden;
  transition:
    border-color 0.25s,
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.25s;
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    200px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(255, 209, 92, 0.05),
    rgba(147, 51, 234, 0.02) 45%,
    transparent 75%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover::before {
  opacity: 1;
}
.product-card:hover {
  border-color: rgba(255, 209, 92, 0.4);
  box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.65), 0 0 14px rgba(255, 209, 92, 0.06);
  transform: translateY(-4px);
}
.product-card > * {
  position: relative;
  z-index: 2;
}
.product-media {
  height: 177px;
  position: relative;
  background: #2b1a1d;
  overflow: hidden;
}
.product-open {
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  display: block;
}
.product-open img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.product-card:hover img {
  transform: scale(1.04);
}
.product-badge {
  position: absolute;
  left: 13px;
  top: 12px;
  color: #f8f0db;
  font-size: 7px;
  letter-spacing: 0.7px;
  background: #1e0b0e99;
  border: 1px solid #ffffff22;
  padding: 3px 7px;
  border-radius: 4px;
  pointer-events: none;
}
.favorite-button {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff29;
  background: #1a090c80;
  border-radius: 50%;
  color: #ece6d6;
}
.favorite-button svg {
  width: 14px;
  height: 14px;
}
.favorite-button.selected {
  color: #fbe19e;
  background: #3f272b;
}
.favorite-button.selected svg {
  fill: #fbe19e40;
}
.product-body {
  padding: 17px 17px 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-category {
  font-size: 7px;
  letter-spacing: 1.4px;
  color: #b29d69;
  font-weight: 600;
}
.product-heading {
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  margin: 7px 0 8px;
  letter-spacing: -0.4px;
}
.product-description {
  margin: 0;
  color: #a9968c;
  font-size: 9px;
  line-height: 1.8;
  min-height: 34px;
}
.product-features {
  list-style: none;
  padding: 0;
  margin: 14px 0 17px;
  display: grid;
  gap: 5px;
}
.product-features li {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  color: #bfb1aa;
  font-size: 9px;
}
.product-features svg {
  width: 11px;
  height: 11px;
  color: #c5a963;
  margin-top: 3px;
}
.product-bottom {
  border-top: 1px solid #39282a;
  padding-top: 13px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.price-label {
  display: block;
  color: #927d73;
  font-size: 7px;
  margin-bottom: 2px;
}
.price {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.7px;
  color: #f5f2ea;
}
.price small {
  font-size: 10px;
  font-weight: 400;
  color: #b2a29a;
  margin-left: 3px;
}
.add-button {
  white-space: nowrap;
  border: 1px solid #50433c;
  background: #3d1e23;
  color: var(--accent);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.add-button svg {
  width: 12px;
  height: 12px;
}
.add-button:hover {
  background: #5c4e2a;
}
.bottom-banner {
  position: relative;
  margin-top: 38px;
  padding: 25px 30px;
  border: 1px solid #403134;
  background: linear-gradient(110deg, #2a191c, #2a1317);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
}
.bottom-banner h2 {
  font-size: 21px;
  position: relative;
  z-index: 1;
}
.bottom-banner p {
  font-size: 10px;
  color: #a9968d;
  position: relative;
  z-index: 1;
}
.bottom-banner .button {
  z-index: 1;
  flex-shrink: 0;
}
.banner-mark {
  position: absolute;
  font-size: 135px;
  line-height: 1;
  color: #73633b2b;
  left: 61%;
  top: -4px;
}
footer {
  margin-top: 30px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.footer-logo span {
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #947e73;
  margin-left: 7px;
}
footer p,
footer button {
  font-size: 8px;
  color: #8e796e;
}
footer button {
  border: 0;
  background: transparent;
  padding: 0;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: 10px;
}
.empty-state > [data-icon] {
  color: var(--accent);
}
.empty-state h3 {
  font-size: 17px;
}
.empty-state p {
  color: var(--muted);
  font-size: 11px;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #50433d;
  border-radius: 7px;
  background: #2c1b1e;
  color: #e3dcd9;
  font-size: 23px;
}
.menu-toggle,
.sidebar-close {
  display: none;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(17, 5, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
dialog {
  border: 1px solid #52453e;
  border-radius: 14px;
  background: #221215;
  color: var(--text);
  padding: 30px;
  width: calc(100% - 32px);
  max-width: 550px;
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  box-shadow: 0 30px 100px #0008;
}
dialog::backdrop {
  background: #110507c7;
  backdrop-filter: blur(5px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 2;
}
dialog h2 {
  margin: 8px 35px 18px 0;
  font-size: 25px;
}
dialog p {
  font-size: 12px;
  color: var(--muted);
}
.product-dialog {
  max-width: 820px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1.25fr;
  align-items: stretch;
  max-height: calc(100dvh - 40px);
}
.detail-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.45) 100%), #181115;
  overflow: hidden;
  min-height: 360px;
  padding: 24px;
}
.detail-media-backdrop {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(40px) brightness(0.25) saturate(1.4);
  opacity: 0.65;
  pointer-events: none;
  transform: scale(1.15);
}
.detail-image {
  position: relative;
  z-index: 2;
  max-width: 100%;
  max-height: 420px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.6));
  display: block;
}
.detail-copy {
  padding: 34px 28px 28px;
  overflow-y: auto;
  max-height: calc(100dvh - 40px);
}
.detail-copy h2 {
  margin-right: 0;
}
.detail-copy .product-features {
  margin: 20px 0;
}
.detail-copy .product-features li {
  font-size: 11px;
}
.detail-copy select {
  width: 100%;
  background: #2f1d20;
  border: 1px solid #4c3f39;
  padding: 11px;
  border-radius: 6px;
  color: var(--text);
  font-size: 11px;
  margin: 7px 0 15px;
}
.detail-copy label {
  font-size: 10px;
  color: #aa9d97;
}
.detail-price {
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--accent);
  font-weight: 600;
}
.detail-copy .fine-print {
  font-size: 9px;
  line-height: 1.7;
  margin-bottom: 0;
}
.full-width {
  width: 100%;
}
.muted {
  color: var(--muted);
}
.dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}
.dialog-header h2 {
  margin-right: 0;
}
.cart-row {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 55px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
}
.cart-row-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.cart-row small {
  font-size: 9px;
  color: var(--muted);
}
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.quantity-controls button {
  width: 24px;
  height: 24px;
  border: 1px solid #54463f;
  background: #2e1d20;
  border-radius: 5px;
  font-size: 14px;
}
.quantity-controls .remove {
  width: auto;
  padding: 0;
  border: none;
  background: none;
  font-size: 9px;
  color: #e0cc99;
  margin-left: auto;
}
.cart-total,
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 25px 0 18px;
}
.cart-total strong,
.checkout-total strong {
  color: var(--accent);
  font-size: 21px;
}
.cart-empty {
  text-align: center;
  padding: 30px 10px;
}
.cart-empty h3 {
  font-size: 17px;
}
.cart-empty p {
  margin-bottom: 22px;
}
.checkout-dialog {
  max-width: 480px;
}
form > label {
  display: block;
  font-size: 11px;
  margin: 16px 0;
}
form input,
form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  background: #1d0e11;
  border: 1px solid #4b3e38;
  padding: 11px 12px;
  color: var(--text);
  border-radius: 6px;
  font-size: 12px;
}
form textarea {
  resize: vertical;
}
.info-dialog .button {
  margin-top: 15px;
}
.info-list {
  padding-left: 20px;
  color: #bdafa8;
  font-size: 12px;
}
.info-list li {
  margin: 10px 0;
}
.support-card {
  padding: 17px;
  border: 1px solid #4f423c;
  border-radius: 8px;
  margin-top: 20px;
  background: #2a191c;
}
.support-card strong {
  font-size: 15px;
  color: #e8d299;
}
.support-card p {
  font-size: 11px;
  margin: 6px 0;
}
.order-card {
  padding: 16px;
  border: 1px solid #4b3236;
  border-radius: 8px;
  margin-top: 15px;
}
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 11px;
}
.order-top span {
  color: var(--accent);
  font-size: 9px;
}
.order-card p {
  font-size: 10px;
}
.order-card ul {
  font-size: 11px;
  padding-left: 17px;
  color: #cabfb9;
}
.order-total {
  font-size: 13px;
  color: var(--accent);
}
.success-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  background: #422429;
  color: var(--accent);
  border-radius: 50%;
  margin: 5px 0 20px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: calc(50% + 100px);
  transform: translate(-50%, 20px);
  z-index: 100;
  background: #f6ecd3;
  border: 1px solid #e9dbb9;
  color: #3b1a1f;
  padding: 12px 22px;
  border-radius: 8px;
  box-shadow: 0 10px 50px #0007;
  opacity: 0;
  pointer-events: none;
  font-size: 12px;
  transition:
    opacity 0.2s,
    transform 0.2s;
  max-width: calc(100% - 30px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.logo-avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 11px;
  border: 1px solid #9b632c;
  box-shadow: 0 0 18px #c8352425;
}
.avatar {
  padding: 0;
  overflow: hidden;
  border-color: #a9743c;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-media {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: 25px;
  min-width: 0;
}
/* 3D Volumetric Typography (Seamless Hero Integration) */
.hero-3d-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  min-height: 260px;
  border: none;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
}
.hero-3d-canvas {
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}
.hero-3d-card.is-fallback .fallback-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #9e643658;
  border-radius: 12px;
}
.hero-brand-banner {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #9e643658;
  border-radius: 12px;
  box-shadow:
    0 15px 40px #09010280,
    0 0 35px #df652412;
}
.hero-media-caption {
  font-size: 8px;
  letter-spacing: 2px;
  color: #b68e76;
  text-align: center;
}
@media (min-width: 1600px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .product-media {
    height: 180px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar-width: 210px;
  }
  .topbar {
    padding: 0 26px;
  }
  main {
    padding: 23px 26px 0;
  }
  .hero-copy {
    padding-left: 27px;
  }

  .catalog-note {
    display: none;
  }
  .product-grid {
    gap: 14px;
  }
  .product-body {
    padding: 14px;
  }
  .product-media {
    height: 150px;
  }
  .price {
    font-size: 17px;
  }
  .add-button {
    padding: 8px;
  }
  .hero {
    grid-template-columns: 1fr 1.1fr;
  }
}
@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .product-media {
    height: 185px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-right: 25px;
  }

  .hero-copy {
    z-index: 3;
  }
  .benefits {
    gap: 10px;
  }
  .benefits > div {
    gap: 7px;
    justify-content: flex-start;
  }
  .benefits > div:first-child {
    padding-left: 0;
  }
  .benefits small {
    display: none;
  }
  .benefits strong {
    font-size: 9px;
  }
  .catalog-controls {
    align-items: flex-start;
  }
  .sort-box select {
    max-width: 130px;
  }
  .search-hint,
  .locale {
    display: none;
  }
  .bottom-banner {
    padding: 22px;
    flex-wrap: wrap;
    gap: 10px;
  }
  footer {
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    width: min(310px, 84vw);
    max-width: 330px;
    z-index: 100;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.65);
    padding-top: max(20px, calc(env(safe-area-inset-top) + 14px));
    padding-bottom: max(24px, calc(env(safe-area-inset-bottom) + 20px));
    -webkit-overflow-scrolling: touch;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: max(16px, calc(env(safe-area-inset-top) + 10px));
    right: 14px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 10px;
    background: #2c1b1e;
    border: 1px solid #50433d;
    color: #e3dcd9;
    cursor: pointer;
    z-index: 102;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  }
  .sidebar-close:active {
    transform: scale(0.92);
    background: #3d2429;
    border-color: var(--accent);
  }
  .sidebar-close svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke: currentColor;
    pointer-events: none;
  }
  .nav-item {
    min-height: 44px;
    padding: 11px 14px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-item:active {
    background: rgba(255, 209, 92, 0.12);
  }
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
  body.menu-open .page-shell {
    pointer-events: none;
  }
  .logo {
    font-size: 21px;
    gap: 10px;
  }
  .page-shell {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
    gap: 13px;
  }
  .menu-toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle:active {
    transform: scale(0.92);
  }
  .topbar-actions {
    gap: 8px;
  }
  .avatar,
  .cart-label {
    display: none;
  }
  .cart-button {
    padding: 7px 10px;
    gap: 7px;
    min-height: 42px;
    min-width: 42px;
    border-radius: 10px;
    touch-action: manipulation;
  }
  .logout-topbar {
    padding: 7px 10px;
    min-height: 42px;
    min-width: 42px;
    border-radius: 10px;
    justify-content: center;
    touch-action: manipulation;
  }
  .logout-topbar .logout-text {
    display: none;
  }
  .search-box {
    gap: 7px;
  }
  .search-box input {
    font-size: 14px;
  }
  main {
    padding: 18px 18px 0;
  }
  .breadcrumb {
    margin-bottom: 16px;
  }
  .hero {
    min-height: 320px;
  }
  h1 {
    font-size: 32px;
  }
  .hero-copy {
    padding: 29px 22px;
  }
  .hero-copy p {
    font-size: 10px;
  }
  .hero-actions {
    gap: 13px;
  }
  .hero-footnote {
    letter-spacing: 1px;
  }
  .benefits {
    padding: 20px 0;
    margin-bottom: 26px;
  }
  .benefits > div {
    flex-direction: column;
    text-align: center;
    padding: 0 5px;
  }
  .benefits > div:first-child {
    padding-left: 5px;
  }
  .benefits strong {
    font-size: 8px;
  }
  h2 {
    font-size: 21px;
  }
  .catalog-controls {
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    padding: 7px 10px;
    font-size: 9px;
  }
  .sort-box {
    align-self: flex-end;
    margin-bottom: -31px;
  }
  .sort-box select {
    padding: 6px 8px;
    font-size: 8px;
  }
  .results-line {
    margin-top: 5px;
  }
  .product-grid {
    gap: 12px;
  }
  .product-media {
    height: 150px;
  }
  .product-heading {
    font-size: 14px;
  }
  .product-body {
    padding: 12px;
  }
  .product-description {
    font-size: 8px;
  }
  .product-features li {
    font-size: 8px;
  }
  .product-bottom {
    flex-wrap: wrap;
    gap: 10px;
  }
  .add-button {
    flex: 1;
    justify-content: center;
    font-size: 9px;
  }
  .bottom-banner h2 {
    font-size: 20px;
  }
  .bottom-banner p {
    max-width: 245px;
  }
  footer p {
    order: 3;
    width: 100%;
    margin-top: 0;
  }
  .product-dialog {
    overflow-y: auto;
  }
  .detail-layout {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .detail-media {
    min-height: 200px;
    max-height: 240px;
    padding: 16px;
  }
  .detail-image {
    max-height: 200px;
    height: auto;
    width: auto;
    min-height: 0;
  }
  .detail-copy {
    padding: 24px 20px 20px;
    max-height: none;
    overflow-y: visible;
  }
  .toast {
    left: 50%;
    bottom: 18px;
    font-size: 11px;
    width: max-content;
  }
}
@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-media {
    height: 190px;
  }
  .product-bottom {
    flex-wrap: nowrap;
  }
  .add-button {
    flex: initial;
  }
  h1 {
    font-size: 27px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-media {
    padding: 0 27px 27px;
  }
  .hero-3d-card {
    aspect-ratio: 16 / 10;
    min-height: 270px;
  }
}
@media (max-width: 760px) {
  .hero-media {
    padding: 0 20px 22px;
  }
  .hero-3d-card {
    aspect-ratio: 16 / 11;
    min-height: 240px;
  }
}
@media (max-width: 480px) {
  .hero-media {
    padding: 0 16px 18px;
  }
  .hero-3d-card {
    aspect-ratio: 4 / 3;
    min-height: 220px;
  }
}

/* Product accents follow the service being shown. */
[data-product="nitro"] {
  --product-accent: #b8a8ff;
  --product-tint: #29233f;
}
[data-product="decor"] {
  --product-accent: #ffb4e2;
  --product-tint: #3a2335;
}
[data-product="boost"] {
  --product-accent: #c3acff;
  --product-tint: #302343;
}
[data-product="youtube"] {
  --product-accent: #ff9399;
  --product-tint: #3c2025;
}
[data-product="netflix"] {
  --product-accent: #ff8496;
  --product-tint: #3b1c26;
}
[data-product="capcut"] {
  --product-accent: #f1f1f5;
  --product-tint: #303036;
}
[data-product="server-setup"] {
  --product-accent: #b7beff;
  --product-tint: #252b46;
}
[data-product="custom-bot"] {
  --product-accent: #a1ccff;
  --product-tint: #202e43;
}
.product-card {
  background: #19171c;
  border-color: #37333d;
}
.product-card:hover {
  border-color: var(--product-accent);
}
.product-card .product-category,
[data-product] .product-features svg,
.detail-copy .eyebrow {
  color: var(--product-accent);
}
.product-card .product-badge {
  color: var(--product-accent);
  background: #11121bcc;
}
.product-card .add-button {
  color: var(--product-accent);
  background: var(--product-tint);
  border-color: var(--product-accent);
}
.product-card .add-button:hover {
  background: color-mix(in srgb, var(--product-accent) 23%, #17151d);
}
.product-card .product-description,
.product-card .product-features {
  color: #bdb8c5;
}
.product-card .product-bottom {
  border-color: #37333d;
}
.detail-copy .primary {
  background: var(--product-accent);
  color: #17151d;
}

.product-card .add-button[data-add],
.detail-copy #detail-add {
  background: #176bc4;
  border-color: #398ce3;
  color: #ffffff;
}
.product-card .add-button[data-add]:hover,
.detail-copy #detail-add:hover {
  background: #12569f;
  border-color: #69b2ff;
}
.product-card .add-button[data-add]:focus-visible,
.detail-copy #detail-add:focus-visible {
  outline: 2px solid #91caff;
  outline-offset: 3px;
}

/* Product Card Actions (Thêm giỏ & Mua ngay) */
.product-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.product-card .add-button {
  padding: 7px 10px;
  font-size: 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
}
.product-card .buy-button {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid #fbbf24;
  color: #1a0a00;
  font-size: 10px;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
  transition: all 0.2s;
}
.product-card .buy-button:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}
.product-card .buy-button:active {
  transform: translateY(0);
}

/* Detail modal actions (Thêm giỏ & Mua ngay) */
.detail-actions {
  display: flex;
  gap: 10px;
  margin: 16px 0 10px;
}
.detail-actions button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.detail-actions #detail-add {
  background: #176bc4;
  border: 1px solid #398ce3;
  color: #ffffff;
}
.detail-actions #detail-add:hover {
  background: #12569f;
  border-color: #69b2ff;
}
.detail-actions .detail-buy-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid #fbbf24;
  color: #1a0a00;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
}
.detail-actions .detail-buy-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}
.direct-buy-banner {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Checkout notices & Credential fields */
.checkout-notice {
  border-radius: 8px;
  padding: 12px 14px;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.6;
}
.checkout-notice p {
  margin: 4px 0 10px;
}
.checkout-notice .notice-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.gift-notice {
  background: rgba(46, 125, 50, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #c8e6c9;
}
.gift-notice .notice-badge {
  background: rgba(76, 175, 80, 0.25);
  color: #81c784;
}
.log-notice {
  background: rgba(230, 81, 0, 0.15);
  border: 1px solid rgba(255, 152, 0, 0.4);
  color: #ffe0b2;
}
.log-notice .notice-badge {
  background: rgba(255, 152, 0, 0.25);
  color: #ffb74d;
}
.boost-notice {
  background: rgba(147, 51, 234, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
}
.boost-notice .notice-badge {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
}
.decor-notice {
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #bfdbfe;
}
.decor-notice .notice-badge {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}
.small-hint {
  font-size: 10px;
  display: block;
  margin-top: 3px;
  color: #d1b49d;
}

/* Checkout Wallet Information */
.checkout-wallet-box {
  background: #1e1215;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 16px 0;
}
.checkout-wallet-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-bottom: 6px;
}
.wallet-method-tag {
  color: var(--accent);
  background: rgba(255, 209, 92, 0.12);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
}
.checkout-wallet-balance {
  font-weight: 700;
  color: #4ade80;
  font-size: 13px;
}
.checkout-wallet-alert {
  margin: 8px 0 0;
  padding: 6px 10px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 4px;
  font-size: 11px;
}

/* Order List Details */
.order-card {
  background: #1c1013;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
  text-align: left;
}
.order-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 10px;
}
.order-status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}
.order-status-badge.status-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.order-status-badge.status-processing {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.order-status-badge.status-completed {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.order-status-badge.status-cancelled {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.order-claim-box {
  margin-top: 10px;
  padding: 10px 12px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.order-claim-box strong {
  color: #4ade80;
  font-size: 12px;
}
.claim-link-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.claim-link-group a {
  color: #86efac;
  text-decoration: underline;
  word-break: break-all;
  font-size: 12px;
}
.claim-copy-btn {
  background: #166534;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  cursor: pointer;
  white-space: nowrap;
}
.claim-copy-btn:hover {
  background: #15803d;
}
.order-log-info {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 6px;
  font-size: 11px;
  color: #fde68a;
}
.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.admin-link-btn {
  font-size: 11px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.2s;
  text-decoration: none;
}
.admin-link-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* ==========================================================================
   INTERACTIVE CURSOR & MOUSE EFFECTS
   ========================================================================== */

/* Con trỏ kép và sao nhỏ: điểm nhấn vàng–tím, không phủ ánh sáng lên nền. */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot {
  width: 4px;
  height: 4px;
  z-index: 9999;
  background: #ffd15c;
  box-shadow: 0 0 5px rgba(255, 209, 92, 0.9), 0 0 12px rgba(192, 132, 252, 0.25);
  transition: opacity 120ms ease, background-color 160ms ease;
}
.cursor-ring {
  width: 18px;
  height: 18px;
  z-index: 9998;
  border: 1px solid rgba(255, 209, 92, 0.65);
  background: rgba(255, 209, 92, 0.025);
  transition: opacity 140ms ease, width 180ms ease, height 180ms ease,
    border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}
.cursor-dot.active, .cursor-ring.active { opacity: 1; }
.cursor-ring.hover {
  width: 30px;
  height: 30px;
  border-color: rgba(255, 231, 173, 0.85);
  background: rgba(192, 132, 252, 0.07);
  box-shadow: 0 0 14px rgba(255, 209, 92, 0.14), 0 0 22px rgba(192, 132, 252, 0.08);
}
.cursor-dot.hover { background: #fff1c7; }
.cursor-ring.clicking {
  width: 11px;
  height: 11px;
  border-color: #fff1c7;
  background: rgba(255, 209, 92, 0.15);
}
.cursor-dot.clicking { background: #fff; }
.cursor-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9997;
  pointer-events: none;
  opacity: 0;
}
.cursor-particles.active { opacity: 1; }

/* Chỉ giấu con trỏ thật sau khi bộ con trỏ tùy biến đã sẵn sàng. */
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])),
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) * { cursor: none !important; }
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) input,
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) textarea,
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) [contenteditable]:not([contenteditable="false"]) { cursor: text !important; }
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) :disabled,
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) [aria-disabled="true"] { cursor: not-allowed !important; }
body.has-custom-cursor:not(.modal-open):not(:has(dialog[open])) select { cursor: auto !important; }

body.modal-open :is(.cursor-dot, .cursor-ring, .cursor-particles),
body:has(dialog[open]) :is(.cursor-dot, .cursor-ring, .cursor-particles) {
  opacity: 0;
  visibility: hidden;
}

/* Lớp mặt và đường viền nhận cùng tọa độ, không ngăn việc bấm sản phẩm. */
.product-card.cursor-lit::before {
  background: radial-gradient(220px circle at var(--mouse-x) var(--mouse-y),
    rgba(255, 209, 92, 0.12), rgba(192, 132, 252, 0.06) 42%, transparent 75%);
  opacity: 1;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
  background: radial-gradient(150px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
    rgba(255, 209, 92, 0.9), rgba(192, 132, 252, 0.55) 45%, transparent 78%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 200ms ease;
}
.product-card.cursor-lit::after { opacity: 1; }
@media (any-hover: none), (any-pointer: none) {
  .cursor-dot, .cursor-ring, .cursor-particles { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cursor-ring { transition: opacity 120ms ease; }
  .product-card::after { transition: none; }
}


/* ==========================================================================
   SMOOTH SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-card.scroll-reveal {
  transition-delay: calc(var(--reveal-index, 0) * 0.045s);
}

.product-card.scroll-reveal.revealed:hover {
  transform: translateY(-4px);
}

/* ==========================================================================
   SCROLL TO TOP FLOATING BUTTON
   ========================================================================== */
.scroll-top-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(32, 18, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 209, 92, 0.32);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition:
    opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    color 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.scroll-top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-button:hover {
  background: rgba(255, 209, 92, 0.2);
  border-color: var(--accent);
  box-shadow: 0 6px 22px rgba(255, 209, 92, 0.4);
  transform: translateY(-2px) scale(1.06);
  color: #ffffff;
}

.scroll-top-button:active {
  transform: translateY(0) scale(0.95);
}

.scroll-top-button svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.scroll-top-button:hover svg {
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .scroll-top-button {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .scroll-top-button svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   HARDWARE ACCELERATION & SCROLL PERFORMANCE
   ========================================================================== */
.topbar,
.scroll-top-button {
  transform: translateZ(0);
}
.sidebar { will-change: transform; }




/* Dòng chữ mở từ dưới lên; không thay đổi chiều cao hoặc nội dung của bố cục. */
#hero-title .intro-line,
.hero-copy p .intro-line {
  display: block;
  overflow: hidden;
  overflow: clip;
  padding-block: 0.12em;
  margin-block: -0.12em;
}
#hero-title .intro-line { color: var(--text); }
#hero-title .intro-line-accent { color: var(--accent); }
.intro-line-content { display: block; }
.intro-word {
  display: inline-block;
  transform-origin: 0 100%;
}


/* Giá niêm yết, ưu đãi và mã giảm giá khi thanh toán. */
.original-price { font-size:.7em; color:var(--muted); display:block; font-weight:400; margin-bottom:3px; }
.sale-caption { display:block; font-size:10px; color:#a7e8bd; font-weight:500; margin-top:6px; }
.checkout-coupon-box { background:#ffd15c06; border:1px solid var(--line); border-radius:10px; padding:16px; margin:20px 0; }
.checkout-coupon-box>label { font-size:13px; font-weight:600; }
.coupon-input-row { display:flex; gap:10px; margin-top:10px; }
.coupon-input-row input { flex:1; min-width:0; text-transform:uppercase; }
.coupon-input-row button { flex-shrink:0; }
#coupon-message { font-size:12px; line-height:1.6; color:#a7e8bd; margin:12px 0 0; }
#coupon-message.is-error,.pricing-load-error { color:#ffaca4; }
.checkout-price-breakdown { display:grid; gap:10px; font-size:13px; color:var(--muted); margin-top:20px; }
.checkout-price-breakdown>div { display:flex; justify-content:space-between; gap:12px; }
.checkout-price-breakdown>div:not(:first-child)>span:last-child { color:#a7e8bd; }
.order-discount-note { display:block; color:var(--muted); font-size:11px; line-height:1.6; margin-top:6px; }
.price-loading { font-size:12px; color:var(--muted); }

/* Guide Dialog & Banner Styles */
.guide-dialog {
  max-width: 960px;
  width: calc(100% - 32px);
  max-height: 88vh;
  overflow-y: auto;
  padding: 28px;
}
.guide-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  border-bottom: 1px solid #4a3438;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.guide-dialog-header h2 {
  margin: 4px 0 0;
  font-size: 20px;
  color: var(--accent);
}
.guide-dialog-subtitle {
  font-size: 13px;
  color: #d1c0b8;
  margin: 0 0 18px;
  line-height: 1.5;
}

/* Storefront Guide Top Controls & Filters */
.guide-store-top-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.guide-store-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.guide-store-tab {
  background: #1e0d11;
  border: 1px solid #4a3337;
  color: #c7b8b2;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.guide-store-tab:hover {
  border-color: rgba(255, 209, 92, 0.4);
  color: #fff;
}
.guide-store-tab.active {
  background: rgba(255, 209, 92, 0.15);
  color: var(--accent);
  border-color: rgba(255, 209, 92, 0.5);
  box-shadow: 0 0 12px rgba(255, 209, 92, 0.15);
}
.guide-store-search-box {
  position: relative;
  min-width: 240px;
  flex: 1;
  max-width: 320px;
}
.guide-store-search-box input {
  width: 100%;
  background: #17090c;
  border: 1px solid #4a3337;
  border-radius: 999px;
  padding: 8px 16px 8px 36px;
  color: #fff;
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.guide-store-search-box input:focus {
  border-color: var(--accent);
}
.guide-store-search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: #8b7975;
  pointer-events: none;
}

/* Storefront Guide Cards Grid */
.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .guide-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
}
.guide-store-card {
  display: flex;
  flex-direction: column;
  background: #200f13;
  border: 1px solid #432b30;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.guide-store-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 209, 92, 0.5);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.guide-store-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f0507;
  overflow: hidden;
}
.guide-store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.guide-store-card:hover .guide-store-card-media img {
  transform: scale(1.06);
}
.guide-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.badge-guide {
  background: rgba(30, 144, 255, 0.3);
  color: #70b8ff;
  border: 1px solid rgba(112, 184, 255, 0.5);
}
.badge-tips {
  background: rgba(255, 209, 92, 0.25);
  color: #ffd15c;
  border: 1px solid rgba(255, 209, 92, 0.5);
}
.badge-news {
  background: rgba(186, 104, 200, 0.3);
  color: #e2a6f5;
  border: 1px solid rgba(214, 150, 234, 0.5);
}
.badge-other {
  background: rgba(100, 220, 150, 0.25);
  color: #64dc96;
  border: 1px solid rgba(100, 220, 150, 0.5);
}
.guide-store-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.guide-store-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9c8b86;
}
.guide-store-card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.guide-store-card-excerpt {
  margin: 0;
  font-size: 12px;
  color: #bdafa8;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-store-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: flex-end;
}
.guide-read-more {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}
.guide-store-card:hover .guide-read-more {
  transform: translateX(3px);
}

/* Guide Reader View */
.guide-reader-view {
  animation: fadeIn 0.2s ease;
}
.guide-back-button {
  background: #1f0e12;
  border: 1px solid #573e43;
  color: var(--accent);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}
.guide-back-button:hover {
  background: rgba(255, 209, 92, 0.12);
  border-color: var(--accent);
}
.guide-reader-header {
  margin-bottom: 20px;
}
.guide-reader-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #a89893;
  margin-bottom: 8px;
}
.guide-reader-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.35;
  margin: 6px 0;
}
.guide-reader-subtitle {
  font-size: 13px;
  color: #d1c0b8;
  margin: 0;
  line-height: 1.5;
}
.guide-empty-grid {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed #573e43;
  border-radius: 12px;
  color: var(--muted);
}
.guide-empty-grid p {
  margin: 8px 0 0;
  font-size: 13px;
}
.guide-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #0d0507;
  border: 1px solid #573e43;
  margin: 0 0 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}
.guide-video-wrapper iframe,
.guide-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.guide-section-heading {
  font-size: 14px;
  color: #fff;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.guide-steps-section {
  margin-bottom: 24px;
}
.guide-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.guide-step-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #271418;
  border: 1px solid #4f363b;
  border-radius: 10px;
  padding: 14px 16px;
  transition: transform 0.2s, border-color 0.2s;
}
.guide-step-card:hover {
  border-color: #7d545c;
  transform: translateY(-1px);
}
.guide-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 209, 92, 0.15);
  color: var(--accent);
  border: 1px solid rgba(255, 209, 92, 0.35);
  border-radius: 50%;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.guide-step-body h5 {
  margin: 0 0 4px;
  font-size: 13px;
  color: #fff;
}
.guide-step-body p {
  margin: 0;
  font-size: 12px;
  color: #bdafa8;
  line-height: 1.5;
}
.guide-gallery-section {
  margin-bottom: 24px;
}
.guide-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.guide-gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #4f363b;
  background: #180a0d;
  aspect-ratio: 16 / 9;
  display: block;
}
.guide-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.guide-gallery-item:hover img {
  transform: scale(1.05);
}
.guide-gallery-zoom {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.guide-gallery-item:hover .guide-gallery-zoom {
  opacity: 1;
}
.guide-note-box {
  background: rgba(255, 209, 92, 0.08);
  border: 1px solid rgba(255, 209, 92, 0.25);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
}
.guide-note-box p {
  margin: 0;
  font-size: 12px;
  color: #e5d7aa;
  line-height: 1.5;
}
.guide-dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  border-top: 1px solid #4a3438;
  padding-top: 18px;
}

/* Guide Banner on Homepage */
.guide-banner {
  margin: 40px 0;
  background: linear-gradient(135deg, #2a1318 0%, #1c0a0e 100%);
  border: 1px solid #573e43;
  border-radius: 14px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.guide-banner-body h2 {
  margin: 6px 0 8px;
  font-size: 20px;
  color: #fff;
}
.guide-banner-body p {
  margin: 0 0 16px;
  font-size: 13px;
  color: #bdafa8;
  max-width: 600px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .guide-dialog {
    padding: 20px 16px;
  }
  .guide-banner {
    padding: 20px;
  }
  .guide-dialog-actions {
    flex-direction: column;
  }
  .guide-dialog-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* Thống kê và lịch sử mua hàng trong tài khoản khách. */
.purchase-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0; }
.purchase-summary > div { background:rgba(255,209,92,.05); border:1px solid var(--line); border-radius:10px; padding:14px 10px; min-width:0; }
.purchase-summary span { display:block; font-size:11px; color:var(--muted); }
.purchase-summary strong { display:block; margin-top:6px; font-size:18px; color:var(--accent); overflow-wrap:anywhere; }
.purchase-pagination { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; }
.purchase-pagination span,.purchase-note { font-size:12px; color:var(--muted); }
.purchase-pagination button { font-size:12px; padding:9px 12px; }
@media(max-width:480px) { .purchase-summary { gap:6px; } .purchase-summary strong { font-size:15px; } .purchase-pagination { flex-wrap:wrap; } }
