/* Happy4us — marketplace retail (Shopee-like), not gaming boutique */
/* Fonts: self-hosted via /assets/fonts/fonts.css (linked from HTML) */
:root {
  --bg: #f5f5f5;
  --bg-elevated: #ffffff;
  --ink: #ffffff;
  --text: #222222;
  --text-dim: #666666;
  --mute: #8c8c8c;
  --line: #ebebeb;
  --line-strong: #d9d9d9;
  --orange: #ee4d2d;
  --orange-hover: #d73211;
  --green: #26aa99;
  --green-bright: #1a9e8f;
  --green-soft: rgba(38, 170, 153, 0.12);
  --price: #ee4d2d;
  --danger: #ee2c4a;
  --radius: 8px;
  --radius-sm: 6px;
  --max: 1200px;
  --font: "Nunito Sans", "Segoe UI", sans-serif;
  --display: "Rubik", "Nunito Sans", sans-serif;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.25rem;
  --header-h: 4rem;
  --shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
.skip-link {
  position: absolute;
  inset-inline-start: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.75rem;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
h1, h2, h3, h4, .brand span { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.75rem, 3.5vw, 2.35rem); line-height: 1.2; margin: 0; color: var(--text); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.65rem); line-height: 1.25; margin: 0; }
h3 { font-size: 1rem; margin: 0; font-weight: 600; }
p { margin: 0; }

/* Header — white marketplace bar */
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.nav,
.container.nav {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
  text-transform: none; letter-spacing: -0.03em;
}
.brand img,
.brand svg.logo-mark {
  width: 36px; height: 36px; object-fit: contain;
  border-radius: 9px;
  background: transparent;
  flex: 0 0 auto;
  display: block;
}
.brand .wordmark { display: inline-flex; align-items: baseline; gap: 0; }
.brand .wordmark .accent { color: var(--orange); }
.nav-links {
  display: flex; gap: 1.25rem; align-items: center;
  color: var(--text-dim); font-weight: 600; font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a.active::after { display: none; }
.nav-toggle {
  display: none; width: 42px; height: 42px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-strong);
  background: #fff; color: var(--text); cursor: pointer;
}
.nav-cta { display: inline-flex; }
.nav-drawer {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem; box-shadow: var(--shadow-lg);
}
.nav-drawer.open { display: block; }
.nav-drawer a {
  display: block; padding: 0.75rem 0.25rem; color: var(--text-dim); font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.nav-drawer a:last-child { border-bottom: 0; }
.nav-drawer a.active, .nav-drawer a:hover { color: var(--orange); }
.nav-drawer .nav-drawer-cta {
  display: flex; width: 100%; margin-top: 0.75rem; justify-content: center;
  border-bottom: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 0.65rem 1.15rem; font-family: var(--display); font-weight: 600;
  font-size: 0.92rem; cursor: pointer; text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
/* Author display rules must not revive [hidden] controls (e.g. Sign out on account) */
[hidden], .btn[hidden], label[hidden] { display: none !important; }
.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }
.btn-ghost {
  background: #fff; color: var(--orange); border-color: var(--orange);
}
.btn-ghost:hover { background: #fff5f3; }
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.82rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Marketplace hero — full-bleed cover stage */
.hero-bleed {
  position: relative;
  min-height: clamp(28rem, 72vh, 40rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 0;
  background: #1a1513;
}
.hero-bleed::before { display: none; }
.hero-stage-art {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-cover-wall {
  display: grid;
  grid-template-columns: repeat(8, minmax(9rem, 1fr));
  gap: 0.45rem;
  height: 120%;
  width: 140%;
  margin-left: -10%;
  transform: rotate(-6deg) translateY(-6%);
  animation: cover-drift 28s ease-in-out infinite alternate;
}
.hero-cover-wall img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(1.05) contrast(1.05);
}
.hero-stage-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 14, 12, 0.92) 0%, rgba(20, 14, 12, 0.72) 42%, rgba(20, 14, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(20, 14, 12, 0.88) 0%, transparent 48%);
}
.hero-stage-copy,
.hero-bleed .container {
  position: relative; z-index: 1;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vh, 5rem) 0 clamp(2.25rem, 5vh, 3.25rem);
  display: grid;
  gap: 0.85rem;
  max-width: 40rem;
  justify-self: start;
}
.hero-brand-mark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1.1;
}
.hero-brand-mark span { color: #ff7a5c; }
.hero-bleed h1 {
  margin: 0;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.hero-bleed .lede {
  margin: 0;
  color: rgba(255, 245, 240, 0.82);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 34rem;
}
.hero-search {
  display: flex; gap: 0;
  max-width: 640px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-search:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(238, 77, 45, 0.28);
  border-color: var(--orange);
}
.hero-search input {
  flex: 1;
  border: 0;
  padding: 0.85rem 1rem;
  min-height: 48px;
  background: transparent;
  color: var(--text);
}
.hero-search input:focus { outline: none; }
.hero-search .btn {
  border-radius: 0;
  min-height: 48px;
  padding-left: 1.35rem;
  padding-right: 1.35rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-cats {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 0.15rem;
}
.hero-cats a {
  display: inline-flex; align-items: center;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.hero-cats a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-1px);
}
@keyframes cover-drift {
  from { transform: rotate(-6deg) translateY(-6%) translateX(0); }
  to { transform: rotate(-6deg) translateY(-4%) translateX(-3%); }
}
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Motion reveals — opacity/transform only (GPU). Hidden only after motion-ui.js loads. */
html.motion-ready .hero-stage-copy > *:not(.is-in) {
  opacity: 0;
}
html.motion-ready [data-reveal]:not(.is-in),
html.motion-ready .pathways > .pathway:not(.is-in),
html.motion-ready .flow-rail > li:not(.is-in),
html.motion-ready .product-grid > .product:not(.is-in),
html.motion-ready .section-head:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  will-change: opacity, transform;
}
html.motion-ready .is-in {
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.motion-ready .hero-stage-copy > *:not(.is-in),
  html.motion-ready [data-reveal]:not(.is-in),
  html.motion-ready .pathways > .pathway:not(.is-in),
  html.motion-ready .flow-rail > li:not(.is-in),
  html.motion-ready .product-grid > .product:not(.is-in),
  html.motion-ready .section-head:not(.is-in) {
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  .hero-cover-wall { animation: none !important; }
}

/* Home pathways */
.pathways-section { padding-top: var(--space-5); background: #fff; }
.pathways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.pathway {
  display: grid; gap: 0.4rem; align-content: start;
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit;
  text-decoration: none;
  min-height: 11rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.pathway:hover {
  transform: translateY(-3px);
  border-color: #f0b4a6;
  box-shadow: 0 10px 28px rgba(238, 77, 45, 0.1);
}
.pathway-kicker {
  font-family: var(--display); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange);
}
.pathway strong {
  font-family: var(--display); font-size: 1.15rem; font-weight: 700;
  letter-spacing: -0.02em;
}
.pathway > span:not(.pathway-kicker):not(.pathway-cue) {
  color: var(--text-dim); font-size: 0.92rem; line-height: 1.45;
}
.pathway-cue {
  margin-top: auto; padding-top: 0.65rem;
  font-size: 0.85rem; font-weight: 700; color: var(--orange);
}
.pathway-shop { background: linear-gradient(160deg, #fff 0%, #fff7f5 100%); }
.pathway-request { background: linear-gradient(160deg, #fff 0%, #f4fbf9 100%); }
.pathway-build { background: linear-gradient(160deg, #fff 0%, #f7f5ff 100%); }

.section-link {
  color: var(--orange); font-weight: 700; font-family: var(--display); white-space: nowrap;
}
.featured-section { background: var(--bg); }

.trust-strip-section { background: #fff; padding-bottom: var(--space-6); }
.trust-strip {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0 0;
}
.trust-strip-copy { display: grid; gap: 0.75rem; max-width: 34rem; }
.trust-strip-copy .lede { color: var(--text-dim); }
.flow-rail {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.65rem;
}
.flow-rail li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-left: 3px solid var(--orange);
  background: var(--bg);
  border-radius: 0 10px 10px 0;
}
.flow-rail .n {
  grid-row: 1 / span 2; align-self: center;
  font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 0.95rem;
}
.flow-rail strong { font-size: 0.98rem; }
.flow-rail span:last-child { color: var(--text-dim); font-size: 0.88rem; }

@media (max-width: 900px) {
  .pathways { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .hero-cover-wall { grid-template-columns: repeat(5, minmax(8rem, 1fr)); width: 160%; }
}
@media (max-width: 640px) {
  .hero-bleed { min-height: 26rem; align-items: center; }
  .hero-stage-copy { max-width: none; padding-top: 2.5rem; }
  .hero-cover-wall { grid-template-columns: repeat(4, minmax(7rem, 1fr)); }
}

.site-section {
  padding: var(--space-5) 0;
  background: var(--bg);
}
.site-section + .site-section { border-top: 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 1.15rem;
}
.section-head p { color: var(--text-dim); max-width: 36rem; margin-top: 0.35rem; font-size: 0.92rem; }
.section-head a {
  color: var(--orange); font-weight: 600; font-family: var(--display); white-space: nowrap;
  font-size: 0.92rem;
}
.section-head a:hover { text-decoration: underline; }

.split-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.split-block .lede { color: var(--text-dim); margin: 0.65rem 0 1rem; max-width: 36rem; }
.steps {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 0;
}
.steps li {
  display: grid; grid-template-columns: 2rem 1fr; gap: 0.65rem; align-items: start;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 0; }
.steps .n {
  font-family: var(--display); font-weight: 700; color: var(--orange); font-size: 0.95rem;
}
.steps strong { display: block; margin-bottom: 0.15rem; }
.steps span { color: var(--text-dim); font-size: 0.9rem; }

/* Product grid — marketplace tiles (portrait covers) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
.product:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: #f0b4a6;
}
.product.is-out { opacity: 0.92; }
.product .thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
  display: grid; place-items: center; overflow: hidden;
  border: 0;
}
.product:hover .thumb { border-color: transparent; }
.product .thumb img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  transition: transform 0.28s ease;
}
.product:hover .thumb img { transform: scale(1.03); }
.product .thumb.fallback {
  font-family: var(--display); font-weight: 700; letter-spacing: 0.04em;
  color: var(--mute); font-size: 0.85rem;
  background: #ececec;
}
.product-badge {
  position: absolute; left: 0.45rem; top: 0.45rem; z-index: 1;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(20, 14, 12, 0.82);
  color: #fff;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}
.product .body {
  padding: 0.7rem 0.75rem 0.8rem;
  display: grid; gap: 0.28rem; flex: 1;
  align-content: start;
}
.product .body h3 {
  margin: 0; font-size: 0.9rem; line-height: 1.35; font-weight: 600;
  font-family: var(--display);
  letter-spacing: -0.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.4em;
}
.product .body h3 a:hover { color: var(--orange); }
.product .meta {
  color: var(--price); font-size: 1.05rem; font-weight: 700;
  font-family: var(--display);
}
.product .ask { margin-top: auto; padding-top: 0.35rem; }
.product .ask .btn { width: 100%; }

/* Page interiors */
.page-hero { padding: 1.75rem 0 1rem; }
.page-kicker {
  display: inline-block;
  margin: 0 0 0.45rem;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--orange);
}
.page-hero h1 { margin-bottom: 0.4rem; }
.page-hero.shop-hero h1 { display: block; }
.page-hero.shop-hero h1::before { display: none; }
.page-hero p, .page-hero .desc { color: var(--text-dim); max-width: 42rem; font-size: 0.95rem; }
.page-hero .count { color: var(--text); font-weight: 600; }

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 3rem;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}
.form-section { display: grid; gap: 0.85rem; margin-bottom: 1.15rem; }
.form-section:last-of-type { margin-bottom: 0; }
.form-section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute); margin: 0;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.trust-rail {
  display: grid; gap: 0.85rem;
  position: sticky; top: calc(var(--header-h) + 0.85rem);
}
.trust-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.trust-block h3 { font-size: 0.95rem; margin: 0 0 0.65rem; }
.trust-block ol, .trust-block ul {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 0.55rem;
}
.trust-block li {
  display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.45rem;
  color: var(--text-dim); font-size: 0.88rem; line-height: 1.4;
}
.trust-block .n { font-weight: 700; color: var(--orange); font-size: 0.88rem; }
.trust-block p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.5; }
.trust-block a { color: var(--orange); font-weight: 600; }
.trust-block a:hover { text-decoration: underline; }

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
}
.form { display: grid; gap: 0.85rem; }
/* Honeypot — visually hidden from people, still in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form label {
  display: grid; gap: 0.35rem;
  color: var(--text-dim); font-size: 0.85rem; font-weight: 600;
}
.form input, .form textarea, .form select,
.shop-toolbar input, .shop-toolbar select,
.qty-label input {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  min-height: 44px;
}
.form input:focus, .form textarea:focus, .form select:focus,
.shop-toolbar input:focus, .shop-toolbar select:focus {
  outline: 2px solid rgba(238, 77, 45, 0.35); outline-offset: 0;
  border-color: var(--orange);
}
.form textarea { min-height: 110px; resize: vertical; }
.form .btn-primary { min-height: 46px; width: 100%; margin-top: 0.25rem; }
.pay-extra { display: grid; gap: 0.85rem; }
.pay-qr {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fff;
  text-align: center;
}
.pay-qr img {
  width: min(220px, 70vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 0.5rem;
  border: 1px solid var(--line-strong);
}
.pay-qr p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.form-status {
  margin: 0.25rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid var(--line);
  background: #fafafa;
  color: var(--text-dim);
}
.form-status[data-state="ok"] {
  color: #0d7a6f; border-color: #b6e6df; background: var(--green-soft);
}
.form-status[data-state="err"] {
  color: #b42318; border-color: #fecdca; background: #fef3f2;
}
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem;
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.cta-band h3 { margin: 0 0 0.25rem; }
.cta-band p { margin: 0; color: var(--text-dim); max-width: 36rem; }

.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.shop-toolbar input[type="search"] { flex: 1 1 220px; min-width: 160px; }
.shop-toolbar select { min-width: 160px; }
.filters { display: flex; gap: 0.55rem; flex-wrap: wrap; margin: 0 0 1rem; }
.chip {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text-dim);
  border-radius: 999px;
  padding: 0.48rem 0.95rem;
  font-size: 0.84rem; font-weight: 600; cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chip:hover { color: var(--orange); border-color: var(--orange); }
.chip.active {
  color: #fff;
  border-color: var(--orange);
  background: var(--orange);
}
.pager {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 1.75rem 0 1.25rem; color: var(--mute); font-weight: 600;
}
.empty-catalog {
  grid-column: 1 / -1;
  margin: 0.5rem 0 1.5rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  color: var(--text-dim);
}
.empty-catalog strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.05rem;
}
.empty-catalog p { margin: 0; }
.empty-catalog a { color: var(--orange); font-weight: 700; }

/* Shop page — catalog marketplace */
.shop-page { padding-bottom: var(--space-6); }
.shop-masthead {
  background:
    linear-gradient(135deg, #1c1411 0%, #2a1a16 48%, #3a221c 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.15rem;
}
.shop-masthead-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 1.25rem 1.75rem;
  align-items: end;
  padding: 1.65rem 0 1.5rem;
}
.shop-masthead-copy { display: grid; gap: 0.4rem; max-width: 34rem; }
.shop-masthead .page-kicker { color: #ff9a82; margin: 0; }
.shop-masthead h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}
.shop-masthead .lede {
  margin: 0;
  color: rgba(255, 245, 240, 0.78);
  font-size: 0.98rem;
  line-height: 1.5;
}
.shop-search {
  display: flex;
  gap: 0;
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid #fff;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.shop-search input {
  flex: 1;
  border: 0;
  min-height: 48px;
  padding: 0.8rem 1rem;
  background: transparent;
  color: var(--text);
}
.shop-search input:focus { outline: none; }
.shop-search .btn {
  border-radius: 0;
  min-height: 48px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.shop-body { padding-top: 0.15rem; }
.shop-control {
  position: sticky;
  top: calc(var(--header-h) - 1px);
  z-index: 25;
  margin: 0 0 1.1rem;
  padding: 0.85rem 0.95rem 0.9rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.65rem;
}
.shop-results-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}
.shop-results-meta { display: grid; gap: 0.15rem; }
.shop-count {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.shop-request-link {
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 700;
}
.shop-request-link:hover { text-decoration: underline; }
.shop-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
}
.shop-sort-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.shop-sort select {
  min-width: 11.5rem;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  min-height: 40px;
}
.shop-types { margin: 0; }
.type-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
}
.type-chip {
  font-family: var(--display);
  font-size: 0.82rem;
  padding: 0.4rem 0.85rem;
}
.shop-genres {
  position: relative;
  margin: 0;
  padding-top: 0;
}
.shop-genres[hidden] { display: none; }
.genre-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  overflow: visible;
}
.genre-rail .chip {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 0.22rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 999px;
}
.shop-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.7rem;
  align-items: center;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}
.shop-price-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-right: 0.15rem;
}
.shop-price-sep {
  color: var(--mute);
  font-weight: 600;
}
.shop-price-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--mute);
  font-size: 0.84rem;
  font-weight: 600;
}
.shop-price-row input {
  width: 5.25rem;
  min-height: 40px;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
}
.shop-price-row .btn { min-height: 40px; padding-left: 0.95rem; padding-right: 0.95rem; }
.shop-grid { margin-top: 0.15rem; }

@media (max-width: 900px) {
  .shop-masthead-inner { grid-template-columns: 1fr; align-items: start; }
  .shop-control { position: static; backdrop-filter: none; gap: 0.85rem; }
  .shop-price-row { width: 100%; }
}
@media (max-width: 640px) {
  .shop-masthead-inner { padding: 1.25rem 0 1.2rem; }
  .shop-search { flex-direction: column; border-width: 1px; }
  .shop-search .btn { width: 100%; }
  .shop-sort { width: 100%; }
  .shop-sort select { flex: 1; min-width: 0; }
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
  padding: 1rem 0 0; color: var(--mute); font-size: 0.85rem; font-weight: 600;
}
.breadcrumb a:hover { color: var(--orange); }

.product-detail {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem;
  padding: 1.25rem 0 3rem; align-items: start;
}
.product-detail-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  min-height: 360px;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.product-detail-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.product-detail-media.fallback, .fallback-label {
  font-family: var(--display); font-weight: 700; color: var(--mute);
  background: #f0f0f0;
  width: 100%; min-height: 360px; display: grid; place-items: center;
}
.product-detail-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.product-detail-body .meta { color: var(--mute); font-weight: 600; margin-bottom: 0.45rem; font-size: 0.88rem; }
.price-lg {
  font-family: var(--display); font-size: 1.85rem; font-weight: 700;
  color: var(--price); margin: 0.4rem 0 0.85rem;
}
.product-detail-body .desc { color: var(--text-dim); line-height: 1.6; }
.product-detail-body .desc p { margin: 0 0 0.65rem; }
.sku { color: var(--mute); font-size: 0.82rem; margin-bottom: 0.55rem; }
.trailer { margin: 0.45rem 0 0.85rem; }
.qty-label {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--text-dim); font-weight: 600;
}
.qty-label input { width: 4.25rem; }
.buy-row { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; margin-top: 1rem; }

.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th, .cart-table td {
  text-align: left; padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--line); vertical-align: middle;
}
.cart-table th { color: var(--mute); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.cart-item { display: flex; gap: 0.75rem; align-items: center; }
.cart-item img, .cart-thumb {
  width: 52px; height: 68px; object-fit: cover; border-radius: var(--radius-sm); background: #f5f5f5;
}
.cart-summary { margin-top: 1.15rem; display: grid; gap: 0.85rem; }
.checkout-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1.15rem; align-items: start;
  padding-bottom: 2.5rem;
}
@media (max-width: 860px) {
  .checkout-grid #summary {
    position: sticky; bottom: 0; z-index: 5;
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  }
}
.order-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.85rem; }
.order-steps li {
  display: grid; gap: 0.2rem; padding: 0.75rem 0.85rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
}
.order-steps li.done { border-color: #b6e6df; background: var(--green-soft, #eefaf7); }
.order-steps strong { font-size: 0.95rem; }
.promo-banner {
  display: block; text-align: center; padding: 0.65rem 1rem; font-weight: 700; font-size: 0.92rem;
  text-decoration: none; color: inherit;
}
.promo-banner.promo { background: #fff4e8; color: #9a4b00; }
.promo-banner.info { background: #e8f4ff; color: #0a4b78; }
.promo-banner.warn { background: #fff3f0; color: #9b1c1c; }
.cart-nudge {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 35;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 0.75rem 1rem; box-shadow: 0 10px 30px rgba(0,0,0,.12);
  max-width: min(320px, calc(100vw - 2rem));
}
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }
.gallery-thumbs button {
  border: 1px solid var(--line); border-radius: 8px; padding: 0; background: #fff; cursor: pointer;
}
.gallery-thumbs img { width: 56px; height: 72px; object-fit: cover; display: block; border-radius: 7px; }
.reviews-box { margin-top: 2rem; }
.review-card {
  border: 1px solid var(--line); border-radius: 10px; padding: 0.85rem 1rem; background: #fff; margin-top: 0.65rem;
}
.recent-strip { margin-top: 2rem; }
.order-list { margin: 0; padding: 0; list-style: none; }
.order-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--text-dim); font-size: 0.9rem;
}

.service-list {
  display: grid; gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 1.25rem;
  box-shadow: var(--shadow);
}
.service-list article,
.service-list .service-link {
  display: grid; grid-template-columns: 7rem 1fr; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.service-list article:last-child,
.service-list .service-link:last-child { border-bottom: 0; }
.service-list .service-link {
  color: inherit;
  text-decoration: none;
  transition: background 0.15s ease;
  margin: 0 -1.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  border-radius: 0;
}
.service-list .service-link:hover { background: #fafafa; }
.service-list .service-link:hover h3 { color: var(--orange); }
.service-list .tag,
.svc-tile .tag,
.svc-spotlight .tag {
  font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange);
  padding-top: 0.15rem;
}
.service-list p { color: var(--text-dim); margin-top: 0.25rem; font-size: 0.92rem; }
.service-link-cue {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
}

[data-shop-only][hidden] {
  display: none !important;
}

/* Services page — lane composition */
.svc-page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(238, 77, 45, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(38, 170, 153, 0.14), transparent 50%),
    linear-gradient(180deg, #fff7f5 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.svc-page-hero .container {
  padding: clamp(2.25rem, 6vh, 3.5rem) 0 clamp(2rem, 4vh, 2.75rem);
  display: grid; gap: 0.75rem;
  max-width: 42rem;
  animation: hero-rise 0.65s ease both;
}
.svc-page-hero .hero-brand-mark { color: var(--text); }
.svc-page-hero .hero-brand-mark span { color: var(--orange); }
.svc-page-hero h1 {
  max-width: 16ch;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
}
.svc-page-hero .lede {
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 36rem;
}
.svc-lanes-section { background: var(--bg); padding-top: var(--space-5); }
.svc-lane {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.25rem;
  align-items: start;
  margin-bottom: 2rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.svc-lane-intro { display: grid; gap: 0.65rem; align-content: start; padding: 0.35rem 0.25rem; }
.svc-lane-kicker {
  font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange);
}
.svc-lane-intro h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
.svc-lane-intro p { color: var(--text-dim); line-height: 1.5; }
.svc-lane-source { border-top: 3px solid var(--orange); }
.svc-lane-build { border-top: 3px solid var(--green); }
.svc-lane-auto { border-top: 3px solid #2f6fed; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.svc-tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.svc-tile-grid-2 { grid-template-columns: 1fr 1fr; }
.svc-tile {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid transparent;
  display: grid; gap: 0.3rem;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.svc-tile:hover {
  border-color: #f0b4a6;
  background: #fffaf8;
  transform: translateY(-2px);
}
.svc-tile h3 { font-size: 1rem; }
.svc-tile p { color: var(--text-dim); font-size: 0.88rem; line-height: 1.45; margin: 0; }
.svc-tile-emphasis {
  min-height: 9.5rem;
  background: linear-gradient(165deg, #fff 0%, #f6fbf9 100%);
}
.svc-spotlight {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  text-decoration: none; color: inherit;
  background:
    linear-gradient(135deg, rgba(47, 111, 237, 0.08), transparent 55%),
    linear-gradient(180deg, #f7f9ff, #fff);
  border: 1px solid #d9e3fa;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-spotlight:hover {
  transform: translateY(-3px);
  border-color: #2f6fed;
  box-shadow: 0 12px 32px rgba(47, 111, 237, 0.12);
}
.svc-spotlight h3 { margin: 0.25rem 0 0.35rem; font-size: 1.25rem; }
.svc-spotlight p { color: var(--text-dim); max-width: 34rem; }
.svc-spotlight-cue {
  font-family: var(--display); font-weight: 700; color: #2f6fed; font-size: 0.92rem;
}
.cta-band-rich {
  background: linear-gradient(120deg, #fff7f5, #fff);
  border-color: #f5d0c6;
}
@media (max-width: 860px) {
  .svc-lane,
  .svc-lane-auto { grid-template-columns: 1fr; }
  .svc-tile-grid,
  .svc-tile-grid-2 { grid-template-columns: 1fr; }
}

/* Service detail (Shopee automation, etc.) */
.svc-hero { padding-bottom: 1.5rem; }
.svc-hero .hero-actions { margin-top: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.55rem; }
.svc-scope {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  margin-top: 0.95rem;
}
.svc-scope span {
  display: inline-flex; align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 600;
}
.svc-section {
  margin: 0 0 2.25rem;
  padding: 1.5rem 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.svc-section h2 { margin-bottom: 0.4rem; }
.svc-lead {
  color: var(--text-dim);
  max-width: 42rem;
  margin: 0 0 1.15rem;
  font-size: 0.95rem;
}
.svc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.svc-compare-col {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.svc-compare-after {
  border-color: #b6e6df;
  background: var(--green-soft);
}
.svc-compare h3 { margin-bottom: 0.55rem; }
.svc-compare ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--text-dim);
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
}
.svc-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.svc-features article {
  padding: 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.svc-features h3 { margin-bottom: 0.35rem; }
.svc-features p { color: var(--text-dim); font-size: 0.9rem; }
.svc-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.svc-steps li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.svc-steps .n {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
}
.svc-steps strong { display: block; margin-bottom: 0.2rem; }
.svc-steps span { display: block; color: var(--text-dim); font-size: 0.9rem; }
.svc-steps em {
  display: inline-block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mute);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.svc-pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}
.svc-pricing article {
  display: grid;
  gap: 0.35rem;
  align-content: start;
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fafafa;
}
.svc-plan-featured {
  border-color: var(--orange);
  background: #fff8f6;
  box-shadow: var(--shadow);
}
.svc-plan-badge {
  justify-self: start;
  margin: 0 0 0.15rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.svc-plan-label {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
}
.svc-plan-price {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--price);
  line-height: 1.1;
}
.svc-plan-meta,
.svc-plan-unit { color: var(--text-dim); font-size: 0.88rem; }
.svc-plan-unit { font-weight: 700; color: var(--text); margin-bottom: 0.55rem; }
.svc-pricing .btn { width: 100%; margin-top: 0.35rem; }
.svc-included {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.svc-included h3 { margin-bottom: 0.55rem; }
.svc-included ul {
  margin: 0 0 0.75rem;
  padding: 0 0 0 1.1rem;
  color: var(--text-dim);
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  columns: 2;
}
.svc-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.svc-fit > div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.svc-fit h3 { margin-bottom: 0.5rem; }
.svc-fit ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  color: var(--text-dim);
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}
.svc-faq {
  display: grid;
  gap: 0.55rem;
}
.svc-faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
  padding: 0.85rem 1rem;
}
.svc-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--display);
  list-style: none;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq details[open] summary { color: var(--orange); margin-bottom: 0.45rem; }
.svc-faq p { color: var(--text-dim); font-size: 0.92rem; }

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.75rem;
  color: var(--mute); font-size: 0.88rem;
  background: #fff;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.35rem;
}
.footer-grid h4 { margin: 0 0 0.45rem; color: var(--text); font-size: 0.92rem; }
.footer-grid p, .footer-grid a { color: var(--mute); line-height: 1.55; }
.footer-grid a:hover { color: var(--orange); }
.footer-row {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.35rem; padding-top: 1rem; border-top: 1px solid var(--line);
}

.muted { color: var(--mute); }

.h4u-chat { position: fixed; right: 0.85rem; bottom: 0.85rem; z-index: 80; }
.h4u-chat-launcher {
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-family: var(--font); font-weight: 700; font-size: 0.85rem;
  background: var(--orange); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.h4u-chat-launcher:hover { background: var(--orange-hover); }
.h4u-chat-panel {
  position: absolute; right: 0; bottom: 3rem;
  width: min(340px, calc(100vw - 2rem));
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  display: none; flex-direction: column;
  max-height: min(440px, calc(100vh - 6rem));
}
.h4u-chat-panel:not([hidden]) { display: flex; }
.h4u-chat-panel header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 0.9rem; background: var(--orange); color: #fff;
  border-bottom: 0;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
}
.h4u-chat-panel header button {
  border: 0; background: transparent; color: #fff; font-size: 1.35rem; cursor: pointer;
}
.h4u-chat-log {
  padding: 0.75rem; overflow: auto; flex: 1; display: grid; gap: 0.5rem; min-height: 140px;
  background: #fafafa;
}
.h4u-chat-empty { margin: 0; color: var(--mute); font-size: 0.88rem; }
.h4u-chat-bubble {
  padding: 0.5rem 0.65rem; border-radius: var(--radius-sm); font-size: 0.88rem; line-height: 1.4;
  max-width: 92%; background: #fff; border: 1px solid var(--line);
}
.h4u-chat-bubble.customer { background: #fff5f3; border-color: #ffd5cc; justify-self: end; }
.h4u-chat-bubble.admin { justify-self: start; }
.h4u-chat-meta { font-size: 0.7rem; color: var(--mute); margin-bottom: 0.15rem; }
.h4u-chat-form {
  display: grid; gap: 0.4rem; padding: 0.75rem; border-top: 1px solid var(--line);
  background: #fff;
}
.h4u-chat-form input, .h4u-chat-form textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--text); padding: 0.5rem 0.6rem;
}
.h4u-chat-status { margin: 0; font-size: 0.82rem; color: var(--green); }

.btn:focus-visible, .chip:focus-visible, .nav-toggle:focus-visible,
a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split-block, .product-detail, .checkout-grid, .footer-grid, .form-layout { grid-template-columns: 1fr; }
  .trust-rail { position: static; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-cta { display: none; }
  .service-list article,
  .service-list .service-link { grid-template-columns: 5.5rem 1fr; }
  .svc-compare,
  .svc-features,
  .svc-pricing,
  .svc-fit { grid-template-columns: 1fr; }
  .svc-included ul { columns: 1; }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 0.55rem; }
  .form-row-2 { grid-template-columns: 1fr; }
  .service-list article,
  .service-list .service-link { grid-template-columns: 1fr; gap: 0.25rem; }
  .hero-search { flex-direction: column; border-width: 1px; }
  .hero-search .btn { width: 100%; }
}
.skeleton-card .thumb.skeleton {
  aspect-ratio: 3 / 4;
  border-radius: 8px;
}
.skeleton {
  background: linear-gradient(90deg, #e8eee9 25%, #f4f7f4 50%, #e8eee9 75%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.1s ease-in-out infinite;
  border-radius: 4px;
}
.skeleton-line {
  height: 0.85rem;
  margin: 0.55rem 0 0.35rem;
  width: 88%;
}
.skeleton-line.short { width: 55%; }
@keyframes skeleton-shine {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
/* —— Account / sign-in —— */
.page-account { background: var(--bg); }
.account-main {
  padding: clamp(1.5rem, 4vh, 2.75rem) 0 3rem;
}
.account-shell {
  display: grid;
  gap: 1.25rem;
  width: min(28rem, calc(100% - 2rem)) !important;
  max-width: 28rem !important;
  margin: 0 auto;
}
.form label[data-register-only][hidden] {
  display: none !important;
}
.account-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}
.account-card-head { display: grid; gap: 0.35rem; }
.account-card-head h1 {
  font-size: clamp(1.55rem, 3vw, 1.85rem);
  margin: 0;
}
.account-lede {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
}
.account-status {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: #fff7f5;
  color: var(--text);
  font-size: 0.9rem;
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 0.3rem;
  background: var(--bg);
  border-radius: 10px;
}
.account-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-dim);
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  cursor: pointer;
}
.account-tab.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}
.account-form { gap: 0.9rem; }
.account-submit { width: 100%; }
.account-hint { margin: 0; }
.account-signed { display: grid; gap: 1rem; }
.account-orders-title {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}
.account-orders .order-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.account-orders .order-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.9rem;
}
.account-lookup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1.1rem 1.1rem;
}
.account-lookup summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  list-style: none;
}
.account-lookup summary::-webkit-details-marker { display: none; }
.account-lookup summary::after {
  content: " +";
  color: var(--orange);
  font-weight: 700;
}
.account-lookup[open] summary::after { content: " –"; }
.account-lookup .form { margin-top: 0.95rem; }
.account-lookup-result { margin-top: 0.85rem; }
.account-lookup-card {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.92rem;
}
.account-lookup-card a { color: var(--orange); font-weight: 600; }

/* —— Home (services-first, professional) —— */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(165deg, #fff8f5 0%, #f5f5f5 48%, #f0f7f5 100%);
}
.home-hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: min(52rem, 80vw);
  height: min(52rem, 80vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(238, 77, 45, 0.22), transparent 62%),
    radial-gradient(circle at 70% 60%, rgba(38, 170, 153, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: home-glow-drift 14s ease-in-out infinite alternate;
}
@keyframes home-glow-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-3%, 4%, 0) scale(1.06); }
}
.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.55fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  padding: clamp(2.5rem, 8vh, 4.5rem) 0 clamp(2.75rem, 7vh, 4rem);
  width: min(var(--max), calc(100% - 2rem));
}
.home-hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
}
.home-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 7.5vw, 4.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--text);
}
.home-brand span { color: var(--orange); }
.home-hero-copy h1 {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text);
}
.home-hero-copy .lede {
  color: var(--text-dim);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  max-width: 34rem;
}
.home-hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.35rem;
}
.home-hero-rail {
  display: grid;
  gap: 0;
  border-left: 1px solid rgba(238, 77, 45, 0.28);
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
}
.home-rail-item {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.home-rail-item:last-child { border-bottom: 0; }
.home-rail-item span {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.home-rail-item strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.home-lanes-section {
  background: #fff;
  padding-top: var(--space-6);
  padding-bottom: var(--space-5);
}
.home-lanes {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.home-lane {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.35rem 0.15rem;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.home-lane:hover {
  background: #fff8f5;
  padding-left: 0.55rem;
}
.home-lane-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange);
}
.home-lane-body {
  display: grid;
  gap: 0.2rem;
}
.home-lane-kicker {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.home-lane-body strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.home-lane-body > span:last-child {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 40rem;
}
.home-lane-cue {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  white-space: nowrap;
}
.home-trust { background: var(--bg); }
.home-featured {
  background: #fff;
  border-top: 1px solid var(--line);
}
.home-featured .section-head h2 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

html.motion-ready .home-hero-copy > *:not(.is-in),
html.motion-ready .home-hero-rail:not(.is-in) {
  opacity: 0;
}

@media (max-width: 900px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }
  .page-home .home-hero { min-height: auto; }
  .home-hero-rail {
    border-left: 0;
    border-top: 1px solid rgba(238, 77, 45, 0.28);
    padding-left: 0;
    padding-top: 0.25rem;
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 0;
  }
  .home-rail-item {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding: 1rem 0.75rem 0.25rem 0;
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
  .home-rail-item:last-child { border-right: 0; padding-right: 0; }
}
@media (max-width: 640px) {
  .home-lane {
    grid-template-columns: 2.4rem minmax(0, 1fr);
  }
  .home-lane-cue {
    grid-column: 2;
    margin-top: -0.35rem;
  }
  .home-brand { font-size: clamp(2.4rem, 12vw, 3.25rem); }
}

/* Segment landers — /for-gamers|builders|sellers.html */
.lander-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 55% 70% at 88% 8%, rgba(238, 77, 45, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 50% at 8% 90%, rgba(38, 170, 153, 0.1), transparent 50%),
    var(--bg);
}
.lander-hero-inner { max-width: 40rem; display: grid; gap: 0.85rem; }
.lander-kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
}
.lander-hero h1 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  line-height: 1.15;
}
.lander-hero .lede {
  margin: 0;
  color: var(--text-dim);
  font-size: 1.02rem;
  max-width: 36rem;
}
.lander-steps-section { padding-top: var(--space-5); }
.lander-steps {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.lander-steps li {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0 0;
  border-top: 2px solid rgba(238, 77, 45, 0.35);
}
.lander-steps .n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--orange);
  letter-spacing: 0.04em;
}
.lander-steps strong { font-size: 1.02rem; }
.lander-steps span:last-child { color: var(--text-dim); font-size: 0.92rem; }
.lander-points {
  display: grid;
  gap: 0.65rem;
  margin: 0 0 var(--space-5);
  max-width: 40rem;
}
.lander-points p {
  margin: 0;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 0.95rem;
}
.lander-points p:last-child { border-bottom: 0; }
.lander-points strong { color: var(--text); }
.lander-bottom-cta { margin-top: 0.25rem; }
@media (max-width: 800px) {
  .lander-steps { grid-template-columns: 1fr; gap: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .product .thumb img, .btn, .pathway, .svc-tile, .svc-spotlight, .hero-search, .home-lane { transition: none; }
  .hero-cover-wall, .hero-stage-copy, .svc-page-hero .container, .flow-rail li, .home-hero-glow { animation: none; }
  .skeleton { animation: none; }
}

