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

:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --accent: #0b7f5f; /* Deep Emerald */
  --accent-light: #e6f4ea;
  --accent-hover: #09684e;
  --accent-2: #f59e0b; /* Amber */
  --accent-2-light: #fef3c7;
  --danger: #ef4444; /* Red */
  --danger-light: #fee2e2;
  --zalo-blue: #0068ff;
  --zalo-light: #e6f0ff;
  --font: 'Outfit', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Pixup V2 keyboard market theme */
:root {
  --keeb-bg: #080a0f;
  --keeb-bg-2: #0d1118;
  --keeb-panel: #121824;
  --keeb-panel-2: #171f2c;
  --keeb-ink: #f5f7fa;
  --keeb-muted: #9aa8b8;
  --keeb-line: rgba(255, 255, 255, 0.1);
  --keeb-cyan: #00d1ff;
  --keeb-lime: #a3ff12;
  --keeb-orange: #ff7a1a;
  --keeb-red: #ff476f;
}

body.keeb-theme {
  --bg: var(--keeb-bg);
  --paper: var(--keeb-panel);
  --ink: var(--keeb-ink);
  --muted: var(--keeb-muted);
  --line: var(--keeb-line);
  --line-light: rgba(255, 255, 255, 0.06);
  --accent: var(--keeb-cyan);
  --accent-light: rgba(0, 209, 255, 0.12);
  --accent-hover: #67e8ff;
  --accent-2: var(--keeb-lime);
  background:
    linear-gradient(180deg, rgba(0, 209, 255, 0.08), transparent 360px),
    radial-gradient(circle at 12% 8%, rgba(163, 255, 18, 0.09), transparent 260px),
    var(--keeb-bg);
  color: var(--keeb-ink);
  letter-spacing: 0;
}

.keeb-theme img {
  max-width: 100%;
}

.keeb-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.keeb-header {
  background: rgba(8, 10, 15, 0.86);
  border-bottom: 1px solid var(--keeb-line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

.keeb-brand .brand-mark,
.keeb-footer .brand-mark {
  background: linear-gradient(135deg, var(--keeb-cyan), var(--keeb-lime));
  color: #081018;
  box-shadow: 0 0 28px rgba(0, 209, 255, 0.22);
}

.keeb-brand small,
.keeb-footer small {
  color: var(--keeb-muted);
}

.keeb-nav a {
  color: rgba(245, 247, 250, 0.78);
}

.keeb-nav a:hover,
.keeb-nav a.active {
  color: var(--keeb-ink);
}

.keeb-nav a.active::after {
  background: var(--keeb-cyan);
  box-shadow: 0 0 14px rgba(0, 209, 255, 0.8);
}

.keeb-nav .dropdown-trigger svg {
  width: 12px;
  height: 12px;
}

.keeb-theme .dropdown-menu {
  background: #0f1520;
  border: 1px solid var(--keeb-line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.keeb-search input,
.keeb-theme input,
.keeb-theme select,
.keeb-theme textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--keeb-line);
  color: var(--keeb-ink);
}

.keeb-search input::placeholder,
.keeb-theme input::placeholder,
.keeb-theme textarea::placeholder {
  color: rgba(154, 168, 184, 0.74);
}

.keeb-search input:focus,
.keeb-theme input:focus,
.keeb-theme select:focus,
.keeb-theme textarea:focus {
  border-color: rgba(0, 209, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.keeb-theme .header-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--keeb-line);
  color: var(--keeb-ink);
}

.keeb-theme .keeb-zalo {
  background: rgba(0, 209, 255, 0.12);
  border-color: rgba(0, 209, 255, 0.26);
  color: var(--keeb-cyan);
}

.keeb-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: 56px 0 36px;
}

.keeb-hero-copy h1,
.inventory-hero h1 {
  margin: 0;
  max-width: 760px;
  color: var(--keeb-ink);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead,
.inventory-hero p,
.keeb-knowledge-strip p {
  max-width: 650px;
  color: var(--keeb-muted);
  font-size: 18px;
  line-height: 1.7;
}

.keeb-theme .eyebrow {
  color: var(--keeb-lime);
  letter-spacing: 0.12em;
}

.keeb-hero-actions,
.keeb-card-footer,
.keeb-hero .hero-product-info,
.keeb-result-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.keeb-theme .button.primary {
  background: linear-gradient(135deg, var(--keeb-cyan), #49f0ff);
  color: #061018;
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(0, 209, 255, 0.18);
}

.keeb-theme .button.ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--keeb-ink);
  border-color: var(--keeb-line);
}

.keeb-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 640px;
  margin-top: 34px;
}

.keeb-metrics div,
.rail-card,
.keeb-panel,
.keeb-product-card,
.inventory-hero,
.keeb-knowledge-strip,
.keeb-secondary-filters {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--keeb-line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.keeb-metrics div {
  padding: 18px;
  border-radius: 8px;
}

.keeb-metrics strong {
  display: block;
  font-size: 30px;
  color: var(--keeb-cyan);
}

.keeb-metrics span {
  color: var(--keeb-muted);
  font-size: 13px;
}

.keeb-hero-stage {
  position: relative;
  min-height: 520px;
}

.keeb-stage-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  transform: perspective(900px) rotateX(58deg) rotateZ(-24deg);
  opacity: 0.58;
}

.keeb-stage-grid span {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 8px;
  background: linear-gradient(180deg, #202a39, #0f1520);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 247, 250, 0.72);
  font-weight: 800;
  box-shadow: 0 18px 0 #070a0f, 0 28px 48px rgba(0, 0, 0, 0.34);
}

.hero-product {
  position: absolute;
  left: 7%;
  right: 0;
  bottom: 24px;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(18, 24, 36, 0.86);
  border: 1px solid rgba(0, 209, 255, 0.22);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.hero-product-media {
  aspect-ratio: 16 / 10;
  background: #0c111a;
}

.hero-product-media img,
.keeb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-product-info {
  justify-content: space-between;
  padding: 18px;
}

.hero-product-info span {
  color: var(--keeb-lime);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-product-info h2 {
  margin: 4px 0;
  font-size: 18px;
}

.hero-product-info strong {
  color: var(--keeb-cyan);
  white-space: nowrap;
}

.keeb-quick-rails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 10px 0 58px;
}

.rail-card {
  min-height: 118px;
  border-radius: 8px;
  padding: 18px;
}

.rail-card span,
.keeb-card-meta,
.keeb-result-line {
  color: var(--keeb-muted);
  font-size: 13px;
}

.rail-card strong {
  display: block;
  margin-top: 20px;
  color: var(--keeb-ink);
  font-size: 22px;
}

.keeb-section {
  margin: 56px 0;
}

.keeb-section-header {
  margin: 0 0 22px;
}

.keeb-section-header h2,
.keeb-panel h2,
.keeb-knowledge-strip h2 {
  margin: 0;
  color: var(--keeb-ink);
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: 0;
}

.keeb-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.keeb-product-card {
  overflow: hidden;
  border-radius: 8px;
  color: var(--keeb-ink);
}

.keeb-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.36);
}

.keeb-product-card.sold .keeb-card-media img {
  filter: grayscale(0.8) brightness(0.62);
}

.keeb-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  background: #0c111a;
}

.keycap-placeholder,
.placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.12), rgba(163, 255, 18, 0.08)),
    #101722;
}

.keycap-placeholder span,
.placeholder span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 8px;
  background: #202a39;
  color: var(--keeb-cyan);
  font-weight: 900;
  box-shadow: 0 12px 0 #080a0f;
}

.keeb-status,
.sound-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 6px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  background: rgba(163, 255, 18, 0.15);
  color: var(--keeb-lime);
  border: 1px solid rgba(163, 255, 18, 0.24);
}

.keeb-status.sold {
  background: rgba(255, 71, 111, 0.15);
  color: #ff8aa4;
  border-color: rgba(255, 71, 111, 0.3);
}

.sound-badge {
  left: auto;
  right: 12px;
  background: rgba(255, 122, 26, 0.16);
  color: #ffba82;
  border-color: rgba(255, 122, 26, 0.3);
}

.keeb-card-body {
  padding: 16px;
}

.keeb-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.keeb-card-body h3 {
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--keeb-ink);
  font-size: 18px;
  line-height: 1.3;
}

.keeb-card-body p {
  min-height: 42px;
  margin: 0 0 12px;
  color: var(--keeb-muted);
  font-size: 13px;
  line-height: 1.45;
}

.keeb-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  margin-bottom: 12px;
}

.keeb-tag-row span {
  border-radius: 6px;
  padding: 4px 7px;
  background: rgba(0, 209, 255, 0.09);
  color: var(--keeb-cyan);
  font-size: 11px;
  font-weight: 700;
}

.keeb-card-footer {
  justify-content: space-between;
  border-top: 1px solid var(--keeb-line);
  padding-top: 12px;
}

.keeb-card-footer strong {
  color: var(--keeb-cyan);
  font-size: 18px;
}

.keeb-card-footer span,
.keeb-card-footer a {
  color: var(--keeb-lime);
  font-size: 13px;
  font-weight: 800;
}

.keeb-split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 68px 0;
}

.keeb-panel {
  border-radius: 8px;
  padding: clamp(22px, 4vw, 38px);
}

.keeb-proof-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.keeb-proof-list div {
  border-left: 3px solid var(--keeb-cyan);
  padding-left: 14px;
}

.keeb-proof-list strong {
  display: block;
  color: var(--keeb-ink);
}

.keeb-proof-list span {
  color: var(--keeb-muted);
}

.keeb-panel form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.keeb-panel label span,
.inventory-hero label span {
  display: block;
  margin-bottom: 6px;
  color: var(--keeb-muted);
  font-size: 13px;
  font-weight: 700;
}

.keeb-panel input,
.keeb-panel select,
.inventory-hero input,
.inventory-hero select,
.keeb-inventory-hero input,
.keeb-inventory-hero select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 12px;
}

.keeb-knowledge-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
}

.keeb-footer {
  margin-top: 70px;
  background: #070a0f;
  border-top: 1px solid var(--keeb-line);
}

.keeb-footer p,
.keeb-footer a,
.keeb-footer .footer-contact-item {
  color: var(--keeb-muted);
}

.keeb-footer h4 {
  color: var(--keeb-ink);
}

.keeb-inventory-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  border-radius: 8px;
  margin: 34px 0 18px;
  padding: clamp(24px, 5vw, 48px);
}

.keeb-inventory-hero h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.inventory-stats {
  display: grid;
  grid-template-columns: repeat(3, 90px);
  gap: 10px;
}

.inventory-stats div {
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--keeb-line);
  text-align: center;
}

.inventory-stats strong {
  display: block;
  color: var(--keeb-cyan);
  font-size: 24px;
}

.inventory-stats span {
  color: var(--keeb-muted);
  font-size: 12px;
}

.inventory-hero {
  display: flex;
}

.inventory-hero.keeb-inventory-hero {
  display: flex;
}

.inventory-hero.keeb-inventory-hero + .inventory-hero {
  display: none;
}

.keeb-theme .inventory-hero:not(.keeb-inventory-hero) {
  display: none;
}

.inventory-hero.keeb-inventory-hero {
  display: flex;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  display: flex;
}

.keeb-theme .inventory-hero.keeb-inventory-hero + * {
  margin-top: 18px;
}

.keeb-theme .inventory-hero label {
  display: block;
}

.keeb-theme .inventory-hero p {
  margin-bottom: 0;
}

.keeb-theme .inventory-hero .eyebrow {
  margin-bottom: 10px;
}

.inventory-hero.keeb-inventory-hero .eyebrow {
  margin-bottom: 10px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero p {
  max-width: 720px;
}

.keeb-theme .inventory-stats {
  flex: 0 0 auto;
}

.keeb-theme .inventory-stats div {
  min-width: 88px;
}

.inventory-hero.keeb-inventory-hero ~ .keeb-chip-filters {
  margin-top: 14px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero h1 {
  margin: 0;
}

.inventory-hero.keeb-inventory-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
}

.keeb-theme .inventory-hero.keeb-inventory-hero,
.inventory-hero.keeb-inventory-hero {
  border: 1px solid var(--keeb-line);
}

.inventory-hero.keeb-inventory-hero h1 {
  color: var(--keeb-ink);
}

.inventory-hero.keeb-inventory-hero p {
  color: var(--keeb-muted);
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats {
  margin: 0;
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats div {
  background: rgba(255, 255, 255, 0.06);
}

.inventory-hero.keeb-inventory-hero + .inventory-hero {
  display: none;
}

.inventory-hero.keeb-inventory-hero {
  color: var(--keeb-ink);
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  color: var(--keeb-ink);
}

.keeb-theme .inventory-hero.keeb-inventory-hero * {
  letter-spacing: 0;
}

.inventory-hero.keeb-inventory-hero * {
  letter-spacing: 0;
}

.inventory-hero.keeb-inventory-hero {
  overflow: hidden;
}

.inventory-hero.keeb-inventory-hero::after {
  content: "";
  position: absolute;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  position: relative;
}

.inventory-hero.keeb-inventory-hero::after {
  right: -80px;
  top: -80px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(0, 209, 255, 0.16);
  border-radius: 24px;
  transform: rotate(20deg);
}

.inventory-hero.keeb-inventory-hero > * {
  position: relative;
  z-index: 1;
}

.keeb-theme .inventory-hero.keeb-inventory-hero > * {
  position: relative;
  z-index: 1;
}

.inventory-hero.keeb-inventory-hero .inventory-stats {
  position: relative;
  z-index: 1;
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats {
  position: relative;
  z-index: 1;
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats span {
  color: var(--keeb-muted);
}

.inventory-hero.keeb-inventory-hero .inventory-stats span {
  color: var(--keeb-muted);
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats strong {
  color: var(--keeb-cyan);
}

.inventory-hero.keeb-inventory-hero .inventory-stats strong {
  color: var(--keeb-cyan);
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats div {
  border: 1px solid var(--keeb-line);
}

.inventory-hero.keeb-inventory-hero .inventory-stats div {
  border: 1px solid var(--keeb-line);
}

.keeb-theme .inventory-hero.keeb-inventory-hero .inventory-stats {
  display: grid;
}

.inventory-hero.keeb-inventory-hero .inventory-stats {
  display: grid;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  min-height: auto;
}

.inventory-hero.keeb-inventory-hero {
  min-height: auto;
}

.keeb-theme .inventory-hero.keeb-inventory-hero h1 {
  line-height: 1;
}

.inventory-hero.keeb-inventory-hero h1 {
  line-height: 1;
}

.keeb-theme .inventory-hero.keeb-inventory-hero p {
  font-size: 17px;
}

.inventory-hero.keeb-inventory-hero p {
  font-size: 17px;
}

.inventory-hero.keeb-inventory-hero + .inventory-hero {
  display: none !important;
}

.keeb-theme .inventory-hero.keeb-inventory-hero + .inventory-hero {
  display: none !important;
}

.keeb-theme .inventory-hero:not(.keeb-inventory-hero) {
  display: none !important;
}

.inventory-hero:not(.keeb-inventory-hero) {
  display: none;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  display: flex !important;
}

.inventory-hero.keeb-inventory-hero {
  display: flex !important;
}

.inventory-hero.keeb-inventory-hero {
  margin-bottom: 18px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  margin-bottom: 18px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero + .inventory-hero {
  margin: 0;
}

.inventory-hero.keeb-inventory-hero + .inventory-hero {
  margin: 0;
}

.inventory-hero.keeb-inventory-hero {
  gap: 24px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  gap: 24px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  align-items: flex-end;
}

.inventory-hero.keeb-inventory-hero {
  align-items: flex-end;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  justify-content: space-between;
}

.inventory-hero.keeb-inventory-hero {
  justify-content: space-between;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  padding: clamp(24px, 5vw, 48px);
}

.inventory-hero.keeb-inventory-hero {
  padding: clamp(24px, 5vw, 48px);
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  border-radius: 8px;
}

.inventory-hero.keeb-inventory-hero {
  border-radius: 8px;
}

.keeb-theme .inventory-hero.keeb-inventory-hero {
  margin-top: 34px;
}

.inventory-hero.keeb-inventory-hero {
  margin-top: 34px;
}

.keeb-chip-filters,
.keeb-secondary-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.keeb-chip-filters a,
.keeb-secondary-filters label {
  border-radius: 999px;
  border: 1px solid var(--keeb-line);
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--keeb-muted);
  font-size: 13px;
  font-weight: 800;
}

.keeb-chip-filters a.active,
.keeb-chip-filters a:hover,
.keeb-secondary-filters label:hover {
  color: var(--keeb-cyan);
  border-color: rgba(0, 209, 255, 0.32);
  background: rgba(0, 209, 255, 0.1);
}

.keeb-secondary-filters {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
}

.keeb-secondary-filters input {
  width: auto;
  min-height: auto;
  margin-right: 6px;
}

.keeb-result-line {
  justify-content: space-between;
  margin: 22px 0 16px;
}

.keeb-result-line a {
  color: var(--keeb-lime);
  font-weight: 800;
}

.inventory-grid {
  margin-bottom: 32px;
}

.keeb-pagination {
  justify-content: center;
}

.keeb-theme .pagination-item {
  background: rgba(255, 255, 255, 0.06);
  color: var(--keeb-muted);
  border-color: var(--keeb-line);
}

.keeb-theme .pagination-item.active {
  background: var(--keeb-cyan);
  color: #061018;
}

@media (max-width: 1100px) {
  .keeb-header {
    flex-wrap: wrap;
  }

  .keeb-search {
    order: 3;
    width: 100%;
  }

  .keeb-hero,
  .keeb-split-section {
    grid-template-columns: 1fr;
  }

  .keeb-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .keeb-quick-rails {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .keeb-main {
    width: min(100% - 20px, 1180px);
  }

  .keeb-header {
    position: static;
    padding: 12px 10px;
  }

  .keeb-nav {
    order: 4;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-actions {
    margin-left: auto;
  }

  .keeb-theme .header-btn span small {
    display: none;
  }

  .keeb-hero {
    min-height: auto;
    gap: 26px;
    padding-top: 34px;
  }

  .keeb-hero-copy h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .keeb-metrics,
  .keeb-quick-rails,
  .keeb-product-grid,
  .inventory-stats {
    grid-template-columns: 1fr;
  }

  .keeb-hero-stage {
    min-height: 420px;
  }

  .keeb-stage-grid span {
    min-height: 58px;
  }

  .hero-product {
    left: 0;
  }

  .keeb-inventory-hero {
    flex-direction: column;
    align-items: stretch !important;
  }

  .inventory-stats {
    width: 100%;
  }

  .keeb-knowledge-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: -0.01em;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font-family: var(--font);
  font-size: 15px;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(16px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: white;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(11, 127, 95, 0.2);
}

.brand strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  display: block;
}

.brand small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 15px;
}

.nav > a {
  color: var(--muted);
  position: relative;
  padding: 6px 0;
}

.nav > a:hover,
.nav > a.active {
  color: var(--ink);
}

.nav > a.active::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
}

/* Header Right Utilities */
.header-search {
  position: relative;
  width: min(260px, 100%);
}

.header-search input {
  padding: 8px 12px 8px 36px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--line-light);
  width: 100%;
  transition: var(--transition);
}

.header-search input:focus {
  outline: none;
  background: white;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 127, 95, 0.1);
}

.header-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted);
}

.header-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid var(--line);
  cursor: pointer;
  background: white;
}

.header-btn.zalo-btn {
  border-color: rgba(0, 104, 255, 0.2);
  color: var(--zalo-blue);
  background: var(--zalo-light);
}

.header-btn.zalo-btn:hover {
  background: #d4e6ff;
  border-color: var(--zalo-blue);
}

.header-btn.admin-btn {
  color: var(--ink);
}

.header-btn.admin-btn:hover {
  background: var(--line-light);
}

.header-btn span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.header-btn span small {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

/* Main Content Area */
main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 64px;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

.breadcrumbs svg {
  width: 12px;
  height: 12px;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 48px 0 24px;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero p:not(.eyebrow) {
  max-width: 540px;
  color: #475569;
  font-size: 17px;
  line-height: 1.6;
  margin: 16px 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.button:hover {
  border-color: var(--muted);
  background: var(--line-light);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.button.primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
}

.button.ghost:hover {
  background: var(--line-light);
}

.button.zalo-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.button.zalo-outline:hover {
  background: var(--accent-light);
}

.button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: var(--radius-sm);
}

.button.mini {
  min-height: 32px;
  padding: 0 10px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.button.danger {
  border-color: var(--danger);
  color: var(--danger);
}

.button.danger:hover {
  background: var(--danger-light);
}

.button.full {
  width: 100%;
}

.hero-collage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  background: radial-gradient(circle, rgba(11, 127, 95, 0.05) 0%, transparent 70%);
}

.hero-collage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.hero-badge-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.hero-badge-check svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Features Bar */
.features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-item h3 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}

.feature-divider {
  width: 1px;
  background: var(--line);
}

/* Section Header */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 26px;
  font-weight: 850;
  margin: 0;
}

.section-header-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

.section-header-link:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Home Page Horizontal Tabs */
.home-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 99px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tab-btn:hover {
  background: var(--line-light);
}

.tab-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* Grid & Cards (Vertical Layout for Listing) */
.grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 32px;
}

.item-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.item-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(0, 0, 0, 0.02);
  border-color: #cbd5e1;
}

.item-card.sold {
  opacity: 0.75;
}

.image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.item-card:hover .image-wrap img {
  transform: scale(1.03);
}

.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  width: 100%;
  height: 100%;
}

.placeholder span {
  font-size: 32px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
}

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.badge.sold {
  background: #94a3b8;
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 2;
  transition: var(--transition);
}

.fav-btn:hover {
  transform: scale(1.1);
  background: white;
}

.fav-btn svg {
  width: 14px;
  height: 14px;
  color: var(--muted);
  fill: none;
}

.fav-btn.active svg {
  color: #ef4444;
  fill: #ef4444;
}

.item-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin: 0 0 6px;
}

.item-body h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.condition-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
  line-height: 1.3;
}

.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line-light);
  margin-top: auto;
}

.item-bottom strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.zalo-outline-link {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: white;
}

.zalo-outline-link:hover {
  background: var(--accent-light);
}

.detail-btn {
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--line-light);
}

.detail-btn:hover {
  border-color: var(--muted);
  color: var(--ink);
}

/* Home horizontal cards list layout (Image 3) */
.home-items-horizontal {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 32px;
}

.horizontal-card {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.horizontal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.horizontal-card .image-wrap {
  width: 220px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-bottom: none;
  border-right: 1px solid var(--line-light);
}

.horizontal-card .item-body {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  padding: 20px;
}

.horizontal-card .item-info-left {
  display: flex;
  flex-direction: column;
}

.horizontal-card .item-actions-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  border-left: 1px solid var(--line-light);
  padding-left: 20px;
}

.horizontal-card .specs-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 12px;
}

.spec-tag {
  background: var(--line-light);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Inventory Listing Page Layout (Image 1) */
.inventory-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 16px;
}

.inventory-stats-bar {
  display: grid;
  grid-template-columns: 1fr 120px 120px 120px;
  align-items: center;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.inventory-stats-bar h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 850;
}

.stat-box {
  border-left: 1px solid var(--line);
  padding-left: 16px;
}

.stat-box small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.stat-box strong {
  font-size: 20px;
  font-weight: 800;
}

.stat-box.available strong {
  color: var(--accent);
}

.stat-box.sold strong {
  color: var(--muted);
}

/* Sidebar Filters */
.filters-sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.filters-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.filters-header a {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.filters-header a:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group h4 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.filter-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  cursor: pointer;
}

.filter-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-checkbox-wrap input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--accent);
}

.filter-item-count {
  font-size: 11px;
  color: var(--muted);
}

.filter-item.active {
  font-weight: 600;
  color: var(--accent);
}

/* Price Range Slider */
.price-slider-container {
  padding: 8px 4px;
}

.price-inputs {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.price-inputs input {
  padding: 6px;
  font-size: 12px;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.price-inputs span {
  text-align: center;
  color: var(--muted);
}

/* Right Content Area of Listing */
.inventory-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.list-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-sm);
}

.list-top-bar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-grow: 1;
}

.list-top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-top-bar-right select {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.pagination-item {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.pagination-item:hover {
  background: var(--line-light);
  border-color: var(--muted);
}

.pagination-item.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.pagination-item.dots {
  border: none;
  background: transparent;
  cursor: default;
}

/* Detail Page Layout (Image 2) */
.detail-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-top: 16px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-main-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.detail-main-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.detail-carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.05);
}

.detail-carousel-btn.prev {
  left: 16px;
}

.detail-carousel-btn.next {
  right: 16px;
}

.detail-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.detail-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: var(--accent);
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumb-more {
  background: rgba(15, 23, 42, 0.6);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

/* Detail Right Column Info */
.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.detail-badge-row .status-badge {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 12px;
}

.detail-badge-row .status-badge.sold {
  background: #f1f5f9;
  color: var(--muted);
}

.detail-badge-row .location-label {
  font-size: 13px;
  color: var(--muted);
}

.detail-info h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.25;
}

.detail-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-price-box strong {
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
}

.detail-price-box del {
  font-size: 16px;
  color: var(--muted);
}

.detail-discount-tag {
  background: #fee2e2;
  color: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

.detail-intro {
  font-size: 15px;
  color: #475569;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Specs Highlight Grid */
.detail-specs-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 20px;
}

.spec-highlight-item {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 1.3;
}

.spec-highlight-item small {
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 2px;
  text-transform: uppercase;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.spec-highlight-item strong {
  color: var(--ink);
  font-weight: 700;
}

/* Machine Condition Box */
.condition-box {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 24px;
}

.condition-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.condition-box-title h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
}

.condition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.condition-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
}

.condition-label {
  color: var(--muted);
}

.condition-val {
  font-weight: 600;
  color: var(--ink);
}

/* Detail Action Buttons */
.detail-actions {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  margin-bottom: 24px;
}

.detail-actions .button {
  min-height: 48px;
  font-size: 15px;
}

.detail-actions .button.zalo-btn {
  border-color: var(--accent);
  color: var(--accent);
}

.detail-actions .button.zalo-btn:hover {
  background: var(--accent-light);
}

.detail-actions .button.deposit-btn {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  font-weight: 700;
}

.detail-actions .button.deposit-btn:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.detail-actions .button.deposit-btn span {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.detail-actions .button.deposit-btn span small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.8;
}

/* Guarantee Points Row */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.guarantee-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* Tabs & Tab Content */
.detail-tabs-section {
  margin-top: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tabs-header {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.tab-link {
  padding: 14px 24px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: transparent;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tab-link:hover {
  color: var(--ink);
}

.tab-link.active {
  color: var(--accent);
  background: white;
}

.tab-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.tabs-content {
  padding: 24px;
}

.tab-pane {
  display: none;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.tab-pane.active {
  display: block;
}

.tab-pane ul {
  padding-left: 20px;
}

.tab-pane li {
  margin-bottom: 8px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line-light);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td.label-cell {
  font-weight: 600;
  color: var(--muted);
  width: 240px;
}

.specs-table td.value-cell {
  color: var(--ink);
}

/* Site Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  padding: 48px clamp(16px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  margin-top: 64px;
  background: white;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.02);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col.brand-col {
  max-width: 320px;
}

.footer-col h4 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--line-light);
  color: var(--accent);
  border-color: var(--accent);
}

/* Forms & Auth Pages */
.auth-page,
.form-page {
  display: grid;
  place-items: start center;
  padding: 64px 0;
  min-height: 70vh;
}

.auth-box,
.item-form {
  width: min(480px, 100%);
  padding: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.item-form {
  width: min(840px, 100%);
}

.product-editor {
  width: min(980px, 100%);
  padding: 0;
  overflow: hidden;
}

.product-editor > .eyebrow,
.product-editor > h1 {
  padding: 0 32px;
}

.product-editor > .eyebrow {
  margin-top: 32px;
}

.product-editor-page {
  padding-top: 40px;
}

.auth-box h1,
.item-form h1 {
  font-size: 26px;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--ink);
}

label {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}

input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--ink);
  padding: 10px 12px;
  font-size: 14.5px;
  transition: var(--transition);
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 127, 95, 0.1);
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.editor-section {
  margin: 0;
  padding: 24px 32px;
  border-top: 1px solid var(--line-light);
}

.editor-section:first-of-type {
  border-top: 0;
}

.section-heading,
.collapsible-section > summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading span,
.collapsible-section > summary span {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
}

.section-heading small,
.collapsible-section > summary small {
  max-width: 420px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: right;
}

.field-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.image-slot-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.image-slot {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 132px;
  aspect-ratio: 1 / 1;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--accent);
  text-align: center;
  overflow: hidden;
}

button.image-slot {
  cursor: pointer;
}

button.image-slot:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.image-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slot.filled {
  border-style: solid;
  background: white;
}

.image-slot span:not(.upload-icon) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 8px;
  background: rgba(15, 23, 42, 0.72);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.image-slot.pending span:not(.upload-icon) {
  background: rgba(11, 127, 95, 0.85);
}

.upload-icon {
  display: block;
  font-size: 32px;
  line-height: 1;
  font-weight: 400;
}

.image-slot strong {
  display: block;
  padding: 0 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.image-slot small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.video-upload-block {
  margin-top: 18px;
}

.video-slot {
  position: relative;
  display: grid;
  place-items: center;
  width: min(280px, 100%);
  min-height: 150px;
  aspect-ratio: 16 / 9;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  color: var(--accent);
  text-align: center;
  overflow: hidden;
  cursor: pointer;
}

.video-slot:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.video-slot video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020617;
}

.video-slot strong {
  display: block;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.video-slot small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.video-slot > span:not(.upload-icon) {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 5px 8px;
  background: rgba(11, 127, 95, 0.88);
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.sr-only-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.inline-details {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.inline-details summary {
  cursor: pointer;
  padding: 10px 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

.inline-details textarea {
  border-width: 1px 0 0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  box-shadow: none;
}

.description-dropzone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 150px;
  padding: 22px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  background: #f8fafc;
  cursor: pointer;
  transition: var(--transition);
}

.description-dropzone:hover,
.description-dropzone.is-dragging {
  border-color: var(--accent);
  background: var(--accent-light);
}

.description-dropzone strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
}

.description-dropzone span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.description-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.description-preview-card {
  position: relative;
  min-height: 120px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: white;
}

.description-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.description-preview-card span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(11, 127, 95, 0.88);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.collapsible-section {
  background: white;
}

.collapsible-section > summary {
  cursor: pointer;
  margin-bottom: 0;
  list-style: none;
}

.collapsible-section > summary::-webkit-details-marker {
  display: none;
}

.collapsible-section > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.collapsible-section[open] > summary {
  margin-bottom: 18px;
}

.collapsible-section[open] > summary::after {
  content: "-";
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  margin-top: 0;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  border-top: 1px solid var(--line-light);
  padding-top: 16px;
}

.error {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--danger-light);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.1);
  margin-bottom: 16px;
  font-size: 13.5px;
  font-weight: 600;
}

/* Admin Dashboard Table */
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 40px 0 20px;
}

.admin-top h1 {
  font-size: 28px;
  font-weight: 850;
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  font-size: 14px;
}

th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--bg);
}

tr:hover td {
  background: var(--bg);
}

tr:last-child td {
  border-bottom: none;
}

.row-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--ink);
}

.row-title img {
  width: 52px;
  height: 39px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
}

.status {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
}

.status.available {
  background: var(--accent-light);
  color: var(--accent);
}

.status.sold {
  background: #f1f5f9;
  color: var(--muted);
}

.status.hidden {
  background: var(--danger-light);
  color: var(--danger);
}

.preview {
  width: 140px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* Media Queries */
@media (max-width: 960px) {
  .product-editor {
    width: 100%;
  }

  .product-editor > .eyebrow,
  .product-editor > h1,
  .editor-section,
  .sticky-actions {
    padding-left: 20px;
    padding-right: 20px;
  }

  .two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .image-slot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .description-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .description-dropzone,
  .section-heading,
  .collapsible-section > summary {
    align-items: stretch;
    flex-direction: column;
  }

  .section-heading small,
  .collapsible-section > summary small {
    max-width: none;
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0;
  }

  .hero-collage {
    height: 240px;
    grid-row: 1;
  }

  .features-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .feature-divider {
    display: none;
  }

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .horizontal-card .item-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .horizontal-card .item-actions-right {
    border-left: none;
    border-top: 1px solid var(--line-light);
    padding-left: 0;
    padding-top: 16px;
    align-items: flex-start;
  }

  .inventory-container {
    grid-template-columns: 1fr;
  }

  .inventory-stats-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-box {
    border-left: none;
    border-top: 1px solid var(--line-light);
    padding-left: 0;
    padding-top: 8px;
  }

  .detail-container {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
    gap: 12px;
  }

  .nav {
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
  }

  .header-search {
    width: 100%;
  }

  .header-btn {
    width: 100%;
    justify-content: center;
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizontal-card {
    flex-direction: column;
  }

  .horizontal-card .image-wrap {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--line-light);
  }

  .list-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .detail-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-actions {
    grid-template-columns: 1fr;
  }

  .specs-table td.label-cell {
    width: 120px;
  }

  .site-footer {
    flex-direction: column;
    gap: 24px;
    padding: 32px 16px;
  }
}

/* Sold watermark overlay for product cards */
.item-card.sold {
  opacity: 0.85;
}

.item-card.sold .image-wrap::after {
  content: "ĐÃ BÁN";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.60);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.1em;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1;
}

/* Sold watermark overlay for product detail main image */
.detail-main-image-wrap.sold::after {
  content: "ĐÃ BÁN / HẾT HÀNG";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 5;
  border-radius: inherit;
}

/* Admin quick action button custom colors */
.button.mini.success-btn {
  border-color: #10b981;
  color: #10b981;
  background: #ecfdf5;
}
.button.mini.success-btn:hover {
  background: #d1fae5;
  color: #047857;
  border-color: #047857;
}
.button.mini.warning-btn {
  border-color: #f59e0b;
  color: #d97706;
  background: #fffbeb;
}
.button.mini.warning-btn:hover {
  background: #fef3c7;
  color: #b45309;
  border-color: #b45309;
}

/* Responsive Video Embeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: var(--radius-md);
  background: #0f172a;
  border: 1px solid var(--line);
  margin-top: 8px;
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Product description landing images */
.description-image-stack {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.description-image-block {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.description-image-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* Header Dropdown Menu */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-trigger {
  cursor: pointer;
  padding: 6px 0;
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown:hover .dropdown-trigger {
  color: var(--ink);
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--paper);
  min-width: 190px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 8px 0;
  z-index: 200;
  margin-top: 12px;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  animation: dropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted) !important;
  transition: var(--transition);
  text-align: left;
}

.dropdown-menu a:hover {
  background-color: var(--line-light);
  color: var(--accent) !important;
}

@keyframes dropdownFadeIn {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Steps Grid Hover Effect */
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md) !important;
  border-color: #cbd5e1 !important;
}

/* Policies Page Table Styling */
.policies-content table th {
  background-color: var(--line-light);
  border-bottom: 2px solid var(--line);
  padding: 12px;
  font-weight: 700;
  color: var(--ink);
}

.policies-content table td {
  padding: 12px;
  border-bottom: 1px solid var(--line-light);
  color: #475569;
}

.policy-nav-link:hover {
  color: var(--accent) !important;
}

/* Blog knowledge hub */
.blog-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 0 24px;
}

.blog-hero-copy {
  max-width: 760px;
}

.blog-hero-copy p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.blog-featured {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 28px;
  align-items: stretch;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

.blog-featured-media {
  min-height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line-light);
  border: 1px solid var(--line);
}

.blog-featured-media img,
.blog-card-media img,
.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body h2 {
  margin: 8px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.blog-featured-body p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.blog-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.blog-card-media {
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--line-light);
}

.blog-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h2 {
  font-size: 18px;
  line-height: 1.35;
  margin: 6px 0 8px;
  min-height: 48px;
}

.blog-card-body p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 12px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.blog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  color: var(--accent);
  font-size: 12px;
  font-weight: 750;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 92px;
}

.blog-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.blog-panel h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.blog-panel-list {
  display: grid;
  gap: 8px;
}

.blog-panel-list a {
  color: var(--ink);
  font-weight: 700;
}

.blog-panel-list a:hover {
  color: var(--accent);
}

.empty-state {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.article-wrap {
  max-width: 940px;
  margin: 0 auto;
}

.blog-cover {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--line-light);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 26px;
}

.article-header {
  margin-bottom: 26px;
}

.article-header h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  margin: 14px 0;
}

.article-excerpt {
  color: #475569;
  font-size: 19px;
  line-height: 1.7;
  margin: 0;
}

.article-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
  color: #263244;
  font-size: 17px;
  line-height: 1.9;
  white-space: pre-line;
}

.admin-link-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.post-editor textarea[name="content"] {
  min-height: 440px;
  line-height: 1.65;
}

.post-title-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.post-title-cell small {
  color: var(--muted);
  font-size: 12px;
}

.status.draft {
  background: var(--accent-2-light);
  color: #b45309;
}

@media (max-width: 960px) {
  .blog-hero,
  .blog-featured {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .blog-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    padding: 16px;
  }

  .article-body {
    padding: 22px;
    font-size: 16px;
  }
}

/* Product Grid List (Large Square Cards) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
  margin-top: 24px;
  margin-bottom: 56px;
}

.grid-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.grid-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.grid-card .image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--line-light);
}

.grid-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-card:hover .image-wrap img {
  transform: scale(1.06);
}

.grid-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.grid-card .card-category {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.grid-card .card-title {
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 44px; /* fixed height for alignment */
}

.grid-card .card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.grid-card .card-spec-tag {
  font-size: 11px;
  background: var(--line-light);
  color: var(--muted);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.grid-card .card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 14px;
}

.grid-card .card-price {
  font-size: 18px;
  font-weight: 850;
  color: var(--ink);
}

.grid-card .card-button {
  font-size: 13px;
  font-weight: 750;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Featured Carousel styles - PREMIUM DARK INDIGO THEME */
.featured-carousel-section {
  margin-top: 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.3);
  background: #0f172a; /* Slate 900 */
  height: 400px;
}

.carousel-track-wrapper {
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  background: radial-gradient(circle at top left, #1e1b4b 0%, #0f172a 100%); /* Indigo 950 to Slate 900 */
}

.slide-copy {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  z-index: 5;
}

.slide-badge {
  font-size: 11px;
  font-weight: 850;
  color: #a5b4fc; /* Indigo 300 */
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.slide-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1; /* Indigo 500 */
  box-shadow: 0 0 8px #6366f1;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.slide-title {
  font-size: 30px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.slide-desc {
  font-size: 14px;
  color: #94a3b8; /* Slate 400 */
  line-height: 1.6;
  margin: 0 0 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.slide-price {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-image {
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b; /* Slate 800 */
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
}

.slide-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1e1b4b 0%, transparent 100%);
  opacity: 0.4;
  z-index: 1;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.carousel-slide:hover .slide-image img {
  transform: scale(1.04);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 10;
  transition: var(--transition);
}

.carousel-nav svg {
  color: #94a3b8 !important;
}

.carousel-nav:hover {
  background: #6366f1;
  border-color: #6366f1;
  transform: translateY(-50%) scale(1.05);
}

.carousel-nav:hover svg {
  color: white !important;
}

.carousel-nav.prev {
  left: 20px;
}

.carousel-nav.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 24px;
  left: 56px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.indicator-dot.active {
  background: #818cf8;
  width: 24px;
  border-radius: 4px;
}

/* Watermark overlay on grid-card - premium blur glass */
.grid-card.sold .image-wrap::after {
  content: "ĐÃ BÁN";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  color: #f1f5f9;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.15em;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Final Pixup V2 overrides placed after legacy rules. */
body.keeb-theme {
  --bg: var(--keeb-bg);
  --paper: var(--keeb-panel);
  --ink: var(--keeb-ink);
  --muted: var(--keeb-muted);
  --line: var(--keeb-line);
  background:
    linear-gradient(180deg, rgba(0, 209, 255, 0.08), transparent 360px),
    radial-gradient(circle at 12% 8%, rgba(163, 255, 18, 0.09), transparent 260px),
    var(--keeb-bg);
  color: var(--keeb-ink);
  letter-spacing: 0;
}

body.keeb-theme .site-header.keeb-header {
  background: rgba(8, 10, 15, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
}

body.keeb-theme .brand-mark {
  background: linear-gradient(135deg, #00d1ff, #a3ff12);
  color: #061018;
}

body.keeb-theme .nav a,
body.keeb-theme .brand strong,
body.keeb-theme .header-btn {
  color: #f5f7fa;
}

body.keeb-theme .brand small,
body.keeb-theme .header-btn small,
body.keeb-theme .footer-links a,
body.keeb-theme .footer-contact-item,
body.keeb-theme .keeb-footer p {
  color: #9aa8b8;
}

body.keeb-theme .header-search input,
body.keeb-theme input,
body.keeb-theme select,
body.keeb-theme textarea {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f5f7fa;
}

body.keeb-theme .keeb-zalo,
body.keeb-theme .admin-btn {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

body.keeb-theme .site-footer.keeb-footer {
  background: #070a0f;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Precision pass: balanced, tactile, hover-rich keyboard UI. */
body.keeb-theme {
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

body.keeb-theme .button,
body.keeb-theme .header-btn,
body.keeb-theme .keeb-chip-filters a,
body.keeb-theme .keeb-secondary-filters label {
  border-radius: 999px;
}

body.keeb-theme .button,
body.keeb-theme .header-btn {
  transform: translateY(0);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 26px rgba(0, 0, 0, 0.22);
}

body.keeb-theme .button:hover,
body.keeb-theme .header-btn:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 34px rgba(0, 209, 255, 0.16);
}

body.keeb-theme .keeb-hero {
  min-height: 640px;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
}

body.keeb-theme .keeb-hero-stage,
body.keeb-theme .hero-product,
body.keeb-theme .keeb-metrics div,
body.keeb-theme .rail-card,
body.keeb-theme .keeb-panel,
body.keeb-theme .keeb-product-card,
body.keeb-theme .keeb-knowledge-strip,
body.keeb-theme .keeb-inventory-hero,
body.keeb-theme .keeb-filter-bar,
body.keeb-theme .keeb-secondary-filters {
  border-radius: 8px;
}

body.keeb-theme .keeb-metrics div,
body.keeb-theme .rail-card,
body.keeb-theme .keeb-panel,
body.keeb-theme .keeb-product-card,
body.keeb-theme .keeb-knowledge-strip,
body.keeb-theme .keeb-inventory-hero,
body.keeb-theme .keeb-filter-bar,
body.keeb-theme .keeb-secondary-filters {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    #111823;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 36px rgba(0, 0, 0, 0.22);
}

body.keeb-theme .keeb-metrics div::before,
body.keeb-theme .rail-card::before,
body.keeb-theme .keeb-panel::before,
body.keeb-theme .keeb-product-card::before,
body.keeb-theme .keeb-knowledge-strip::before,
body.keeb-theme .keeb-filter-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(0, 209, 255, 0.11), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 32%);
  opacity: 0;
  transform: translateX(-35%);
  transition: opacity 180ms ease, transform 520ms ease;
}

body.keeb-theme .keeb-metrics div:hover::before,
body.keeb-theme .rail-card:hover::before,
body.keeb-theme .keeb-panel:hover::before,
body.keeb-theme .keeb-product-card:hover::before,
body.keeb-theme .keeb-knowledge-strip:hover::before,
body.keeb-theme .keeb-filter-bar:hover::before {
  opacity: 1;
  transform: translateX(35%);
}

body.keeb-theme .keeb-metrics div:hover,
body.keeb-theme .rail-card:hover,
body.keeb-theme .keeb-panel:hover,
body.keeb-theme .keeb-product-card:hover,
body.keeb-theme .keeb-knowledge-strip:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 209, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 20px 48px rgba(0, 0, 0, 0.32),
    0 0 0 1px rgba(0, 209, 255, 0.06),
    0 0 34px rgba(0, 209, 255, 0.12);
}

body.keeb-theme .keeb-quick-rails {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

body.keeb-theme .rail-card {
  min-height: 126px;
  padding: 18px;
}

body.keeb-theme .rail-card strong {
  margin-top: 26px;
  font-size: 21px;
  line-height: 1.12;
}

body.keeb-theme .rail-card.accent {
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.16), rgba(163, 255, 18, 0.08)),
    #111823;
}

body.keeb-theme .keeb-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

body.keeb-theme .keeb-product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
}

body.keeb-theme .keeb-card-media {
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(135deg, rgba(0, 209, 255, 0.08), rgba(163, 255, 18, 0.04)),
    #0c111a;
}

body.keeb-theme .keeb-card-media img {
  transform: scale(1);
  transition: transform 280ms ease, filter 220ms ease;
}

body.keeb-theme .keeb-product-card:hover .keeb-card-media img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}

body.keeb-theme .keeb-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

body.keeb-theme .keeb-card-meta {
  min-height: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  font-weight: 800;
}

body.keeb-theme .keeb-card-body h3 {
  min-height: 48px;
  margin-bottom: 9px;
}

body.keeb-theme .keeb-card-body p {
  min-height: 58px;
  margin-bottom: 14px;
}

body.keeb-theme .keeb-tag-row {
  min-height: 30px;
  margin-top: auto;
}

body.keeb-theme .keeb-card-footer {
  min-height: 42px;
}

body.keeb-theme .keeb-status,
body.keeb-theme .sound-badge {
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

body.keeb-theme .keycap-placeholder span,
body.keeb-theme .placeholder span,
body.keeb-theme .keeb-stage-grid span {
  border-radius: 8px;
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

body.keeb-theme .keeb-stage-grid span:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 209, 255, 0.38);
  box-shadow: 0 24px 0 #070a0f, 0 34px 56px rgba(0, 209, 255, 0.12);
}

body.keeb-theme .hero-product:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 209, 255, 0.42);
  box-shadow: 0 34px 96px rgba(0, 0, 0, 0.5), 0 0 42px rgba(0, 209, 255, 0.13);
}

body.keeb-theme .keeb-filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(150px, 0.7fr) minmax(130px, 0.7fr) minmax(140px, 0.7fr) auto;
  gap: 12px;
  align-items: end;
  margin: 18px 0 14px;
  padding: 14px;
}

body.keeb-theme .keeb-filter-bar label span {
  display: block;
  margin: 0 0 6px;
  color: #9aa8b8;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

body.keeb-theme .keeb-filter-bar input,
body.keeb-theme .keeb-filter-bar select {
  width: 100%;
  min-height: 44px;
  border-radius: 8px;
  padding: 10px 12px;
}

body.keeb-theme .keeb-filter-bar .button {
  min-height: 44px;
  white-space: nowrap;
}

body.keeb-theme .keeb-chip-filters {
  margin: 12px 0;
}

body.keeb-theme .keeb-chip-filters a,
body.keeb-theme .keeb-secondary-filters label {
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

body.keeb-theme .keeb-chip-filters a:hover,
body.keeb-theme .keeb-secondary-filters label:hover {
  transform: translateY(-2px);
}

body.keeb-theme .inventory-stats div {
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

body.keeb-theme .inventory-stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 209, 255, 0.34);
  box-shadow: 0 14px 34px rgba(0, 209, 255, 0.12);
}

body.keeb-theme .order-form {
  position: relative;
  z-index: 1;
}

body.keeb-theme .order-form label {
  display: block;
}

body.keeb-theme .order-form input,
body.keeb-theme .order-form select {
  border-radius: 8px;
}

@media (max-width: 1100px) {
  body.keeb-theme .keeb-quick-rails,
  body.keeb-theme .keeb-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.keeb-theme .keeb-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.keeb-theme .keeb-quick-rails,
  body.keeb-theme .keeb-product-grid,
  body.keeb-theme .keeb-filter-bar {
    grid-template-columns: 1fr;
  }

  body.keeb-theme .keeb-hero {
    grid-template-columns: 1fr;
  }
}

/* Product detail readability and premium keyboard surface. */
body.keeb-theme {
  --font: 'Be Vietnam Pro', 'Outfit', system-ui, -apple-system, sans-serif;
  font-family: var(--font);
}

body.keeb-theme h1,
body.keeb-theme h2,
body.keeb-theme h3,
body.keeb-theme h4,
body.keeb-theme .brand strong,
body.keeb-theme .button,
body.keeb-theme .tab-link {
  letter-spacing: 0;
}

body.keeb-theme .breadcrumbs {
  color: #89a0b7;
  font-weight: 600;
}

body.keeb-theme .breadcrumbs a:hover {
  color: #00d1ff;
}

body.keeb-theme .detail-container {
  display: grid;
  grid-template-columns: minmax(420px, 1.05fr) minmax(420px, 0.95fr);
  gap: 34px;
  align-items: start;
  margin-top: 18px;
  padding: 34px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(145deg, rgba(18, 24, 36, 0.98), rgba(10, 14, 21, 0.96)),
    #0d1118;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 28px 80px rgba(0, 0, 0, 0.34);
}

body.keeb-theme .detail-gallery,
body.keeb-theme .detail-info {
  min-width: 0;
}

body.keeb-theme .detail-main-image-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #f4f7fb;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body.keeb-theme .detail-main-image-wrap img {
  transition: transform 260ms ease, filter 220ms ease;
}

body.keeb-theme .detail-main-image-wrap:hover img {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.05);
}

body.keeb-theme .detail-thumb {
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.12);
  background: #111823;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

body.keeb-theme .detail-thumb.active,
body.keeb-theme .detail-thumb:hover {
  border-color: #00d1ff;
  box-shadow: 0 0 0 4px rgba(0, 209, 255, 0.12), 0 12px 28px rgba(0, 0, 0, 0.28);
}

body.keeb-theme .detail-info h2 {
  margin: 14px 0 12px;
  color: #f8fbff;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

body.keeb-theme .detail-badge-row {
  gap: 10px;
}

body.keeb-theme .detail-badge-row .status-badge,
body.keeb-theme .badge,
body.keeb-theme .detail-tags a {
  border-radius: 999px !important;
  font-weight: 800 !important;
}

body.keeb-theme .detail-badge-row .status-badge {
  background: rgba(0, 209, 255, 0.14);
  color: #31dcff;
  border: 1px solid rgba(0, 209, 255, 0.26);
}

body.keeb-theme .detail-badge-row .location-label,
body.keeb-theme .detail-meta-row {
  color: #9fb0c6;
  font-weight: 600;
}

body.keeb-theme .detail-tags a {
  background: rgba(0, 209, 255, 0.12) !important;
  color: #31dcff !important;
  border: 1px solid rgba(0, 209, 255, 0.2);
}

body.keeb-theme .detail-price-box {
  margin: 22px 0 18px;
}

body.keeb-theme .detail-price-box strong {
  color: #00d1ff;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 28px rgba(0, 209, 255, 0.2);
}

body.keeb-theme .detail-price-box del {
  color: #7f8fa5;
  font-weight: 700;
}

body.keeb-theme .detail-discount-tag {
  border-radius: 999px;
  background: rgba(255, 71, 111, 0.16);
  color: #ff8aa4;
  border: 1px solid rgba(255, 71, 111, 0.24);
  font-weight: 900;
}

body.keeb-theme .detail-intro {
  color: #d8e2ee;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.7;
}

body.keeb-theme .detail-specs-highlight {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #06090f;
}

body.keeb-theme .spec-highlight-item {
  min-height: 66px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

body.keeb-theme .spec-highlight-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 209, 255, 0.32);
  box-shadow: 0 10px 26px rgba(0, 209, 255, 0.1);
}

body.keeb-theme .spec-highlight-item small {
  color: #8ea3ba;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

body.keeb-theme .spec-highlight-item strong {
  color: #f8fbff;
  font-size: 13px;
  font-weight: 800;
}

body.keeb-theme .condition-box {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
}

body.keeb-theme .condition-box-title h4 {
  color: #f8fbff;
  font-size: 15px;
  font-weight: 900;
}

body.keeb-theme .condition-label {
  color: #94a8bf;
  font-weight: 800;
}

body.keeb-theme .condition-val {
  color: #e8f0fa;
  font-weight: 700;
}

body.keeb-theme .detail-actions .button {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 900;
}

body.keeb-theme .detail-actions .button.zalo-btn {
  background: rgba(0, 209, 255, 0.08);
  color: #31dcff;
  border-color: rgba(0, 209, 255, 0.46);
}

body.keeb-theme .detail-actions .button.deposit-btn {
  background: linear-gradient(135deg, #00d1ff, #49f0ff);
  color: #061018;
  border-color: transparent;
  box-shadow: 0 18px 36px rgba(0, 209, 255, 0.22);
}

body.keeb-theme .guarantees-grid {
  gap: 12px 18px;
}

body.keeb-theme .guarantee-item {
  color: #9fb0c6;
  font-weight: 700;
}

body.keeb-theme .guarantee-item svg {
  color: #00d1ff;
}

body.keeb-theme .detail-tabs-section {
  overflow: hidden;
  margin-top: 32px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0d1118;
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.26);
}

body.keeb-theme .tabs-header {
  background: #070a0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.keeb-theme .tab-link {
  min-height: 54px;
  color: #aab9c9;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

body.keeb-theme .tab-link:hover {
  color: #f8fbff;
  background: rgba(255, 255, 255, 0.05);
}

body.keeb-theme .tab-link.active {
  color: #00d1ff;
  background: rgba(0, 209, 255, 0.1);
}

body.keeb-theme .tabs-content {
  background: #111823;
  color: #dce6f2;
}

body.keeb-theme .tab-pane {
  color: #dce6f2;
  font-weight: 600;
}

body.keeb-theme .specs-table td {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.keeb-theme .specs-table td.label-cell {
  color: #9fb0c6;
  font-weight: 900;
}

body.keeb-theme .specs-table td.value-cell {
  color: #f2f6fb;
  font-weight: 700;
}

body.keeb-theme .grid .item-card {
  background: #121824;
  border-color: rgba(255, 255, 255, 0.1);
}

body.keeb-theme .grid .item-body h2,
body.keeb-theme .section-header h2 {
  color: #f8fbff;
}

body.keeb-theme .grid .condition-tag,
body.keeb-theme .grid .item-body .category {
  color: #9fb0c6;
}

@media (max-width: 980px) {
  body.keeb-theme .detail-container {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  body.keeb-theme .detail-specs-highlight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body.keeb-theme .detail-specs-highlight,
  body.keeb-theme .condition-grid,
  body.keeb-theme .detail-actions,
  body.keeb-theme .guarantees-grid {
    grid-template-columns: 1fr;
  }
}

/* Pixup cinematic showroom implementation from redesign brief. */
body.keeb-theme {
  --bg-main: #05080d;
  --bg-section: #080d14;
  --bg-card: #0d1420;
  --bg-card-hover: #111c2a;
  --cyan: #00d9ff;
  --cyan-soft: rgba(0, 217, 255, 0.14);
  --cyan-border: rgba(0, 217, 255, 0.22);
  --acid-green: #9cff2e;
  --acid-green-soft: rgba(156, 255, 46, 0.14);
  --text-main: #f4f7fb;
  --text-muted: #8fa2b8;
  --text-subtle: #5f7086;
  --danger: #ff4d6d;
  --border-soft: rgba(255, 255, 255, 0.08);
  --font: 'Manrope', 'Be Vietnam Pro', 'Outfit', system-ui, sans-serif;
  background:
    radial-gradient(circle at 68% 8%, rgba(0, 217, 255, 0.16), transparent 340px),
    radial-gradient(circle at 20% 16%, rgba(156, 255, 46, 0.08), transparent 280px),
    linear-gradient(180deg, #05080d 0%, #070b12 42%, #05080d 100%);
}

.showroom-home {
  width: min(1248px, calc(100% - 40px));
}

.showroom-eyebrow {
  margin: 0 0 14px;
  color: var(--acid-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.showroom-hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) 0 58px;
}

.showroom-copy h1 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.showroom-copy h1 span {
  display: block;
}

.showroom-lead {
  max-width: 650px;
  margin: 24px 0 30px;
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.78;
}

.showroom-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.showroom-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.showroom-stats div,
.showroom-card,
.protocol-card,
.order-desk,
.knowledge-card,
.showroom-stage,
.showroom-section {
  border: 1px solid var(--border-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--bg-card);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.showroom-stats div {
  padding: 16px;
  border-radius: 16px;
}

.showroom-stats strong {
  display: block;
  color: var(--cyan);
  font-size: 30px;
  font-weight: 900;
}

.showroom-stats span {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.showroom-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 217, 255, 0.2), transparent 260px),
    linear-gradient(145deg, #0d1420, #05080d);
}

.stage-rim {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 217, 255, 0.18), transparent 62%);
  filter: blur(10px);
  animation: pixupGlow 7s ease-in-out infinite alternate;
}

.stage-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 76%);
}

.stage-product {
  position: relative;
  z-index: 2;
  width: min(86%, 580px);
  display: block;
  border-radius: 22px;
  border: 1px solid rgba(0, 217, 255, 0.2);
  background: rgba(5, 8, 13, 0.72);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.45), 0 0 60px rgba(0, 217, 255, 0.13);
  backdrop-filter: blur(18px);
  animation: pixupFloat 5.8s ease-in-out infinite;
}

.stage-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.stage-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
}

.stage-info span,
.card-brand {
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage-info h2 {
  margin: 4px 0 0;
  color: var(--text-main);
  font-size: 22px;
}

.stage-info strong {
  color: var(--cyan);
  font-size: 24px;
  white-space: nowrap;
}

.stage-badge,
.floating-chip {
  position: absolute;
  z-index: 4;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.stage-badge.live {
  top: 18px;
  left: 18px;
  color: var(--acid-green);
  background: var(--acid-green-soft);
  border: 1px solid rgba(156, 255, 46, 0.25);
  animation: pixupPulse 2.6s ease-in-out infinite;
}

.stage-badge.pick {
  top: 18px;
  right: 18px;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid var(--cyan-border);
}

.floating-chip {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.chip-a { top: 22%; left: 5%; }
.chip-b { right: 7%; top: 30%; }
.chip-c { left: 9%; bottom: 24%; }
.chip-d { right: 10%; bottom: 18%; color: var(--acid-green); }

.showroom-section {
  margin: 48px 0;
  padding: clamp(24px, 4vw, 38px);
}

.showroom-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.showroom-section h2,
.protocol-copy h2,
.order-copy h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.inventory-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.inventory-chip-row a {
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
}

.inventory-chip-row a:hover {
  color: var(--cyan);
  border-color: var(--cyan-border);
  background: var(--cyan-soft);
  transform: translateY(-2px);
}

.showroom-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.showroom-card {
  overflow: hidden;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.showroom-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)),
    var(--bg-card-hover);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42), 0 0 36px rgba(0, 217, 255, 0.12);
}

.showroom-card-media {
  position: relative;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  background: #070b12;
}

.showroom-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 260ms ease, filter 220ms ease;
}

.showroom-card:hover .showroom-card-media img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.04);
}

.showroom-status {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--acid-green);
  background: var(--acid-green-soft);
  border: 1px solid rgba(156, 255, 46, 0.25);
  font-size: 11px;
  font-weight: 900;
}

.showroom-status.sold {
  color: #ff8aa2;
  background: rgba(255, 77, 109, 0.14);
  border-color: rgba(255, 77, 109, 0.26);
}

.showroom-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.showroom-card h3 {
  min-height: 54px;
  margin: 8px 0 8px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.showroom-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.condition-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 12px;
}

.condition-row span {
  border-radius: 999px;
  padding: 5px 8px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.045);
  font-size: 11px;
  font-weight: 800;
}

.showroom-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.showroom-card-footer strong {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 900;
}

.showroom-card-footer span {
  color: var(--acid-green);
  font-size: 13px;
  font-weight: 900;
}

.test-protocol {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.protocol-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.protocol-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
}

.protocol-card strong {
  display: block;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 32px;
  font-weight: 900;
}

.protocol-card span {
  color: var(--text-main);
  font-weight: 800;
}

.order-desk {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(0, 1.16fr);
  gap: 28px;
}

.order-copy p {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
}

.terminal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--cyan-border);
  background:
    linear-gradient(180deg, rgba(0, 217, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #070b12;
}

.terminal-form .wide {
  grid-column: 1 / -1;
}

.terminal-form label span {
  display: block;
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal-form input,
.terminal-form select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-main);
  padding: 11px 12px;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.knowledge-card {
  min-height: 178px;
  padding: 18px;
  border-radius: 18px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.knowledge-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan-border);
}

.knowledge-card span {
  color: var(--acid-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.knowledge-card h3 {
  margin: 28px 0 12px;
  color: var(--text-main);
  font-size: 21px;
  line-height: 1.22;
}

.knowledge-card small {
  color: var(--text-subtle);
  font-weight: 800;
}

@keyframes pixupFloat {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-10px) rotate(0.4deg); }
}

@keyframes pixupGlow {
  from { opacity: 0.62; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1.06); }
}

@keyframes pixupPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(156, 255, 46, 0.18); }
  50% { box-shadow: 0 0 0 8px rgba(156, 255, 46, 0); }
}

@media (max-width: 1080px) {
  .showroom-hero,
  .test-protocol,
  .order-desk {
    grid-template-columns: 1fr;
  }

  .showroom-product-grid,
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showroom-stage {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .showroom-home {
    width: min(100% - 20px, 1248px);
  }

  .showroom-copy h1 {
    font-size: 46px;
  }

  .showroom-stats,
  .showroom-product-grid,
  .protocol-grid,
  .terminal-form,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .showroom-section-head {
    align-items: start;
    flex-direction: column;
  }
}

/* Design correction pass: cleaner cinematic showroom, less component noise. */
body.keeb-theme .site-header.keeb-header {
  min-height: 76px;
  padding: 12px clamp(28px, 4vw, 56px);
  background: rgba(5, 8, 13, 0.82);
}

body.keeb-theme .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 17px;
}

body.keeb-theme .brand strong {
  font-size: 17px;
}

body.keeb-theme .brand small {
  max-width: 150px;
  font-size: 11px;
  line-height: 1.25;
}

body.keeb-theme .nav {
  gap: 18px;
  font-size: 14px;
}

body.keeb-theme .nav > a,
body.keeb-theme .dropdown-trigger {
  padding: 8px 0;
}

body.keeb-theme .header-search {
  width: min(230px, 24vw);
}

body.keeb-theme .header-search input {
  min-height: 42px;
  font-size: 13px;
}

body.keeb-theme .header-btn {
  min-height: 44px;
  padding: 7px 14px;
}

.showroom-home {
  width: min(1188px, calc(100% - 48px));
}

.showroom-hero {
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: clamp(42px, 6vw, 84px);
  padding: clamp(70px, 8vw, 108px) 0 52px;
}

.showroom-copy {
  max-width: 610px;
}

.showroom-copy h1 {
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.showroom-lead {
  max-width: 560px;
  margin: 24px 0 26px;
  color: #a7b7c9;
  font-size: 16px;
  line-height: 1.78;
}

.showroom-actions .button {
  min-height: 50px;
  padding-inline: 22px;
}

.showroom-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.showroom-stats div {
  padding: 14px 12px;
  border-radius: 14px;
}

.showroom-stats strong {
  font-size: 25px;
}

.showroom-stage {
  min-height: 540px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.showroom-stage::before {
  content: "";
  position: absolute;
  inset: 36px 0 24px 36px;
  border-radius: 34px;
  border: 1px solid rgba(0, 217, 255, 0.16);
  background:
    radial-gradient(circle at 48% 38%, rgba(0, 217, 255, 0.18), transparent 260px),
    linear-gradient(145deg, rgba(13, 20, 32, 0.8), rgba(5, 8, 13, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 90px rgba(0, 0, 0, 0.34);
}

.stage-rim {
  width: 86%;
  opacity: 0.8;
}

.stage-grid-lines {
  inset: 36px 0 24px 36px;
  border-radius: 34px;
}

.stage-product {
  width: min(82%, 560px);
  border-radius: 26px;
  background: rgba(8, 13, 20, 0.9);
  border-color: rgba(0, 217, 255, 0.24);
  transform: translateX(12px);
}

.stage-image {
  aspect-ratio: 16 / 9.6;
  border-radius: 26px 26px 0 0;
}

.stage-info {
  padding: 18px 20px 20px;
}

.stage-info h2 {
  font-size: 20px;
}

.stage-info strong {
  font-size: 25px;
}

.stage-badge {
  padding: 7px 11px;
  font-size: 10px;
}

.stage-badge.live {
  top: 16px;
  left: 16px;
}

.stage-badge.pick {
  top: 16px;
  right: 16px;
}

.floating-chip {
  padding: 8px 12px;
  color: #dfeaf6;
  background: rgba(7, 11, 18, 0.72);
  border-color: rgba(255, 255, 255, 0.14);
}

.chip-a { top: 23%; left: 4%; }
.chip-b { right: 1%; top: 39%; }
.chip-c { left: 10%; bottom: 20%; }
.chip-d { right: 4%; bottom: 12%; }

.showroom-section {
  margin: 38px 0;
  border-radius: 24px;
}

.showroom-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.showroom-card {
  border-radius: 22px;
}

.showroom-card-media {
  aspect-ratio: 1.35 / 1;
}

.showroom-card-body {
  padding: 20px;
}

.showroom-card h3 {
  min-height: auto;
  font-size: 21px;
}

.showroom-card p {
  min-height: 44px;
}

@media (max-width: 1180px) {
  body.keeb-theme .header-search {
    display: none;
  }

  .showroom-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .showroom-copy {
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  .showroom-home {
    width: min(100% - 24px, 1188px);
  }

  .showroom-copy h1 {
    font-size: 44px;
  }

  .showroom-stats,
  .showroom-product-grid {
    grid-template-columns: 1fr;
  }

  .showroom-stage::before,
  .stage-grid-lines {
    inset: 12px 0;
  }

  .stage-product {
    width: 92%;
    transform: none;
  }
}

/* Final homepage composition tuning after visual review. */
.showroom-home {
  width: min(1188px, calc(100% - 48px));
}

.showroom-hero {
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(54px, 6.4vw, 82px) 0 44px;
}

.showroom-copy {
  max-width: 720px;
}

.showroom-copy h1 {
  font-size: clamp(42px, 4.85vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.showroom-copy h1 span {
  white-space: nowrap;
}

.showroom-lead {
  max-width: 620px;
  margin: 22px 0 24px;
  color: #a7b7c9;
  font-size: 15.5px;
  line-height: 1.72;
}

.showroom-actions .button {
  min-height: 48px;
  padding-inline: 22px;
}

.showroom-stats {
  gap: 10px;
  margin-top: 22px;
}

.showroom-stats div {
  padding: 14px 12px;
  border-radius: 14px;
}

.showroom-stats strong {
  font-size: 22px;
}

.showroom-stage {
  min-height: 488px;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.showroom-stage::before {
  content: "";
  position: absolute;
  inset: 20px 0 12px 34px;
  border-radius: 30px;
  border: 1px solid rgba(0, 217, 255, 0.16);
  background:
    radial-gradient(circle at 48% 38%, rgba(0, 217, 255, 0.18), transparent 260px),
    linear-gradient(145deg, rgba(13, 20, 32, 0.8), rgba(5, 8, 13, 0.74));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 90px rgba(0, 0, 0, 0.34);
}

.stage-grid-lines {
  inset: 20px 0 12px 34px;
  border-radius: 30px;
}

.stage-product {
  width: min(84%, 550px);
  border-radius: 24px;
  transform: translateX(12px);
}

.stage-image {
  position: relative;
  aspect-ratio: 16 / 8.7;
  border-radius: 24px 24px 0 0;
}

.stage-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.05), rgba(5, 8, 13, 0.2)),
    radial-gradient(circle at 80% 10%, rgba(0, 217, 255, 0.18), transparent 36%);
  mix-blend-mode: multiply;
}

.stage-image img {
  filter: saturate(0.9) contrast(1.08) brightness(0.88);
}

.stage-info {
  padding: 18px 20px 20px;
}

.stage-info h2 {
  font-size: 20px;
}

.stage-info strong {
  font-size: 25px;
}

.stage-badge {
  padding: 7px 11px;
  font-size: 10px;
}

.stage-badge.live {
  top: 16px;
  left: 16px;
}

.stage-badge.pick {
  top: 16px;
  right: 16px;
}

.chip-a { top: 23%; left: 4%; }
.chip-b { right: 1%; top: 39%; }
.chip-c { left: 10%; bottom: 20%; }
.chip-d { right: 4%; bottom: 12%; }

.showroom-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.showroom-card-media {
  aspect-ratio: 1.35 / 1;
}

@media (max-width: 1180px) {
  body.keeb-theme .header-search {
    display: none;
  }

  .showroom-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .showroom-copy h1 {
    font-size: 44px;
  }

  .showroom-copy h1 span {
    white-space: normal;
  }

  .showroom-stats,
  .showroom-product-grid {
    grid-template-columns: 1fr;
  }
}
