/* =========================================================
   SHOP NGUYỄN DŨNG — Design system & shared components
   Thương hiệu và bảng màu được tập trung ở :root.
   ========================================================= */
:root {
  color-scheme: light;
  --bg: #fffdf7;
  --bg-rgb: 255, 253, 247;
  --surface: #ffffff;
  --surface-rgb: 255, 255, 255;
  --surface-2: #fff8df;
  --surface-3: #ffefb0;
  --primary: #f5bd16;
  --primary-light: #ffdc63;
  --accent: #9a6700;
  --on-primary: #302300;
  --success: #22c55e;
  --danger: #fb7185;
  --warning: #e3a008;
  --text: #2d250f;
  --muted: #746a54;
  --border: rgba(151, 113, 20, 0.18);
  --border-strong: rgba(151, 113, 20, 0.32);
  --primary-gradient: linear-gradient(135deg, #ffe57a 0%, #ffc928 52%, #e7aa00 100%);
  --card-gradient: linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(255, 249, 230, 0.98));
  --soft-shadow: 0 20px 55px rgba(94, 68, 8, 0.12);
  --neon-shadow: 0 18px 52px rgba(230, 169, 0, 0.2);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --header-height: 78px;
  --transition: 220ms ease;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171207;
  --bg-rgb: 23, 18, 7;
  --surface: #241c09;
  --surface-rgb: 36, 28, 9;
  --surface-2: #2d230c;
  --surface-3: #3a2c0d;
  --accent: #ffd75a;
  --text: #fff9e7;
  --muted: #c1b38c;
  --border: rgba(255, 215, 90, 0.16);
  --border-strong: rgba(255, 215, 90, 0.3);
  --card-gradient: linear-gradient(145deg, rgba(45, 35, 12, 0.96), rgba(24, 18, 7, 0.98));
  --soft-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --neon-shadow: 0 18px 52px rgba(245, 189, 22, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button { touch-action: manipulation; }
img, svg { max-width: 100%; }
::selection { color: var(--on-primary); background: rgba(255, 201, 40, 0.88); }

:focus-visible {
  outline: 3px solid rgba(229, 166, 0, 0.82) !important;
  outline-offset: 3px;
  box-shadow: none !important;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--on-primary);
  background: var(--primary);
  transform: translateY(-160%);
}
.skip-link:focus { color: var(--on-primary); transform: translateY(0); }

.container { max-width: 1240px; }
.section-space { padding: 104px 0; }
.section-space-sm { padding: 70px 0 96px; }
.text-muted { color: var(--muted) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  border-color: transparent;
  color: var(--on-primary);
  background: var(--primary-gradient);
  box-shadow: 0 12px 28px rgba(207, 150, 0, 0.25);
}
.btn-primary:hover, .btn-primary:focus { border-color: transparent; color: var(--on-primary); background: var(--primary-gradient); box-shadow: 0 16px 34px rgba(207, 150, 0, 0.34); }
.btn-primary:disabled { border-color: transparent; color: rgba(255,255,255,.7); background: #384156; box-shadow: none; }
.btn-outline-light { border-color: rgba(248, 250, 252, 0.24); color: var(--text); background: rgba(255, 255, 255, 0.025); }
.btn-outline-light:hover { border-color: rgba(6, 182, 212, 0.55); color: #fff; background: rgba(6, 182, 212, 0.1); }
.btn-soft { border: 1px solid var(--border); color: var(--text); background: rgba(148, 163, 184, 0.08); }
.btn-soft:hover { border-color: rgba(124, 58, 237, 0.42); color: #fff; background: rgba(124, 58, 237, 0.13); }
.btn-light { color: #101426; background: #fff; }
.btn-lg { min-height: 54px; padding: 14px 24px; border-radius: 14px; font-size: 1rem; }
.btn-sm { min-height: 38px; padding: 8px 12px; border-radius: 10px; font-size: .82rem; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: rgba(148, 163, 184, 0.06);
  transition: color var(--transition), background var(--transition), transform var(--transition), border-color var(--transition);
}
.icon-btn:hover { border-color: rgba(124, 58, 237, .5); color: #fff; background: rgba(124, 58, 237, .14); transform: translateY(-2px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #a78bfa;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.section-heading { margin-bottom: 42px; }
.section-heading h2 { margin: 0 0 10px; font-size: clamp(1.8rem, 3.1vw, 2.65rem); font-weight: 850; letter-spacing: -.035em; }
.section-heading p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.04rem; }
.section-heading.text-center p { margin-inline: auto; }
.heading-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.text-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: #c4b5fd; font-weight: 750; }
.text-link i { transition: transform var(--transition); }
.text-link:hover i { transform: translateX(4px); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Header */
.site-header {
  position: sticky;
  z-index: 1030;
  top: 0;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(var(--bg-rgb), .78);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { border-color: var(--border); background: rgba(var(--bg-rgb), .94); box-shadow: 0 12px 38px rgba(0, 0, 0, .24); }
.site-header .navbar { min-height: var(--header-height); padding: 10px 0; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand-lockup:hover { color: #fff; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  color: #fff;
  background: var(--primary-gradient);
  box-shadow: 0 10px 24px rgba(124, 58, 237, .24), inset 0 1px rgba(255,255,255,.2);
}
.brand-lockup > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand-lockup strong { font-size: 1.1rem; font-weight: 950; letter-spacing: .08em; }
.brand-lockup small { margin-top: 4px; color: var(--muted); font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
.site-header .navbar-nav { gap: 2px; }
.site-header .nav-link { position: relative; padding: 10px 11px !important; color: #c0cad9; font-size: .89rem; font-weight: 650; }
.site-header .nav-link::after { position: absolute; right: 12px; bottom: 4px; left: 12px; height: 2px; border-radius: 9px; background: var(--primary-gradient); content: ""; opacity: 0; transform: scaleX(.25); transition: opacity var(--transition), transform var(--transition); }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff; }
.site-header .nav-link.active::after { opacity: 1; transform: scaleX(1); }
.header-search { position: relative; width: 205px; margin-left: 10px; }
.header-search > button { position: absolute; z-index: 1; top: 50%; left: 6px; display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .85rem; transform: translateY(-50%); }.header-search > button:hover { color: var(--accent); background: rgba(6,182,212,.08); }
.header-search input { width: 100%; height: 41px; padding: 8px 12px 8px 36px; border: 1px solid var(--border); border-radius: 12px; outline: 0; color: var(--text); background: rgba(148,163,184,.06); transition: border-color var(--transition), background var(--transition); }
.header-search input::placeholder { color: #728096; }
.header-search input:focus { border-color: rgba(6,182,212,.5); background: rgba(15,23,42,.86); }
.navbar-toggler { font-size: 1.35rem; }
.navbar-toggler:focus { box-shadow: none; }

/* Hero */
.hero-section { position: relative; isolation: isolate; min-height: 690px; padding: 80px 0 0; overflow: hidden; background: radial-gradient(circle at 12% 18%, rgba(124,58,237,.18), transparent 30%), radial-gradient(circle at 85% 30%, rgba(6,182,212,.11), transparent 27%); }
.hero-section::after { position: absolute; z-index: -2; right: -10%; bottom: -38%; left: -10%; height: 440px; background: linear-gradient(180deg, transparent, rgba(15,23,42,.88)); content: ""; }
.hero-mesh { position: absolute; z-index: -3; inset: 0; opacity: .34; background-image: linear-gradient(rgba(148,163,184,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.055) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); mask-image: linear-gradient(to bottom, #000 0%, transparent 78%); }
.hero-copy { padding-bottom: 44px; }
.hero-copy h1 { max-width: 780px; margin: 4px 0 22px; font-size: clamp(2.7rem, 5.8vw, 5rem); font-weight: 950; letter-spacing: -.06em; line-height: .99; }
.hero-copy h1 span { color: transparent; background: linear-gradient(100deg, #a78bfa, #67e8f9); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 650px; margin: 0 0 30px; color: #b3bfd0; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.trust-line { display: flex; align-items: center; gap: 14px; margin-top: 30px; color: var(--muted); font-size: .84rem; }
.trust-line strong { color: var(--text); }
.avatar-stack { display: inline-flex; padding-left: 8px; }
.avatar-stack i { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin-left: -8px; border: 2px solid var(--bg); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #7c3aed, #164e63); font-size: .65rem; font-style: normal; font-weight: 850; }
.hero-visual { position: relative; width: min(100%, 480px); height: 440px; margin-inline: auto; perspective: 1000px; }
.hero-card-main { position: absolute; z-index: 2; inset: 54px 26px 42px 42px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 32px; background: linear-gradient(145deg, rgba(124,58,237,.8), rgba(22,35,64,.94) 44%, rgba(6,182,212,.58)); box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.22); transform: rotateY(-7deg) rotateX(4deg); animation: heroFloat 5.5s ease-in-out infinite; }
.hero-card-main::before { position: absolute; inset: 1px; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.12), transparent 38%); content: ""; pointer-events: none; }
.hero-card-top, .hero-card-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 850; letter-spacing: .08em; }
.hero-card-top span { display: inline-flex; align-items: center; gap: 8px; }
.hero-card-bottom strong { color: #fff; }
.hero-controller { display: flex; align-items: center; justify-content: space-between; padding: 24px 34px; color: #fff; font-size: 2.5rem; }
.controller-core { display: inline-flex; align-items: center; justify-content: center; width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: rgba(4,8,18,.28); box-shadow: inset 0 0 25px rgba(0,0,0,.28), 0 0 28px rgba(103,232,249,.16); }
.controller-core i { font-size: 1.55rem; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(12px); }
.glow-one { right: 0; bottom: 30px; width: 230px; height: 230px; background: rgba(6,182,212,.23); }
.glow-two { top: 20px; left: 10px; width: 240px; height: 240px; background: rgba(124,58,237,.25); }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; min-width: 148px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 15px; background: rgba(7,11,20,.8); box-shadow: var(--soft-shadow); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.floating-card > i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 11px; color: #fff; background: rgba(124,58,237,.24); }
.floating-card span { display: flex; flex-direction: column; line-height: 1.25; }
.floating-card small { color: var(--muted); font-size: .65rem; }
.floating-card strong { font-size: .82rem; }
.floating-rank { top: 22px; right: -10px; animation: floatSmall 4s ease-in-out infinite; }
.floating-safe { bottom: 15px; left: 0; animation: floatSmall 4.6s .5s ease-in-out infinite; }
.floating-safe > i { color: #86efac; background: rgba(34,197,94,.16); }
.visual-pixel { position: absolute; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.pixel-a { top: 110px; left: 5px; }.pixel-b { right: 7px; bottom: 125px; width: 6px; height: 6px; background: #c4b5fd; box-shadow: 0 0 16px #a78bfa; }
.hero-stats { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: 22px 22px 0 0; background: rgba(15,23,42,.76); box-shadow: 0 -18px 50px rgba(0,0,0,.2); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hero-stats > div { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 25px 18px; border-right: 1px solid var(--border); }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats i { color: #a78bfa; font-size: 1.35rem; }
.hero-stats span { display: flex; flex-direction: column; line-height: 1.25; }
.hero-stats strong { font-size: 1.05rem; }.hero-stats small { margin-top: 4px; color: var(--muted); font-size: .7rem; }

@keyframes heroFloat { 0%,100% { transform: rotateY(-7deg) rotateX(4deg) translateY(0); } 50% { transform: rotateY(-7deg) rotateX(4deg) translateY(-10px); } }
@keyframes floatSmall { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Categories */
.category-section { background: linear-gradient(180deg, rgba(15,23,42,.8), transparent); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.category-card { display: flex; align-items: center; gap: 15px; min-height: 105px; padding: 17px; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); background: var(--card-gradient); box-shadow: 0 14px 34px rgba(0,0,0,.12); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.category-card:hover { border-color: rgba(124,58,237,.42); color: #fff; box-shadow: 0 20px 42px rgba(0,0,0,.22), 0 0 30px rgba(124,58,237,.09); transform: translateY(-5px); }
.category-icon { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 64px; height: 64px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 17px; font-size: 1.55rem; }
.category-icon::after { position: absolute; inset: auto -20px -30px auto; width: 60px; height: 60px; border-radius: 50%; background: currentColor; content: ""; opacity: .15; filter: blur(8px); }
.category-info { display: flex; flex: 1; min-width: 0; flex-direction: column; }.category-info strong { font-size: .98rem; }.category-info small { color: var(--muted); font-size: .76rem; }
.category-arrow { color: #64748b; transition: color var(--transition), transform var(--transition); }.category-card:hover .category-arrow { color: var(--accent); transform: translate(2px,-2px); }

/* Product art and cards */
.products-layout { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.product-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card-gradient); box-shadow: 0 15px 42px rgba(0,0,0,.16); transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.product-card:hover { border-color: rgba(124,58,237,.42); box-shadow: 0 24px 56px rgba(0,0,0,.28), 0 0 35px rgba(124,58,237,.09); transform: translateY(-7px); }
.product-media { position: relative; overflow: hidden; }
.product-media > a { display: block; }
.product-art { position: relative; isolation: isolate; width: 100%; aspect-ratio: 16/10; overflow: hidden; color: #fff; background: linear-gradient(135deg, #3b217c, #101a34 52%, #075568); }
.product-art::before { position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 72% 28%, rgba(255,255,255,.17), transparent 19%), radial-gradient(circle at 25% 75%, rgba(255,255,255,.08), transparent 24%); content: ""; }
.product-art::after { position: absolute; z-index: -1; right: -20%; bottom: -45%; width: 85%; height: 115%; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; box-shadow: 0 0 0 18px rgba(255,255,255,.035), 0 0 0 42px rgba(255,255,255,.018); transform: rotate(-20deg); }
.product-art-real { width: 100%; aspect-ratio: 16/10; overflow: hidden; border-radius: inherit; }
.product-art-real img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-art-placeholder, .detail-image-placeholder { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px; color: var(--muted); background: linear-gradient(135deg, rgba(6,182,212,.12), rgba(124,58,237,.12)); }
.product-art-placeholder i, .detail-image-placeholder i { color: var(--accent); font-size: 2rem; }
.product-art-placeholder span, .detail-image-placeholder span { font-size: .76rem; font-weight: 700; }
.product-card-list .product-art-real { height: 100%; min-height: 236px; aspect-ratio: auto; }
.detail-image-placeholder { min-height: 420px; aspect-ratio: 16/9; }
.art-violet { color: #ddd6fe; background: linear-gradient(135deg, #4c1d95, #172554 56%, #0e7490); }
.art-orange { color: #fed7aa; background: linear-gradient(135deg, #7c2d12, #3f1d2f 54%, #b45309); }
.art-cyan { color: #cffafe; background: linear-gradient(135deg, #164e63, #172554 55%, #0e7490); }
.art-rose { color: #ffe4e6; background: linear-gradient(135deg, #881337, #3b1739 52%, #4f46e5); }
.art-green { color: #dcfce7; background: linear-gradient(135deg, #14532d, #0c3541 55%, #166534); }
.art-blue { color: #dbeafe; background: linear-gradient(135deg, #1e3a8a, #312e81 52%, #0369a1); }
.art-variant-1 { filter: hue-rotate(18deg) saturate(.92); }.art-variant-1::after { right: auto; left: -22%; transform: rotate(26deg); }.art-variant-2 { filter: hue-rotate(-18deg) saturate(1.15); }.art-variant-2::after { right: 14%; bottom: -62%; }
.art-grid { position: absolute; z-index: -1; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 26px 26px; transform: perspective(300px) rotateX(60deg) scale(1.7) translateY(22%); }
.art-icon { position: absolute; top: 50%; left: 50%; font-size: clamp(2.6rem, 4vw, 4rem); text-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translate(-50%,-50%) rotate(-8deg); }
.art-code { position: absolute; bottom: 13px; left: 15px; font-size: .66rem; font-weight: 950; letter-spacing: .2em; }
.art-orbit { position: absolute; top: 15%; left: 13%; width: 11px; height: 11px; border-radius: 50%; background: currentColor; box-shadow: 0 0 18px currentColor; }
.product-media .product-art { transition: transform 450ms ease, filter var(--transition); }
.product-card:hover .product-media .product-art { transform: scale(1.035); }
.product-badges { position: absolute; z-index: 2; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 5px; max-width: calc(100% - 62px); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 6px 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 7px; font-size: .61rem; font-weight: 800; letter-spacing: .02em; }
.badge-accent { color: #fff; background: rgba(124,58,237,.78); }.badge-verified { color: #b7f7c8; background: rgba(5,46,22,.76); }
.discount-badge { position: absolute; z-index: 2; right: 12px; bottom: 10px; padding: 5px 8px; border-radius: 8px; color: #d1fae5; background: rgba(6,78,59,.82); font-size: .67rem; font-weight: 850; }
.wishlist-btn { position: absolute; z-index: 3; top: 10px; right: 10px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 11px; color: #fff; background: rgba(5,9,18,.58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform var(--transition), color var(--transition), background var(--transition); }
.wishlist-btn:hover { color: #fb7185; background: rgba(5,9,18,.86); transform: scale(1.06); }.wishlist-btn.active { color: #fb7185; }
.product-content { padding: 18px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; color: #a78bfa; font-size: .66rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.status-dot { display: inline-flex; align-items: center; gap: 5px; color: #86efac; font-size: .59rem; white-space: nowrap; }.status-dot::before { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 8px var(--success); content: ""; }.status-dot.is-held { color: #fcd34d; }.status-dot.is-held::before { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.product-content h3 { min-height: 46px; margin: 0 0 5px; font-size: .97rem; font-weight: 800; line-height: 1.4; }.product-content h3 a:hover { color: #c4b5fd; }
.product-code { color: var(--muted); font-size: .68rem; }.product-code strong { color: #cbd5e1; letter-spacing: .04em; }
.account-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 14px 0; }
.account-stats span { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 3px; padding: 8px 3px; border: 1px solid var(--border); border-radius: 9px; color: #b9c3d1; background: rgba(148,163,184,.045); font-size: .61rem; text-align: center; }
.account-stats i { color: #a78bfa; font-size: .82rem; }
.product-description { display: none; }
.rental-plan-switch { display: grid; grid-template-columns: repeat(2,1fr); gap: 5px; margin: 0 0 13px; padding: 4px; border: 1px solid var(--border); border-radius: 11px; background: rgba(2,6,23,.25); }.rental-plan-switch button { min-height: 34px; padding: 6px 9px; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: .66rem; font-weight: 800; }.rental-plan-switch button:hover { color: #fff; background: rgba(148,163,184,.08); }.rental-plan-switch button.active { color: #fff; background: linear-gradient(135deg, rgba(124,58,237,.78), rgba(6,182,212,.55)); box-shadow: 0 6px 14px rgba(124,58,237,.16); }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 9px; padding-top: 4px; }
.price-wrap { display: flex; min-width: 0; flex-direction: column; line-height: 1.25; }.price-wrap small { margin-bottom: 2px; color: var(--muted); font-size: .56rem; }.price-wrap del { color: #66758a; font-size: .68rem; }.price-wrap strong { margin-top: 3px; color: #fff; font-size: 1.05rem; white-space: nowrap; }
.product-actions { display: flex; gap: 5px; }.product-actions .btn-outline-light { padding-inline: 10px; }

.product-skeleton { padding-bottom: 18px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.skeleton { position: relative; display: block; overflow: hidden; border-radius: 9px; background: rgba(148,163,184,.1); }
.skeleton::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); content: ""; transform: translateX(-100%); animation: shimmer 1.35s infinite; }
.skeleton-image { width: 100%; aspect-ratio: 16/10; border-radius: 0; }.skeleton-line { width: 72%; height: 12px; margin: 16px 18px 0; }.skeleton-line.wide { width: calc(100% - 36px); height: 17px; }.skeleton-line.short { width: 44%; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* Promotion, benefits, process, reviews, FAQ */
.featured-section { background: radial-gradient(circle at 80% 25%, rgba(124,58,237,.09), transparent 28%); }
.promo-section { padding-top: 26px; }
.promo-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 26px; min-height: 210px; padding: 34px 40px; overflow: hidden; border: 1px solid rgba(167,139,250,.25); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(76,29,149,.92), rgba(30,41,81,.94) 55%, rgba(14,116,144,.8)); box-shadow: var(--neon-shadow); }
.promo-pattern { position: absolute; z-index: -1; inset: 0; opacity: .2; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.08) 18px 19px); -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.promo-banner::after { position: absolute; z-index: -1; top: -100px; right: 12%; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; content: ""; box-shadow: 0 0 0 40px rgba(255,255,255,.025), 0 0 0 80px rgba(255,255,255,.015); }
.promo-icon { display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border: 1px solid rgba(255,255,255,.16); border-radius: 24px; color: #fff; background: rgba(255,255,255,.1); font-size: 2.4rem; transform: rotate(-5deg); }
.promo-copy { position: relative; }.promo-copy .eyebrow { color: #bae6fd; }.promo-copy h2 { margin: 0 0 7px; font-size: clamp(1.5rem, 2.8vw, 2.3rem); font-weight: 900; letter-spacing: -.035em; }.promo-copy p { margin: 0; color: #d5deeb; }.promo-copy p strong { color: #fff; }
.promo-action { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 10px; min-width: 155px; }.promo-code { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border: 1px dashed rgba(255,255,255,.45); border-radius: 11px; color: #fff; background: rgba(2,6,23,.18); font-weight: 900; letter-spacing: .12em; }.promo-code button { padding: 0; border: 0; color: #fff; background: transparent; }
.why-section { background: linear-gradient(180deg, transparent, rgba(15,23,42,.46), transparent); }
.benefit-card { height: 100%; padding: 26px 24px; border: 1px solid var(--border); border-radius: var(--radius-md); background: rgba(15,23,42,.62); transition: transform var(--transition), border-color var(--transition), background var(--transition); }.benefit-card:hover { border-color: rgba(6,182,212,.32); background: rgba(15,23,42,.9); transform: translateY(-5px); }.benefit-card > span { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border: 1px solid rgba(124,58,237,.25); border-radius: 15px; color: #c4b5fd; background: rgba(124,58,237,.12); font-size: 1.35rem; }.benefit-card h3 { margin: 0 0 8px; font-size: 1.02rem; font-weight: 800; }.benefit-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.process-section { position: relative; overflow: hidden; }.process-section::before { position: absolute; z-index: -1; inset: 18% 0 auto; height: 55%; background: radial-gradient(circle at center, rgba(124,58,237,.1), transparent 60%); content: ""; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }.process-grid::before { position: absolute; z-index: -1; top: 43px; right: 12%; left: 12%; height: 1px; border-top: 1px dashed rgba(148,163,184,.28); content: ""; }
.process-card { position: relative; padding: 28px 22px; border: 1px solid var(--border); border-radius: var(--radius-md); text-align: center; background: var(--bg); }.process-card > i { display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 62px; margin-bottom: 19px; border: 1px solid rgba(124,58,237,.3); border-radius: 18px; color: #c4b5fd; background: linear-gradient(145deg, rgba(124,58,237,.16), rgba(6,182,212,.07)); font-size: 1.5rem; box-shadow: 0 10px 25px rgba(0,0,0,.18); }.step-number { position: absolute; top: 15px; right: 16px; color: #3d4a60; font-size: .72rem; font-weight: 900; }.process-card h3 { margin: 0 0 6px; font-size: 1rem; font-weight: 800; }.process-card p { margin: 0; color: var(--muted); font-size: .82rem; }
.review-section { background: linear-gradient(180deg, rgba(15,23,42,.5), rgba(15,23,42,.12)); }.rating-pill { display: grid; grid-template-columns: auto auto; gap: 0 12px; align-items: center; padding: 10px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(15,23,42,.75); }.rating-pill strong { grid-row: 1/3; font-size: 1.8rem; }.rating-pill span, .stars { color: #fbbf24; font-size: .75rem; letter-spacing: .1em; }.rating-pill small { color: var(--muted); font-size: .65rem; }
.testimonial-card { position: relative; height: 100%; padding: 28px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--card-gradient); }.testimonial-card.featured-review { border-color: rgba(124,58,237,.35); box-shadow: 0 16px 40px rgba(124,58,237,.1); }.quote-icon { position: absolute; top: 8px; right: 22px; color: rgba(167,139,250,.16); font-family: Georgia, serif; font-size: 5.4rem; line-height: 1; }.testimonial-card > p { position: relative; min-height: 105px; margin: 17px 0 20px; color: #c7d1df; font-size: .91rem; }.testimonial-card footer { display: flex; align-items: center; gap: 10px; }.review-avatar { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--primary-gradient); font-size: .73rem; font-weight: 900; }.testimonial-card footer > span:nth-child(2) { display: flex; flex: 1; flex-direction: column; line-height: 1.3; }.testimonial-card footer strong { font-size: .83rem; }.testimonial-card footer small { color: var(--muted); font-size: .65rem; }.testimonial-card footer > i { color: var(--success); }
.nxs-accordion { border-top: 1px solid var(--border); }.nxs-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--border); color: var(--text); background: transparent; }.nxs-accordion .accordion-button { padding: 21px 0; color: var(--text); background: transparent; box-shadow: none; font-size: .98rem; font-weight: 750; }.nxs-accordion .accordion-button:not(.collapsed) { color: #c4b5fd; }.nxs-accordion .accordion-button::after { border-radius: 8px; filter: invert(1) opacity(.7); }.nxs-accordion .accordion-body { padding: 0 42px 22px 0; color: var(--muted); font-size: .88rem; }
.newsletter-section { padding: 42px 0 100px; }.newsletter-box { display: grid; grid-template-columns: auto 1fr minmax(320px, 430px); align-items: center; gap: 24px; padding: 32px 36px; border: 1px solid rgba(6,182,212,.2); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(15,23,42,.92), rgba(8,47,73,.5)); }.newsletter-icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 19px; color: #a5f3fc; background: rgba(6,182,212,.14); font-size: 1.7rem; }.newsletter-box .eyebrow { margin-bottom: 5px; }.newsletter-box h2 { margin: 0 0 3px; font-size: 1.38rem; font-weight: 850; }.newsletter-box p { margin: 0; color: var(--muted); font-size: .78rem; }.newsletter-form .form-control { min-height: 51px; border-color: var(--border); color: #fff; background: rgba(2,6,23,.42); }.newsletter-form .form-control::placeholder { color: #718096; }.newsletter-form .btn { min-width: 125px; }.newsletter-form .invalid-feedback { display: none; margin-top: 7px; }.newsletter-form .is-invalid ~ .invalid-feedback { display: block; }

/* Footer */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--border); background: #060a12; }
.footer-glow { position: absolute; top: -180px; left: 22%; width: 520px; height: 300px; border-radius: 50%; background: rgba(124,58,237,.1); filter: blur(70px); }
.footer-main { padding: 74px 0 48px; }.footer-brand { margin-bottom: 20px; }.footer-intro { max-width: 360px; margin: 0 0 22px; color: var(--muted); font-size: .86rem; }.social-list { display: flex; gap: 9px; }.social-list a { display: inline-flex; align-items: center; justify-content: center; width: 39px; height: 39px; border: 1px solid var(--border); border-radius: 11px; color: #cbd5e1; background: rgba(148,163,184,.05); }.social-list a:hover { border-color: rgba(124,58,237,.45); color: #fff; background: rgba(124,58,237,.14); transform: translateY(-2px); }.footer-title { margin: 4px 0 19px; font-size: .82rem; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }.footer-links, .contact-list { margin: 0; padding: 0; list-style: none; }.footer-links { display: grid; gap: 10px; }.footer-links a { color: var(--muted); font-size: .81rem; }.footer-links a:hover { color: #c4b5fd; }.contact-list { display: grid; gap: 13px; }.contact-list li { display: flex; align-items: center; gap: 11px; }.contact-list li > i { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; color: #a78bfa; background: rgba(124,58,237,.1); }.contact-list span { display: flex; flex-direction: column; line-height: 1.35; }.contact-list small { color: var(--muted); font-size: .63rem; }.contact-list a, .contact-list strong { color: #dce4ef; font-size: .77rem; font-weight: 700; }.legal-note { display: flex; align-items: flex-start; gap: 10px; padding: 14px 17px; border: 1px solid rgba(245,158,11,.14); border-radius: 12px; color: #d0b783; background: rgba(245,158,11,.055); font-size: .75rem; }.legal-note i { margin-top: 2px; color: #fbbf24; }.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; color: #66758a; font-size: .7rem; }

/* Global utilities */
.scroll-top { position: fixed; z-index: 1020; right: 20px; bottom: 22px; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: #fff; background: var(--primary-gradient); box-shadow: 0 13px 28px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transform: translateY(15px); transition: opacity var(--transition), transform var(--transition); }.scroll-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.toast-container { z-index: 1090; }.nxs-toast { overflow: hidden; border: 1px solid var(--border-strong); border-radius: 13px; color: #fff; background: rgba(15,23,42,.96); box-shadow: var(--soft-shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }.nxs-toast .toast-body { display: flex; align-items: center; gap: 10px; padding: 13px 14px; }.nxs-toast .toast-body > i { color: var(--success); }.nxs-toast.toast-info .toast-body > i { color: var(--accent); }.nxs-toast.toast-danger .toast-body > i { color: var(--danger); }.nxs-toast .toast-body span { font-size: .8rem; }
.form-control, .form-select { border-color: var(--border); border-radius: 11px; color: var(--text); background-color: rgba(15,23,42,.72); }.form-control:focus, .form-select:focus { border-color: rgba(6,182,212,.5); color: var(--text); background-color: rgba(15,23,42,.92); box-shadow: 0 0 0 3px rgba(6,182,212,.1); }.form-select { --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }.form-select option { color: var(--text); background: var(--surface); }.form-control::placeholder { color: #69778d; }
.form-check-input { border-color: #536077; background-color: transparent; }.form-check-input:checked { border-color: var(--primary); background-color: var(--primary); }.form-check-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,182,212,.12); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Catalog / products
   ========================================================= */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 82% 26%, rgba(6,182,212,.11), transparent 26%), linear-gradient(130deg, rgba(124,58,237,.11), transparent 45%); }
.page-hero::before { position: absolute; z-index: -1; inset: 0; opacity: .18; background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px); background-size: 36px 36px; content: ""; -webkit-mask-image: linear-gradient(90deg, #000, transparent 75%); mask-image: linear-gradient(90deg, #000, transparent 75%); }
.compact-hero { padding: 34px 0 50px; }
.breadcrumb { margin-bottom: 20px; font-size: .76rem; }.breadcrumb-item a { color: var(--muted); }.breadcrumb-item.active { color: #c4b5fd; }.breadcrumb-item + .breadcrumb-item::before { color: #4e5b70; }
.page-title-row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }.page-title-row h1 { margin: 0 0 7px; font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 900; letter-spacing: -.045em; }.page-title-row p { margin: 0; color: var(--muted); }.page-hero-icon { display: inline-flex; align-items: center; justify-content: center; width: 86px; height: 86px; border: 1px solid rgba(124,58,237,.24); border-radius: 25px; color: #c4b5fd; background: linear-gradient(145deg, rgba(124,58,237,.16), rgba(6,182,212,.06)); font-size: 2rem; transform: rotate(5deg); }
.catalog-toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding: 13px; border: 1px solid var(--border); border-radius: 16px; background: rgba(15,23,42,.62); }
.catalog-search { position: relative; width: min(100%, 410px); }.catalog-search i { position: absolute; z-index: 1; top: 50%; left: 15px; color: var(--muted); transform: translateY(-50%); }.catalog-search .form-control { height: 47px; padding-left: 43px; }
.toolbar-spacer { flex: 1; }.sort-control { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: .75rem; white-space: nowrap; }.sort-control .form-select { width: 160px; height: 43px; font-size: .78rem; }
.view-switch { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: 11px; background: rgba(2,6,23,.28); }.view-switch button { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 34px; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; }.view-switch button.active { color: #fff; background: rgba(124,58,237,.32); }
.filter-panel { --bs-offcanvas-color: var(--text); padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-md); color: var(--text); background: rgba(15,23,42,.58); }.filter-panel .offcanvas-header { padding: 0; }.filter-panel .offcanvas-body { display: block; padding: 0; overflow: visible; }.filter-panel .offcanvas-title { color: var(--text); font-size: 1.1rem; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 17px; border-bottom: 1px solid var(--border); }.filter-heading h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .97rem; font-weight: 800; }.filter-heading h2 i { color: #a78bfa; }.filter-heading button { padding: 0; border: 0; color: #8da0b8; background: transparent; font-size: .69rem; }.filter-heading button:hover { color: var(--accent); }
.filter-group { margin: 0; padding: 20px 0; border: 0; border-bottom: 1px solid var(--border); }.filter-group > label, .filter-group legend { margin: 0 0 12px; color: #e2e8f0; font-size: .76rem; font-weight: 800; }.filter-group .form-select { min-height: 43px; font-size: .76rem; }
.filter-check-list { display: grid; gap: 8px; }.filter-check { display: flex; align-items: center; gap: 9px; margin: 0; color: #b9c4d3; cursor: pointer; font-size: .75rem; }.filter-check span { flex: 1; }.filter-check small { color: #66758a; }.filter-check .form-check-input, .filter-radio .form-check-input { margin: 0; }
.filter-radio { display: flex; align-items: center; gap: 9px; margin: 0 0 9px; color: #b9c4d3; cursor: pointer; font-size: .75rem; }.filter-radio:last-child { margin-bottom: 0; }
.products-main { scroll-margin-top: calc(var(--header-height) + 18px); }.results-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }.results-heading > div { display: flex; flex-direction: column; }.results-heading span { font-size: .82rem; font-weight: 750; }.results-heading small { color: var(--muted); font-size: .65rem; }.verified-note { display: inline-flex; align-items: center; gap: 6px; color: #86efac; font-size: .7rem !important; }.verified-note i { color: var(--success); }
.products-main .products-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }.products-main .product-content { padding: 16px; }
.products-layout.is-list { display: grid; grid-template-columns: 1fr; gap: 14px; }.product-card-list { display: grid; grid-template-columns: 260px 1fr; }.product-card-list:hover { transform: translateY(-3px); }.product-card-list .product-media { min-height: 100%; }.product-card-list .product-media > a, .product-card-list .product-art { height: 100%; min-height: 236px; aspect-ratio: auto; }.product-card-list .product-content { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 22px 25px; }.product-card-list .product-content h3 { min-height: 0; font-size: 1.13rem; }.product-card-list .account-stats { max-width: 440px; }.product-card-list .product-description { display: block; max-width: 650px; margin: 0 0 10px; color: var(--muted); font-size: .77rem; }.product-card-list .product-bottom { align-items: center; }.product-card-list .price-wrap { flex-direction: row; align-items: center; gap: 10px; }.product-card-list .price-wrap strong { font-size: 1.2rem; }
.empty-state { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 72px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); text-align: center; background: rgba(15,23,42,.35); }.empty-state h1, .empty-state h2 { margin: 17px 0 8px; font-size: 1.55rem; font-weight: 850; }.empty-state p { max-width: 480px; margin: 0 0 22px; color: var(--muted); }.empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border: 1px solid rgba(124,58,237,.25); border-radius: 22px; color: #c4b5fd; background: rgba(124,58,237,.11); font-size: 1.8rem; }.products-empty { grid-column: 1 / -1; min-height: 440px; }
.nxs-pagination { display: flex; justify-content: center; gap: 7px; margin-top: 34px; }.nxs-pagination button { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--border); border-radius: 10px; color: var(--muted); background: rgba(15,23,42,.62); font-size: .76rem; }.nxs-pagination button:hover:not(:disabled), .nxs-pagination button.active { border-color: transparent; color: #fff; background: var(--primary-gradient); }.nxs-pagination button:disabled { opacity: .38; cursor: not-allowed; }
.catalog-help { padding: 0 0 90px; }.catalog-help-box { display: flex; align-items: center; gap: 17px; padding: 25px 28px; border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(120deg, rgba(124,58,237,.1), rgba(6,182,212,.05)); }.catalog-help-box > i { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; color: #c4b5fd; background: rgba(124,58,237,.14); font-size: 1.3rem; }.catalog-help-box div { flex: 1; }.catalog-help-box strong { font-size: .95rem; }.catalog-help-box p { margin: 2px 0 0; color: var(--muted); font-size: .77rem; }

/* =========================================================
   Product detail
   ========================================================= */
.detail-page { position: relative; overflow: hidden; }.detail-page-glow { position: absolute; z-index: -1; top: -180px; left: 55%; width: 600px; height: 500px; border-radius: 50%; background: rgba(124,58,237,.08); filter: blur(90px); }
.detail-container { max-width: 1500px; padding-inline: clamp(18px, 3vw, 48px); }
.detail-loading { display: grid; grid-template-columns: 58% 1fr; gap: 44px; padding-top: 55px; }.skeleton-detail-image { width: 100%; aspect-ratio: 4/3; }
.breadcrumb-wrap { margin-bottom: 28px; }.breadcrumb-wrap .breadcrumb { margin: 0; }
.product-detail-top { align-items: start; }
.detail-gallery { position: sticky; top: calc(var(--header-height) + 24px); }.main-product-art { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius-lg); background: #050816; box-shadow: var(--soft-shadow); }.main-image-display { display: block; width: 100%; height: auto; min-height: 420px; aspect-ratio: 16/9; object-fit: contain; }.image-zoom-trigger { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 15px; border: 1px solid rgba(255,255,255,.28); border-radius: 12px; color: #fff; background: rgba(2,6,23,.82); box-shadow: 0 8px 24px rgba(0,0,0,.3); font-size: .78rem; font-weight: 800; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }.image-zoom-trigger:hover { border-color: var(--accent); background: rgba(2,6,23,.95); }.image-lightbox { width: min(96vw, 1800px); max-width: none; padding: 58px 18px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 20px; color: #fff; background: rgba(2,6,23,.98); box-shadow: 0 30px 100px rgba(0,0,0,.65); }.image-lightbox[open] { display: flex; align-items: center; justify-content: center; flex-direction: column; }.image-lightbox::backdrop { background: rgba(0,0,0,.86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }.image-lightbox img { display: block; width: 100%; max-height: calc(94vh - 105px); object-fit: contain; }.image-lightbox p { margin: 10px 0 0; color: #cbd5e1; font-size: .75rem; }.image-lightbox-close { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 1.1rem; }.main-product-art .detail-art { aspect-ratio: 4/3; }.main-product-art .art-icon { font-size: clamp(4rem, 9vw, 7.5rem); }.main-product-art .art-code { bottom: 24px; left: 26px; font-size: .84rem; }.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; margin-top: 13px; }.gallery-thumb { padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 13px; background: transparent; opacity: .58; transition: opacity var(--transition), border-color var(--transition), transform var(--transition); }.gallery-thumb:hover, .gallery-thumb.active { border-color: var(--accent); opacity: 1; transform: translateY(-2px); }.gallery-thumb .product-art { aspect-ratio: 16/9; }.gallery-thumb .art-icon { font-size: 1.6rem; }.gallery-note { display: flex; align-items: flex-start; gap: 7px; margin: 13px 2px 0; color: #66758a; font-size: .66rem; }
.detail-summary { position: relative; padding: 4px 0; }.detail-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }.detail-game { margin: 0 0 7px; color: #a78bfa; font-size: .76rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }.detail-summary h1 { margin: 0 0 13px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.045em; line-height: 1.1; }.detail-code { display: flex; align-items: center; gap: 9px; margin-bottom: 15px; color: var(--muted); font-size: .76rem; }.detail-code strong { padding: 4px 8px; border: 1px solid var(--border); border-radius: 7px; color: #d9e1ec; background: rgba(148,163,184,.06); letter-spacing: .06em; }.detail-description { margin: 0 0 22px; color: #aab6c8; font-size: .92rem; }.detail-price { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 0 12px; margin-bottom: 14px; }.detail-price del { color: #66758a; font-size: .85rem; }.detail-price strong { grid-row: 2; color: #fff; font-size: 2rem; line-height: 1.1; }.detail-price span { grid-row: 2; align-self: center; justify-self: start; padding: 5px 8px; border-radius: 8px; color: #86efac; background: rgba(34,197,94,.1); font-size: .67rem; font-weight: 750; }
.detail-availability { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: #86efac; font-size: .73rem; font-weight: 750; }.detail-availability > span { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); }.detail-availability.held { color: #fcd34d; }.detail-availability.held > span { background: var(--warning); box-shadow: 0 0 10px var(--warning); }
.detail-features-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 20px; }.detail-features-mini > span { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 9px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(15,23,42,.54); }.detail-features-mini i { grid-row: 1/3; color: #a78bfa; font-size: 1.15rem; }.detail-features-mini small { color: var(--muted); font-size: .57rem; }.detail-features-mini strong { overflow: hidden; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.quantity-row { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }.quantity-row > label { font-size: .74rem; font-weight: 750; }.quantity-row > small { color: var(--muted); font-size: .64rem; }.quantity-control { display: flex; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; }.quantity-control button, .quantity-control input { width: 34px; height: 34px; padding: 0; border: 0; color: var(--text); background: rgba(148,163,184,.06); text-align: center; }.quantity-control input { width: 38px; border-inline: 1px solid var(--border); outline: 0; }.quantity-control button:disabled { color: #526078; }
.detail-actions { display: grid; grid-template-columns: 1fr 1fr 48px; gap: 9px; }.detail-actions .wishlist-btn { position: static; width: 48px; height: auto; min-height: 54px; background: rgba(148,163,184,.07); }.warranty-box { display: flex; align-items: center; gap: 12px; margin-top: 17px; padding: 15px; border: 1px solid rgba(34,197,94,.14); border-radius: 13px; background: rgba(34,197,94,.055); }.warranty-box > i { color: #86efac; font-size: 1.3rem; }.warranty-box span { display: flex; flex-direction: column; line-height: 1.45; }.warranty-box strong { font-size: .76rem; }.warranty-box small { color: var(--muted); font-size: .63rem; }
.developer-warning { display: flex; align-items: flex-start; gap: 15px; margin: 64px 0 30px; padding: 20px 22px; border: 1px solid rgba(245,158,11,.18); border-radius: 15px; background: rgba(245,158,11,.055); }.developer-warning > i { color: #fbbf24; font-size: 1.25rem; }.developer-warning strong { font-size: .82rem; }.developer-warning p { margin: 3px 0 0; color: #bba98a; font-size: .75rem; }
.detail-tabs-section { border: 1px solid var(--border); border-radius: var(--radius-lg); background: rgba(15,23,42,.52); }.detail-tabs { gap: 8px; padding: 12px; border-bottom: 1px solid var(--border); }.detail-tabs .nav-link { padding: 10px 16px; border-radius: 10px; color: var(--muted); font-size: .78rem; font-weight: 750; }.detail-tabs .nav-link.active { color: #fff; background: rgba(124,58,237,.27); }.detail-tab-content { padding: 30px; }.detail-tab-content h2 { margin: 0 0 13px; font-size: 1rem; font-weight: 850; }.detail-tab-content p { margin: 0; color: var(--muted); font-size: .82rem; }.feature-check-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }.feature-check-list li { display: flex; align-items: flex-start; gap: 9px; color: #bdc8d7; font-size: .8rem; }.feature-check-list i { margin-top: 2px; color: var(--success); }
.account-spec-table { --bs-table-bg: transparent; --bs-table-color: var(--text); margin: 0; }.account-spec-table tr { border-color: var(--border); }.account-spec-table th, .account-spec-table td { padding: 13px 16px; font-size: .78rem; }.account-spec-table th { width: 35%; color: var(--muted); font-weight: 600; }.account-spec-table td { font-weight: 750; }
.review-summary { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: center; }.review-summary > div { display: flex; flex-direction: column; align-items: center; padding: 20px; border-right: 1px solid var(--border); }.review-summary > div strong { font-size: 2.8rem; line-height: 1; }.review-summary > div span { color: #fbbf24; letter-spacing: .12em; }.review-summary > div small { margin-top: 5px; color: var(--muted); font-size: .62rem; }.review-summary blockquote { margin: 0; color: #cbd5e1; font-size: .86rem; }.review-summary blockquote footer { margin-top: 10px; color: var(--muted); font-size: .7rem; }
.related-section { padding: 90px 0 30px; }.related-section .products-layout { grid-template-columns: repeat(3, 1fr); }

/* Bootstrap modals restyled */
.nxs-modal .modal-content { position: relative; align-items: center; padding: 32px; border: 1px solid var(--border-strong); border-radius: 22px; color: var(--text); text-align: center; background: var(--surface); box-shadow: 0 30px 80px rgba(0,0,0,.5); }.nxs-modal .modal-icon { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; margin-bottom: 15px; border: 1px solid rgba(124,58,237,.28); border-radius: 20px; color: #c4b5fd; background: rgba(124,58,237,.13); font-size: 1.55rem; }.nxs-modal .modal-icon.danger { border-color: rgba(251,113,133,.24); color: #fda4af; background: rgba(251,113,133,.09); }.nxs-modal h2 { margin: 0 0 8px; font-size: 1.38rem; font-weight: 850; }.nxs-modal p { margin: 0 0 21px; color: var(--muted); font-size: .82rem; }.nxs-modal p strong { color: var(--text); }.modal-actions { display: flex; justify-content: center; gap: 9px; }.modal-close { position: absolute; top: 16px; right: 16px; }.demo-security-note { display: flex; align-items: center; gap: 11px; width: 100%; margin-bottom: 21px; padding: 13px; border: 1px solid rgba(34,197,94,.14); border-radius: 12px; text-align: left; background: rgba(34,197,94,.05); }.demo-security-note > i { color: #86efac; font-size: 1.2rem; }.demo-security-note span { display: flex; flex-direction: column; }.demo-security-note strong { font-size: .7rem; }.demo-security-note small { color: var(--muted); font-size: .58rem; }

/* =========================================================
   Authentication
   ========================================================= */
.auth-page { position: relative; isolation: isolate; min-height: 760px; padding: 70px 0 90px; overflow: hidden; }.auth-glow { position: absolute; z-index: -1; top: -150px; left: 50%; width: 740px; height: 600px; border-radius: 50%; background: rgba(124,58,237,.1); filter: blur(100px); transform: translateX(-50%); }.auth-page::before { position: absolute; z-index: -2; inset: 0; opacity: .17; background-image: radial-gradient(rgba(148,163,184,.35) 1px, transparent 1px); background-size: 28px 28px; content: ""; -webkit-mask-image: radial-gradient(circle, #000, transparent 70%); mask-image: radial-gradient(circle, #000, transparent 70%); }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(450px, .98fr); max-width: 1040px; margin-inline: auto; overflow: hidden; border: 1px solid var(--border-strong); border-radius: 28px; background: rgba(15,23,42,.73); box-shadow: 0 35px 90px rgba(0,0,0,.35); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.auth-showcase { position: relative; isolation: isolate; display: flex; min-height: 690px; flex-direction: column; justify-content: center; padding: 52px; overflow: hidden; background: linear-gradient(145deg, rgba(76,29,149,.72), rgba(23,37,69,.9) 55%, rgba(8,75,92,.63)); }.auth-showcase::after { position: absolute; z-index: -1; right: -140px; bottom: -160px; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 45px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.015); }.auth-pattern { position: absolute; z-index: -2; inset: 0; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 34px 34px; transform: perspective(300px) rotateX(15deg) scale(1.2); }.auth-showcase .eyebrow { color: #cffafe; }.auth-showcase h1 { max-width: 470px; margin: 3px 0 17px; font-size: clamp(2.25rem, 4vw, 3.5rem); font-weight: 950; letter-spacing: -.055em; line-height: 1.02; }.auth-showcase > p { max-width: 440px; margin: 0; color: #c7d5e5; font-size: .89rem; }
.auth-visual { position: relative; height: 220px; margin: 28px 0 20px; }.membership-card { position: absolute; top: 18px; left: 50%; display: flex; width: min(100%, 335px); height: 190px; flex-direction: column; justify-content: space-between; padding: 23px; border: 1px solid rgba(255,255,255,.2); border-radius: 22px; background: linear-gradient(145deg, rgba(9,14,29,.87), rgba(124,58,237,.62)); box-shadow: 0 25px 50px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.18); transform: translateX(-50%) rotate(-4deg); }.membership-card > div { display: flex; align-items: center; justify-content: space-between; color: #d8b4fe; font-size: .65rem; font-weight: 850; letter-spacing: .1em; }.membership-card > div i { font-size: 1.2rem; }.membership-card > strong { font-size: 2rem; letter-spacing: -.04em; line-height: .9; }.membership-card > small { color: #94a3b8; font-size: .52rem; letter-spacing: .14em; }
.auth-benefits { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }.auth-benefits li { display: flex; align-items: center; gap: 8px; color: #d5deeb; font-size: .75rem; }.auth-benefits i { color: #86efac; }
.auth-form-panel { display: flex; flex-direction: column; justify-content: center; padding: 48px 54px; }.auth-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; margin-bottom: 30px; color: var(--muted); font-size: .7rem; }.auth-form-panel .eyebrow { margin-bottom: 6px; }.auth-form-panel h2 { margin: 0 0 4px; font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }.auth-subtitle { margin: 0 0 16px; color: var(--muted); font-size: .78rem; }.demo-note { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 20px; padding: 10px 12px; border: 1px solid rgba(6,182,212,.15); border-radius: 10px; color: #8cb9c4; background: rgba(6,182,212,.055); font-size: .62rem; }.demo-note i { margin-top: 1px; color: var(--accent); }.demo-note strong { color: #a5f3fc; }
.auth-form { display: grid; gap: 14px; }.form-field > label, .field-label-row label { display: block; margin-bottom: 6px; color: #d8e0eb; font-size: .7rem; font-weight: 750; }.form-field label small { color: var(--muted); font-weight: 400; }.field-label-row { display: flex; align-items: center; justify-content: space-between; }.field-label-row a { color: #a78bfa; font-size: .62rem; }.field-control { position: relative; }.field-control > i { position: absolute; z-index: 1; top: 50%; left: 13px; color: #718096; font-size: .85rem; transform: translateY(-50%); }.field-control .form-control { min-height: 46px; padding: 10px 42px 10px 38px; font-size: .77rem; }.password-toggle { position: absolute; top: 50%; right: 7px; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; transform: translateY(-50%); }.password-toggle:hover { color: #fff; background: rgba(148,163,184,.08); }
.field-error { min-height: 0; margin-top: 4px; color: #fda4af; font-size: .6rem; }.is-invalid + .field-error { min-height: 14px; }.field-control .form-control.is-invalid { padding-right: 42px; background-image: none; }.terms-field .field-error { margin-left: 24px; }.remember-check { display: flex; align-items: flex-start; gap: 7px; margin: 1px 0; color: #aab6c7; cursor: pointer; font-size: .65rem; }.remember-check .form-check-input { flex: 0 0 auto; margin-top: 2px; }.remember-check a { color: #a78bfa; }.auth-form .btn { margin-top: 3px; }.form-success { min-height: 0; margin: 0; color: #86efac; font-size: .67rem; text-align: center; }.auth-switch { margin: 20px 0 0; color: var(--muted); font-size: .7rem; text-align: center; }.auth-switch a { color: #c4b5fd; font-weight: 750; }.auth-privacy { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 15px 0 0; color: #64748b; font-size: .57rem; }.auth-privacy i { color: #86efac; }
.password-meter-row { display: flex; align-items: center; gap: 9px; margin-top: 7px; }.password-meter { display: grid; flex: 1; grid-template-columns: repeat(4,1fr); gap: 4px; }.password-meter i { height: 4px; border-radius: 5px; background: #263246; }.password-meter[data-score="1"] i:nth-child(-n+1) { background: #fb7185; }.password-meter[data-score="2"] i:nth-child(-n+2) { background: #f59e0b; }.password-meter[data-score="3"] i:nth-child(-n+3) { background: #06b6d4; }.password-meter[data-score="4"] i:nth-child(-n+4) { background: #22c55e; }.password-meter-row > span { min-width: 54px; color: var(--muted); font-size: .57rem; text-align: right; }
.register-page .auth-shell { grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); }.register-showcase { min-height: 860px; }.level-card { align-self: center; display: flex; width: min(100%, 300px); height: 260px; flex-direction: column; justify-content: space-between; margin: 36px 0 28px; padding: 26px; border: 1px solid rgba(255,255,255,.2); border-radius: 26px; background: linear-gradient(145deg, rgba(15,23,42,.78), rgba(6,182,212,.25)); box-shadow: 0 28px 58px rgba(0,0,0,.28); transform: rotate(3deg); }.level-card > span, .level-card > small { color: #bae6fd; font-size: .58rem; font-weight: 850; letter-spacing: .14em; }.level-card > strong { font-size: 2.1rem; line-height: .85; }.level-card > strong b { color: #67e8f9; font-size: 4.8rem; }.level-card > div { display: grid; grid-template-columns: repeat(5,1fr); gap: 5px; }.level-card > div i { height: 6px; border-radius: 4px; background: rgba(255,255,255,.16); }.level-card > div i:first-child { background: #67e8f9; }.member-count { display: flex; align-items: center; gap: 13px; }.member-count > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }.member-count strong { font-size: .76rem; }.member-count small { color: #b3c0d0; font-size: .63rem; }

/* Rental plan additions */
.detail-price small { color: var(--muted); font-size: .68rem; }
.detail-rental-row { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 18px; padding: 15px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }.detail-rental-row > div:first-child { display: flex; flex-direction: column; }.detail-rental-row strong { font-size: .74rem; }.detail-rental-row small { color: var(--muted); font-size: .6rem; }.detail-plan-switch { width: min(100%,220px); margin: 0; }
.seller-card { margin-bottom: 18px; padding: 17px; border: 1px solid rgba(6,182,212,.18); border-radius: 15px; background: linear-gradient(145deg, rgba(15,23,42,.82), rgba(8,47,73,.3)); }.seller-card-head { display: flex; align-items: center; gap: 11px; }.seller-avatar { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; color: #fff; background: var(--primary-gradient); font-size: .75rem; font-weight: 900; }.seller-card-head > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }.seller-card-head small { color: var(--muted); font-size: .56rem; }.seller-card-head strong { font-size: .84rem; }.seller-card-head em { display: inline-flex; align-items: center; gap: 5px; color: #86efac; font-size: .58rem; font-style: normal; }.seller-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin: 14px 0; }.seller-stats span { display: flex; min-width: 0; flex-direction: column; padding: 9px; border: 1px solid var(--border); border-radius: 9px; text-align: center; background: rgba(2,6,23,.2); }.seller-stats strong { overflow: hidden; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }.seller-stats small { color: var(--muted); font-size: .52rem; }.seller-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }.seller-contact > span { display: grid; min-width: 0; grid-template-columns: auto 1fr; column-gap: 7px; padding: 9px; border-radius: 9px; background: rgba(148,163,184,.055); }.seller-contact i { grid-row: 1/3; align-self: center; color: #67e8f9; }.seller-contact small { color: var(--muted); font-size: .5rem; }.seller-contact strong { overflow: hidden; font-size: .59rem; text-overflow: ellipsis; white-space: nowrap; }.seller-card > p { display: flex; align-items: flex-start; gap: 6px; margin: 11px 0 0; color: #718096; font-size: .55rem; }.seller-card > p i { margin-top: 1px; color: var(--accent); }

/* Light theme refinements. Dark artwork remains as a focused gaming accent. */
html:not([data-theme="dark"]) .btn-outline-light { border-color: rgba(71,85,105,.22); color: #334155; background: rgba(255,255,255,.72); }
html:not([data-theme="dark"]) .btn-outline-light:hover,
html:not([data-theme="dark"]) .btn-soft:hover,
html:not([data-theme="dark"]) .icon-btn:hover { color: #6d28d9; background: #f1edff; }
html:not([data-theme="dark"]) .eyebrow,
html:not([data-theme="dark"]) .text-link,
html:not([data-theme="dark"]) .product-meta,
html:not([data-theme="dark"]) .detail-game { color: #6d28d9; }
html:not([data-theme="dark"]) .brand-lockup:hover,
html:not([data-theme="dark"]) .site-header .nav-link:hover,
html:not([data-theme="dark"]) .site-header .nav-link.active { color: #5b21b6; }
html:not([data-theme="dark"]) .site-header .nav-link { color: #475569; }
html:not([data-theme="dark"]) .site-header.scrolled { box-shadow: 0 12px 34px rgba(45,55,85,.08); }
html:not([data-theme="dark"]) .header-search input,
html:not([data-theme="dark"]) .header-search input:focus { background: rgba(255,255,255,.9); }
html:not([data-theme="dark"]) .hero-section::after { background: linear-gradient(180deg, transparent, rgba(238,242,255,.88)); }
html:not([data-theme="dark"]) .hero-copy h1 span { background-image: linear-gradient(100deg, #6d28d9, #0891b2); }
html:not([data-theme="dark"]) .hero-copy > p { color: #52637a; }
html:not([data-theme="dark"]) .floating-card,
html:not([data-theme="dark"]) .hero-stats { border-color: rgba(71,85,105,.14); background: rgba(255,255,255,.86); box-shadow: 0 18px 42px rgba(45,55,85,.11); }
html:not([data-theme="dark"]) .category-section { background: linear-gradient(180deg, rgba(238,242,255,.92), transparent); }
html:not([data-theme="dark"]) .category-card:hover,
html:not([data-theme="dark"]) .product-card:hover { color: var(--text); box-shadow: 0 22px 48px rgba(45,55,85,.14), 0 0 30px rgba(124,58,237,.07); }
html:not([data-theme="dark"]) .status-dot,
html:not([data-theme="dark"]) .detail-availability,
html:not([data-theme="dark"]) .seller-card-head em,
html:not([data-theme="dark"]) .verified-note,
html:not([data-theme="dark"]) .detail-price span,
html:not([data-theme="dark"]) .warranty-box > i { color: #15803d; }
html:not([data-theme="dark"]) .status-dot.is-held,
html:not([data-theme="dark"]) .detail-availability.held { color: #b45309; }
html:not([data-theme="dark"]) .product-content h3 a:hover { color: #6d28d9; }
html:not([data-theme="dark"]) .product-code strong,
html:not([data-theme="dark"]) .account-stats span,
html:not([data-theme="dark"]) .price-wrap strong,
html:not([data-theme="dark"]) .detail-code strong,
html:not([data-theme="dark"]) .detail-price strong,
html:not([data-theme="dark"]) .feature-check-list li,
html:not([data-theme="dark"]) .review-summary blockquote { color: #334155; }
html:not([data-theme="dark"]) .rental-plan-switch,
html:not([data-theme="dark"]) .view-switch { background: #eef2ff; }
html:not([data-theme="dark"]) .rental-plan-switch button:hover { color: #5b21b6; background: rgba(124,58,237,.09); }
html:not([data-theme="dark"]) .why-section,
html:not([data-theme="dark"]) .review-section { background: linear-gradient(180deg, transparent, rgba(238,242,255,.78), transparent); }
html:not([data-theme="dark"]) .benefit-card,
html:not([data-theme="dark"]) .rating-pill,
html:not([data-theme="dark"]) .catalog-toolbar,
html:not([data-theme="dark"]) .filter-panel,
html:not([data-theme="dark"]) .empty-state,
html:not([data-theme="dark"]) .nxs-pagination button,
html:not([data-theme="dark"]) .detail-features-mini > span,
html:not([data-theme="dark"]) .detail-tabs-section { background: rgba(255,255,255,.88); }
html:not([data-theme="dark"]) .benefit-card:hover { background: #fff; }
html:not([data-theme="dark"]) .testimonial-card > p,
html:not([data-theme="dark"]) .detail-description,
html:not([data-theme="dark"]) .filter-check,
html:not([data-theme="dark"]) .filter-radio,
html:not([data-theme="dark"]) .filter-group > label,
html:not([data-theme="dark"]) .filter-group legend { color: #52637a; }
html:not([data-theme="dark"]) .nxs-accordion .accordion-button::after { filter: none; }
html:not([data-theme="dark"]) .newsletter-box { background: linear-gradient(135deg, #fff, #ecfeff); }
html:not([data-theme="dark"]) .newsletter-form .form-control,
html:not([data-theme="dark"]) .form-control,
html:not([data-theme="dark"]) .form-select { color: var(--text); background-color: #fff; }
html:not([data-theme="dark"]) .newsletter-form .form-control:focus,
html:not([data-theme="dark"]) .form-control:focus,
html:not([data-theme="dark"]) .form-select:focus { color: var(--text); background-color: #fff; }
html:not([data-theme="dark"]) .seller-card { background: linear-gradient(145deg, #fff, #ecfeff); }
html:not([data-theme="dark"]) .seller-stats span { background: rgba(238,242,255,.74); }
html:not([data-theme="dark"]) .seller-contact i { color: #0891b2; }
html:not([data-theme="dark"]) .developer-warning p { color: #866522; }
html:not([data-theme="dark"]) .detail-tabs .nav-link.active,
html:not([data-theme="dark"]) .nxs-accordion .accordion-button:not(.collapsed) { color: #5b21b6; background: rgba(124,58,237,.12); }
html:not([data-theme="dark"]) .page-hero-icon,
html:not([data-theme="dark"]) .catalog-help-box > i,
html:not([data-theme="dark"]) .benefit-card > span,
html:not([data-theme="dark"]) .process-card > i,
html:not([data-theme="dark"]) .empty-icon,
html:not([data-theme="dark"]) .account-stats i,
html:not([data-theme="dark"]) .detail-features-mini i { color: #7c3aed; }
html:not([data-theme="dark"]) .detail-actions .wishlist-btn { color: #334155; }
html:not([data-theme="dark"]) .detail-actions .wishlist-btn:hover { color: #e11d48; }
html:not([data-theme="dark"]) .auth-shell { background: rgba(255,255,255,.88); box-shadow: 0 30px 80px rgba(45,55,85,.15); }
html:not([data-theme="dark"]) .auth-showcase { color: #f8fafc; }
html:not([data-theme="dark"]) .form-field > label,
html:not([data-theme="dark"]) .field-label-row label { color: #334155; }
html:not([data-theme="dark"]) .remember-check,
html:not([data-theme="dark"]) .auth-showcase + .auth-form-panel .demo-note { color: #52637a; }
html:not([data-theme="dark"]) .password-toggle:hover { color: #6d28d9; background: #f1edff; }
html:not([data-theme="dark"]) .promo-banner { color: #f8fafc; }
html:not([data-theme="dark"]) .site-footer { color: #f8fafc; border-color: rgba(148,163,184,.15); }
html:not([data-theme="dark"]) .site-footer .brand-lockup { color: #f8fafc; }
html:not([data-theme="dark"]) .site-footer .brand-lockup:hover { color: #fff; }
html:not([data-theme="dark"]) .site-footer .footer-intro,
html:not([data-theme="dark"]) .site-footer .footer-links a,
html:not([data-theme="dark"]) .site-footer .contact-list small { color: #94a3b8; }

/* =========================================================
   White & gold brand theme
   ========================================================= */
.btn-outline-light:hover,
.btn-soft:hover,
.icon-btn:hover {
  border-color: rgba(196, 139, 0, .48);
  color: var(--accent);
  background: rgba(255, 201, 40, .14);
}
.brand-mark,
.review-avatar,
.seller-avatar,
.scroll-top { color: var(--on-primary); }
.brand-mark { border-color: rgba(166, 116, 0, .18); box-shadow: 0 10px 24px rgba(201, 145, 0, .24), inset 0 1px rgba(255,255,255,.55); }
.eyebrow,
.text-link,
.product-meta,
.detail-game,
.hero-stats i,
.account-stats i,
.filter-heading h2 i,
.field-label-row a,
.remember-check a,
.auth-switch a { color: var(--accent); }
.header-search > button:hover { color: var(--accent); background: rgba(255,201,40,.14); }
.header-search input:focus,
.form-control:focus,
.form-select:focus { border-color: rgba(196,139,0,.58); box-shadow: 0 0 0 3px rgba(245,189,22,.14); }
.form-check-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(245,189,22,.16); }

.hero-section { background: radial-gradient(circle at 12% 18%, rgba(255,201,40,.25), transparent 31%), radial-gradient(circle at 85% 30%, rgba(255,229,122,.32), transparent 28%); }
.hero-copy h1 span { background-image: linear-gradient(100deg, #9a6700, #e5a900 58%, #b67a00); }
.avatar-stack i { color: var(--on-primary); background: linear-gradient(145deg, #ffe57a, #dca100); }
.hero-card-main { border-color: rgba(137,94,0,.2); color: var(--on-primary); background: linear-gradient(145deg, #fff6c8, #ffd54f 48%, #e3a400); box-shadow: 0 40px 80px rgba(111,76,0,.26), inset 0 1px rgba(255,255,255,.66); }
.hero-card-top,
.hero-card-bottom { color: rgba(48,35,0,.72); }
.hero-card-bottom strong,
.hero-controller { color: var(--on-primary); }
.controller-core { border-color: rgba(105,72,0,.22); background: rgba(255,255,255,.3); box-shadow: inset 0 0 25px rgba(117,78,0,.12), 0 0 28px rgba(255,238,167,.55); }
.glow-one { background: rgba(255,213,79,.3); }
.glow-two { background: rgba(245,183,0,.24); }
.floating-card > i { color: var(--on-primary); background: rgba(255,201,40,.32); }
.pixel-b { background: #e3a400; box-shadow: 0 0 16px #ffc928; }

.category-card:hover,
.product-card:hover { border-color: rgba(206,148,0,.45); }
.product-card:hover { box-shadow: 0 24px 56px rgba(94,68,8,.18), 0 0 35px rgba(245,189,22,.13); }
.badge-accent { border-color: rgba(85,58,0,.16); color: var(--on-primary); background: rgba(255,201,40,.92); }
.rental-plan-switch button.active,
.view-switch button.active,
.nxs-pagination button:hover:not(:disabled),
.nxs-pagination button.active { color: var(--on-primary); background: var(--primary-gradient); box-shadow: 0 6px 14px rgba(204,147,0,.18); }
.featured-section { background: radial-gradient(circle at 80% 25%, rgba(255,201,40,.16), transparent 29%); }
.promo-banner { border-color: rgba(190,132,0,.28); color: var(--on-primary); background: linear-gradient(120deg, #fff7d1, #ffd85e 55%, #e5aa08); }
.promo-icon { border-color: rgba(91,63,0,.2); color: var(--on-primary); background: rgba(255,255,255,.28); }
.promo-copy .eyebrow { color: #765000; }
.promo-copy p { color: #59420b; }
.promo-copy p strong { color: #2d250f; }
.promo-code { border-color: rgba(73,49,0,.42); color: #2d250f; background: rgba(255,255,255,.24); }
.promo-code button { color: #2d250f; }
.benefit-card:hover { border-color: rgba(211,154,0,.36); }
.benefit-card > span,
.process-card > i,
.page-hero-icon,
.catalog-help-box > i,
.empty-icon,
.nxs-modal .modal-icon { border-color: rgba(211,154,0,.28); color: var(--accent); background: rgba(255,201,40,.15); }
.process-section::before { background: radial-gradient(circle at center, rgba(255,201,40,.14), transparent 60%); }
.testimonial-card.featured-review { border-color: rgba(211,154,0,.4); box-shadow: 0 16px 40px rgba(209,151,0,.13); }
.quote-icon { color: rgba(218,158,0,.18); }
.nxs-accordion .accordion-button:not(.collapsed) { color: var(--accent); }
.newsletter-box { border-color: rgba(211,154,0,.28); background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,229,122,.32)); }
.newsletter-icon { color: var(--accent); background: rgba(255,201,40,.18); }

.site-footer { background: #1d1708; }
.footer-glow { background: rgba(255,201,40,.13); }
.social-list a:hover { border-color: rgba(255,215,90,.46); color: #ffd75a; background: rgba(255,201,40,.12); }
.footer-links a:hover,
.contact-list li > i { color: #ffd75a; }
.contact-list li > i { background: rgba(255,201,40,.1); }
.scroll-top { border-color: rgba(89,61,0,.2); box-shadow: 0 13px 28px rgba(91,63,0,.24); }
.page-hero { background: radial-gradient(circle at 82% 26%, rgba(255,213,79,.2), transparent 27%), linear-gradient(130deg, rgba(255,201,40,.17), transparent 46%); }
.catalog-help-box { background: linear-gradient(120deg, rgba(255,201,40,.14), rgba(255,255,255,.04)); }
.detail-page-glow,
.auth-glow { background: rgba(255,201,40,.12); }
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--primary); }
.detail-tabs .nav-link.active { color: var(--on-primary); background: rgba(255,201,40,.48); }

.auth-showcase { color: var(--on-primary); background: linear-gradient(145deg, #fff3b9, #ffd04a 55%, #d99b00); }
.auth-showcase .eyebrow { color: #765000; }
.auth-showcase > p,
.auth-benefits li { color: #57440e; }
.membership-card { color: #fff9e7; background: linear-gradient(145deg, rgba(46,35,8,.94), rgba(126,87,0,.9)); }
.membership-card > div { color: #ffe57a; }
.demo-note { border-color: rgba(211,154,0,.2); color: #715a21; background: rgba(255,201,40,.09); }
.demo-note strong { color: #8a5c00; }
.password-toggle:hover { color: var(--accent); background: rgba(255,201,40,.12); }
.level-card { background: linear-gradient(145deg, rgba(45,35,8,.9), rgba(196,139,0,.62)); }
.level-card > span,
.level-card > small,
.level-card > strong b { color: #ffe57a; }
.level-card > div i:first-child { background: #ffd54f; }
.seller-card { border-color: rgba(211,154,0,.22); background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,229,122,.24)); }
.seller-contact i { color: var(--accent); }

html:not([data-theme="dark"]) .btn-outline-light:hover,
html:not([data-theme="dark"]) .btn-soft:hover,
html:not([data-theme="dark"]) .icon-btn:hover { color: #815600; background: #fff4c5; }
html:not([data-theme="dark"]) .eyebrow,
html:not([data-theme="dark"]) .text-link,
html:not([data-theme="dark"]) .product-meta,
html:not([data-theme="dark"]) .detail-game,
html:not([data-theme="dark"]) .product-content h3 a:hover { color: #8a5c00; }
html:not([data-theme="dark"]) .brand-lockup:hover,
html:not([data-theme="dark"]) .site-header .nav-link:hover,
html:not([data-theme="dark"]) .site-header .nav-link.active { color: #765000; }
html:not([data-theme="dark"]) .site-header .nav-link { color: #5f5746; }
html:not([data-theme="dark"]) .site-header.scrolled { box-shadow: 0 12px 34px rgba(94,68,8,.09); }
html:not([data-theme="dark"]) .hero-section::after { background: linear-gradient(180deg, transparent, rgba(255,248,223,.9)); }
html:not([data-theme="dark"]) .hero-copy h1 span { background-image: linear-gradient(100deg, #8a5c00, #d89e00); }
html:not([data-theme="dark"]) .hero-copy > p { color: #695f4b; }
html:not([data-theme="dark"]) .floating-card,
html:not([data-theme="dark"]) .hero-stats { border-color: rgba(151,113,20,.18); background: rgba(255,255,255,.9); box-shadow: 0 18px 42px rgba(94,68,8,.11); }
html:not([data-theme="dark"]) .category-section { background: linear-gradient(180deg, rgba(255,244,197,.72), transparent); }
html:not([data-theme="dark"]) .category-card:hover,
html:not([data-theme="dark"]) .product-card:hover { box-shadow: 0 22px 48px rgba(94,68,8,.14), 0 0 30px rgba(245,189,22,.12); }
html:not([data-theme="dark"]) .rental-plan-switch,
html:not([data-theme="dark"]) .view-switch { background: #fff5cc; }
html:not([data-theme="dark"]) .rental-plan-switch button:hover { color: #765000; background: rgba(255,201,40,.16); }
html:not([data-theme="dark"]) .why-section,
html:not([data-theme="dark"]) .review-section { background: linear-gradient(180deg, transparent, rgba(255,244,197,.6), transparent); }
html:not([data-theme="dark"]) .newsletter-box { background: linear-gradient(135deg, #fff, #fff3bd); }
html:not([data-theme="dark"]) .seller-card { background: linear-gradient(145deg, #fff, #fff3bd); }
html:not([data-theme="dark"]) .seller-stats span { background: rgba(255,244,197,.62); }
html:not([data-theme="dark"]) .detail-tabs .nav-link.active,
html:not([data-theme="dark"]) .nxs-accordion .accordion-button:not(.collapsed) { color: #765000; background: rgba(255,201,40,.2); }
html:not([data-theme="dark"]) .page-hero-icon,
html:not([data-theme="dark"]) .catalog-help-box > i,
html:not([data-theme="dark"]) .benefit-card > span,
html:not([data-theme="dark"]) .process-card > i,
html:not([data-theme="dark"]) .empty-icon,
html:not([data-theme="dark"]) .account-stats i,
html:not([data-theme="dark"]) .detail-features-mini i { color: #9a6700; }
html:not([data-theme="dark"]) .auth-shell { box-shadow: 0 30px 80px rgba(94,68,8,.15); }
html:not([data-theme="dark"]) .auth-showcase { color: #302300; }
html:not([data-theme="dark"]) .auth-showcase > p,
html:not([data-theme="dark"]) .auth-benefits li { color: #57440e; }
html:not([data-theme="dark"]) .password-toggle:hover { color: #815600; background: #fff4c5; }
html:not([data-theme="dark"]) .promo-banner { color: #302300; }
html:not([data-theme="dark"]) .site-footer { color: #fff9e7; border-color: rgba(255,215,90,.15); }
html:not([data-theme="dark"]) .site-footer .brand-lockup { color: #fff9e7; }
html:not([data-theme="dark"]) .site-footer .footer-intro,
html:not([data-theme="dark"]) .site-footer .footer-links a,
html:not([data-theme="dark"]) .site-footer .contact-list small { color: #bfb28d; }

html[data-theme="dark"] .header-search input,
html[data-theme="dark"] .header-search input:focus,
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select,
html[data-theme="dark"] .newsletter-form .form-control { background-color: rgba(45,35,12,.82); }
html[data-theme="dark"] .hero-section::after { background: linear-gradient(180deg, transparent, rgba(45,35,12,.86)); }
html[data-theme="dark"] .floating-card,
html[data-theme="dark"] .hero-stats,
html[data-theme="dark"] .benefit-card,
html[data-theme="dark"] .rating-pill,
html[data-theme="dark"] .catalog-toolbar,
html[data-theme="dark"] .filter-panel,
html[data-theme="dark"] .empty-state,
html[data-theme="dark"] .nxs-pagination button,
html[data-theme="dark"] .detail-features-mini > span,
html[data-theme="dark"] .detail-tabs-section,
html[data-theme="dark"] .auth-shell { background: rgba(36,28,9,.86); }
html[data-theme="dark"] .category-section,
html[data-theme="dark"] .why-section,
html[data-theme="dark"] .review-section { background: linear-gradient(180deg, rgba(58,44,13,.7), transparent); }
html[data-theme="dark"] .seller-card,
html[data-theme="dark"] .newsletter-box { background: linear-gradient(145deg, rgba(45,35,12,.96), rgba(24,18,7,.96)); }
html[data-theme="dark"] .seller-stats span,
html[data-theme="dark"] .rental-plan-switch,
html[data-theme="dark"] .view-switch { background: rgba(58,44,13,.72); }
html[data-theme="dark"] .nxs-toast { background: rgba(36,28,9,.97); }

/* =========================================================
   Responsive system
   ========================================================= */
@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { width: 100%; padding: 14px 0 7px; border-top: 1px solid var(--border); }
  .site-header .navbar-nav { margin-bottom: 10px; }
  .site-header .nav-link { padding-inline: 4px !important; }
  .site-header .nav-link::after { right: auto; left: 4px; width: 34px; }
  .header-search { width: 100%; max-width: 420px; margin: 0; }
  .products-layout { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products-main .products-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card-list { grid-template-columns: 230px 1fr; }
  .auth-showcase { padding: 42px; }
  .auth-form-panel { padding: 42px; }
}

@media (max-width: 991.98px) {
  :root { --header-height: 72px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section-space { padding: 82px 0; }
  .section-space-sm { padding: 55px 0 78px; }
  .hero-section { min-height: auto; padding-top: 65px; }
  .hero-copy { max-width: 780px; margin-inline: auto; text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-line { justify-content: center; }
  .hero-visual { height: 420px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .category-grid { grid-template-columns: repeat(2,1fr); }
  .products-layout { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .promo-banner { grid-template-columns: auto 1fr; }
  .promo-action { grid-column: 2; flex-direction: row; }
  .promo-code { min-width: 145px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .newsletter-box { grid-template-columns: auto 1fr; }
  .newsletter-form { grid-column: 1 / -1; }
  .footer-main { padding-top: 62px; }
  .filter-panel { width: min(350px, 90vw) !important; padding: 0; border: 0; border-radius: 0; background: var(--surface); }
  .filter-panel .offcanvas-header { display: flex; padding: 20px; border-bottom: 1px solid var(--border); }
  .filter-panel .offcanvas-body { padding: 20px; overflow-y: auto; }
  .filter-panel .filter-heading { display: none; }
  .filter-panel .filter-group:first-of-type { padding-top: 0; }
  .product-card-list { grid-template-columns: 210px 1fr; }
  .detail-gallery { position: static; }
  .detail-summary { padding-top: 12px; }
  .developer-warning { margin-top: 45px; }
  .related-section .products-layout { grid-template-columns: repeat(2,1fr); }
  .related-section .product-card:nth-child(3) { display: none; }
  .order-summary { position: static; }
  .auth-page { padding: 55px 0 75px; }
  .auth-shell, .register-page .auth-shell { grid-template-columns: 1fr; max-width: 670px; }
  .auth-showcase, .register-showcase { min-height: 430px; padding: 45px 52px; }
  .auth-showcase h1 { max-width: 580px; }
  .auth-visual { position: absolute; right: 22px; bottom: 40px; width: 45%; height: 180px; opacity: .8; }
  .auth-benefits { max-width: 50%; margin-top: 25px; }
  .register-showcase .level-card { position: absolute; right: 45px; bottom: 25px; width: 220px; height: 220px; margin: 0; opacity: .78; }
}

@media (max-width: 767.98px) {
  .section-space { padding: 70px 0; }
  .section-heading { margin-bottom: 30px; }
  .heading-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-section { padding-top: 48px; }
  .hero-copy h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .hero-copy > p { font-size: 1rem; }
  .hero-visual { width: min(100%, 440px); height: 385px; }
  .hero-card-main { inset: 54px 25px 46px; }
  .floating-rank { right: 0; }
  .category-grid { gap: 12px; }
  .category-card { min-height: 92px; }
  .category-icon { width: 55px; height: 55px; }
  .promo-banner { grid-template-columns: 1fr; padding: 30px; text-align: center; }
  .promo-icon { margin-inline: auto; }
  .promo-action { grid-column: auto; flex-direction: row; justify-content: center; }
  .benefit-card { padding: 22px; }
  .rating-pill { align-self: flex-start; }
  .testimonial-card > p { min-height: auto; }
  .newsletter-box { grid-template-columns: 1fr; padding: 28px; text-align: center; }
  .newsletter-icon { margin-inline: auto; }
  .newsletter-form { grid-column: auto; }
  .footer-bottom { align-items: center; flex-direction: column; text-align: center; }
  .page-title-row { align-items: flex-start; }.page-hero-icon { width: 65px; height: 65px; border-radius: 20px; font-size: 1.5rem; }
  .catalog-toolbar { flex-wrap: wrap; }.catalog-search { order: -1; width: 100%; }.toolbar-spacer { display: none; }.sort-control { flex: 1; }.sort-control .form-select { width: 100%; }.view-switch { margin-left: auto; }
  .products-main .products-layout { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card-list { grid-template-columns: 170px 1fr; }
  .product-card-list .product-media > a, .product-card-list .product-art { min-height: 250px; }
  .product-card-list .product-content { padding: 16px; }
  .product-card-list .product-description { display: none; }
  .product-card-list .account-stats { grid-template-columns: repeat(3,1fr); }
  .product-card-list .price-wrap { align-items: flex-start; flex-direction: column; gap: 0; }
  .product-card-list .product-actions .btn-outline-light { display: none; }
  .detail-features-mini > span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  .detail-features-mini i { margin-bottom: 3px; }
  .detail-tabs { flex-wrap: nowrap; overflow-x: auto; }.detail-tabs .nav-link { white-space: nowrap; }.detail-tab-content { padding: 24px; }
  .review-summary { grid-template-columns: 1fr; }.review-summary > div { border-right: 0; border-bottom: 1px solid var(--border); }
  .auth-showcase, .register-showcase { min-height: 390px; padding: 38px; }.auth-showcase h1 { font-size: 2.5rem; }.auth-showcase > p { max-width: 65%; }.auth-form-panel { padding: 42px 38px; }
  .auth-benefits { display: none; }.auth-visual { right: 2px; bottom: 25px; width: 48%; }.membership-card { width: 250px; height: 160px; }.membership-card > strong { font-size: 1.55rem; }
  .register-showcase .level-card { right: 30px; bottom: 30px; width: 190px; height: 190px; }.level-card > strong b { font-size: 3.4rem; }.member-count { margin-top: 24px; }
}

@media (max-width: 575.98px) {
  body { font-size: 15px; }
  .container { --bs-gutter-x: 28px; }
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section-space { padding: 60px 0; }
  .site-header .navbar { min-height: 70px; }
  .brand-mark { width: 36px; height: 36px; }.brand-lockup strong { font-size: .84rem; letter-spacing: .045em; }.brand-lockup small { font-size: .45rem; letter-spacing: .1em; }
  .hero-section { padding-top: 36px; }
  .hero-copy .eyebrow { justify-content: center; font-size: .65rem; }
  .hero-copy h1 { font-size: clamp(2.35rem, 13vw, 3.4rem); }
  .hero-actions { flex-direction: column; }.hero-actions .btn { width: 100%; }
  .trust-line { align-items: flex-start; text-align: left; }
  .hero-visual { height: 330px; margin-top: -15px; }
  .hero-card-main { inset: 50px 10px 40px 16px; padding: 22px; border-radius: 25px; }
  .hero-controller { padding: 18px 25px; font-size: 1.9rem; }.controller-core { width: 58px; height: 58px; }.controller-core i { font-size: 1.2rem; }
  .floating-card { min-width: 130px; padding: 10px; }.floating-card > i { width: 31px; height: 31px; }.floating-rank { top: 22px; right: -4px; }.floating-safe { bottom: 8px; left: -3px; }
  .hero-stats { border-radius: 18px 18px 0 0; }.hero-stats > div { gap: 9px; padding: 18px 8px; }.hero-stats i { font-size: 1.05rem; }.hero-stats strong { font-size: .85rem; }.hero-stats small { font-size: .58rem; }
  .category-grid, .products-layout { grid-template-columns: 1fr; }
  .category-card { min-height: 86px; padding: 14px; }
  .featured-section .btn-soft { width: 100%; }
  .product-content { padding: 17px; }.product-content h3 { min-height: auto; font-size: 1rem; }.product-art { aspect-ratio: 16/9; }.product-bottom { align-items: center; }.price-wrap strong { font-size: 1.12rem; }
  .promo-section { padding-top: 8px; }.promo-banner { padding: 26px 20px; }.promo-copy h2 { font-size: 1.6rem; }.promo-action { align-items: stretch; flex-direction: column; }.promo-code { min-width: 0; }
  .process-grid { grid-template-columns: 1fr; }.process-card { display: grid; grid-template-columns: auto 1fr; column-gap: 15px; text-align: left; }.process-card > i { grid-row: 1/3; margin: 0; }.process-card h3 { align-self: end; }.process-card p { align-self: start; }.step-number { top: 12px; }
  .newsletter-form .input-group { display: grid; grid-template-columns: 1fr; gap: 8px; }.newsletter-form .form-control, .newsletter-form .btn { width: 100%; border-radius: 11px !important; }
  .footer-main { padding-top: 52px; }.legal-note { font-size: .68rem; }
  .compact-hero { padding: 27px 0 37px; }.page-title-row h1 { font-size: 2.15rem; }.page-title-row p { font-size: .8rem; }.page-hero-icon { display: none; }
  .catalog-toolbar { padding: 10px; }.sort-control > span { display: none; }.view-switch { margin-left: 0; }.results-heading { align-items: flex-start; flex-direction: column; gap: 6px; }
  .products-main .products-layout { grid-template-columns: 1fr; }
  .product-card-list { grid-template-columns: 118px 1fr; }
  .product-card-list .product-media > a, .product-card-list .product-art { min-height: 270px; }.product-card-list .product-content { padding: 13px; }.product-card-list .product-meta { align-items: flex-start; flex-direction: column; }.product-card-list .product-content h3 { font-size: .9rem; }.product-card-list .account-stats { display: flex; flex-wrap: wrap; }.product-card-list .account-stats span { flex: 1 1 47%; }.product-card-list .product-bottom { align-items: flex-start; flex-direction: column; }.product-card-list .product-actions { width: 100%; }.product-card-list .product-actions .btn-primary { width: 100%; }.product-card-list .product-badges .badge-verified { display: none; }
  .catalog-help-box { align-items: flex-start; flex-direction: column; }.catalog-help-box .btn { width: 100%; }
  .detail-loading { grid-template-columns: 1fr; }.main-product-art .detail-art { aspect-ratio: 1/1; }.gallery-thumbs { gap: 7px; }.gallery-thumb { border-radius: 10px; }
  .detail-summary h1 { font-size: 2rem; }.detail-price strong { font-size: 1.65rem; }.detail-price span { font-size: .57rem; }
  .detail-features-mini { gap: 6px; }.detail-features-mini > span { padding: 9px; }.detail-rental-row { align-items: flex-start; flex-direction: column; }.detail-plan-switch { width: 100%; }.detail-actions { grid-template-columns: 1fr 48px; }.detail-actions .btn-primary { grid-column: 1 / -1; }.detail-actions .btn-outline-light { grid-column: 1; }.quantity-row { flex-wrap: wrap; }.developer-warning { padding: 17px; }.detail-tab-content { padding: 20px; }.related-section .products-layout { grid-template-columns: 1fr; }.related-section .product-card:nth-child(2) { display: none; }
  .nxs-modal .modal-dialog { margin: 14px; }.nxs-modal .modal-content { padding: 28px 20px; }.modal-actions { width: 100%; }.modal-actions .btn { flex: 1; }
  .auth-page { padding: 35px 0 60px; }.auth-shell { border-radius: 22px; }.auth-showcase, .register-showcase { display: none; }.auth-form-panel { padding: 34px 22px; }.auth-back { margin-bottom: 24px; }.auth-form-panel h2 { font-size: 1.75rem; }.register-page .auth-shell { grid-template-columns: minmax(0,1fr); }
  .scroll-top { right: 14px; bottom: 16px; }
}

/* =========================================================
   Mobile-first experience (10–15 tuổi)
   Điều hướng bằng ngón cái, ít lựa chọn hơn và vùng chạm lớn.
   ========================================================= */
.mobile-bottom-nav,
.mobile-filter-chips,
.mobile-buy-dock { display: none; }

@media (hover: none) {
  .btn:hover,
  .product-card:hover,
  .category-card:hover,
  .icon-btn:hover { transform: none; }
}

@media (max-width: 767.98px) {
  html { scroll-padding-top: 82px; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  body[data-page="login"],
  body[data-page="register"] { padding-bottom: 0; }
  body[data-page="product-detail"] { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

  .container { --bs-gutter-x: 30px; }
  .section-space { padding: 58px 0; }
  .section-space-sm { padding: 34px 0 58px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: clamp(1.65rem, 7vw, 2rem); line-height: 1.16; }
  .section-heading p { font-size: .94rem; line-height: 1.55; }
  .eyebrow { margin-bottom: 9px; font-size: .68rem; }

  .site-header { min-height: 64px; }
  .site-header .navbar { min-height: 64px; padding: 8px 0; }
  .site-header .navbar-toggler,
  .site-header .navbar-collapse { display: none !important; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-lockup { gap: 9px; }
  .brand-lockup strong { font-size: .86rem; letter-spacing: .055em; }
  .brand-lockup small { font-size: .46rem; letter-spacing: .09em; }

  .mobile-bottom-nav {
    position: fixed;
    z-index: 1038;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    min-height: 66px;
    padding: 6px;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    background: rgba(var(--surface-rgb), .94);
    box-shadow: 0 16px 44px rgba(94, 68, 8, .2);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .mobile-bottom-nav a {
    display: flex;
    min-width: 0;
    min-height: 52px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 14px;
    color: var(--muted);
    font-size: .64rem;
    font-weight: 800;
    line-height: 1.1;
  }
  .mobile-bottom-nav a i { font-size: 1.18rem; line-height: 1; }
  .mobile-bottom-nav a.active { color: var(--on-primary); background: var(--primary-gradient); box-shadow: inset 0 1px rgba(255,255,255,.56); }
  body[data-page="login"] .mobile-bottom-nav,
  body[data-page="register"] .mobile-bottom-nav,
  body[data-page="product-detail"] .mobile-bottom-nav { display: none; }
  body:has(.offcanvas.show) .mobile-bottom-nav,
  body.filter-open .mobile-bottom-nav { opacity: 0; pointer-events: none; transform: translateY(20px); }
  .scroll-top { display: none; }
  .toast-container { right: 10px !important; bottom: 84px !important; left: 10px !important; width: auto !important; padding: 0 !important; }

  .hero-section { padding-top: 34px; }
  .hero-copy { padding-bottom: 22px; }
  .hero-copy h1 { margin-bottom: 17px; font-size: clamp(2.15rem, 10.8vw, 2.8rem); line-height: 1.02; }
  .hero-copy > p { margin-bottom: 22px; font-size: .96rem; line-height: 1.55; }
  .hero-actions { gap: 9px; }
  .hero-actions .btn { min-height: 50px; font-size: .93rem; }
  .trust-line { justify-content: center; margin-top: 20px; font-size: .76rem; line-height: 1.45; text-align: center; }
  .hero-visual { height: 248px; margin-top: 0; }
  .hero-card-main { inset: 34px 18px 24px; padding: 20px; border-radius: 24px; }
  .hero-controller { padding: 12px 25px; font-size: 1.75rem; }
  .controller-core { width: 54px; height: 54px; }
  .controller-core i { font-size: 1.1rem; }
  .floating-card { min-width: 122px; padding: 8px 10px; }
  .floating-card > i { width: 30px; height: 30px; }
  .floating-card small { font-size: .57rem; }
  .floating-card strong { font-size: .72rem; }
  .floating-rank { top: 7px; right: 0; }
  .floating-safe { bottom: 4px; left: 0; }
  .hero-stats > div { min-height: 72px; padding: 13px 8px; }

  .category-grid {
    display: flex;
    gap: 12px;
    margin-inline: -15px;
    padding: 2px 15px 10px;
    overflow-x: auto;
    scroll-padding-inline: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .category-grid::-webkit-scrollbar,
  .featured-section .products-layout::-webkit-scrollbar,
  .mobile-filter-chips::-webkit-scrollbar { display: none; }
  .category-card { flex: 0 0 min(78vw, 310px); min-height: 82px; scroll-snap-align: start; }

  .featured-section .products-layout {
    display: flex;
    gap: 14px;
    margin-inline: -15px;
    padding: 2px 15px 12px;
    overflow-x: auto;
    scroll-padding-inline: 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .featured-section .product-card { flex: 0 0 min(84vw, 330px); scroll-snap-align: start; }
  .featured-section .heading-row .btn { width: 100%; }

  .why-section .row,
  .review-section .row {
    flex-wrap: nowrap;
    margin-inline: -15px;
    padding: 2px 15px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .why-section .row::-webkit-scrollbar,
  .review-section .row::-webkit-scrollbar { display: none; }
  .why-section .row > div,
  .review-section .row > div { flex: 0 0 min(84vw, 330px); padding-inline: 6px; scroll-snap-align: start; }

  .compact-hero { padding: 22px 0 26px; }
  .compact-hero .breadcrumb { display: none; }
  .page-title-row h1 { max-width: 330px; margin-bottom: 8px; font-size: clamp(1.8rem, 8vw, 2.15rem); line-height: 1.12; }
  .page-title-row p { max-width: 345px; font-size: .86rem; line-height: 1.5; }
  .catalog-section.section-space-sm { padding-top: 18px; }
  .catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 12px;
    padding: 9px;
    border-radius: 17px;
    background: rgba(var(--surface-rgb), .82);
  }
  .catalog-search { grid-column: 1 / -1; order: 0; }
  .catalog-search .form-control { min-height: 48px; padding-left: 43px; font-size: .82rem; }
  .catalog-search > i { left: 16px; }
  .catalog-toolbar > .btn { width: 100%; min-height: 46px; padding-inline: 10px; }
  .catalog-toolbar .sort-control { width: 100%; }
  .catalog-toolbar .sort-control .form-select { min-height: 46px; padding-block: 8px; font-size: .78rem; }
  .catalog-toolbar .view-switch { display: none; }
  .mobile-filter-chips {
    display: flex;
    gap: 8px;
    margin: 0 -15px 24px;
    padding: 0 15px 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .mobile-filter-chips button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--muted);
    background: var(--surface);
    font-size: .74rem;
    font-weight: 800;
  }
  .mobile-filter-chips button.active { border-color: transparent; color: var(--on-primary); background: var(--primary-gradient); }
  .results-heading { margin-bottom: 14px; }
  .results-heading > div span { font-size: .9rem; }
  .results-heading > div small { font-size: .65rem; }
  .verified-note { font-size: .65rem; }
  .products-main .products-layout { gap: 16px; }
  .products-main .product-card { border-radius: 20px; }
  .products-main .product-art { aspect-ratio: 16 / 8.7; }
  .products-main .product-content { padding: 16px; }
  .products-main .product-content h3 { font-size: 1.02rem; line-height: 1.35; }
  .products-main .account-stats { gap: 7px; margin: 13px 0; }
  .products-main .account-stats span { min-height: 56px; justify-content: center; font-size: .64rem; }
  .products-main .product-bottom { align-items: end; }
  .products-main .product-actions { flex: 0 0 auto; }
  .products-main .product-actions .btn { min-height: 46px; padding-inline: 15px; }
  .products-main .wishlist-btn { width: 44px; height: 44px; }

  .filter-panel .form-select,
  .filter-panel .filter-check,
  .filter-panel .filter-radio { min-height: 46px; }
  .filter-panel form { padding-bottom: 74px; }
  .filter-panel .btn-close { filter: none; opacity: .7; }
  .filter-panel #filterResultButton { position: fixed; z-index: 1048; bottom: max(14px, env(safe-area-inset-bottom)); left: 20px; width: calc(min(350px, 90vw) - 40px) !important; min-height: 52px; margin: 0; outline: 14px solid var(--surface); box-shadow: 0 -12px 24px var(--surface); }

  .detail-page .section-space-sm { padding-top: 16px; }
  .detail-container { padding-inline: 8px; }
  .breadcrumb-wrap { margin-bottom: 14px; overflow: hidden; }
  .breadcrumb-wrap .breadcrumb { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .main-product-art { border-radius: 20px; }
  .main-image-display { min-height: 0; border-radius: 18px; }
  .image-zoom-trigger { right: 10px; bottom: 10px; min-height: 44px; padding: 9px 12px; }
  .image-lightbox { width: 98vw; padding: 54px 8px 12px; border-radius: 14px; }
  .main-product-art .detail-art { aspect-ratio: 16 / 10; }
  .main-product-art .art-icon { font-size: 4.2rem; }
  .gallery-thumbs { gap: 8px; margin-top: 9px; }
  .gallery-thumb { border-radius: 10px; }
  .gallery-note { margin-top: 9px; font-size: .67rem; line-height: 1.45; }
  .detail-summary { padding-top: 8px; }
  .detail-badges { margin-bottom: 12px; }
  .detail-summary h1 { margin-bottom: 10px; font-size: clamp(1.7rem, 8vw, 2rem); }
  .detail-description { margin-bottom: 16px; font-size: .86rem; }
  .detail-price strong { font-size: 1.75rem; }
  .detail-features-mini > span { min-width: 0; min-height: 76px; justify-content: center; padding: 9px 6px; text-align: center; }
  .detail-features-mini i { align-self: center; }
  .detail-features-mini small { font-size: .58rem; }
  .detail-features-mini strong { width: 100%; font-size: .7rem; }
  .detail-actions { display: none; }
  .seller-card { margin-top: 4px; }
  .developer-warning { margin-top: 30px; }
  .detail-tabs-section { border-radius: 18px; }
  .detail-tabs { scroll-snap-type: x proximity; scrollbar-width: none; }
  .detail-tabs .nav-link { min-height: 44px; scroll-snap-align: start; }
  .detail-tab-content { padding: 18px; }
  .mobile-buy-dock {
    position: fixed;
    z-index: 1040;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 10px;
    padding: 9px;
    border: 1px solid var(--border-strong);
    border-radius: 19px;
    background: rgba(var(--surface-rgb), .96);
    box-shadow: 0 16px 44px rgba(94,68,8,.24);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  .mobile-buy-dock > span { display: flex; min-width: 0; flex-direction: column; padding-left: 7px; line-height: 1.25; }
  .mobile-buy-dock small { color: var(--muted); font-size: .59rem; }
  .mobile-buy-dock strong { overflow: hidden; font-size: .98rem; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-buy-dock .btn { min-height: 50px; padding-inline: 10px; font-size: .82rem; }

  .auth-form-panel .form-control { min-height: 50px; font-size: .9rem; }
  .auth-form-panel .btn-lg { min-height: 52px; }
  .auth-form-panel .remember-check { min-height: 44px; align-items: center; }
  .auth-form-panel .form-check-input { width: 18px; height: 18px; flex: 0 0 18px; }
}

@media (max-width: 389.98px) {
  .brand-lockup small { display: none; }
  .hero-copy h1 { font-size: 2rem; }
  .hero-visual { height: 224px; }
  .hero-card-main { inset-inline: 8px; }
  .mobile-bottom-nav { right: 6px; left: 6px; }
  .mobile-bottom-nav a { font-size: .6rem; }
  .products-main .product-bottom { align-items: stretch; flex-direction: column; }
  .products-main .product-actions,
  .products-main .product-actions .btn { width: 100%; }
}
